cbs-block 1.0.8 → 1.0.10

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 (1973) hide show
  1. package/README.md +141 -84
  2. package/WeatherAPI/index.js +98 -0
  3. package/WeatherAPI/metadata.json +20 -0
  4. package/WeatherAPI/node_modules/.package-lock.json +305 -0
  5. package/WeatherAPI/node_modules/asynckit/LICENSE +21 -0
  6. package/WeatherAPI/node_modules/asynckit/README.md +233 -0
  7. package/WeatherAPI/node_modules/asynckit/bench.js +76 -0
  8. package/WeatherAPI/node_modules/asynckit/index.js +6 -0
  9. package/WeatherAPI/node_modules/asynckit/lib/abort.js +29 -0
  10. package/WeatherAPI/node_modules/asynckit/lib/async.js +34 -0
  11. package/WeatherAPI/node_modules/asynckit/lib/defer.js +26 -0
  12. package/WeatherAPI/node_modules/asynckit/lib/iterate.js +75 -0
  13. package/WeatherAPI/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  14. package/WeatherAPI/node_modules/asynckit/lib/readable_parallel.js +25 -0
  15. package/WeatherAPI/node_modules/asynckit/lib/readable_serial.js +25 -0
  16. package/WeatherAPI/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  17. package/WeatherAPI/node_modules/asynckit/lib/state.js +37 -0
  18. package/WeatherAPI/node_modules/asynckit/lib/streamify.js +141 -0
  19. package/WeatherAPI/node_modules/asynckit/lib/terminator.js +29 -0
  20. package/WeatherAPI/node_modules/asynckit/package.json +63 -0
  21. package/WeatherAPI/node_modules/asynckit/parallel.js +43 -0
  22. package/WeatherAPI/node_modules/asynckit/serial.js +17 -0
  23. package/WeatherAPI/node_modules/asynckit/serialOrdered.js +75 -0
  24. package/WeatherAPI/node_modules/asynckit/stream.js +21 -0
  25. package/WeatherAPI/node_modules/axios/CHANGELOG.md +1416 -0
  26. package/WeatherAPI/node_modules/axios/LICENSE +7 -0
  27. package/WeatherAPI/node_modules/axios/MIGRATION_GUIDE.md +877 -0
  28. package/WeatherAPI/node_modules/axios/README.md +1946 -0
  29. package/WeatherAPI/node_modules/axios/dist/axios.js +4454 -0
  30. package/WeatherAPI/node_modules/axios/dist/axios.js.map +1 -0
  31. package/WeatherAPI/node_modules/axios/dist/axios.min.js +5 -0
  32. package/WeatherAPI/node_modules/axios/dist/axios.min.js.map +1 -0
  33. package/WeatherAPI/node_modules/axios/dist/browser/axios.cjs +4225 -0
  34. package/WeatherAPI/node_modules/axios/dist/browser/axios.cjs.map +1 -0
  35. package/WeatherAPI/node_modules/axios/dist/esm/axios.js +4245 -0
  36. package/WeatherAPI/node_modules/axios/dist/esm/axios.js.map +1 -0
  37. package/WeatherAPI/node_modules/axios/dist/esm/axios.min.js +3 -0
  38. package/WeatherAPI/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  39. package/WeatherAPI/node_modules/axios/dist/node/axios.cjs +4697 -0
  40. package/WeatherAPI/node_modules/axios/dist/node/axios.cjs.map +1 -0
  41. package/WeatherAPI/node_modules/axios/index.d.cts +716 -0
  42. package/WeatherAPI/node_modules/axios/index.d.ts +810 -0
  43. package/WeatherAPI/node_modules/axios/index.js +43 -0
  44. package/WeatherAPI/node_modules/axios/lib/adapters/README.md +36 -0
  45. package/WeatherAPI/node_modules/axios/lib/adapters/adapters.js +130 -0
  46. package/WeatherAPI/node_modules/axios/lib/adapters/fetch.js +338 -0
  47. package/WeatherAPI/node_modules/axios/lib/adapters/http.js +952 -0
  48. package/WeatherAPI/node_modules/axios/lib/adapters/xhr.js +222 -0
  49. package/WeatherAPI/node_modules/axios/lib/axios.js +89 -0
  50. package/WeatherAPI/node_modules/axios/lib/cancel/CancelToken.js +135 -0
  51. package/WeatherAPI/node_modules/axios/lib/cancel/CanceledError.js +22 -0
  52. package/WeatherAPI/node_modules/axios/lib/cancel/isCancel.js +5 -0
  53. package/WeatherAPI/node_modules/axios/lib/core/Axios.js +261 -0
  54. package/WeatherAPI/node_modules/axios/lib/core/AxiosError.js +90 -0
  55. package/WeatherAPI/node_modules/axios/lib/core/AxiosHeaders.js +346 -0
  56. package/WeatherAPI/node_modules/axios/lib/core/InterceptorManager.js +72 -0
  57. package/WeatherAPI/node_modules/axios/lib/core/README.md +8 -0
  58. package/WeatherAPI/node_modules/axios/lib/core/buildFullPath.js +22 -0
  59. package/WeatherAPI/node_modules/axios/lib/core/dispatchRequest.js +77 -0
  60. package/WeatherAPI/node_modules/axios/lib/core/mergeConfig.js +107 -0
  61. package/WeatherAPI/node_modules/axios/lib/core/settle.js +31 -0
  62. package/WeatherAPI/node_modules/axios/lib/core/transformData.js +28 -0
  63. package/WeatherAPI/node_modules/axios/lib/defaults/index.js +172 -0
  64. package/WeatherAPI/node_modules/axios/lib/defaults/transitional.js +8 -0
  65. package/WeatherAPI/node_modules/axios/lib/env/README.md +3 -0
  66. package/WeatherAPI/node_modules/axios/lib/env/classes/FormData.js +2 -0
  67. package/WeatherAPI/node_modules/axios/lib/env/data.js +1 -0
  68. package/WeatherAPI/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
  69. package/WeatherAPI/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +62 -0
  70. package/WeatherAPI/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
  71. package/WeatherAPI/node_modules/axios/lib/helpers/README.md +7 -0
  72. package/WeatherAPI/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
  73. package/WeatherAPI/node_modules/axios/lib/helpers/bind.js +14 -0
  74. package/WeatherAPI/node_modules/axios/lib/helpers/buildURL.js +66 -0
  75. package/WeatherAPI/node_modules/axios/lib/helpers/callbackify.js +18 -0
  76. package/WeatherAPI/node_modules/axios/lib/helpers/combineURLs.js +15 -0
  77. package/WeatherAPI/node_modules/axios/lib/helpers/composeSignals.js +56 -0
  78. package/WeatherAPI/node_modules/axios/lib/helpers/cookies.js +48 -0
  79. package/WeatherAPI/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
  80. package/WeatherAPI/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  81. package/WeatherAPI/node_modules/axios/lib/helpers/formDataToJSON.js +95 -0
  82. package/WeatherAPI/node_modules/axios/lib/helpers/formDataToStream.js +118 -0
  83. package/WeatherAPI/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
  84. package/WeatherAPI/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
  85. package/WeatherAPI/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
  86. package/WeatherAPI/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
  87. package/WeatherAPI/node_modules/axios/lib/helpers/null.js +2 -0
  88. package/WeatherAPI/node_modules/axios/lib/helpers/parseHeaders.js +69 -0
  89. package/WeatherAPI/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  90. package/WeatherAPI/node_modules/axios/lib/helpers/progressEventReducer.js +51 -0
  91. package/WeatherAPI/node_modules/axios/lib/helpers/readBlob.js +15 -0
  92. package/WeatherAPI/node_modules/axios/lib/helpers/resolveConfig.js +70 -0
  93. package/WeatherAPI/node_modules/axios/lib/helpers/speedometer.js +55 -0
  94. package/WeatherAPI/node_modules/axios/lib/helpers/spread.js +28 -0
  95. package/WeatherAPI/node_modules/axios/lib/helpers/throttle.js +44 -0
  96. package/WeatherAPI/node_modules/axios/lib/helpers/toFormData.js +241 -0
  97. package/WeatherAPI/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
  98. package/WeatherAPI/node_modules/axios/lib/helpers/trackStream.js +89 -0
  99. package/WeatherAPI/node_modules/axios/lib/helpers/validator.js +110 -0
  100. package/WeatherAPI/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  101. package/WeatherAPI/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  102. package/WeatherAPI/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  103. package/WeatherAPI/node_modules/axios/lib/platform/browser/index.js +13 -0
  104. package/WeatherAPI/node_modules/axios/lib/platform/common/utils.js +52 -0
  105. package/WeatherAPI/node_modules/axios/lib/platform/index.js +7 -0
  106. package/WeatherAPI/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  107. package/WeatherAPI/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  108. package/WeatherAPI/node_modules/axios/lib/platform/node/index.js +37 -0
  109. package/WeatherAPI/node_modules/axios/lib/utils.js +919 -0
  110. package/WeatherAPI/node_modules/axios/package.json +187 -0
  111. package/WeatherAPI/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  112. package/WeatherAPI/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  113. package/WeatherAPI/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  114. package/WeatherAPI/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  115. package/WeatherAPI/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  116. package/WeatherAPI/node_modules/call-bind-apply-helpers/README.md +62 -0
  117. package/WeatherAPI/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  118. package/WeatherAPI/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  119. package/WeatherAPI/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  120. package/WeatherAPI/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  121. package/WeatherAPI/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  122. package/WeatherAPI/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  123. package/WeatherAPI/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  124. package/WeatherAPI/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  125. package/WeatherAPI/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  126. package/WeatherAPI/node_modules/call-bind-apply-helpers/index.js +15 -0
  127. package/WeatherAPI/node_modules/call-bind-apply-helpers/package.json +85 -0
  128. package/WeatherAPI/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  129. package/WeatherAPI/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  130. package/WeatherAPI/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  131. package/WeatherAPI/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  132. package/WeatherAPI/node_modules/combined-stream/License +19 -0
  133. package/WeatherAPI/node_modules/combined-stream/Readme.md +138 -0
  134. package/WeatherAPI/node_modules/combined-stream/lib/combined_stream.js +208 -0
  135. package/WeatherAPI/node_modules/combined-stream/package.json +25 -0
  136. package/WeatherAPI/node_modules/combined-stream/yarn.lock +17 -0
  137. package/WeatherAPI/node_modules/delayed-stream/License +19 -0
  138. package/WeatherAPI/node_modules/delayed-stream/Makefile +7 -0
  139. package/WeatherAPI/node_modules/delayed-stream/Readme.md +141 -0
  140. package/WeatherAPI/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  141. package/WeatherAPI/node_modules/delayed-stream/package.json +27 -0
  142. package/WeatherAPI/node_modules/dunder-proto/.eslintrc +5 -0
  143. package/WeatherAPI/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  144. package/WeatherAPI/node_modules/dunder-proto/.nycrc +13 -0
  145. package/WeatherAPI/node_modules/dunder-proto/CHANGELOG.md +24 -0
  146. package/WeatherAPI/node_modules/dunder-proto/LICENSE +21 -0
  147. package/WeatherAPI/node_modules/dunder-proto/README.md +54 -0
  148. package/WeatherAPI/node_modules/dunder-proto/get.d.ts +5 -0
  149. package/WeatherAPI/node_modules/dunder-proto/get.js +30 -0
  150. package/WeatherAPI/node_modules/dunder-proto/package.json +76 -0
  151. package/WeatherAPI/node_modules/dunder-proto/set.d.ts +5 -0
  152. package/WeatherAPI/node_modules/dunder-proto/set.js +35 -0
  153. package/WeatherAPI/node_modules/dunder-proto/test/get.js +34 -0
  154. package/WeatherAPI/node_modules/dunder-proto/test/index.js +4 -0
  155. package/WeatherAPI/node_modules/dunder-proto/test/set.js +50 -0
  156. package/WeatherAPI/node_modules/dunder-proto/tsconfig.json +9 -0
  157. package/WeatherAPI/node_modules/es-define-property/.eslintrc +13 -0
  158. package/WeatherAPI/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  159. package/WeatherAPI/node_modules/es-define-property/.nycrc +9 -0
  160. package/WeatherAPI/node_modules/es-define-property/CHANGELOG.md +29 -0
  161. package/WeatherAPI/node_modules/es-define-property/LICENSE +21 -0
  162. package/WeatherAPI/node_modules/es-define-property/README.md +49 -0
  163. package/WeatherAPI/node_modules/es-define-property/index.d.ts +3 -0
  164. package/WeatherAPI/node_modules/es-define-property/index.js +14 -0
  165. package/WeatherAPI/node_modules/es-define-property/package.json +81 -0
  166. package/WeatherAPI/node_modules/es-define-property/test/index.js +56 -0
  167. package/WeatherAPI/node_modules/es-define-property/tsconfig.json +10 -0
  168. package/WeatherAPI/node_modules/es-errors/.eslintrc +5 -0
  169. package/WeatherAPI/node_modules/es-errors/.github/FUNDING.yml +12 -0
  170. package/WeatherAPI/node_modules/es-errors/CHANGELOG.md +40 -0
  171. package/WeatherAPI/node_modules/es-errors/LICENSE +21 -0
  172. package/WeatherAPI/node_modules/es-errors/README.md +55 -0
  173. package/WeatherAPI/node_modules/es-errors/eval.d.ts +3 -0
  174. package/WeatherAPI/node_modules/es-errors/eval.js +4 -0
  175. package/WeatherAPI/node_modules/es-errors/index.d.ts +3 -0
  176. package/WeatherAPI/node_modules/es-errors/index.js +4 -0
  177. package/WeatherAPI/node_modules/es-errors/package.json +80 -0
  178. package/WeatherAPI/node_modules/es-errors/range.d.ts +3 -0
  179. package/WeatherAPI/node_modules/es-errors/range.js +4 -0
  180. package/WeatherAPI/node_modules/es-errors/ref.d.ts +3 -0
  181. package/WeatherAPI/node_modules/es-errors/ref.js +4 -0
  182. package/WeatherAPI/node_modules/es-errors/syntax.d.ts +3 -0
  183. package/WeatherAPI/node_modules/es-errors/syntax.js +4 -0
  184. package/WeatherAPI/node_modules/es-errors/test/index.js +19 -0
  185. package/WeatherAPI/node_modules/es-errors/tsconfig.json +49 -0
  186. package/WeatherAPI/node_modules/es-errors/type.d.ts +3 -0
  187. package/WeatherAPI/node_modules/es-errors/type.js +4 -0
  188. package/WeatherAPI/node_modules/es-errors/uri.d.ts +3 -0
  189. package/WeatherAPI/node_modules/es-errors/uri.js +4 -0
  190. package/WeatherAPI/node_modules/es-object-atoms/.eslintrc +16 -0
  191. package/WeatherAPI/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  192. package/WeatherAPI/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  193. package/WeatherAPI/node_modules/es-object-atoms/LICENSE +21 -0
  194. package/WeatherAPI/node_modules/es-object-atoms/README.md +63 -0
  195. package/WeatherAPI/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  196. package/WeatherAPI/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  197. package/WeatherAPI/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  198. package/WeatherAPI/node_modules/es-object-atoms/ToObject.js +10 -0
  199. package/WeatherAPI/node_modules/es-object-atoms/index.d.ts +3 -0
  200. package/WeatherAPI/node_modules/es-object-atoms/index.js +4 -0
  201. package/WeatherAPI/node_modules/es-object-atoms/isObject.d.ts +3 -0
  202. package/WeatherAPI/node_modules/es-object-atoms/isObject.js +6 -0
  203. package/WeatherAPI/node_modules/es-object-atoms/package.json +80 -0
  204. package/WeatherAPI/node_modules/es-object-atoms/test/index.js +38 -0
  205. package/WeatherAPI/node_modules/es-object-atoms/tsconfig.json +6 -0
  206. package/WeatherAPI/node_modules/es-set-tostringtag/.eslintrc +13 -0
  207. package/WeatherAPI/node_modules/es-set-tostringtag/.nycrc +9 -0
  208. package/WeatherAPI/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  209. package/WeatherAPI/node_modules/es-set-tostringtag/LICENSE +21 -0
  210. package/WeatherAPI/node_modules/es-set-tostringtag/README.md +53 -0
  211. package/WeatherAPI/node_modules/es-set-tostringtag/index.d.ts +10 -0
  212. package/WeatherAPI/node_modules/es-set-tostringtag/index.js +35 -0
  213. package/WeatherAPI/node_modules/es-set-tostringtag/package.json +78 -0
  214. package/WeatherAPI/node_modules/es-set-tostringtag/test/index.js +85 -0
  215. package/WeatherAPI/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  216. package/WeatherAPI/node_modules/follow-redirects/LICENSE +18 -0
  217. package/WeatherAPI/node_modules/follow-redirects/README.md +155 -0
  218. package/WeatherAPI/node_modules/follow-redirects/debug.js +15 -0
  219. package/WeatherAPI/node_modules/follow-redirects/http.js +1 -0
  220. package/WeatherAPI/node_modules/follow-redirects/https.js +1 -0
  221. package/WeatherAPI/node_modules/follow-redirects/index.js +686 -0
  222. package/WeatherAPI/node_modules/follow-redirects/package.json +58 -0
  223. package/WeatherAPI/node_modules/form-data/CHANGELOG.md +659 -0
  224. package/WeatherAPI/node_modules/form-data/License +19 -0
  225. package/WeatherAPI/node_modules/form-data/README.md +355 -0
  226. package/WeatherAPI/node_modules/form-data/index.d.ts +62 -0
  227. package/WeatherAPI/node_modules/form-data/lib/browser.js +4 -0
  228. package/WeatherAPI/node_modules/form-data/lib/form_data.js +494 -0
  229. package/WeatherAPI/node_modules/form-data/lib/populate.js +10 -0
  230. package/WeatherAPI/node_modules/form-data/package.json +82 -0
  231. package/WeatherAPI/node_modules/function-bind/.eslintrc +21 -0
  232. package/WeatherAPI/node_modules/function-bind/.github/FUNDING.yml +12 -0
  233. package/WeatherAPI/node_modules/function-bind/.github/SECURITY.md +3 -0
  234. package/WeatherAPI/node_modules/function-bind/.nycrc +13 -0
  235. package/WeatherAPI/node_modules/function-bind/CHANGELOG.md +136 -0
  236. package/WeatherAPI/node_modules/function-bind/LICENSE +20 -0
  237. package/WeatherAPI/node_modules/function-bind/README.md +46 -0
  238. package/WeatherAPI/node_modules/function-bind/implementation.js +84 -0
  239. package/WeatherAPI/node_modules/function-bind/index.js +5 -0
  240. package/WeatherAPI/node_modules/function-bind/package.json +87 -0
  241. package/WeatherAPI/node_modules/function-bind/test/.eslintrc +9 -0
  242. package/WeatherAPI/node_modules/function-bind/test/index.js +252 -0
  243. package/WeatherAPI/node_modules/get-intrinsic/.eslintrc +42 -0
  244. package/WeatherAPI/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  245. package/WeatherAPI/node_modules/get-intrinsic/.nycrc +9 -0
  246. package/WeatherAPI/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  247. package/WeatherAPI/node_modules/get-intrinsic/LICENSE +21 -0
  248. package/WeatherAPI/node_modules/get-intrinsic/README.md +71 -0
  249. package/WeatherAPI/node_modules/get-intrinsic/index.js +378 -0
  250. package/WeatherAPI/node_modules/get-intrinsic/package.json +97 -0
  251. package/WeatherAPI/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  252. package/WeatherAPI/node_modules/get-proto/.eslintrc +10 -0
  253. package/WeatherAPI/node_modules/get-proto/.github/FUNDING.yml +12 -0
  254. package/WeatherAPI/node_modules/get-proto/.nycrc +9 -0
  255. package/WeatherAPI/node_modules/get-proto/CHANGELOG.md +21 -0
  256. package/WeatherAPI/node_modules/get-proto/LICENSE +21 -0
  257. package/WeatherAPI/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  258. package/WeatherAPI/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  259. package/WeatherAPI/node_modules/get-proto/README.md +50 -0
  260. package/WeatherAPI/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  261. package/WeatherAPI/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  262. package/WeatherAPI/node_modules/get-proto/index.d.ts +5 -0
  263. package/WeatherAPI/node_modules/get-proto/index.js +27 -0
  264. package/WeatherAPI/node_modules/get-proto/package.json +81 -0
  265. package/WeatherAPI/node_modules/get-proto/test/index.js +68 -0
  266. package/WeatherAPI/node_modules/get-proto/tsconfig.json +9 -0
  267. package/WeatherAPI/node_modules/gopd/.eslintrc +16 -0
  268. package/WeatherAPI/node_modules/gopd/.github/FUNDING.yml +12 -0
  269. package/WeatherAPI/node_modules/gopd/CHANGELOG.md +45 -0
  270. package/WeatherAPI/node_modules/gopd/LICENSE +21 -0
  271. package/WeatherAPI/node_modules/gopd/README.md +40 -0
  272. package/WeatherAPI/node_modules/gopd/gOPD.d.ts +1 -0
  273. package/WeatherAPI/node_modules/gopd/gOPD.js +4 -0
  274. package/WeatherAPI/node_modules/gopd/index.d.ts +5 -0
  275. package/WeatherAPI/node_modules/gopd/index.js +15 -0
  276. package/WeatherAPI/node_modules/gopd/package.json +77 -0
  277. package/WeatherAPI/node_modules/gopd/test/index.js +36 -0
  278. package/WeatherAPI/node_modules/gopd/tsconfig.json +9 -0
  279. package/WeatherAPI/node_modules/has-symbols/.eslintrc +11 -0
  280. package/WeatherAPI/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  281. package/WeatherAPI/node_modules/has-symbols/.nycrc +9 -0
  282. package/WeatherAPI/node_modules/has-symbols/CHANGELOG.md +91 -0
  283. package/WeatherAPI/node_modules/has-symbols/LICENSE +21 -0
  284. package/WeatherAPI/node_modules/has-symbols/README.md +46 -0
  285. package/WeatherAPI/node_modules/has-symbols/index.d.ts +3 -0
  286. package/WeatherAPI/node_modules/has-symbols/index.js +14 -0
  287. package/WeatherAPI/node_modules/has-symbols/package.json +111 -0
  288. package/WeatherAPI/node_modules/has-symbols/shams.d.ts +3 -0
  289. package/WeatherAPI/node_modules/has-symbols/shams.js +45 -0
  290. package/WeatherAPI/node_modules/has-symbols/test/index.js +22 -0
  291. package/WeatherAPI/node_modules/has-symbols/test/shams/core-js.js +29 -0
  292. package/WeatherAPI/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  293. package/WeatherAPI/node_modules/has-symbols/test/tests.js +58 -0
  294. package/WeatherAPI/node_modules/has-symbols/tsconfig.json +10 -0
  295. package/WeatherAPI/node_modules/has-tostringtag/.eslintrc +5 -0
  296. package/WeatherAPI/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  297. package/WeatherAPI/node_modules/has-tostringtag/.nycrc +13 -0
  298. package/WeatherAPI/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  299. package/WeatherAPI/node_modules/has-tostringtag/LICENSE +21 -0
  300. package/WeatherAPI/node_modules/has-tostringtag/README.md +46 -0
  301. package/WeatherAPI/node_modules/has-tostringtag/index.d.ts +3 -0
  302. package/WeatherAPI/node_modules/has-tostringtag/index.js +8 -0
  303. package/WeatherAPI/node_modules/has-tostringtag/package.json +108 -0
  304. package/WeatherAPI/node_modules/has-tostringtag/shams.d.ts +3 -0
  305. package/WeatherAPI/node_modules/has-tostringtag/shams.js +8 -0
  306. package/WeatherAPI/node_modules/has-tostringtag/test/index.js +21 -0
  307. package/WeatherAPI/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  308. package/WeatherAPI/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  309. package/WeatherAPI/node_modules/has-tostringtag/test/tests.js +15 -0
  310. package/WeatherAPI/node_modules/has-tostringtag/tsconfig.json +49 -0
  311. package/WeatherAPI/node_modules/hasown/.eslintrc +5 -0
  312. package/WeatherAPI/node_modules/hasown/.github/FUNDING.yml +12 -0
  313. package/WeatherAPI/node_modules/hasown/.nycrc +13 -0
  314. package/WeatherAPI/node_modules/hasown/CHANGELOG.md +40 -0
  315. package/WeatherAPI/node_modules/hasown/LICENSE +21 -0
  316. package/WeatherAPI/node_modules/hasown/README.md +40 -0
  317. package/WeatherAPI/node_modules/hasown/index.d.ts +3 -0
  318. package/WeatherAPI/node_modules/hasown/index.js +8 -0
  319. package/WeatherAPI/node_modules/hasown/package.json +92 -0
  320. package/WeatherAPI/node_modules/hasown/tsconfig.json +6 -0
  321. package/WeatherAPI/node_modules/lodash/LICENSE +47 -0
  322. package/WeatherAPI/node_modules/lodash/README.md +39 -0
  323. package/WeatherAPI/node_modules/lodash/_DataView.js +7 -0
  324. package/WeatherAPI/node_modules/lodash/_Hash.js +32 -0
  325. package/WeatherAPI/node_modules/lodash/_LazyWrapper.js +28 -0
  326. package/WeatherAPI/node_modules/lodash/_ListCache.js +32 -0
  327. package/WeatherAPI/node_modules/lodash/_LodashWrapper.js +22 -0
  328. package/WeatherAPI/node_modules/lodash/_Map.js +7 -0
  329. package/WeatherAPI/node_modules/lodash/_MapCache.js +32 -0
  330. package/WeatherAPI/node_modules/lodash/_Promise.js +7 -0
  331. package/WeatherAPI/node_modules/lodash/_Set.js +7 -0
  332. package/WeatherAPI/node_modules/lodash/_SetCache.js +27 -0
  333. package/WeatherAPI/node_modules/lodash/_Stack.js +27 -0
  334. package/WeatherAPI/node_modules/lodash/_Symbol.js +6 -0
  335. package/WeatherAPI/node_modules/lodash/_Uint8Array.js +6 -0
  336. package/WeatherAPI/node_modules/lodash/_WeakMap.js +7 -0
  337. package/WeatherAPI/node_modules/lodash/_apply.js +21 -0
  338. package/WeatherAPI/node_modules/lodash/_arrayAggregator.js +22 -0
  339. package/WeatherAPI/node_modules/lodash/_arrayEach.js +22 -0
  340. package/WeatherAPI/node_modules/lodash/_arrayEachRight.js +21 -0
  341. package/WeatherAPI/node_modules/lodash/_arrayEvery.js +23 -0
  342. package/WeatherAPI/node_modules/lodash/_arrayFilter.js +25 -0
  343. package/WeatherAPI/node_modules/lodash/_arrayIncludes.js +17 -0
  344. package/WeatherAPI/node_modules/lodash/_arrayIncludesWith.js +22 -0
  345. package/WeatherAPI/node_modules/lodash/_arrayLikeKeys.js +49 -0
  346. package/WeatherAPI/node_modules/lodash/_arrayMap.js +21 -0
  347. package/WeatherAPI/node_modules/lodash/_arrayPush.js +20 -0
  348. package/WeatherAPI/node_modules/lodash/_arrayReduce.js +26 -0
  349. package/WeatherAPI/node_modules/lodash/_arrayReduceRight.js +24 -0
  350. package/WeatherAPI/node_modules/lodash/_arraySample.js +15 -0
  351. package/WeatherAPI/node_modules/lodash/_arraySampleSize.js +17 -0
  352. package/WeatherAPI/node_modules/lodash/_arrayShuffle.js +15 -0
  353. package/WeatherAPI/node_modules/lodash/_arraySome.js +23 -0
  354. package/WeatherAPI/node_modules/lodash/_asciiSize.js +12 -0
  355. package/WeatherAPI/node_modules/lodash/_asciiToArray.js +12 -0
  356. package/WeatherAPI/node_modules/lodash/_asciiWords.js +15 -0
  357. package/WeatherAPI/node_modules/lodash/_assignMergeValue.js +20 -0
  358. package/WeatherAPI/node_modules/lodash/_assignValue.js +28 -0
  359. package/WeatherAPI/node_modules/lodash/_assocIndexOf.js +21 -0
  360. package/WeatherAPI/node_modules/lodash/_baseAggregator.js +21 -0
  361. package/WeatherAPI/node_modules/lodash/_baseAssign.js +17 -0
  362. package/WeatherAPI/node_modules/lodash/_baseAssignIn.js +17 -0
  363. package/WeatherAPI/node_modules/lodash/_baseAssignValue.js +25 -0
  364. package/WeatherAPI/node_modules/lodash/_baseAt.js +23 -0
  365. package/WeatherAPI/node_modules/lodash/_baseClamp.js +22 -0
  366. package/WeatherAPI/node_modules/lodash/_baseClone.js +166 -0
  367. package/WeatherAPI/node_modules/lodash/_baseConforms.js +18 -0
  368. package/WeatherAPI/node_modules/lodash/_baseConformsTo.js +27 -0
  369. package/WeatherAPI/node_modules/lodash/_baseCreate.js +30 -0
  370. package/WeatherAPI/node_modules/lodash/_baseDelay.js +21 -0
  371. package/WeatherAPI/node_modules/lodash/_baseDifference.js +67 -0
  372. package/WeatherAPI/node_modules/lodash/_baseEach.js +14 -0
  373. package/WeatherAPI/node_modules/lodash/_baseEachRight.js +14 -0
  374. package/WeatherAPI/node_modules/lodash/_baseEvery.js +21 -0
  375. package/WeatherAPI/node_modules/lodash/_baseExtremum.js +32 -0
  376. package/WeatherAPI/node_modules/lodash/_baseFill.js +32 -0
  377. package/WeatherAPI/node_modules/lodash/_baseFilter.js +21 -0
  378. package/WeatherAPI/node_modules/lodash/_baseFindIndex.js +24 -0
  379. package/WeatherAPI/node_modules/lodash/_baseFindKey.js +23 -0
  380. package/WeatherAPI/node_modules/lodash/_baseFlatten.js +38 -0
  381. package/WeatherAPI/node_modules/lodash/_baseFor.js +16 -0
  382. package/WeatherAPI/node_modules/lodash/_baseForOwn.js +16 -0
  383. package/WeatherAPI/node_modules/lodash/_baseForOwnRight.js +16 -0
  384. package/WeatherAPI/node_modules/lodash/_baseForRight.js +15 -0
  385. package/WeatherAPI/node_modules/lodash/_baseFunctions.js +19 -0
  386. package/WeatherAPI/node_modules/lodash/_baseGet.js +24 -0
  387. package/WeatherAPI/node_modules/lodash/_baseGetAllKeys.js +20 -0
  388. package/WeatherAPI/node_modules/lodash/_baseGetTag.js +28 -0
  389. package/WeatherAPI/node_modules/lodash/_baseGt.js +14 -0
  390. package/WeatherAPI/node_modules/lodash/_baseHas.js +19 -0
  391. package/WeatherAPI/node_modules/lodash/_baseHasIn.js +13 -0
  392. package/WeatherAPI/node_modules/lodash/_baseInRange.js +18 -0
  393. package/WeatherAPI/node_modules/lodash/_baseIndexOf.js +20 -0
  394. package/WeatherAPI/node_modules/lodash/_baseIndexOfWith.js +23 -0
  395. package/WeatherAPI/node_modules/lodash/_baseIntersection.js +74 -0
  396. package/WeatherAPI/node_modules/lodash/_baseInverter.js +21 -0
  397. package/WeatherAPI/node_modules/lodash/_baseInvoke.js +24 -0
  398. package/WeatherAPI/node_modules/lodash/_baseIsArguments.js +18 -0
  399. package/WeatherAPI/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  400. package/WeatherAPI/node_modules/lodash/_baseIsDate.js +18 -0
  401. package/WeatherAPI/node_modules/lodash/_baseIsEqual.js +28 -0
  402. package/WeatherAPI/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  403. package/WeatherAPI/node_modules/lodash/_baseIsMap.js +18 -0
  404. package/WeatherAPI/node_modules/lodash/_baseIsMatch.js +62 -0
  405. package/WeatherAPI/node_modules/lodash/_baseIsNaN.js +12 -0
  406. package/WeatherAPI/node_modules/lodash/_baseIsNative.js +47 -0
  407. package/WeatherAPI/node_modules/lodash/_baseIsRegExp.js +18 -0
  408. package/WeatherAPI/node_modules/lodash/_baseIsSet.js +18 -0
  409. package/WeatherAPI/node_modules/lodash/_baseIsTypedArray.js +60 -0
  410. package/WeatherAPI/node_modules/lodash/_baseIteratee.js +31 -0
  411. package/WeatherAPI/node_modules/lodash/_baseKeys.js +30 -0
  412. package/WeatherAPI/node_modules/lodash/_baseKeysIn.js +33 -0
  413. package/WeatherAPI/node_modules/lodash/_baseLodash.js +10 -0
  414. package/WeatherAPI/node_modules/lodash/_baseLt.js +14 -0
  415. package/WeatherAPI/node_modules/lodash/_baseMap.js +22 -0
  416. package/WeatherAPI/node_modules/lodash/_baseMatches.js +22 -0
  417. package/WeatherAPI/node_modules/lodash/_baseMatchesProperty.js +33 -0
  418. package/WeatherAPI/node_modules/lodash/_baseMean.js +20 -0
  419. package/WeatherAPI/node_modules/lodash/_baseMerge.js +42 -0
  420. package/WeatherAPI/node_modules/lodash/_baseMergeDeep.js +94 -0
  421. package/WeatherAPI/node_modules/lodash/_baseNth.js +20 -0
  422. package/WeatherAPI/node_modules/lodash/_baseOrderBy.js +49 -0
  423. package/WeatherAPI/node_modules/lodash/_basePick.js +19 -0
  424. package/WeatherAPI/node_modules/lodash/_basePickBy.js +30 -0
  425. package/WeatherAPI/node_modules/lodash/_baseProperty.js +14 -0
  426. package/WeatherAPI/node_modules/lodash/_basePropertyDeep.js +16 -0
  427. package/WeatherAPI/node_modules/lodash/_basePropertyOf.js +14 -0
  428. package/WeatherAPI/node_modules/lodash/_basePullAll.js +51 -0
  429. package/WeatherAPI/node_modules/lodash/_basePullAt.js +37 -0
  430. package/WeatherAPI/node_modules/lodash/_baseRandom.js +18 -0
  431. package/WeatherAPI/node_modules/lodash/_baseRange.js +28 -0
  432. package/WeatherAPI/node_modules/lodash/_baseReduce.js +23 -0
  433. package/WeatherAPI/node_modules/lodash/_baseRepeat.js +35 -0
  434. package/WeatherAPI/node_modules/lodash/_baseRest.js +17 -0
  435. package/WeatherAPI/node_modules/lodash/_baseSample.js +15 -0
  436. package/WeatherAPI/node_modules/lodash/_baseSampleSize.js +18 -0
  437. package/WeatherAPI/node_modules/lodash/_baseSet.js +51 -0
  438. package/WeatherAPI/node_modules/lodash/_baseSetData.js +17 -0
  439. package/WeatherAPI/node_modules/lodash/_baseSetToString.js +22 -0
  440. package/WeatherAPI/node_modules/lodash/_baseShuffle.js +15 -0
  441. package/WeatherAPI/node_modules/lodash/_baseSlice.js +31 -0
  442. package/WeatherAPI/node_modules/lodash/_baseSome.js +22 -0
  443. package/WeatherAPI/node_modules/lodash/_baseSortBy.js +21 -0
  444. package/WeatherAPI/node_modules/lodash/_baseSortedIndex.js +42 -0
  445. package/WeatherAPI/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  446. package/WeatherAPI/node_modules/lodash/_baseSortedUniq.js +30 -0
  447. package/WeatherAPI/node_modules/lodash/_baseSum.js +24 -0
  448. package/WeatherAPI/node_modules/lodash/_baseTimes.js +20 -0
  449. package/WeatherAPI/node_modules/lodash/_baseToNumber.js +24 -0
  450. package/WeatherAPI/node_modules/lodash/_baseToPairs.js +18 -0
  451. package/WeatherAPI/node_modules/lodash/_baseToString.js +37 -0
  452. package/WeatherAPI/node_modules/lodash/_baseTrim.js +19 -0
  453. package/WeatherAPI/node_modules/lodash/_baseUnary.js +14 -0
  454. package/WeatherAPI/node_modules/lodash/_baseUniq.js +72 -0
  455. package/WeatherAPI/node_modules/lodash/_baseUnset.js +65 -0
  456. package/WeatherAPI/node_modules/lodash/_baseUpdate.js +18 -0
  457. package/WeatherAPI/node_modules/lodash/_baseValues.js +19 -0
  458. package/WeatherAPI/node_modules/lodash/_baseWhile.js +26 -0
  459. package/WeatherAPI/node_modules/lodash/_baseWrapperValue.js +25 -0
  460. package/WeatherAPI/node_modules/lodash/_baseXor.js +36 -0
  461. package/WeatherAPI/node_modules/lodash/_baseZipObject.js +23 -0
  462. package/WeatherAPI/node_modules/lodash/_cacheHas.js +13 -0
  463. package/WeatherAPI/node_modules/lodash/_castArrayLikeObject.js +14 -0
  464. package/WeatherAPI/node_modules/lodash/_castFunction.js +14 -0
  465. package/WeatherAPI/node_modules/lodash/_castPath.js +21 -0
  466. package/WeatherAPI/node_modules/lodash/_castRest.js +14 -0
  467. package/WeatherAPI/node_modules/lodash/_castSlice.js +18 -0
  468. package/WeatherAPI/node_modules/lodash/_charsEndIndex.js +19 -0
  469. package/WeatherAPI/node_modules/lodash/_charsStartIndex.js +20 -0
  470. package/WeatherAPI/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  471. package/WeatherAPI/node_modules/lodash/_cloneBuffer.js +35 -0
  472. package/WeatherAPI/node_modules/lodash/_cloneDataView.js +16 -0
  473. package/WeatherAPI/node_modules/lodash/_cloneRegExp.js +17 -0
  474. package/WeatherAPI/node_modules/lodash/_cloneSymbol.js +18 -0
  475. package/WeatherAPI/node_modules/lodash/_cloneTypedArray.js +16 -0
  476. package/WeatherAPI/node_modules/lodash/_compareAscending.js +41 -0
  477. package/WeatherAPI/node_modules/lodash/_compareMultiple.js +44 -0
  478. package/WeatherAPI/node_modules/lodash/_composeArgs.js +39 -0
  479. package/WeatherAPI/node_modules/lodash/_composeArgsRight.js +41 -0
  480. package/WeatherAPI/node_modules/lodash/_copyArray.js +20 -0
  481. package/WeatherAPI/node_modules/lodash/_copyObject.js +40 -0
  482. package/WeatherAPI/node_modules/lodash/_copySymbols.js +16 -0
  483. package/WeatherAPI/node_modules/lodash/_copySymbolsIn.js +16 -0
  484. package/WeatherAPI/node_modules/lodash/_coreJsData.js +6 -0
  485. package/WeatherAPI/node_modules/lodash/_countHolders.js +21 -0
  486. package/WeatherAPI/node_modules/lodash/_createAggregator.js +23 -0
  487. package/WeatherAPI/node_modules/lodash/_createAssigner.js +37 -0
  488. package/WeatherAPI/node_modules/lodash/_createBaseEach.js +32 -0
  489. package/WeatherAPI/node_modules/lodash/_createBaseFor.js +25 -0
  490. package/WeatherAPI/node_modules/lodash/_createBind.js +28 -0
  491. package/WeatherAPI/node_modules/lodash/_createCaseFirst.js +33 -0
  492. package/WeatherAPI/node_modules/lodash/_createCompounder.js +24 -0
  493. package/WeatherAPI/node_modules/lodash/_createCtor.js +37 -0
  494. package/WeatherAPI/node_modules/lodash/_createCurry.js +46 -0
  495. package/WeatherAPI/node_modules/lodash/_createFind.js +25 -0
  496. package/WeatherAPI/node_modules/lodash/_createFlow.js +78 -0
  497. package/WeatherAPI/node_modules/lodash/_createHybrid.js +92 -0
  498. package/WeatherAPI/node_modules/lodash/_createInverter.js +17 -0
  499. package/WeatherAPI/node_modules/lodash/_createMathOperation.js +38 -0
  500. package/WeatherAPI/node_modules/lodash/_createOver.js +27 -0
  501. package/WeatherAPI/node_modules/lodash/_createPadding.js +33 -0
  502. package/WeatherAPI/node_modules/lodash/_createPartial.js +43 -0
  503. package/WeatherAPI/node_modules/lodash/_createRange.js +30 -0
  504. package/WeatherAPI/node_modules/lodash/_createRecurry.js +56 -0
  505. package/WeatherAPI/node_modules/lodash/_createRelationalOperation.js +20 -0
  506. package/WeatherAPI/node_modules/lodash/_createRound.js +35 -0
  507. package/WeatherAPI/node_modules/lodash/_createSet.js +19 -0
  508. package/WeatherAPI/node_modules/lodash/_createToPairs.js +30 -0
  509. package/WeatherAPI/node_modules/lodash/_createWrap.js +106 -0
  510. package/WeatherAPI/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  511. package/WeatherAPI/node_modules/lodash/_customDefaultsMerge.js +28 -0
  512. package/WeatherAPI/node_modules/lodash/_customOmitClone.js +16 -0
  513. package/WeatherAPI/node_modules/lodash/_deburrLetter.js +71 -0
  514. package/WeatherAPI/node_modules/lodash/_defineProperty.js +11 -0
  515. package/WeatherAPI/node_modules/lodash/_equalArrays.js +84 -0
  516. package/WeatherAPI/node_modules/lodash/_equalByTag.js +112 -0
  517. package/WeatherAPI/node_modules/lodash/_equalObjects.js +90 -0
  518. package/WeatherAPI/node_modules/lodash/_escapeHtmlChar.js +21 -0
  519. package/WeatherAPI/node_modules/lodash/_escapeStringChar.js +22 -0
  520. package/WeatherAPI/node_modules/lodash/_flatRest.js +16 -0
  521. package/WeatherAPI/node_modules/lodash/_freeGlobal.js +4 -0
  522. package/WeatherAPI/node_modules/lodash/_getAllKeys.js +16 -0
  523. package/WeatherAPI/node_modules/lodash/_getAllKeysIn.js +17 -0
  524. package/WeatherAPI/node_modules/lodash/_getData.js +15 -0
  525. package/WeatherAPI/node_modules/lodash/_getFuncName.js +31 -0
  526. package/WeatherAPI/node_modules/lodash/_getHolder.js +13 -0
  527. package/WeatherAPI/node_modules/lodash/_getMapData.js +18 -0
  528. package/WeatherAPI/node_modules/lodash/_getMatchData.js +24 -0
  529. package/WeatherAPI/node_modules/lodash/_getNative.js +17 -0
  530. package/WeatherAPI/node_modules/lodash/_getPrototype.js +6 -0
  531. package/WeatherAPI/node_modules/lodash/_getRawTag.js +46 -0
  532. package/WeatherAPI/node_modules/lodash/_getSymbols.js +30 -0
  533. package/WeatherAPI/node_modules/lodash/_getSymbolsIn.js +25 -0
  534. package/WeatherAPI/node_modules/lodash/_getTag.js +58 -0
  535. package/WeatherAPI/node_modules/lodash/_getValue.js +13 -0
  536. package/WeatherAPI/node_modules/lodash/_getView.js +33 -0
  537. package/WeatherAPI/node_modules/lodash/_getWrapDetails.js +17 -0
  538. package/WeatherAPI/node_modules/lodash/_hasPath.js +39 -0
  539. package/WeatherAPI/node_modules/lodash/_hasUnicode.js +26 -0
  540. package/WeatherAPI/node_modules/lodash/_hasUnicodeWord.js +15 -0
  541. package/WeatherAPI/node_modules/lodash/_hashClear.js +15 -0
  542. package/WeatherAPI/node_modules/lodash/_hashDelete.js +17 -0
  543. package/WeatherAPI/node_modules/lodash/_hashGet.js +30 -0
  544. package/WeatherAPI/node_modules/lodash/_hashHas.js +23 -0
  545. package/WeatherAPI/node_modules/lodash/_hashSet.js +23 -0
  546. package/WeatherAPI/node_modules/lodash/_initCloneArray.js +26 -0
  547. package/WeatherAPI/node_modules/lodash/_initCloneByTag.js +77 -0
  548. package/WeatherAPI/node_modules/lodash/_initCloneObject.js +18 -0
  549. package/WeatherAPI/node_modules/lodash/_insertWrapDetails.js +23 -0
  550. package/WeatherAPI/node_modules/lodash/_isFlattenable.js +20 -0
  551. package/WeatherAPI/node_modules/lodash/_isIndex.js +25 -0
  552. package/WeatherAPI/node_modules/lodash/_isIterateeCall.js +30 -0
  553. package/WeatherAPI/node_modules/lodash/_isKey.js +29 -0
  554. package/WeatherAPI/node_modules/lodash/_isKeyable.js +15 -0
  555. package/WeatherAPI/node_modules/lodash/_isLaziable.js +28 -0
  556. package/WeatherAPI/node_modules/lodash/_isMaskable.js +14 -0
  557. package/WeatherAPI/node_modules/lodash/_isMasked.js +20 -0
  558. package/WeatherAPI/node_modules/lodash/_isPrototype.js +18 -0
  559. package/WeatherAPI/node_modules/lodash/_isStrictComparable.js +15 -0
  560. package/WeatherAPI/node_modules/lodash/_iteratorToArray.js +18 -0
  561. package/WeatherAPI/node_modules/lodash/_lazyClone.js +23 -0
  562. package/WeatherAPI/node_modules/lodash/_lazyReverse.js +23 -0
  563. package/WeatherAPI/node_modules/lodash/_lazyValue.js +69 -0
  564. package/WeatherAPI/node_modules/lodash/_listCacheClear.js +13 -0
  565. package/WeatherAPI/node_modules/lodash/_listCacheDelete.js +35 -0
  566. package/WeatherAPI/node_modules/lodash/_listCacheGet.js +19 -0
  567. package/WeatherAPI/node_modules/lodash/_listCacheHas.js +16 -0
  568. package/WeatherAPI/node_modules/lodash/_listCacheSet.js +26 -0
  569. package/WeatherAPI/node_modules/lodash/_mapCacheClear.js +21 -0
  570. package/WeatherAPI/node_modules/lodash/_mapCacheDelete.js +18 -0
  571. package/WeatherAPI/node_modules/lodash/_mapCacheGet.js +16 -0
  572. package/WeatherAPI/node_modules/lodash/_mapCacheHas.js +16 -0
  573. package/WeatherAPI/node_modules/lodash/_mapCacheSet.js +22 -0
  574. package/WeatherAPI/node_modules/lodash/_mapToArray.js +18 -0
  575. package/WeatherAPI/node_modules/lodash/_matchesStrictComparable.js +20 -0
  576. package/WeatherAPI/node_modules/lodash/_memoizeCapped.js +26 -0
  577. package/WeatherAPI/node_modules/lodash/_mergeData.js +90 -0
  578. package/WeatherAPI/node_modules/lodash/_metaMap.js +6 -0
  579. package/WeatherAPI/node_modules/lodash/_nativeCreate.js +6 -0
  580. package/WeatherAPI/node_modules/lodash/_nativeKeys.js +6 -0
  581. package/WeatherAPI/node_modules/lodash/_nativeKeysIn.js +20 -0
  582. package/WeatherAPI/node_modules/lodash/_nodeUtil.js +30 -0
  583. package/WeatherAPI/node_modules/lodash/_objectToString.js +22 -0
  584. package/WeatherAPI/node_modules/lodash/_overArg.js +15 -0
  585. package/WeatherAPI/node_modules/lodash/_overRest.js +36 -0
  586. package/WeatherAPI/node_modules/lodash/_parent.js +16 -0
  587. package/WeatherAPI/node_modules/lodash/_reEscape.js +4 -0
  588. package/WeatherAPI/node_modules/lodash/_reEvaluate.js +4 -0
  589. package/WeatherAPI/node_modules/lodash/_reInterpolate.js +4 -0
  590. package/WeatherAPI/node_modules/lodash/_realNames.js +4 -0
  591. package/WeatherAPI/node_modules/lodash/_reorder.js +29 -0
  592. package/WeatherAPI/node_modules/lodash/_replaceHolders.js +29 -0
  593. package/WeatherAPI/node_modules/lodash/_root.js +9 -0
  594. package/WeatherAPI/node_modules/lodash/_safeGet.js +21 -0
  595. package/WeatherAPI/node_modules/lodash/_setCacheAdd.js +19 -0
  596. package/WeatherAPI/node_modules/lodash/_setCacheHas.js +14 -0
  597. package/WeatherAPI/node_modules/lodash/_setData.js +20 -0
  598. package/WeatherAPI/node_modules/lodash/_setToArray.js +18 -0
  599. package/WeatherAPI/node_modules/lodash/_setToPairs.js +18 -0
  600. package/WeatherAPI/node_modules/lodash/_setToString.js +14 -0
  601. package/WeatherAPI/node_modules/lodash/_setWrapToString.js +21 -0
  602. package/WeatherAPI/node_modules/lodash/_shortOut.js +37 -0
  603. package/WeatherAPI/node_modules/lodash/_shuffleSelf.js +28 -0
  604. package/WeatherAPI/node_modules/lodash/_stackClear.js +15 -0
  605. package/WeatherAPI/node_modules/lodash/_stackDelete.js +18 -0
  606. package/WeatherAPI/node_modules/lodash/_stackGet.js +14 -0
  607. package/WeatherAPI/node_modules/lodash/_stackHas.js +14 -0
  608. package/WeatherAPI/node_modules/lodash/_stackSet.js +34 -0
  609. package/WeatherAPI/node_modules/lodash/_strictIndexOf.js +23 -0
  610. package/WeatherAPI/node_modules/lodash/_strictLastIndexOf.js +21 -0
  611. package/WeatherAPI/node_modules/lodash/_stringSize.js +18 -0
  612. package/WeatherAPI/node_modules/lodash/_stringToArray.js +18 -0
  613. package/WeatherAPI/node_modules/lodash/_stringToPath.js +27 -0
  614. package/WeatherAPI/node_modules/lodash/_toKey.js +21 -0
  615. package/WeatherAPI/node_modules/lodash/_toSource.js +26 -0
  616. package/WeatherAPI/node_modules/lodash/_trimmedEndIndex.js +19 -0
  617. package/WeatherAPI/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  618. package/WeatherAPI/node_modules/lodash/_unicodeSize.js +44 -0
  619. package/WeatherAPI/node_modules/lodash/_unicodeToArray.js +40 -0
  620. package/WeatherAPI/node_modules/lodash/_unicodeWords.js +69 -0
  621. package/WeatherAPI/node_modules/lodash/_updateWrapDetails.js +46 -0
  622. package/WeatherAPI/node_modules/lodash/_wrapperClone.js +23 -0
  623. package/WeatherAPI/node_modules/lodash/add.js +22 -0
  624. package/WeatherAPI/node_modules/lodash/after.js +42 -0
  625. package/WeatherAPI/node_modules/lodash/array.js +67 -0
  626. package/WeatherAPI/node_modules/lodash/ary.js +29 -0
  627. package/WeatherAPI/node_modules/lodash/assign.js +58 -0
  628. package/WeatherAPI/node_modules/lodash/assignIn.js +40 -0
  629. package/WeatherAPI/node_modules/lodash/assignInWith.js +38 -0
  630. package/WeatherAPI/node_modules/lodash/assignWith.js +37 -0
  631. package/WeatherAPI/node_modules/lodash/at.js +23 -0
  632. package/WeatherAPI/node_modules/lodash/attempt.js +35 -0
  633. package/WeatherAPI/node_modules/lodash/before.js +40 -0
  634. package/WeatherAPI/node_modules/lodash/bind.js +57 -0
  635. package/WeatherAPI/node_modules/lodash/bindAll.js +41 -0
  636. package/WeatherAPI/node_modules/lodash/bindKey.js +68 -0
  637. package/WeatherAPI/node_modules/lodash/camelCase.js +29 -0
  638. package/WeatherAPI/node_modules/lodash/capitalize.js +23 -0
  639. package/WeatherAPI/node_modules/lodash/castArray.js +44 -0
  640. package/WeatherAPI/node_modules/lodash/ceil.js +26 -0
  641. package/WeatherAPI/node_modules/lodash/chain.js +38 -0
  642. package/WeatherAPI/node_modules/lodash/chunk.js +50 -0
  643. package/WeatherAPI/node_modules/lodash/clamp.js +39 -0
  644. package/WeatherAPI/node_modules/lodash/clone.js +36 -0
  645. package/WeatherAPI/node_modules/lodash/cloneDeep.js +29 -0
  646. package/WeatherAPI/node_modules/lodash/cloneDeepWith.js +40 -0
  647. package/WeatherAPI/node_modules/lodash/cloneWith.js +42 -0
  648. package/WeatherAPI/node_modules/lodash/collection.js +30 -0
  649. package/WeatherAPI/node_modules/lodash/commit.js +33 -0
  650. package/WeatherAPI/node_modules/lodash/compact.js +31 -0
  651. package/WeatherAPI/node_modules/lodash/concat.js +43 -0
  652. package/WeatherAPI/node_modules/lodash/cond.js +60 -0
  653. package/WeatherAPI/node_modules/lodash/conforms.js +35 -0
  654. package/WeatherAPI/node_modules/lodash/conformsTo.js +32 -0
  655. package/WeatherAPI/node_modules/lodash/constant.js +26 -0
  656. package/WeatherAPI/node_modules/lodash/core.js +3877 -0
  657. package/WeatherAPI/node_modules/lodash/core.min.js +29 -0
  658. package/WeatherAPI/node_modules/lodash/countBy.js +40 -0
  659. package/WeatherAPI/node_modules/lodash/create.js +43 -0
  660. package/WeatherAPI/node_modules/lodash/curry.js +57 -0
  661. package/WeatherAPI/node_modules/lodash/curryRight.js +54 -0
  662. package/WeatherAPI/node_modules/lodash/date.js +3 -0
  663. package/WeatherAPI/node_modules/lodash/debounce.js +191 -0
  664. package/WeatherAPI/node_modules/lodash/deburr.js +45 -0
  665. package/WeatherAPI/node_modules/lodash/defaultTo.js +25 -0
  666. package/WeatherAPI/node_modules/lodash/defaults.js +64 -0
  667. package/WeatherAPI/node_modules/lodash/defaultsDeep.js +30 -0
  668. package/WeatherAPI/node_modules/lodash/defer.js +26 -0
  669. package/WeatherAPI/node_modules/lodash/delay.js +28 -0
  670. package/WeatherAPI/node_modules/lodash/difference.js +33 -0
  671. package/WeatherAPI/node_modules/lodash/differenceBy.js +44 -0
  672. package/WeatherAPI/node_modules/lodash/differenceWith.js +40 -0
  673. package/WeatherAPI/node_modules/lodash/divide.js +22 -0
  674. package/WeatherAPI/node_modules/lodash/drop.js +38 -0
  675. package/WeatherAPI/node_modules/lodash/dropRight.js +39 -0
  676. package/WeatherAPI/node_modules/lodash/dropRightWhile.js +45 -0
  677. package/WeatherAPI/node_modules/lodash/dropWhile.js +45 -0
  678. package/WeatherAPI/node_modules/lodash/each.js +1 -0
  679. package/WeatherAPI/node_modules/lodash/eachRight.js +1 -0
  680. package/WeatherAPI/node_modules/lodash/endsWith.js +43 -0
  681. package/WeatherAPI/node_modules/lodash/entries.js +1 -0
  682. package/WeatherAPI/node_modules/lodash/entriesIn.js +1 -0
  683. package/WeatherAPI/node_modules/lodash/eq.js +37 -0
  684. package/WeatherAPI/node_modules/lodash/escape.js +43 -0
  685. package/WeatherAPI/node_modules/lodash/escapeRegExp.js +32 -0
  686. package/WeatherAPI/node_modules/lodash/every.js +56 -0
  687. package/WeatherAPI/node_modules/lodash/extend.js +1 -0
  688. package/WeatherAPI/node_modules/lodash/extendWith.js +1 -0
  689. package/WeatherAPI/node_modules/lodash/fill.js +45 -0
  690. package/WeatherAPI/node_modules/lodash/filter.js +52 -0
  691. package/WeatherAPI/node_modules/lodash/find.js +42 -0
  692. package/WeatherAPI/node_modules/lodash/findIndex.js +55 -0
  693. package/WeatherAPI/node_modules/lodash/findKey.js +44 -0
  694. package/WeatherAPI/node_modules/lodash/findLast.js +25 -0
  695. package/WeatherAPI/node_modules/lodash/findLastIndex.js +59 -0
  696. package/WeatherAPI/node_modules/lodash/findLastKey.js +44 -0
  697. package/WeatherAPI/node_modules/lodash/first.js +1 -0
  698. package/WeatherAPI/node_modules/lodash/flatMap.js +29 -0
  699. package/WeatherAPI/node_modules/lodash/flatMapDeep.js +31 -0
  700. package/WeatherAPI/node_modules/lodash/flatMapDepth.js +31 -0
  701. package/WeatherAPI/node_modules/lodash/flatten.js +22 -0
  702. package/WeatherAPI/node_modules/lodash/flattenDeep.js +25 -0
  703. package/WeatherAPI/node_modules/lodash/flattenDepth.js +33 -0
  704. package/WeatherAPI/node_modules/lodash/flip.js +28 -0
  705. package/WeatherAPI/node_modules/lodash/floor.js +26 -0
  706. package/WeatherAPI/node_modules/lodash/flow.js +27 -0
  707. package/WeatherAPI/node_modules/lodash/flowRight.js +26 -0
  708. package/WeatherAPI/node_modules/lodash/forEach.js +41 -0
  709. package/WeatherAPI/node_modules/lodash/forEachRight.js +31 -0
  710. package/WeatherAPI/node_modules/lodash/forIn.js +39 -0
  711. package/WeatherAPI/node_modules/lodash/forInRight.js +37 -0
  712. package/WeatherAPI/node_modules/lodash/forOwn.js +36 -0
  713. package/WeatherAPI/node_modules/lodash/forOwnRight.js +34 -0
  714. package/WeatherAPI/node_modules/lodash/fp/F.js +1 -0
  715. package/WeatherAPI/node_modules/lodash/fp/T.js +1 -0
  716. package/WeatherAPI/node_modules/lodash/fp/__.js +1 -0
  717. package/WeatherAPI/node_modules/lodash/fp/_baseConvert.js +569 -0
  718. package/WeatherAPI/node_modules/lodash/fp/_convertBrowser.js +18 -0
  719. package/WeatherAPI/node_modules/lodash/fp/_falseOptions.js +7 -0
  720. package/WeatherAPI/node_modules/lodash/fp/_mapping.js +358 -0
  721. package/WeatherAPI/node_modules/lodash/fp/_util.js +16 -0
  722. package/WeatherAPI/node_modules/lodash/fp/add.js +5 -0
  723. package/WeatherAPI/node_modules/lodash/fp/after.js +5 -0
  724. package/WeatherAPI/node_modules/lodash/fp/all.js +1 -0
  725. package/WeatherAPI/node_modules/lodash/fp/allPass.js +1 -0
  726. package/WeatherAPI/node_modules/lodash/fp/always.js +1 -0
  727. package/WeatherAPI/node_modules/lodash/fp/any.js +1 -0
  728. package/WeatherAPI/node_modules/lodash/fp/anyPass.js +1 -0
  729. package/WeatherAPI/node_modules/lodash/fp/apply.js +1 -0
  730. package/WeatherAPI/node_modules/lodash/fp/array.js +2 -0
  731. package/WeatherAPI/node_modules/lodash/fp/ary.js +5 -0
  732. package/WeatherAPI/node_modules/lodash/fp/assign.js +5 -0
  733. package/WeatherAPI/node_modules/lodash/fp/assignAll.js +5 -0
  734. package/WeatherAPI/node_modules/lodash/fp/assignAllWith.js +5 -0
  735. package/WeatherAPI/node_modules/lodash/fp/assignIn.js +5 -0
  736. package/WeatherAPI/node_modules/lodash/fp/assignInAll.js +5 -0
  737. package/WeatherAPI/node_modules/lodash/fp/assignInAllWith.js +5 -0
  738. package/WeatherAPI/node_modules/lodash/fp/assignInWith.js +5 -0
  739. package/WeatherAPI/node_modules/lodash/fp/assignWith.js +5 -0
  740. package/WeatherAPI/node_modules/lodash/fp/assoc.js +1 -0
  741. package/WeatherAPI/node_modules/lodash/fp/assocPath.js +1 -0
  742. package/WeatherAPI/node_modules/lodash/fp/at.js +5 -0
  743. package/WeatherAPI/node_modules/lodash/fp/attempt.js +5 -0
  744. package/WeatherAPI/node_modules/lodash/fp/before.js +5 -0
  745. package/WeatherAPI/node_modules/lodash/fp/bind.js +5 -0
  746. package/WeatherAPI/node_modules/lodash/fp/bindAll.js +5 -0
  747. package/WeatherAPI/node_modules/lodash/fp/bindKey.js +5 -0
  748. package/WeatherAPI/node_modules/lodash/fp/camelCase.js +5 -0
  749. package/WeatherAPI/node_modules/lodash/fp/capitalize.js +5 -0
  750. package/WeatherAPI/node_modules/lodash/fp/castArray.js +5 -0
  751. package/WeatherAPI/node_modules/lodash/fp/ceil.js +5 -0
  752. package/WeatherAPI/node_modules/lodash/fp/chain.js +5 -0
  753. package/WeatherAPI/node_modules/lodash/fp/chunk.js +5 -0
  754. package/WeatherAPI/node_modules/lodash/fp/clamp.js +5 -0
  755. package/WeatherAPI/node_modules/lodash/fp/clone.js +5 -0
  756. package/WeatherAPI/node_modules/lodash/fp/cloneDeep.js +5 -0
  757. package/WeatherAPI/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  758. package/WeatherAPI/node_modules/lodash/fp/cloneWith.js +5 -0
  759. package/WeatherAPI/node_modules/lodash/fp/collection.js +2 -0
  760. package/WeatherAPI/node_modules/lodash/fp/commit.js +5 -0
  761. package/WeatherAPI/node_modules/lodash/fp/compact.js +5 -0
  762. package/WeatherAPI/node_modules/lodash/fp/complement.js +1 -0
  763. package/WeatherAPI/node_modules/lodash/fp/compose.js +1 -0
  764. package/WeatherAPI/node_modules/lodash/fp/concat.js +5 -0
  765. package/WeatherAPI/node_modules/lodash/fp/cond.js +5 -0
  766. package/WeatherAPI/node_modules/lodash/fp/conforms.js +1 -0
  767. package/WeatherAPI/node_modules/lodash/fp/conformsTo.js +5 -0
  768. package/WeatherAPI/node_modules/lodash/fp/constant.js +5 -0
  769. package/WeatherAPI/node_modules/lodash/fp/contains.js +1 -0
  770. package/WeatherAPI/node_modules/lodash/fp/convert.js +18 -0
  771. package/WeatherAPI/node_modules/lodash/fp/countBy.js +5 -0
  772. package/WeatherAPI/node_modules/lodash/fp/create.js +5 -0
  773. package/WeatherAPI/node_modules/lodash/fp/curry.js +5 -0
  774. package/WeatherAPI/node_modules/lodash/fp/curryN.js +5 -0
  775. package/WeatherAPI/node_modules/lodash/fp/curryRight.js +5 -0
  776. package/WeatherAPI/node_modules/lodash/fp/curryRightN.js +5 -0
  777. package/WeatherAPI/node_modules/lodash/fp/date.js +2 -0
  778. package/WeatherAPI/node_modules/lodash/fp/debounce.js +5 -0
  779. package/WeatherAPI/node_modules/lodash/fp/deburr.js +5 -0
  780. package/WeatherAPI/node_modules/lodash/fp/defaultTo.js +5 -0
  781. package/WeatherAPI/node_modules/lodash/fp/defaults.js +5 -0
  782. package/WeatherAPI/node_modules/lodash/fp/defaultsAll.js +5 -0
  783. package/WeatherAPI/node_modules/lodash/fp/defaultsDeep.js +5 -0
  784. package/WeatherAPI/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  785. package/WeatherAPI/node_modules/lodash/fp/defer.js +5 -0
  786. package/WeatherAPI/node_modules/lodash/fp/delay.js +5 -0
  787. package/WeatherAPI/node_modules/lodash/fp/difference.js +5 -0
  788. package/WeatherAPI/node_modules/lodash/fp/differenceBy.js +5 -0
  789. package/WeatherAPI/node_modules/lodash/fp/differenceWith.js +5 -0
  790. package/WeatherAPI/node_modules/lodash/fp/dissoc.js +1 -0
  791. package/WeatherAPI/node_modules/lodash/fp/dissocPath.js +1 -0
  792. package/WeatherAPI/node_modules/lodash/fp/divide.js +5 -0
  793. package/WeatherAPI/node_modules/lodash/fp/drop.js +5 -0
  794. package/WeatherAPI/node_modules/lodash/fp/dropLast.js +1 -0
  795. package/WeatherAPI/node_modules/lodash/fp/dropLastWhile.js +1 -0
  796. package/WeatherAPI/node_modules/lodash/fp/dropRight.js +5 -0
  797. package/WeatherAPI/node_modules/lodash/fp/dropRightWhile.js +5 -0
  798. package/WeatherAPI/node_modules/lodash/fp/dropWhile.js +5 -0
  799. package/WeatherAPI/node_modules/lodash/fp/each.js +1 -0
  800. package/WeatherAPI/node_modules/lodash/fp/eachRight.js +1 -0
  801. package/WeatherAPI/node_modules/lodash/fp/endsWith.js +5 -0
  802. package/WeatherAPI/node_modules/lodash/fp/entries.js +1 -0
  803. package/WeatherAPI/node_modules/lodash/fp/entriesIn.js +1 -0
  804. package/WeatherAPI/node_modules/lodash/fp/eq.js +5 -0
  805. package/WeatherAPI/node_modules/lodash/fp/equals.js +1 -0
  806. package/WeatherAPI/node_modules/lodash/fp/escape.js +5 -0
  807. package/WeatherAPI/node_modules/lodash/fp/escapeRegExp.js +5 -0
  808. package/WeatherAPI/node_modules/lodash/fp/every.js +5 -0
  809. package/WeatherAPI/node_modules/lodash/fp/extend.js +1 -0
  810. package/WeatherAPI/node_modules/lodash/fp/extendAll.js +1 -0
  811. package/WeatherAPI/node_modules/lodash/fp/extendAllWith.js +1 -0
  812. package/WeatherAPI/node_modules/lodash/fp/extendWith.js +1 -0
  813. package/WeatherAPI/node_modules/lodash/fp/fill.js +5 -0
  814. package/WeatherAPI/node_modules/lodash/fp/filter.js +5 -0
  815. package/WeatherAPI/node_modules/lodash/fp/find.js +5 -0
  816. package/WeatherAPI/node_modules/lodash/fp/findFrom.js +5 -0
  817. package/WeatherAPI/node_modules/lodash/fp/findIndex.js +5 -0
  818. package/WeatherAPI/node_modules/lodash/fp/findIndexFrom.js +5 -0
  819. package/WeatherAPI/node_modules/lodash/fp/findKey.js +5 -0
  820. package/WeatherAPI/node_modules/lodash/fp/findLast.js +5 -0
  821. package/WeatherAPI/node_modules/lodash/fp/findLastFrom.js +5 -0
  822. package/WeatherAPI/node_modules/lodash/fp/findLastIndex.js +5 -0
  823. package/WeatherAPI/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  824. package/WeatherAPI/node_modules/lodash/fp/findLastKey.js +5 -0
  825. package/WeatherAPI/node_modules/lodash/fp/first.js +1 -0
  826. package/WeatherAPI/node_modules/lodash/fp/flatMap.js +5 -0
  827. package/WeatherAPI/node_modules/lodash/fp/flatMapDeep.js +5 -0
  828. package/WeatherAPI/node_modules/lodash/fp/flatMapDepth.js +5 -0
  829. package/WeatherAPI/node_modules/lodash/fp/flatten.js +5 -0
  830. package/WeatherAPI/node_modules/lodash/fp/flattenDeep.js +5 -0
  831. package/WeatherAPI/node_modules/lodash/fp/flattenDepth.js +5 -0
  832. package/WeatherAPI/node_modules/lodash/fp/flip.js +5 -0
  833. package/WeatherAPI/node_modules/lodash/fp/floor.js +5 -0
  834. package/WeatherAPI/node_modules/lodash/fp/flow.js +5 -0
  835. package/WeatherAPI/node_modules/lodash/fp/flowRight.js +5 -0
  836. package/WeatherAPI/node_modules/lodash/fp/forEach.js +5 -0
  837. package/WeatherAPI/node_modules/lodash/fp/forEachRight.js +5 -0
  838. package/WeatherAPI/node_modules/lodash/fp/forIn.js +5 -0
  839. package/WeatherAPI/node_modules/lodash/fp/forInRight.js +5 -0
  840. package/WeatherAPI/node_modules/lodash/fp/forOwn.js +5 -0
  841. package/WeatherAPI/node_modules/lodash/fp/forOwnRight.js +5 -0
  842. package/WeatherAPI/node_modules/lodash/fp/fromPairs.js +5 -0
  843. package/WeatherAPI/node_modules/lodash/fp/function.js +2 -0
  844. package/WeatherAPI/node_modules/lodash/fp/functions.js +5 -0
  845. package/WeatherAPI/node_modules/lodash/fp/functionsIn.js +5 -0
  846. package/WeatherAPI/node_modules/lodash/fp/get.js +5 -0
  847. package/WeatherAPI/node_modules/lodash/fp/getOr.js +5 -0
  848. package/WeatherAPI/node_modules/lodash/fp/groupBy.js +5 -0
  849. package/WeatherAPI/node_modules/lodash/fp/gt.js +5 -0
  850. package/WeatherAPI/node_modules/lodash/fp/gte.js +5 -0
  851. package/WeatherAPI/node_modules/lodash/fp/has.js +5 -0
  852. package/WeatherAPI/node_modules/lodash/fp/hasIn.js +5 -0
  853. package/WeatherAPI/node_modules/lodash/fp/head.js +5 -0
  854. package/WeatherAPI/node_modules/lodash/fp/identical.js +1 -0
  855. package/WeatherAPI/node_modules/lodash/fp/identity.js +5 -0
  856. package/WeatherAPI/node_modules/lodash/fp/inRange.js +5 -0
  857. package/WeatherAPI/node_modules/lodash/fp/includes.js +5 -0
  858. package/WeatherAPI/node_modules/lodash/fp/includesFrom.js +5 -0
  859. package/WeatherAPI/node_modules/lodash/fp/indexBy.js +1 -0
  860. package/WeatherAPI/node_modules/lodash/fp/indexOf.js +5 -0
  861. package/WeatherAPI/node_modules/lodash/fp/indexOfFrom.js +5 -0
  862. package/WeatherAPI/node_modules/lodash/fp/init.js +1 -0
  863. package/WeatherAPI/node_modules/lodash/fp/initial.js +5 -0
  864. package/WeatherAPI/node_modules/lodash/fp/intersection.js +5 -0
  865. package/WeatherAPI/node_modules/lodash/fp/intersectionBy.js +5 -0
  866. package/WeatherAPI/node_modules/lodash/fp/intersectionWith.js +5 -0
  867. package/WeatherAPI/node_modules/lodash/fp/invert.js +5 -0
  868. package/WeatherAPI/node_modules/lodash/fp/invertBy.js +5 -0
  869. package/WeatherAPI/node_modules/lodash/fp/invertObj.js +1 -0
  870. package/WeatherAPI/node_modules/lodash/fp/invoke.js +5 -0
  871. package/WeatherAPI/node_modules/lodash/fp/invokeArgs.js +5 -0
  872. package/WeatherAPI/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  873. package/WeatherAPI/node_modules/lodash/fp/invokeMap.js +5 -0
  874. package/WeatherAPI/node_modules/lodash/fp/isArguments.js +5 -0
  875. package/WeatherAPI/node_modules/lodash/fp/isArray.js +5 -0
  876. package/WeatherAPI/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  877. package/WeatherAPI/node_modules/lodash/fp/isArrayLike.js +5 -0
  878. package/WeatherAPI/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  879. package/WeatherAPI/node_modules/lodash/fp/isBoolean.js +5 -0
  880. package/WeatherAPI/node_modules/lodash/fp/isBuffer.js +5 -0
  881. package/WeatherAPI/node_modules/lodash/fp/isDate.js +5 -0
  882. package/WeatherAPI/node_modules/lodash/fp/isElement.js +5 -0
  883. package/WeatherAPI/node_modules/lodash/fp/isEmpty.js +5 -0
  884. package/WeatherAPI/node_modules/lodash/fp/isEqual.js +5 -0
  885. package/WeatherAPI/node_modules/lodash/fp/isEqualWith.js +5 -0
  886. package/WeatherAPI/node_modules/lodash/fp/isError.js +5 -0
  887. package/WeatherAPI/node_modules/lodash/fp/isFinite.js +5 -0
  888. package/WeatherAPI/node_modules/lodash/fp/isFunction.js +5 -0
  889. package/WeatherAPI/node_modules/lodash/fp/isInteger.js +5 -0
  890. package/WeatherAPI/node_modules/lodash/fp/isLength.js +5 -0
  891. package/WeatherAPI/node_modules/lodash/fp/isMap.js +5 -0
  892. package/WeatherAPI/node_modules/lodash/fp/isMatch.js +5 -0
  893. package/WeatherAPI/node_modules/lodash/fp/isMatchWith.js +5 -0
  894. package/WeatherAPI/node_modules/lodash/fp/isNaN.js +5 -0
  895. package/WeatherAPI/node_modules/lodash/fp/isNative.js +5 -0
  896. package/WeatherAPI/node_modules/lodash/fp/isNil.js +5 -0
  897. package/WeatherAPI/node_modules/lodash/fp/isNull.js +5 -0
  898. package/WeatherAPI/node_modules/lodash/fp/isNumber.js +5 -0
  899. package/WeatherAPI/node_modules/lodash/fp/isObject.js +5 -0
  900. package/WeatherAPI/node_modules/lodash/fp/isObjectLike.js +5 -0
  901. package/WeatherAPI/node_modules/lodash/fp/isPlainObject.js +5 -0
  902. package/WeatherAPI/node_modules/lodash/fp/isRegExp.js +5 -0
  903. package/WeatherAPI/node_modules/lodash/fp/isSafeInteger.js +5 -0
  904. package/WeatherAPI/node_modules/lodash/fp/isSet.js +5 -0
  905. package/WeatherAPI/node_modules/lodash/fp/isString.js +5 -0
  906. package/WeatherAPI/node_modules/lodash/fp/isSymbol.js +5 -0
  907. package/WeatherAPI/node_modules/lodash/fp/isTypedArray.js +5 -0
  908. package/WeatherAPI/node_modules/lodash/fp/isUndefined.js +5 -0
  909. package/WeatherAPI/node_modules/lodash/fp/isWeakMap.js +5 -0
  910. package/WeatherAPI/node_modules/lodash/fp/isWeakSet.js +5 -0
  911. package/WeatherAPI/node_modules/lodash/fp/iteratee.js +5 -0
  912. package/WeatherAPI/node_modules/lodash/fp/join.js +5 -0
  913. package/WeatherAPI/node_modules/lodash/fp/juxt.js +1 -0
  914. package/WeatherAPI/node_modules/lodash/fp/kebabCase.js +5 -0
  915. package/WeatherAPI/node_modules/lodash/fp/keyBy.js +5 -0
  916. package/WeatherAPI/node_modules/lodash/fp/keys.js +5 -0
  917. package/WeatherAPI/node_modules/lodash/fp/keysIn.js +5 -0
  918. package/WeatherAPI/node_modules/lodash/fp/lang.js +2 -0
  919. package/WeatherAPI/node_modules/lodash/fp/last.js +5 -0
  920. package/WeatherAPI/node_modules/lodash/fp/lastIndexOf.js +5 -0
  921. package/WeatherAPI/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  922. package/WeatherAPI/node_modules/lodash/fp/lowerCase.js +5 -0
  923. package/WeatherAPI/node_modules/lodash/fp/lowerFirst.js +5 -0
  924. package/WeatherAPI/node_modules/lodash/fp/lt.js +5 -0
  925. package/WeatherAPI/node_modules/lodash/fp/lte.js +5 -0
  926. package/WeatherAPI/node_modules/lodash/fp/map.js +5 -0
  927. package/WeatherAPI/node_modules/lodash/fp/mapKeys.js +5 -0
  928. package/WeatherAPI/node_modules/lodash/fp/mapValues.js +5 -0
  929. package/WeatherAPI/node_modules/lodash/fp/matches.js +1 -0
  930. package/WeatherAPI/node_modules/lodash/fp/matchesProperty.js +5 -0
  931. package/WeatherAPI/node_modules/lodash/fp/math.js +2 -0
  932. package/WeatherAPI/node_modules/lodash/fp/max.js +5 -0
  933. package/WeatherAPI/node_modules/lodash/fp/maxBy.js +5 -0
  934. package/WeatherAPI/node_modules/lodash/fp/mean.js +5 -0
  935. package/WeatherAPI/node_modules/lodash/fp/meanBy.js +5 -0
  936. package/WeatherAPI/node_modules/lodash/fp/memoize.js +5 -0
  937. package/WeatherAPI/node_modules/lodash/fp/merge.js +5 -0
  938. package/WeatherAPI/node_modules/lodash/fp/mergeAll.js +5 -0
  939. package/WeatherAPI/node_modules/lodash/fp/mergeAllWith.js +5 -0
  940. package/WeatherAPI/node_modules/lodash/fp/mergeWith.js +5 -0
  941. package/WeatherAPI/node_modules/lodash/fp/method.js +5 -0
  942. package/WeatherAPI/node_modules/lodash/fp/methodOf.js +5 -0
  943. package/WeatherAPI/node_modules/lodash/fp/min.js +5 -0
  944. package/WeatherAPI/node_modules/lodash/fp/minBy.js +5 -0
  945. package/WeatherAPI/node_modules/lodash/fp/mixin.js +5 -0
  946. package/WeatherAPI/node_modules/lodash/fp/multiply.js +5 -0
  947. package/WeatherAPI/node_modules/lodash/fp/nAry.js +1 -0
  948. package/WeatherAPI/node_modules/lodash/fp/negate.js +5 -0
  949. package/WeatherAPI/node_modules/lodash/fp/next.js +5 -0
  950. package/WeatherAPI/node_modules/lodash/fp/noop.js +5 -0
  951. package/WeatherAPI/node_modules/lodash/fp/now.js +5 -0
  952. package/WeatherAPI/node_modules/lodash/fp/nth.js +5 -0
  953. package/WeatherAPI/node_modules/lodash/fp/nthArg.js +5 -0
  954. package/WeatherAPI/node_modules/lodash/fp/number.js +2 -0
  955. package/WeatherAPI/node_modules/lodash/fp/object.js +2 -0
  956. package/WeatherAPI/node_modules/lodash/fp/omit.js +5 -0
  957. package/WeatherAPI/node_modules/lodash/fp/omitAll.js +1 -0
  958. package/WeatherAPI/node_modules/lodash/fp/omitBy.js +5 -0
  959. package/WeatherAPI/node_modules/lodash/fp/once.js +5 -0
  960. package/WeatherAPI/node_modules/lodash/fp/orderBy.js +5 -0
  961. package/WeatherAPI/node_modules/lodash/fp/over.js +5 -0
  962. package/WeatherAPI/node_modules/lodash/fp/overArgs.js +5 -0
  963. package/WeatherAPI/node_modules/lodash/fp/overEvery.js +5 -0
  964. package/WeatherAPI/node_modules/lodash/fp/overSome.js +5 -0
  965. package/WeatherAPI/node_modules/lodash/fp/pad.js +5 -0
  966. package/WeatherAPI/node_modules/lodash/fp/padChars.js +5 -0
  967. package/WeatherAPI/node_modules/lodash/fp/padCharsEnd.js +5 -0
  968. package/WeatherAPI/node_modules/lodash/fp/padCharsStart.js +5 -0
  969. package/WeatherAPI/node_modules/lodash/fp/padEnd.js +5 -0
  970. package/WeatherAPI/node_modules/lodash/fp/padStart.js +5 -0
  971. package/WeatherAPI/node_modules/lodash/fp/parseInt.js +5 -0
  972. package/WeatherAPI/node_modules/lodash/fp/partial.js +5 -0
  973. package/WeatherAPI/node_modules/lodash/fp/partialRight.js +5 -0
  974. package/WeatherAPI/node_modules/lodash/fp/partition.js +5 -0
  975. package/WeatherAPI/node_modules/lodash/fp/path.js +1 -0
  976. package/WeatherAPI/node_modules/lodash/fp/pathEq.js +1 -0
  977. package/WeatherAPI/node_modules/lodash/fp/pathOr.js +1 -0
  978. package/WeatherAPI/node_modules/lodash/fp/paths.js +1 -0
  979. package/WeatherAPI/node_modules/lodash/fp/pick.js +5 -0
  980. package/WeatherAPI/node_modules/lodash/fp/pickAll.js +1 -0
  981. package/WeatherAPI/node_modules/lodash/fp/pickBy.js +5 -0
  982. package/WeatherAPI/node_modules/lodash/fp/pipe.js +1 -0
  983. package/WeatherAPI/node_modules/lodash/fp/placeholder.js +6 -0
  984. package/WeatherAPI/node_modules/lodash/fp/plant.js +5 -0
  985. package/WeatherAPI/node_modules/lodash/fp/pluck.js +1 -0
  986. package/WeatherAPI/node_modules/lodash/fp/prop.js +1 -0
  987. package/WeatherAPI/node_modules/lodash/fp/propEq.js +1 -0
  988. package/WeatherAPI/node_modules/lodash/fp/propOr.js +1 -0
  989. package/WeatherAPI/node_modules/lodash/fp/property.js +1 -0
  990. package/WeatherAPI/node_modules/lodash/fp/propertyOf.js +5 -0
  991. package/WeatherAPI/node_modules/lodash/fp/props.js +1 -0
  992. package/WeatherAPI/node_modules/lodash/fp/pull.js +5 -0
  993. package/WeatherAPI/node_modules/lodash/fp/pullAll.js +5 -0
  994. package/WeatherAPI/node_modules/lodash/fp/pullAllBy.js +5 -0
  995. package/WeatherAPI/node_modules/lodash/fp/pullAllWith.js +5 -0
  996. package/WeatherAPI/node_modules/lodash/fp/pullAt.js +5 -0
  997. package/WeatherAPI/node_modules/lodash/fp/random.js +5 -0
  998. package/WeatherAPI/node_modules/lodash/fp/range.js +5 -0
  999. package/WeatherAPI/node_modules/lodash/fp/rangeRight.js +5 -0
  1000. package/WeatherAPI/node_modules/lodash/fp/rangeStep.js +5 -0
  1001. package/WeatherAPI/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1002. package/WeatherAPI/node_modules/lodash/fp/rearg.js +5 -0
  1003. package/WeatherAPI/node_modules/lodash/fp/reduce.js +5 -0
  1004. package/WeatherAPI/node_modules/lodash/fp/reduceRight.js +5 -0
  1005. package/WeatherAPI/node_modules/lodash/fp/reject.js +5 -0
  1006. package/WeatherAPI/node_modules/lodash/fp/remove.js +5 -0
  1007. package/WeatherAPI/node_modules/lodash/fp/repeat.js +5 -0
  1008. package/WeatherAPI/node_modules/lodash/fp/replace.js +5 -0
  1009. package/WeatherAPI/node_modules/lodash/fp/rest.js +5 -0
  1010. package/WeatherAPI/node_modules/lodash/fp/restFrom.js +5 -0
  1011. package/WeatherAPI/node_modules/lodash/fp/result.js +5 -0
  1012. package/WeatherAPI/node_modules/lodash/fp/reverse.js +5 -0
  1013. package/WeatherAPI/node_modules/lodash/fp/round.js +5 -0
  1014. package/WeatherAPI/node_modules/lodash/fp/sample.js +5 -0
  1015. package/WeatherAPI/node_modules/lodash/fp/sampleSize.js +5 -0
  1016. package/WeatherAPI/node_modules/lodash/fp/seq.js +2 -0
  1017. package/WeatherAPI/node_modules/lodash/fp/set.js +5 -0
  1018. package/WeatherAPI/node_modules/lodash/fp/setWith.js +5 -0
  1019. package/WeatherAPI/node_modules/lodash/fp/shuffle.js +5 -0
  1020. package/WeatherAPI/node_modules/lodash/fp/size.js +5 -0
  1021. package/WeatherAPI/node_modules/lodash/fp/slice.js +5 -0
  1022. package/WeatherAPI/node_modules/lodash/fp/snakeCase.js +5 -0
  1023. package/WeatherAPI/node_modules/lodash/fp/some.js +5 -0
  1024. package/WeatherAPI/node_modules/lodash/fp/sortBy.js +5 -0
  1025. package/WeatherAPI/node_modules/lodash/fp/sortedIndex.js +5 -0
  1026. package/WeatherAPI/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1027. package/WeatherAPI/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1028. package/WeatherAPI/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1029. package/WeatherAPI/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1030. package/WeatherAPI/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1031. package/WeatherAPI/node_modules/lodash/fp/sortedUniq.js +5 -0
  1032. package/WeatherAPI/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1033. package/WeatherAPI/node_modules/lodash/fp/split.js +5 -0
  1034. package/WeatherAPI/node_modules/lodash/fp/spread.js +5 -0
  1035. package/WeatherAPI/node_modules/lodash/fp/spreadFrom.js +5 -0
  1036. package/WeatherAPI/node_modules/lodash/fp/startCase.js +5 -0
  1037. package/WeatherAPI/node_modules/lodash/fp/startsWith.js +5 -0
  1038. package/WeatherAPI/node_modules/lodash/fp/string.js +2 -0
  1039. package/WeatherAPI/node_modules/lodash/fp/stubArray.js +5 -0
  1040. package/WeatherAPI/node_modules/lodash/fp/stubFalse.js +5 -0
  1041. package/WeatherAPI/node_modules/lodash/fp/stubObject.js +5 -0
  1042. package/WeatherAPI/node_modules/lodash/fp/stubString.js +5 -0
  1043. package/WeatherAPI/node_modules/lodash/fp/stubTrue.js +5 -0
  1044. package/WeatherAPI/node_modules/lodash/fp/subtract.js +5 -0
  1045. package/WeatherAPI/node_modules/lodash/fp/sum.js +5 -0
  1046. package/WeatherAPI/node_modules/lodash/fp/sumBy.js +5 -0
  1047. package/WeatherAPI/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1048. package/WeatherAPI/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1049. package/WeatherAPI/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1050. package/WeatherAPI/node_modules/lodash/fp/tail.js +5 -0
  1051. package/WeatherAPI/node_modules/lodash/fp/take.js +5 -0
  1052. package/WeatherAPI/node_modules/lodash/fp/takeLast.js +1 -0
  1053. package/WeatherAPI/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1054. package/WeatherAPI/node_modules/lodash/fp/takeRight.js +5 -0
  1055. package/WeatherAPI/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1056. package/WeatherAPI/node_modules/lodash/fp/takeWhile.js +5 -0
  1057. package/WeatherAPI/node_modules/lodash/fp/tap.js +5 -0
  1058. package/WeatherAPI/node_modules/lodash/fp/template.js +5 -0
  1059. package/WeatherAPI/node_modules/lodash/fp/templateSettings.js +5 -0
  1060. package/WeatherAPI/node_modules/lodash/fp/throttle.js +5 -0
  1061. package/WeatherAPI/node_modules/lodash/fp/thru.js +5 -0
  1062. package/WeatherAPI/node_modules/lodash/fp/times.js +5 -0
  1063. package/WeatherAPI/node_modules/lodash/fp/toArray.js +5 -0
  1064. package/WeatherAPI/node_modules/lodash/fp/toFinite.js +5 -0
  1065. package/WeatherAPI/node_modules/lodash/fp/toInteger.js +5 -0
  1066. package/WeatherAPI/node_modules/lodash/fp/toIterator.js +5 -0
  1067. package/WeatherAPI/node_modules/lodash/fp/toJSON.js +5 -0
  1068. package/WeatherAPI/node_modules/lodash/fp/toLength.js +5 -0
  1069. package/WeatherAPI/node_modules/lodash/fp/toLower.js +5 -0
  1070. package/WeatherAPI/node_modules/lodash/fp/toNumber.js +5 -0
  1071. package/WeatherAPI/node_modules/lodash/fp/toPairs.js +5 -0
  1072. package/WeatherAPI/node_modules/lodash/fp/toPairsIn.js +5 -0
  1073. package/WeatherAPI/node_modules/lodash/fp/toPath.js +5 -0
  1074. package/WeatherAPI/node_modules/lodash/fp/toPlainObject.js +5 -0
  1075. package/WeatherAPI/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1076. package/WeatherAPI/node_modules/lodash/fp/toString.js +5 -0
  1077. package/WeatherAPI/node_modules/lodash/fp/toUpper.js +5 -0
  1078. package/WeatherAPI/node_modules/lodash/fp/transform.js +5 -0
  1079. package/WeatherAPI/node_modules/lodash/fp/trim.js +5 -0
  1080. package/WeatherAPI/node_modules/lodash/fp/trimChars.js +5 -0
  1081. package/WeatherAPI/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1082. package/WeatherAPI/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1083. package/WeatherAPI/node_modules/lodash/fp/trimEnd.js +5 -0
  1084. package/WeatherAPI/node_modules/lodash/fp/trimStart.js +5 -0
  1085. package/WeatherAPI/node_modules/lodash/fp/truncate.js +5 -0
  1086. package/WeatherAPI/node_modules/lodash/fp/unapply.js +1 -0
  1087. package/WeatherAPI/node_modules/lodash/fp/unary.js +5 -0
  1088. package/WeatherAPI/node_modules/lodash/fp/unescape.js +5 -0
  1089. package/WeatherAPI/node_modules/lodash/fp/union.js +5 -0
  1090. package/WeatherAPI/node_modules/lodash/fp/unionBy.js +5 -0
  1091. package/WeatherAPI/node_modules/lodash/fp/unionWith.js +5 -0
  1092. package/WeatherAPI/node_modules/lodash/fp/uniq.js +5 -0
  1093. package/WeatherAPI/node_modules/lodash/fp/uniqBy.js +5 -0
  1094. package/WeatherAPI/node_modules/lodash/fp/uniqWith.js +5 -0
  1095. package/WeatherAPI/node_modules/lodash/fp/uniqueId.js +5 -0
  1096. package/WeatherAPI/node_modules/lodash/fp/unnest.js +1 -0
  1097. package/WeatherAPI/node_modules/lodash/fp/unset.js +5 -0
  1098. package/WeatherAPI/node_modules/lodash/fp/unzip.js +5 -0
  1099. package/WeatherAPI/node_modules/lodash/fp/unzipWith.js +5 -0
  1100. package/WeatherAPI/node_modules/lodash/fp/update.js +5 -0
  1101. package/WeatherAPI/node_modules/lodash/fp/updateWith.js +5 -0
  1102. package/WeatherAPI/node_modules/lodash/fp/upperCase.js +5 -0
  1103. package/WeatherAPI/node_modules/lodash/fp/upperFirst.js +5 -0
  1104. package/WeatherAPI/node_modules/lodash/fp/useWith.js +1 -0
  1105. package/WeatherAPI/node_modules/lodash/fp/util.js +2 -0
  1106. package/WeatherAPI/node_modules/lodash/fp/value.js +5 -0
  1107. package/WeatherAPI/node_modules/lodash/fp/valueOf.js +5 -0
  1108. package/WeatherAPI/node_modules/lodash/fp/values.js +5 -0
  1109. package/WeatherAPI/node_modules/lodash/fp/valuesIn.js +5 -0
  1110. package/WeatherAPI/node_modules/lodash/fp/where.js +1 -0
  1111. package/WeatherAPI/node_modules/lodash/fp/whereEq.js +1 -0
  1112. package/WeatherAPI/node_modules/lodash/fp/without.js +5 -0
  1113. package/WeatherAPI/node_modules/lodash/fp/words.js +5 -0
  1114. package/WeatherAPI/node_modules/lodash/fp/wrap.js +5 -0
  1115. package/WeatherAPI/node_modules/lodash/fp/wrapperAt.js +5 -0
  1116. package/WeatherAPI/node_modules/lodash/fp/wrapperChain.js +5 -0
  1117. package/WeatherAPI/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1118. package/WeatherAPI/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1119. package/WeatherAPI/node_modules/lodash/fp/wrapperValue.js +5 -0
  1120. package/WeatherAPI/node_modules/lodash/fp/xor.js +5 -0
  1121. package/WeatherAPI/node_modules/lodash/fp/xorBy.js +5 -0
  1122. package/WeatherAPI/node_modules/lodash/fp/xorWith.js +5 -0
  1123. package/WeatherAPI/node_modules/lodash/fp/zip.js +5 -0
  1124. package/WeatherAPI/node_modules/lodash/fp/zipAll.js +5 -0
  1125. package/WeatherAPI/node_modules/lodash/fp/zipObj.js +1 -0
  1126. package/WeatherAPI/node_modules/lodash/fp/zipObject.js +5 -0
  1127. package/WeatherAPI/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1128. package/WeatherAPI/node_modules/lodash/fp/zipWith.js +5 -0
  1129. package/WeatherAPI/node_modules/lodash/fp.js +2 -0
  1130. package/WeatherAPI/node_modules/lodash/fromPairs.js +28 -0
  1131. package/WeatherAPI/node_modules/lodash/function.js +25 -0
  1132. package/WeatherAPI/node_modules/lodash/functions.js +31 -0
  1133. package/WeatherAPI/node_modules/lodash/functionsIn.js +31 -0
  1134. package/WeatherAPI/node_modules/lodash/get.js +33 -0
  1135. package/WeatherAPI/node_modules/lodash/groupBy.js +41 -0
  1136. package/WeatherAPI/node_modules/lodash/gt.js +29 -0
  1137. package/WeatherAPI/node_modules/lodash/gte.js +30 -0
  1138. package/WeatherAPI/node_modules/lodash/has.js +35 -0
  1139. package/WeatherAPI/node_modules/lodash/hasIn.js +34 -0
  1140. package/WeatherAPI/node_modules/lodash/head.js +23 -0
  1141. package/WeatherAPI/node_modules/lodash/identity.js +21 -0
  1142. package/WeatherAPI/node_modules/lodash/inRange.js +55 -0
  1143. package/WeatherAPI/node_modules/lodash/includes.js +53 -0
  1144. package/WeatherAPI/node_modules/lodash/index.js +1 -0
  1145. package/WeatherAPI/node_modules/lodash/indexOf.js +42 -0
  1146. package/WeatherAPI/node_modules/lodash/initial.js +22 -0
  1147. package/WeatherAPI/node_modules/lodash/intersection.js +30 -0
  1148. package/WeatherAPI/node_modules/lodash/intersectionBy.js +45 -0
  1149. package/WeatherAPI/node_modules/lodash/intersectionWith.js +41 -0
  1150. package/WeatherAPI/node_modules/lodash/invert.js +42 -0
  1151. package/WeatherAPI/node_modules/lodash/invertBy.js +56 -0
  1152. package/WeatherAPI/node_modules/lodash/invoke.js +24 -0
  1153. package/WeatherAPI/node_modules/lodash/invokeMap.js +41 -0
  1154. package/WeatherAPI/node_modules/lodash/isArguments.js +36 -0
  1155. package/WeatherAPI/node_modules/lodash/isArray.js +26 -0
  1156. package/WeatherAPI/node_modules/lodash/isArrayBuffer.js +27 -0
  1157. package/WeatherAPI/node_modules/lodash/isArrayLike.js +33 -0
  1158. package/WeatherAPI/node_modules/lodash/isArrayLikeObject.js +33 -0
  1159. package/WeatherAPI/node_modules/lodash/isBoolean.js +29 -0
  1160. package/WeatherAPI/node_modules/lodash/isBuffer.js +38 -0
  1161. package/WeatherAPI/node_modules/lodash/isDate.js +27 -0
  1162. package/WeatherAPI/node_modules/lodash/isElement.js +25 -0
  1163. package/WeatherAPI/node_modules/lodash/isEmpty.js +77 -0
  1164. package/WeatherAPI/node_modules/lodash/isEqual.js +35 -0
  1165. package/WeatherAPI/node_modules/lodash/isEqualWith.js +41 -0
  1166. package/WeatherAPI/node_modules/lodash/isError.js +36 -0
  1167. package/WeatherAPI/node_modules/lodash/isFinite.js +36 -0
  1168. package/WeatherAPI/node_modules/lodash/isFunction.js +37 -0
  1169. package/WeatherAPI/node_modules/lodash/isInteger.js +33 -0
  1170. package/WeatherAPI/node_modules/lodash/isLength.js +35 -0
  1171. package/WeatherAPI/node_modules/lodash/isMap.js +27 -0
  1172. package/WeatherAPI/node_modules/lodash/isMatch.js +36 -0
  1173. package/WeatherAPI/node_modules/lodash/isMatchWith.js +41 -0
  1174. package/WeatherAPI/node_modules/lodash/isNaN.js +38 -0
  1175. package/WeatherAPI/node_modules/lodash/isNative.js +40 -0
  1176. package/WeatherAPI/node_modules/lodash/isNil.js +25 -0
  1177. package/WeatherAPI/node_modules/lodash/isNull.js +22 -0
  1178. package/WeatherAPI/node_modules/lodash/isNumber.js +38 -0
  1179. package/WeatherAPI/node_modules/lodash/isObject.js +31 -0
  1180. package/WeatherAPI/node_modules/lodash/isObjectLike.js +29 -0
  1181. package/WeatherAPI/node_modules/lodash/isPlainObject.js +62 -0
  1182. package/WeatherAPI/node_modules/lodash/isRegExp.js +27 -0
  1183. package/WeatherAPI/node_modules/lodash/isSafeInteger.js +37 -0
  1184. package/WeatherAPI/node_modules/lodash/isSet.js +27 -0
  1185. package/WeatherAPI/node_modules/lodash/isString.js +30 -0
  1186. package/WeatherAPI/node_modules/lodash/isSymbol.js +29 -0
  1187. package/WeatherAPI/node_modules/lodash/isTypedArray.js +27 -0
  1188. package/WeatherAPI/node_modules/lodash/isUndefined.js +22 -0
  1189. package/WeatherAPI/node_modules/lodash/isWeakMap.js +28 -0
  1190. package/WeatherAPI/node_modules/lodash/isWeakSet.js +28 -0
  1191. package/WeatherAPI/node_modules/lodash/iteratee.js +53 -0
  1192. package/WeatherAPI/node_modules/lodash/join.js +26 -0
  1193. package/WeatherAPI/node_modules/lodash/kebabCase.js +28 -0
  1194. package/WeatherAPI/node_modules/lodash/keyBy.js +36 -0
  1195. package/WeatherAPI/node_modules/lodash/keys.js +37 -0
  1196. package/WeatherAPI/node_modules/lodash/keysIn.js +32 -0
  1197. package/WeatherAPI/node_modules/lodash/lang.js +58 -0
  1198. package/WeatherAPI/node_modules/lodash/last.js +20 -0
  1199. package/WeatherAPI/node_modules/lodash/lastIndexOf.js +46 -0
  1200. package/WeatherAPI/node_modules/lodash/lodash.js +17248 -0
  1201. package/WeatherAPI/node_modules/lodash/lodash.min.js +140 -0
  1202. package/WeatherAPI/node_modules/lodash/lowerCase.js +27 -0
  1203. package/WeatherAPI/node_modules/lodash/lowerFirst.js +22 -0
  1204. package/WeatherAPI/node_modules/lodash/lt.js +29 -0
  1205. package/WeatherAPI/node_modules/lodash/lte.js +30 -0
  1206. package/WeatherAPI/node_modules/lodash/map.js +53 -0
  1207. package/WeatherAPI/node_modules/lodash/mapKeys.js +36 -0
  1208. package/WeatherAPI/node_modules/lodash/mapValues.js +43 -0
  1209. package/WeatherAPI/node_modules/lodash/matches.js +46 -0
  1210. package/WeatherAPI/node_modules/lodash/matchesProperty.js +44 -0
  1211. package/WeatherAPI/node_modules/lodash/math.js +17 -0
  1212. package/WeatherAPI/node_modules/lodash/max.js +29 -0
  1213. package/WeatherAPI/node_modules/lodash/maxBy.js +34 -0
  1214. package/WeatherAPI/node_modules/lodash/mean.js +22 -0
  1215. package/WeatherAPI/node_modules/lodash/meanBy.js +31 -0
  1216. package/WeatherAPI/node_modules/lodash/memoize.js +73 -0
  1217. package/WeatherAPI/node_modules/lodash/merge.js +39 -0
  1218. package/WeatherAPI/node_modules/lodash/mergeWith.js +39 -0
  1219. package/WeatherAPI/node_modules/lodash/method.js +34 -0
  1220. package/WeatherAPI/node_modules/lodash/methodOf.js +33 -0
  1221. package/WeatherAPI/node_modules/lodash/min.js +29 -0
  1222. package/WeatherAPI/node_modules/lodash/minBy.js +34 -0
  1223. package/WeatherAPI/node_modules/lodash/mixin.js +74 -0
  1224. package/WeatherAPI/node_modules/lodash/multiply.js +22 -0
  1225. package/WeatherAPI/node_modules/lodash/negate.js +40 -0
  1226. package/WeatherAPI/node_modules/lodash/next.js +35 -0
  1227. package/WeatherAPI/node_modules/lodash/noop.js +17 -0
  1228. package/WeatherAPI/node_modules/lodash/now.js +23 -0
  1229. package/WeatherAPI/node_modules/lodash/nth.js +29 -0
  1230. package/WeatherAPI/node_modules/lodash/nthArg.js +32 -0
  1231. package/WeatherAPI/node_modules/lodash/number.js +5 -0
  1232. package/WeatherAPI/node_modules/lodash/object.js +49 -0
  1233. package/WeatherAPI/node_modules/lodash/omit.js +57 -0
  1234. package/WeatherAPI/node_modules/lodash/omitBy.js +29 -0
  1235. package/WeatherAPI/node_modules/lodash/once.js +25 -0
  1236. package/WeatherAPI/node_modules/lodash/orderBy.js +47 -0
  1237. package/WeatherAPI/node_modules/lodash/over.js +24 -0
  1238. package/WeatherAPI/node_modules/lodash/overArgs.js +61 -0
  1239. package/WeatherAPI/node_modules/lodash/overEvery.js +34 -0
  1240. package/WeatherAPI/node_modules/lodash/overSome.js +37 -0
  1241. package/WeatherAPI/node_modules/lodash/package.json +17 -0
  1242. package/WeatherAPI/node_modules/lodash/pad.js +49 -0
  1243. package/WeatherAPI/node_modules/lodash/padEnd.js +39 -0
  1244. package/WeatherAPI/node_modules/lodash/padStart.js +39 -0
  1245. package/WeatherAPI/node_modules/lodash/parseInt.js +43 -0
  1246. package/WeatherAPI/node_modules/lodash/partial.js +50 -0
  1247. package/WeatherAPI/node_modules/lodash/partialRight.js +49 -0
  1248. package/WeatherAPI/node_modules/lodash/partition.js +43 -0
  1249. package/WeatherAPI/node_modules/lodash/pick.js +25 -0
  1250. package/WeatherAPI/node_modules/lodash/pickBy.js +37 -0
  1251. package/WeatherAPI/node_modules/lodash/plant.js +48 -0
  1252. package/WeatherAPI/node_modules/lodash/property.js +32 -0
  1253. package/WeatherAPI/node_modules/lodash/propertyOf.js +30 -0
  1254. package/WeatherAPI/node_modules/lodash/pull.js +29 -0
  1255. package/WeatherAPI/node_modules/lodash/pullAll.js +29 -0
  1256. package/WeatherAPI/node_modules/lodash/pullAllBy.js +33 -0
  1257. package/WeatherAPI/node_modules/lodash/pullAllWith.js +32 -0
  1258. package/WeatherAPI/node_modules/lodash/pullAt.js +43 -0
  1259. package/WeatherAPI/node_modules/lodash/random.js +82 -0
  1260. package/WeatherAPI/node_modules/lodash/range.js +46 -0
  1261. package/WeatherAPI/node_modules/lodash/rangeRight.js +41 -0
  1262. package/WeatherAPI/node_modules/lodash/rearg.js +33 -0
  1263. package/WeatherAPI/node_modules/lodash/reduce.js +51 -0
  1264. package/WeatherAPI/node_modules/lodash/reduceRight.js +36 -0
  1265. package/WeatherAPI/node_modules/lodash/reject.js +46 -0
  1266. package/WeatherAPI/node_modules/lodash/remove.js +53 -0
  1267. package/WeatherAPI/node_modules/lodash/repeat.js +37 -0
  1268. package/WeatherAPI/node_modules/lodash/replace.js +29 -0
  1269. package/WeatherAPI/node_modules/lodash/rest.js +40 -0
  1270. package/WeatherAPI/node_modules/lodash/result.js +56 -0
  1271. package/WeatherAPI/node_modules/lodash/reverse.js +34 -0
  1272. package/WeatherAPI/node_modules/lodash/round.js +26 -0
  1273. package/WeatherAPI/node_modules/lodash/sample.js +24 -0
  1274. package/WeatherAPI/node_modules/lodash/sampleSize.js +37 -0
  1275. package/WeatherAPI/node_modules/lodash/seq.js +16 -0
  1276. package/WeatherAPI/node_modules/lodash/set.js +35 -0
  1277. package/WeatherAPI/node_modules/lodash/setWith.js +32 -0
  1278. package/WeatherAPI/node_modules/lodash/shuffle.js +25 -0
  1279. package/WeatherAPI/node_modules/lodash/size.js +46 -0
  1280. package/WeatherAPI/node_modules/lodash/slice.js +37 -0
  1281. package/WeatherAPI/node_modules/lodash/snakeCase.js +28 -0
  1282. package/WeatherAPI/node_modules/lodash/some.js +51 -0
  1283. package/WeatherAPI/node_modules/lodash/sortBy.js +48 -0
  1284. package/WeatherAPI/node_modules/lodash/sortedIndex.js +24 -0
  1285. package/WeatherAPI/node_modules/lodash/sortedIndexBy.js +33 -0
  1286. package/WeatherAPI/node_modules/lodash/sortedIndexOf.js +31 -0
  1287. package/WeatherAPI/node_modules/lodash/sortedLastIndex.js +25 -0
  1288. package/WeatherAPI/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1289. package/WeatherAPI/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1290. package/WeatherAPI/node_modules/lodash/sortedUniq.js +24 -0
  1291. package/WeatherAPI/node_modules/lodash/sortedUniqBy.js +26 -0
  1292. package/WeatherAPI/node_modules/lodash/split.js +52 -0
  1293. package/WeatherAPI/node_modules/lodash/spread.js +63 -0
  1294. package/WeatherAPI/node_modules/lodash/startCase.js +29 -0
  1295. package/WeatherAPI/node_modules/lodash/startsWith.js +39 -0
  1296. package/WeatherAPI/node_modules/lodash/string.js +33 -0
  1297. package/WeatherAPI/node_modules/lodash/stubArray.js +23 -0
  1298. package/WeatherAPI/node_modules/lodash/stubFalse.js +18 -0
  1299. package/WeatherAPI/node_modules/lodash/stubObject.js +23 -0
  1300. package/WeatherAPI/node_modules/lodash/stubString.js +18 -0
  1301. package/WeatherAPI/node_modules/lodash/stubTrue.js +18 -0
  1302. package/WeatherAPI/node_modules/lodash/subtract.js +22 -0
  1303. package/WeatherAPI/node_modules/lodash/sum.js +24 -0
  1304. package/WeatherAPI/node_modules/lodash/sumBy.js +33 -0
  1305. package/WeatherAPI/node_modules/lodash/tail.js +22 -0
  1306. package/WeatherAPI/node_modules/lodash/take.js +37 -0
  1307. package/WeatherAPI/node_modules/lodash/takeRight.js +39 -0
  1308. package/WeatherAPI/node_modules/lodash/takeRightWhile.js +45 -0
  1309. package/WeatherAPI/node_modules/lodash/takeWhile.js +45 -0
  1310. package/WeatherAPI/node_modules/lodash/tap.js +29 -0
  1311. package/WeatherAPI/node_modules/lodash/template.js +272 -0
  1312. package/WeatherAPI/node_modules/lodash/templateSettings.js +67 -0
  1313. package/WeatherAPI/node_modules/lodash/throttle.js +69 -0
  1314. package/WeatherAPI/node_modules/lodash/thru.js +28 -0
  1315. package/WeatherAPI/node_modules/lodash/times.js +51 -0
  1316. package/WeatherAPI/node_modules/lodash/toArray.js +58 -0
  1317. package/WeatherAPI/node_modules/lodash/toFinite.js +42 -0
  1318. package/WeatherAPI/node_modules/lodash/toInteger.js +36 -0
  1319. package/WeatherAPI/node_modules/lodash/toIterator.js +23 -0
  1320. package/WeatherAPI/node_modules/lodash/toJSON.js +1 -0
  1321. package/WeatherAPI/node_modules/lodash/toLength.js +38 -0
  1322. package/WeatherAPI/node_modules/lodash/toLower.js +28 -0
  1323. package/WeatherAPI/node_modules/lodash/toNumber.js +64 -0
  1324. package/WeatherAPI/node_modules/lodash/toPairs.js +30 -0
  1325. package/WeatherAPI/node_modules/lodash/toPairsIn.js +30 -0
  1326. package/WeatherAPI/node_modules/lodash/toPath.js +33 -0
  1327. package/WeatherAPI/node_modules/lodash/toPlainObject.js +32 -0
  1328. package/WeatherAPI/node_modules/lodash/toSafeInteger.js +37 -0
  1329. package/WeatherAPI/node_modules/lodash/toString.js +28 -0
  1330. package/WeatherAPI/node_modules/lodash/toUpper.js +28 -0
  1331. package/WeatherAPI/node_modules/lodash/transform.js +65 -0
  1332. package/WeatherAPI/node_modules/lodash/trim.js +47 -0
  1333. package/WeatherAPI/node_modules/lodash/trimEnd.js +41 -0
  1334. package/WeatherAPI/node_modules/lodash/trimStart.js +43 -0
  1335. package/WeatherAPI/node_modules/lodash/truncate.js +111 -0
  1336. package/WeatherAPI/node_modules/lodash/unary.js +22 -0
  1337. package/WeatherAPI/node_modules/lodash/unescape.js +34 -0
  1338. package/WeatherAPI/node_modules/lodash/union.js +26 -0
  1339. package/WeatherAPI/node_modules/lodash/unionBy.js +39 -0
  1340. package/WeatherAPI/node_modules/lodash/unionWith.js +34 -0
  1341. package/WeatherAPI/node_modules/lodash/uniq.js +25 -0
  1342. package/WeatherAPI/node_modules/lodash/uniqBy.js +31 -0
  1343. package/WeatherAPI/node_modules/lodash/uniqWith.js +28 -0
  1344. package/WeatherAPI/node_modules/lodash/uniqueId.js +28 -0
  1345. package/WeatherAPI/node_modules/lodash/unset.js +34 -0
  1346. package/WeatherAPI/node_modules/lodash/unzip.js +45 -0
  1347. package/WeatherAPI/node_modules/lodash/unzipWith.js +39 -0
  1348. package/WeatherAPI/node_modules/lodash/update.js +35 -0
  1349. package/WeatherAPI/node_modules/lodash/updateWith.js +33 -0
  1350. package/WeatherAPI/node_modules/lodash/upperCase.js +27 -0
  1351. package/WeatherAPI/node_modules/lodash/upperFirst.js +22 -0
  1352. package/WeatherAPI/node_modules/lodash/util.js +34 -0
  1353. package/WeatherAPI/node_modules/lodash/value.js +1 -0
  1354. package/WeatherAPI/node_modules/lodash/valueOf.js +1 -0
  1355. package/WeatherAPI/node_modules/lodash/values.js +34 -0
  1356. package/WeatherAPI/node_modules/lodash/valuesIn.js +32 -0
  1357. package/WeatherAPI/node_modules/lodash/without.js +31 -0
  1358. package/WeatherAPI/node_modules/lodash/words.js +35 -0
  1359. package/WeatherAPI/node_modules/lodash/wrap.js +30 -0
  1360. package/WeatherAPI/node_modules/lodash/wrapperAt.js +48 -0
  1361. package/WeatherAPI/node_modules/lodash/wrapperChain.js +34 -0
  1362. package/WeatherAPI/node_modules/lodash/wrapperLodash.js +147 -0
  1363. package/WeatherAPI/node_modules/lodash/wrapperReverse.js +44 -0
  1364. package/WeatherAPI/node_modules/lodash/wrapperValue.js +21 -0
  1365. package/WeatherAPI/node_modules/lodash/xor.js +28 -0
  1366. package/WeatherAPI/node_modules/lodash/xorBy.js +39 -0
  1367. package/WeatherAPI/node_modules/lodash/xorWith.js +34 -0
  1368. package/WeatherAPI/node_modules/lodash/zip.js +22 -0
  1369. package/WeatherAPI/node_modules/lodash/zipObject.js +24 -0
  1370. package/WeatherAPI/node_modules/lodash/zipObjectDeep.js +23 -0
  1371. package/WeatherAPI/node_modules/lodash/zipWith.js +32 -0
  1372. package/WeatherAPI/node_modules/math-intrinsics/.eslintrc +16 -0
  1373. package/WeatherAPI/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  1374. package/WeatherAPI/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  1375. package/WeatherAPI/node_modules/math-intrinsics/LICENSE +21 -0
  1376. package/WeatherAPI/node_modules/math-intrinsics/README.md +50 -0
  1377. package/WeatherAPI/node_modules/math-intrinsics/abs.d.ts +1 -0
  1378. package/WeatherAPI/node_modules/math-intrinsics/abs.js +4 -0
  1379. package/WeatherAPI/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  1380. package/WeatherAPI/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  1381. package/WeatherAPI/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  1382. package/WeatherAPI/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  1383. package/WeatherAPI/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  1384. package/WeatherAPI/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  1385. package/WeatherAPI/node_modules/math-intrinsics/floor.d.ts +1 -0
  1386. package/WeatherAPI/node_modules/math-intrinsics/floor.js +4 -0
  1387. package/WeatherAPI/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  1388. package/WeatherAPI/node_modules/math-intrinsics/isFinite.js +12 -0
  1389. package/WeatherAPI/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  1390. package/WeatherAPI/node_modules/math-intrinsics/isInteger.js +16 -0
  1391. package/WeatherAPI/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  1392. package/WeatherAPI/node_modules/math-intrinsics/isNaN.js +6 -0
  1393. package/WeatherAPI/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  1394. package/WeatherAPI/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  1395. package/WeatherAPI/node_modules/math-intrinsics/max.d.ts +1 -0
  1396. package/WeatherAPI/node_modules/math-intrinsics/max.js +4 -0
  1397. package/WeatherAPI/node_modules/math-intrinsics/min.d.ts +1 -0
  1398. package/WeatherAPI/node_modules/math-intrinsics/min.js +4 -0
  1399. package/WeatherAPI/node_modules/math-intrinsics/mod.d.ts +3 -0
  1400. package/WeatherAPI/node_modules/math-intrinsics/mod.js +9 -0
  1401. package/WeatherAPI/node_modules/math-intrinsics/package.json +86 -0
  1402. package/WeatherAPI/node_modules/math-intrinsics/pow.d.ts +1 -0
  1403. package/WeatherAPI/node_modules/math-intrinsics/pow.js +4 -0
  1404. package/WeatherAPI/node_modules/math-intrinsics/round.d.ts +1 -0
  1405. package/WeatherAPI/node_modules/math-intrinsics/round.js +4 -0
  1406. package/WeatherAPI/node_modules/math-intrinsics/sign.d.ts +3 -0
  1407. package/WeatherAPI/node_modules/math-intrinsics/sign.js +11 -0
  1408. package/WeatherAPI/node_modules/math-intrinsics/test/index.js +192 -0
  1409. package/WeatherAPI/node_modules/math-intrinsics/tsconfig.json +3 -0
  1410. package/WeatherAPI/node_modules/mime-db/HISTORY.md +507 -0
  1411. package/WeatherAPI/node_modules/mime-db/LICENSE +23 -0
  1412. package/WeatherAPI/node_modules/mime-db/README.md +100 -0
  1413. package/WeatherAPI/node_modules/mime-db/db.json +8519 -0
  1414. package/WeatherAPI/node_modules/mime-db/index.js +12 -0
  1415. package/WeatherAPI/node_modules/mime-db/package.json +60 -0
  1416. package/WeatherAPI/node_modules/mime-types/HISTORY.md +397 -0
  1417. package/WeatherAPI/node_modules/mime-types/LICENSE +23 -0
  1418. package/WeatherAPI/node_modules/mime-types/README.md +113 -0
  1419. package/WeatherAPI/node_modules/mime-types/index.js +188 -0
  1420. package/WeatherAPI/node_modules/mime-types/package.json +44 -0
  1421. package/WeatherAPI/node_modules/moment/CHANGELOG.md +996 -0
  1422. package/WeatherAPI/node_modules/moment/LICENSE +22 -0
  1423. package/WeatherAPI/node_modules/moment/README.md +55 -0
  1424. package/WeatherAPI/node_modules/moment/dist/locale/af.js +71 -0
  1425. package/WeatherAPI/node_modules/moment/dist/locale/ar-dz.js +156 -0
  1426. package/WeatherAPI/node_modules/moment/dist/locale/ar-kw.js +55 -0
  1427. package/WeatherAPI/node_modules/moment/dist/locale/ar-ly.js +171 -0
  1428. package/WeatherAPI/node_modules/moment/dist/locale/ar-ma.js +56 -0
  1429. package/WeatherAPI/node_modules/moment/dist/locale/ar-ps.js +112 -0
  1430. package/WeatherAPI/node_modules/moment/dist/locale/ar-sa.js +105 -0
  1431. package/WeatherAPI/node_modules/moment/dist/locale/ar-tn.js +55 -0
  1432. package/WeatherAPI/node_modules/moment/dist/locale/ar.js +189 -0
  1433. package/WeatherAPI/node_modules/moment/dist/locale/az.js +102 -0
  1434. package/WeatherAPI/node_modules/moment/dist/locale/be.js +142 -0
  1435. package/WeatherAPI/node_modules/moment/dist/locale/bg.js +87 -0
  1436. package/WeatherAPI/node_modules/moment/dist/locale/bm.js +52 -0
  1437. package/WeatherAPI/node_modules/moment/dist/locale/bn-bd.js +129 -0
  1438. package/WeatherAPI/node_modules/moment/dist/locale/bn.js +119 -0
  1439. package/WeatherAPI/node_modules/moment/dist/locale/bo.js +124 -0
  1440. package/WeatherAPI/node_modules/moment/dist/locale/br.js +168 -0
  1441. package/WeatherAPI/node_modules/moment/dist/locale/bs.js +160 -0
  1442. package/WeatherAPI/node_modules/moment/dist/locale/ca.js +100 -0
  1443. package/WeatherAPI/node_modules/moment/dist/locale/cs.js +181 -0
  1444. package/WeatherAPI/node_modules/moment/dist/locale/cv.js +63 -0
  1445. package/WeatherAPI/node_modules/moment/dist/locale/cy.js +98 -0
  1446. package/WeatherAPI/node_modules/moment/dist/locale/da.js +53 -0
  1447. package/WeatherAPI/node_modules/moment/dist/locale/de-at.js +79 -0
  1448. package/WeatherAPI/node_modules/moment/dist/locale/de-ch.js +78 -0
  1449. package/WeatherAPI/node_modules/moment/dist/locale/de.js +78 -0
  1450. package/WeatherAPI/node_modules/moment/dist/locale/dv.js +90 -0
  1451. package/WeatherAPI/node_modules/moment/dist/locale/el.js +106 -0
  1452. package/WeatherAPI/node_modules/moment/dist/locale/en-au.js +68 -0
  1453. package/WeatherAPI/node_modules/moment/dist/locale/en-ca.js +64 -0
  1454. package/WeatherAPI/node_modules/moment/dist/locale/en-gb.js +68 -0
  1455. package/WeatherAPI/node_modules/moment/dist/locale/en-ie.js +68 -0
  1456. package/WeatherAPI/node_modules/moment/dist/locale/en-il.js +64 -0
  1457. package/WeatherAPI/node_modules/moment/dist/locale/en-in.js +68 -0
  1458. package/WeatherAPI/node_modules/moment/dist/locale/en-nz.js +68 -0
  1459. package/WeatherAPI/node_modules/moment/dist/locale/en-sg.js +68 -0
  1460. package/WeatherAPI/node_modules/moment/dist/locale/eo.js +68 -0
  1461. package/WeatherAPI/node_modules/moment/dist/locale/es-do.js +108 -0
  1462. package/WeatherAPI/node_modules/moment/dist/locale/es-mx.js +110 -0
  1463. package/WeatherAPI/node_modules/moment/dist/locale/es-us.js +110 -0
  1464. package/WeatherAPI/node_modules/moment/dist/locale/es.js +110 -0
  1465. package/WeatherAPI/node_modules/moment/dist/locale/et.js +78 -0
  1466. package/WeatherAPI/node_modules/moment/dist/locale/eu.js +65 -0
  1467. package/WeatherAPI/node_modules/moment/dist/locale/fa.js +113 -0
  1468. package/WeatherAPI/node_modules/moment/dist/locale/fi.js +124 -0
  1469. package/WeatherAPI/node_modules/moment/dist/locale/fil.js +58 -0
  1470. package/WeatherAPI/node_modules/moment/dist/locale/fo.js +57 -0
  1471. package/WeatherAPI/node_modules/moment/dist/locale/fr-ca.js +70 -0
  1472. package/WeatherAPI/node_modules/moment/dist/locale/fr-ch.js +74 -0
  1473. package/WeatherAPI/node_modules/moment/dist/locale/fr.js +108 -0
  1474. package/WeatherAPI/node_modules/moment/dist/locale/fy.js +75 -0
  1475. package/WeatherAPI/node_modules/moment/dist/locale/ga.js +95 -0
  1476. package/WeatherAPI/node_modules/moment/dist/locale/gd.js +95 -0
  1477. package/WeatherAPI/node_modules/moment/dist/locale/gl.js +75 -0
  1478. package/WeatherAPI/node_modules/moment/dist/locale/gom-deva.js +126 -0
  1479. package/WeatherAPI/node_modules/moment/dist/locale/gom-latn.js +124 -0
  1480. package/WeatherAPI/node_modules/moment/dist/locale/gu.js +122 -0
  1481. package/WeatherAPI/node_modules/moment/dist/locale/he.js +94 -0
  1482. package/WeatherAPI/node_modules/moment/dist/locale/hi.js +168 -0
  1483. package/WeatherAPI/node_modules/moment/dist/locale/hr.js +156 -0
  1484. package/WeatherAPI/node_modules/moment/dist/locale/hu.js +118 -0
  1485. package/WeatherAPI/node_modules/moment/dist/locale/hy-am.js +94 -0
  1486. package/WeatherAPI/node_modules/moment/dist/locale/id.js +76 -0
  1487. package/WeatherAPI/node_modules/moment/dist/locale/is.js +140 -0
  1488. package/WeatherAPI/node_modules/moment/dist/locale/it-ch.js +64 -0
  1489. package/WeatherAPI/node_modules/moment/dist/locale/it.js +106 -0
  1490. package/WeatherAPI/node_modules/moment/dist/locale/ja.js +148 -0
  1491. package/WeatherAPI/node_modules/moment/dist/locale/jv.js +76 -0
  1492. package/WeatherAPI/node_modules/moment/dist/locale/ka.js +92 -0
  1493. package/WeatherAPI/node_modules/moment/dist/locale/kk.js +82 -0
  1494. package/WeatherAPI/node_modules/moment/dist/locale/km.js +103 -0
  1495. package/WeatherAPI/node_modules/moment/dist/locale/kn.js +124 -0
  1496. package/WeatherAPI/node_modules/moment/dist/locale/ko.js +75 -0
  1497. package/WeatherAPI/node_modules/moment/dist/locale/ku-kmr.js +121 -0
  1498. package/WeatherAPI/node_modules/moment/dist/locale/ku.js +118 -0
  1499. package/WeatherAPI/node_modules/moment/dist/locale/ky.js +84 -0
  1500. package/WeatherAPI/node_modules/moment/dist/locale/lb.js +137 -0
  1501. package/WeatherAPI/node_modules/moment/dist/locale/lo.js +66 -0
  1502. package/WeatherAPI/node_modules/moment/dist/locale/lt.js +125 -0
  1503. package/WeatherAPI/node_modules/moment/dist/locale/lv.js +94 -0
  1504. package/WeatherAPI/node_modules/moment/dist/locale/me.js +117 -0
  1505. package/WeatherAPI/node_modules/moment/dist/locale/mi.js +60 -0
  1506. package/WeatherAPI/node_modules/moment/dist/locale/mk.js +85 -0
  1507. package/WeatherAPI/node_modules/moment/dist/locale/ml.js +82 -0
  1508. package/WeatherAPI/node_modules/moment/dist/locale/mn.js +100 -0
  1509. package/WeatherAPI/node_modules/moment/dist/locale/mr.js +203 -0
  1510. package/WeatherAPI/node_modules/moment/dist/locale/ms-my.js +76 -0
  1511. package/WeatherAPI/node_modules/moment/dist/locale/ms.js +75 -0
  1512. package/WeatherAPI/node_modules/moment/dist/locale/mt.js +56 -0
  1513. package/WeatherAPI/node_modules/moment/dist/locale/my.js +91 -0
  1514. package/WeatherAPI/node_modules/moment/dist/locale/nb.js +60 -0
  1515. package/WeatherAPI/node_modules/moment/dist/locale/ne.js +121 -0
  1516. package/WeatherAPI/node_modules/moment/dist/locale/nl-be.js +102 -0
  1517. package/WeatherAPI/node_modules/moment/dist/locale/nl.js +104 -0
  1518. package/WeatherAPI/node_modules/moment/dist/locale/nn.js +59 -0
  1519. package/WeatherAPI/node_modules/moment/dist/locale/oc-lnc.js +85 -0
  1520. package/WeatherAPI/node_modules/moment/dist/locale/pa-in.js +122 -0
  1521. package/WeatherAPI/node_modules/moment/dist/locale/pl.js +140 -0
  1522. package/WeatherAPI/node_modules/moment/dist/locale/pt-br.js +58 -0
  1523. package/WeatherAPI/node_modules/moment/dist/locale/pt.js +63 -0
  1524. package/WeatherAPI/node_modules/moment/dist/locale/ro.js +76 -0
  1525. package/WeatherAPI/node_modules/moment/dist/locale/ru.js +213 -0
  1526. package/WeatherAPI/node_modules/moment/dist/locale/sd.js +81 -0
  1527. package/WeatherAPI/node_modules/moment/dist/locale/se.js +57 -0
  1528. package/WeatherAPI/node_modules/moment/dist/locale/si.js +69 -0
  1529. package/WeatherAPI/node_modules/moment/dist/locale/sk.js +145 -0
  1530. package/WeatherAPI/node_modules/moment/dist/locale/sl.js +171 -0
  1531. package/WeatherAPI/node_modules/moment/dist/locale/sq.js +65 -0
  1532. package/WeatherAPI/node_modules/moment/dist/locale/sr-cyrl.js +127 -0
  1533. package/WeatherAPI/node_modules/moment/dist/locale/sr.js +129 -0
  1534. package/WeatherAPI/node_modules/moment/dist/locale/ss.js +84 -0
  1535. package/WeatherAPI/node_modules/moment/dist/locale/sv.js +68 -0
  1536. package/WeatherAPI/node_modules/moment/dist/locale/sw.js +55 -0
  1537. package/WeatherAPI/node_modules/moment/dist/locale/ta.js +131 -0
  1538. package/WeatherAPI/node_modules/moment/dist/locale/te.js +88 -0
  1539. package/WeatherAPI/node_modules/moment/dist/locale/tet.js +68 -0
  1540. package/WeatherAPI/node_modules/moment/dist/locale/tg.js +117 -0
  1541. package/WeatherAPI/node_modules/moment/dist/locale/th.js +65 -0
  1542. package/WeatherAPI/node_modules/moment/dist/locale/tk.js +91 -0
  1543. package/WeatherAPI/node_modules/moment/dist/locale/tl-ph.js +57 -0
  1544. package/WeatherAPI/node_modules/moment/dist/locale/tlh.js +124 -0
  1545. package/WeatherAPI/node_modules/moment/dist/locale/tr.js +106 -0
  1546. package/WeatherAPI/node_modules/moment/dist/locale/tzl.js +89 -0
  1547. package/WeatherAPI/node_modules/moment/dist/locale/tzm-latn.js +54 -0
  1548. package/WeatherAPI/node_modules/moment/dist/locale/tzm.js +54 -0
  1549. package/WeatherAPI/node_modules/moment/dist/locale/ug-cn.js +111 -0
  1550. package/WeatherAPI/node_modules/moment/dist/locale/uk.js +167 -0
  1551. package/WeatherAPI/node_modules/moment/dist/locale/ur.js +82 -0
  1552. package/WeatherAPI/node_modules/moment/dist/locale/uz-latn.js +54 -0
  1553. package/WeatherAPI/node_modules/moment/dist/locale/uz.js +51 -0
  1554. package/WeatherAPI/node_modules/moment/dist/locale/vi.js +80 -0
  1555. package/WeatherAPI/node_modules/moment/dist/locale/x-pseudo.js +73 -0
  1556. package/WeatherAPI/node_modules/moment/dist/locale/yo.js +53 -0
  1557. package/WeatherAPI/node_modules/moment/dist/locale/zh-cn.js +120 -0
  1558. package/WeatherAPI/node_modules/moment/dist/locale/zh-hk.js +101 -0
  1559. package/WeatherAPI/node_modules/moment/dist/locale/zh-mo.js +100 -0
  1560. package/WeatherAPI/node_modules/moment/dist/locale/zh-tw.js +99 -0
  1561. package/WeatherAPI/node_modules/moment/dist/moment.js +5680 -0
  1562. package/WeatherAPI/node_modules/moment/ender.js +1 -0
  1563. package/WeatherAPI/node_modules/moment/locale/af.js +82 -0
  1564. package/WeatherAPI/node_modules/moment/locale/ar-dz.js +167 -0
  1565. package/WeatherAPI/node_modules/moment/locale/ar-kw.js +66 -0
  1566. package/WeatherAPI/node_modules/moment/locale/ar-ly.js +182 -0
  1567. package/WeatherAPI/node_modules/moment/locale/ar-ma.js +67 -0
  1568. package/WeatherAPI/node_modules/moment/locale/ar-ps.js +123 -0
  1569. package/WeatherAPI/node_modules/moment/locale/ar-sa.js +116 -0
  1570. package/WeatherAPI/node_modules/moment/locale/ar-tn.js +66 -0
  1571. package/WeatherAPI/node_modules/moment/locale/ar.js +200 -0
  1572. package/WeatherAPI/node_modules/moment/locale/az.js +113 -0
  1573. package/WeatherAPI/node_modules/moment/locale/be.js +153 -0
  1574. package/WeatherAPI/node_modules/moment/locale/bg.js +98 -0
  1575. package/WeatherAPI/node_modules/moment/locale/bm.js +62 -0
  1576. package/WeatherAPI/node_modules/moment/locale/bn-bd.js +140 -0
  1577. package/WeatherAPI/node_modules/moment/locale/bn.js +130 -0
  1578. package/WeatherAPI/node_modules/moment/locale/bo.js +135 -0
  1579. package/WeatherAPI/node_modules/moment/locale/br.js +179 -0
  1580. package/WeatherAPI/node_modules/moment/locale/bs.js +171 -0
  1581. package/WeatherAPI/node_modules/moment/locale/ca.js +111 -0
  1582. package/WeatherAPI/node_modules/moment/locale/cs.js +192 -0
  1583. package/WeatherAPI/node_modules/moment/locale/cv.js +74 -0
  1584. package/WeatherAPI/node_modules/moment/locale/cy.js +109 -0
  1585. package/WeatherAPI/node_modules/moment/locale/da.js +64 -0
  1586. package/WeatherAPI/node_modules/moment/locale/de-at.js +90 -0
  1587. package/WeatherAPI/node_modules/moment/locale/de-ch.js +87 -0
  1588. package/WeatherAPI/node_modules/moment/locale/de.js +89 -0
  1589. package/WeatherAPI/node_modules/moment/locale/dv.js +101 -0
  1590. package/WeatherAPI/node_modules/moment/locale/el.js +117 -0
  1591. package/WeatherAPI/node_modules/moment/locale/en-au.js +79 -0
  1592. package/WeatherAPI/node_modules/moment/locale/en-ca.js +75 -0
  1593. package/WeatherAPI/node_modules/moment/locale/en-gb.js +79 -0
  1594. package/WeatherAPI/node_modules/moment/locale/en-ie.js +79 -0
  1595. package/WeatherAPI/node_modules/moment/locale/en-il.js +75 -0
  1596. package/WeatherAPI/node_modules/moment/locale/en-in.js +79 -0
  1597. package/WeatherAPI/node_modules/moment/locale/en-nz.js +79 -0
  1598. package/WeatherAPI/node_modules/moment/locale/en-sg.js +79 -0
  1599. package/WeatherAPI/node_modules/moment/locale/eo.js +79 -0
  1600. package/WeatherAPI/node_modules/moment/locale/es-do.js +119 -0
  1601. package/WeatherAPI/node_modules/moment/locale/es-mx.js +121 -0
  1602. package/WeatherAPI/node_modules/moment/locale/es-us.js +121 -0
  1603. package/WeatherAPI/node_modules/moment/locale/es.js +121 -0
  1604. package/WeatherAPI/node_modules/moment/locale/et.js +89 -0
  1605. package/WeatherAPI/node_modules/moment/locale/eu.js +76 -0
  1606. package/WeatherAPI/node_modules/moment/locale/fa.js +124 -0
  1607. package/WeatherAPI/node_modules/moment/locale/fi.js +135 -0
  1608. package/WeatherAPI/node_modules/moment/locale/fil.js +69 -0
  1609. package/WeatherAPI/node_modules/moment/locale/fo.js +68 -0
  1610. package/WeatherAPI/node_modules/moment/locale/fr-ca.js +81 -0
  1611. package/WeatherAPI/node_modules/moment/locale/fr-ch.js +85 -0
  1612. package/WeatherAPI/node_modules/moment/locale/fr.js +119 -0
  1613. package/WeatherAPI/node_modules/moment/locale/fy.js +86 -0
  1614. package/WeatherAPI/node_modules/moment/locale/ga.js +106 -0
  1615. package/WeatherAPI/node_modules/moment/locale/gd.js +106 -0
  1616. package/WeatherAPI/node_modules/moment/locale/gl.js +86 -0
  1617. package/WeatherAPI/node_modules/moment/locale/gom-deva.js +137 -0
  1618. package/WeatherAPI/node_modules/moment/locale/gom-latn.js +135 -0
  1619. package/WeatherAPI/node_modules/moment/locale/gu.js +133 -0
  1620. package/WeatherAPI/node_modules/moment/locale/he.js +105 -0
  1621. package/WeatherAPI/node_modules/moment/locale/hi.js +179 -0
  1622. package/WeatherAPI/node_modules/moment/locale/hr.js +167 -0
  1623. package/WeatherAPI/node_modules/moment/locale/hu.js +129 -0
  1624. package/WeatherAPI/node_modules/moment/locale/hy-am.js +105 -0
  1625. package/WeatherAPI/node_modules/moment/locale/id.js +87 -0
  1626. package/WeatherAPI/node_modules/moment/locale/is.js +151 -0
  1627. package/WeatherAPI/node_modules/moment/locale/it-ch.js +75 -0
  1628. package/WeatherAPI/node_modules/moment/locale/it.js +117 -0
  1629. package/WeatherAPI/node_modules/moment/locale/ja.js +159 -0
  1630. package/WeatherAPI/node_modules/moment/locale/jv.js +87 -0
  1631. package/WeatherAPI/node_modules/moment/locale/ka.js +103 -0
  1632. package/WeatherAPI/node_modules/moment/locale/kk.js +93 -0
  1633. package/WeatherAPI/node_modules/moment/locale/km.js +114 -0
  1634. package/WeatherAPI/node_modules/moment/locale/kn.js +135 -0
  1635. package/WeatherAPI/node_modules/moment/locale/ko.js +86 -0
  1636. package/WeatherAPI/node_modules/moment/locale/ku-kmr.js +125 -0
  1637. package/WeatherAPI/node_modules/moment/locale/ku.js +129 -0
  1638. package/WeatherAPI/node_modules/moment/locale/ky.js +95 -0
  1639. package/WeatherAPI/node_modules/moment/locale/lb.js +148 -0
  1640. package/WeatherAPI/node_modules/moment/locale/lo.js +77 -0
  1641. package/WeatherAPI/node_modules/moment/locale/lt.js +136 -0
  1642. package/WeatherAPI/node_modules/moment/locale/lv.js +105 -0
  1643. package/WeatherAPI/node_modules/moment/locale/me.js +128 -0
  1644. package/WeatherAPI/node_modules/moment/locale/mi.js +71 -0
  1645. package/WeatherAPI/node_modules/moment/locale/mk.js +97 -0
  1646. package/WeatherAPI/node_modules/moment/locale/ml.js +93 -0
  1647. package/WeatherAPI/node_modules/moment/locale/mn.js +111 -0
  1648. package/WeatherAPI/node_modules/moment/locale/mr.js +214 -0
  1649. package/WeatherAPI/node_modules/moment/locale/ms-my.js +87 -0
  1650. package/WeatherAPI/node_modules/moment/locale/ms.js +86 -0
  1651. package/WeatherAPI/node_modules/moment/locale/mt.js +67 -0
  1652. package/WeatherAPI/node_modules/moment/locale/my.js +102 -0
  1653. package/WeatherAPI/node_modules/moment/locale/nb.js +71 -0
  1654. package/WeatherAPI/node_modules/moment/locale/ne.js +132 -0
  1655. package/WeatherAPI/node_modules/moment/locale/nl-be.js +113 -0
  1656. package/WeatherAPI/node_modules/moment/locale/nl.js +115 -0
  1657. package/WeatherAPI/node_modules/moment/locale/nn.js +70 -0
  1658. package/WeatherAPI/node_modules/moment/locale/oc-lnc.js +96 -0
  1659. package/WeatherAPI/node_modules/moment/locale/pa-in.js +133 -0
  1660. package/WeatherAPI/node_modules/moment/locale/pl.js +151 -0
  1661. package/WeatherAPI/node_modules/moment/locale/pt-br.js +69 -0
  1662. package/WeatherAPI/node_modules/moment/locale/pt.js +74 -0
  1663. package/WeatherAPI/node_modules/moment/locale/ro.js +87 -0
  1664. package/WeatherAPI/node_modules/moment/locale/ru.js +224 -0
  1665. package/WeatherAPI/node_modules/moment/locale/sd.js +92 -0
  1666. package/WeatherAPI/node_modules/moment/locale/se.js +68 -0
  1667. package/WeatherAPI/node_modules/moment/locale/si.js +80 -0
  1668. package/WeatherAPI/node_modules/moment/locale/sk.js +156 -0
  1669. package/WeatherAPI/node_modules/moment/locale/sl.js +182 -0
  1670. package/WeatherAPI/node_modules/moment/locale/sq.js +76 -0
  1671. package/WeatherAPI/node_modules/moment/locale/sr-cyrl.js +138 -0
  1672. package/WeatherAPI/node_modules/moment/locale/sr.js +140 -0
  1673. package/WeatherAPI/node_modules/moment/locale/ss.js +95 -0
  1674. package/WeatherAPI/node_modules/moment/locale/sv.js +79 -0
  1675. package/WeatherAPI/node_modules/moment/locale/sw.js +66 -0
  1676. package/WeatherAPI/node_modules/moment/locale/ta.js +142 -0
  1677. package/WeatherAPI/node_modules/moment/locale/te.js +99 -0
  1678. package/WeatherAPI/node_modules/moment/locale/tet.js +79 -0
  1679. package/WeatherAPI/node_modules/moment/locale/tg.js +128 -0
  1680. package/WeatherAPI/node_modules/moment/locale/th.js +76 -0
  1681. package/WeatherAPI/node_modules/moment/locale/tk.js +102 -0
  1682. package/WeatherAPI/node_modules/moment/locale/tl-ph.js +68 -0
  1683. package/WeatherAPI/node_modules/moment/locale/tlh.js +135 -0
  1684. package/WeatherAPI/node_modules/moment/locale/tr.js +117 -0
  1685. package/WeatherAPI/node_modules/moment/locale/tzl.js +100 -0
  1686. package/WeatherAPI/node_modules/moment/locale/tzm-latn.js +65 -0
  1687. package/WeatherAPI/node_modules/moment/locale/tzm.js +65 -0
  1688. package/WeatherAPI/node_modules/moment/locale/ug-cn.js +122 -0
  1689. package/WeatherAPI/node_modules/moment/locale/uk.js +178 -0
  1690. package/WeatherAPI/node_modules/moment/locale/ur.js +93 -0
  1691. package/WeatherAPI/node_modules/moment/locale/uz-latn.js +65 -0
  1692. package/WeatherAPI/node_modules/moment/locale/uz.js +62 -0
  1693. package/WeatherAPI/node_modules/moment/locale/vi.js +91 -0
  1694. package/WeatherAPI/node_modules/moment/locale/x-pseudo.js +84 -0
  1695. package/WeatherAPI/node_modules/moment/locale/yo.js +64 -0
  1696. package/WeatherAPI/node_modules/moment/locale/zh-cn.js +131 -0
  1697. package/WeatherAPI/node_modules/moment/locale/zh-hk.js +112 -0
  1698. package/WeatherAPI/node_modules/moment/locale/zh-mo.js +111 -0
  1699. package/WeatherAPI/node_modules/moment/locale/zh-tw.js +110 -0
  1700. package/WeatherAPI/node_modules/moment/min/locales.js +12800 -0
  1701. package/WeatherAPI/node_modules/moment/min/locales.min.js +2 -0
  1702. package/WeatherAPI/node_modules/moment/min/locales.min.js.map +1 -0
  1703. package/WeatherAPI/node_modules/moment/min/moment-with-locales.js +18472 -0
  1704. package/WeatherAPI/node_modules/moment/min/moment-with-locales.min.js +2 -0
  1705. package/WeatherAPI/node_modules/moment/min/moment-with-locales.min.js.map +1 -0
  1706. package/WeatherAPI/node_modules/moment/min/moment.min.js +2 -0
  1707. package/WeatherAPI/node_modules/moment/min/moment.min.js.map +1 -0
  1708. package/WeatherAPI/node_modules/moment/moment.d.ts +796 -0
  1709. package/WeatherAPI/node_modules/moment/moment.js +5688 -0
  1710. package/WeatherAPI/node_modules/moment/package.js +11 -0
  1711. package/WeatherAPI/node_modules/moment/package.json +116 -0
  1712. package/WeatherAPI/node_modules/moment/src/lib/create/check-overflow.js +57 -0
  1713. package/WeatherAPI/node_modules/moment/src/lib/create/date-from-array.js +35 -0
  1714. package/WeatherAPI/node_modules/moment/src/lib/create/from-anything.js +117 -0
  1715. package/WeatherAPI/node_modules/moment/src/lib/create/from-array.js +187 -0
  1716. package/WeatherAPI/node_modules/moment/src/lib/create/from-object.js +20 -0
  1717. package/WeatherAPI/node_modules/moment/src/lib/create/from-string-and-array.js +67 -0
  1718. package/WeatherAPI/node_modules/moment/src/lib/create/from-string-and-format.js +135 -0
  1719. package/WeatherAPI/node_modules/moment/src/lib/create/from-string.js +258 -0
  1720. package/WeatherAPI/node_modules/moment/src/lib/create/local.js +5 -0
  1721. package/WeatherAPI/node_modules/moment/src/lib/create/parsing-flags.js +28 -0
  1722. package/WeatherAPI/node_modules/moment/src/lib/create/utc.js +5 -0
  1723. package/WeatherAPI/node_modules/moment/src/lib/create/valid.js +51 -0
  1724. package/WeatherAPI/node_modules/moment/src/lib/duration/abs.js +18 -0
  1725. package/WeatherAPI/node_modules/moment/src/lib/duration/add-subtract.js +21 -0
  1726. package/WeatherAPI/node_modules/moment/src/lib/duration/as.js +76 -0
  1727. package/WeatherAPI/node_modules/moment/src/lib/duration/bubble.js +68 -0
  1728. package/WeatherAPI/node_modules/moment/src/lib/duration/clone.js +5 -0
  1729. package/WeatherAPI/node_modules/moment/src/lib/duration/constructor.js +42 -0
  1730. package/WeatherAPI/node_modules/moment/src/lib/duration/create.js +133 -0
  1731. package/WeatherAPI/node_modules/moment/src/lib/duration/duration.js +16 -0
  1732. package/WeatherAPI/node_modules/moment/src/lib/duration/get.js +27 -0
  1733. package/WeatherAPI/node_modules/moment/src/lib/duration/humanize.js +114 -0
  1734. package/WeatherAPI/node_modules/moment/src/lib/duration/iso-string.js +68 -0
  1735. package/WeatherAPI/node_modules/moment/src/lib/duration/prototype.js +78 -0
  1736. package/WeatherAPI/node_modules/moment/src/lib/duration/valid.js +55 -0
  1737. package/WeatherAPI/node_modules/moment/src/lib/format/format.js +104 -0
  1738. package/WeatherAPI/node_modules/moment/src/lib/locale/base-config.js +41 -0
  1739. package/WeatherAPI/node_modules/moment/src/lib/locale/calendar.js +15 -0
  1740. package/WeatherAPI/node_modules/moment/src/lib/locale/constructor.js +5 -0
  1741. package/WeatherAPI/node_modules/moment/src/lib/locale/en.js +39 -0
  1742. package/WeatherAPI/node_modules/moment/src/lib/locale/formats.js +36 -0
  1743. package/WeatherAPI/node_modules/moment/src/lib/locale/invalid.js +5 -0
  1744. package/WeatherAPI/node_modules/moment/src/lib/locale/lists.js +93 -0
  1745. package/WeatherAPI/node_modules/moment/src/lib/locale/locale.js +45 -0
  1746. package/WeatherAPI/node_modules/moment/src/lib/locale/locales.js +249 -0
  1747. package/WeatherAPI/node_modules/moment/src/lib/locale/ordinal.js +8 -0
  1748. package/WeatherAPI/node_modules/moment/src/lib/locale/pre-post-format.js +3 -0
  1749. package/WeatherAPI/node_modules/moment/src/lib/locale/prototype.js +88 -0
  1750. package/WeatherAPI/node_modules/moment/src/lib/locale/relative.js +32 -0
  1751. package/WeatherAPI/node_modules/moment/src/lib/locale/set.js +56 -0
  1752. package/WeatherAPI/node_modules/moment/src/lib/moment/add-subtract.js +61 -0
  1753. package/WeatherAPI/node_modules/moment/src/lib/moment/calendar.js +53 -0
  1754. package/WeatherAPI/node_modules/moment/src/lib/moment/clone.js +5 -0
  1755. package/WeatherAPI/node_modules/moment/src/lib/moment/compare.js +72 -0
  1756. package/WeatherAPI/node_modules/moment/src/lib/moment/constructor.js +80 -0
  1757. package/WeatherAPI/node_modules/moment/src/lib/moment/creation-data.js +9 -0
  1758. package/WeatherAPI/node_modules/moment/src/lib/moment/diff.js +79 -0
  1759. package/WeatherAPI/node_modules/moment/src/lib/moment/format.js +78 -0
  1760. package/WeatherAPI/node_modules/moment/src/lib/moment/from.js +20 -0
  1761. package/WeatherAPI/node_modules/moment/src/lib/moment/get-set.js +117 -0
  1762. package/WeatherAPI/node_modules/moment/src/lib/moment/locale.js +34 -0
  1763. package/WeatherAPI/node_modules/moment/src/lib/moment/min-max.js +62 -0
  1764. package/WeatherAPI/node_modules/moment/src/lib/moment/moment.js +28 -0
  1765. package/WeatherAPI/node_modules/moment/src/lib/moment/now.js +3 -0
  1766. package/WeatherAPI/node_modules/moment/src/lib/moment/prototype.js +197 -0
  1767. package/WeatherAPI/node_modules/moment/src/lib/moment/start-end-of.js +164 -0
  1768. package/WeatherAPI/node_modules/moment/src/lib/moment/to-type.js +42 -0
  1769. package/WeatherAPI/node_modules/moment/src/lib/moment/to.js +20 -0
  1770. package/WeatherAPI/node_modules/moment/src/lib/moment/valid.js +15 -0
  1771. package/WeatherAPI/node_modules/moment/src/lib/parse/regex.js +84 -0
  1772. package/WeatherAPI/node_modules/moment/src/lib/parse/token.js +36 -0
  1773. package/WeatherAPI/node_modules/moment/src/lib/units/aliases.js +75 -0
  1774. package/WeatherAPI/node_modules/moment/src/lib/units/constants.js +9 -0
  1775. package/WeatherAPI/node_modules/moment/src/lib/units/day-of-month.js +35 -0
  1776. package/WeatherAPI/node_modules/moment/src/lib/units/day-of-week.js +432 -0
  1777. package/WeatherAPI/node_modules/moment/src/lib/units/day-of-year.js +28 -0
  1778. package/WeatherAPI/node_modules/moment/src/lib/units/era.js +293 -0
  1779. package/WeatherAPI/node_modules/moment/src/lib/units/hour.js +152 -0
  1780. package/WeatherAPI/node_modules/moment/src/lib/units/millisecond.js +66 -0
  1781. package/WeatherAPI/node_modules/moment/src/lib/units/minute.js +24 -0
  1782. package/WeatherAPI/node_modules/moment/src/lib/units/month.js +340 -0
  1783. package/WeatherAPI/node_modules/moment/src/lib/units/offset.js +249 -0
  1784. package/WeatherAPI/node_modules/moment/src/lib/units/priorities.js +34 -0
  1785. package/WeatherAPI/node_modules/moment/src/lib/units/quarter.js +24 -0
  1786. package/WeatherAPI/node_modules/moment/src/lib/units/second.js +24 -0
  1787. package/WeatherAPI/node_modules/moment/src/lib/units/timestamp.js +20 -0
  1788. package/WeatherAPI/node_modules/moment/src/lib/units/timezone.js +16 -0
  1789. package/WeatherAPI/node_modules/moment/src/lib/units/units.js +20 -0
  1790. package/WeatherAPI/node_modules/moment/src/lib/units/week-calendar-utils.js +66 -0
  1791. package/WeatherAPI/node_modules/moment/src/lib/units/week-year.js +128 -0
  1792. package/WeatherAPI/node_modules/moment/src/lib/units/week.js +62 -0
  1793. package/WeatherAPI/node_modules/moment/src/lib/units/year.js +75 -0
  1794. package/WeatherAPI/node_modules/moment/src/lib/utils/abs-ceil.js +7 -0
  1795. package/WeatherAPI/node_modules/moment/src/lib/utils/abs-floor.js +8 -0
  1796. package/WeatherAPI/node_modules/moment/src/lib/utils/abs-round.js +7 -0
  1797. package/WeatherAPI/node_modules/moment/src/lib/utils/compare-arrays.js +18 -0
  1798. package/WeatherAPI/node_modules/moment/src/lib/utils/defaults.js +10 -0
  1799. package/WeatherAPI/node_modules/moment/src/lib/utils/deprecate.js +69 -0
  1800. package/WeatherAPI/node_modules/moment/src/lib/utils/extend.js +19 -0
  1801. package/WeatherAPI/node_modules/moment/src/lib/utils/has-own-prop.js +3 -0
  1802. package/WeatherAPI/node_modules/moment/src/lib/utils/hooks.js +13 -0
  1803. package/WeatherAPI/node_modules/moment/src/lib/utils/index-of.js +18 -0
  1804. package/WeatherAPI/node_modules/moment/src/lib/utils/is-array.js +6 -0
  1805. package/WeatherAPI/node_modules/moment/src/lib/utils/is-calendar-spec.js +25 -0
  1806. package/WeatherAPI/node_modules/moment/src/lib/utils/is-date.js +6 -0
  1807. package/WeatherAPI/node_modules/moment/src/lib/utils/is-function.js +6 -0
  1808. package/WeatherAPI/node_modules/moment/src/lib/utils/is-leap-year.js +3 -0
  1809. package/WeatherAPI/node_modules/moment/src/lib/utils/is-moment-input.js +75 -0
  1810. package/WeatherAPI/node_modules/moment/src/lib/utils/is-number.js +6 -0
  1811. package/WeatherAPI/node_modules/moment/src/lib/utils/is-object-empty.js +15 -0
  1812. package/WeatherAPI/node_modules/moment/src/lib/utils/is-object.js +8 -0
  1813. package/WeatherAPI/node_modules/moment/src/lib/utils/is-string.js +3 -0
  1814. package/WeatherAPI/node_modules/moment/src/lib/utils/is-undefined.js +3 -0
  1815. package/WeatherAPI/node_modules/moment/src/lib/utils/keys.js +20 -0
  1816. package/WeatherAPI/node_modules/moment/src/lib/utils/map.js +9 -0
  1817. package/WeatherAPI/node_modules/moment/src/lib/utils/mod.js +3 -0
  1818. package/WeatherAPI/node_modules/moment/src/lib/utils/some.js +20 -0
  1819. package/WeatherAPI/node_modules/moment/src/lib/utils/to-int.js +12 -0
  1820. package/WeatherAPI/node_modules/moment/src/lib/utils/zero-fill.js +10 -0
  1821. package/WeatherAPI/node_modules/moment/src/locale/af.js +71 -0
  1822. package/WeatherAPI/node_modules/moment/src/locale/ar-dz.js +156 -0
  1823. package/WeatherAPI/node_modules/moment/src/locale/ar-kw.js +55 -0
  1824. package/WeatherAPI/node_modules/moment/src/locale/ar-ly.js +171 -0
  1825. package/WeatherAPI/node_modules/moment/src/locale/ar-ma.js +56 -0
  1826. package/WeatherAPI/node_modules/moment/src/locale/ar-ps.js +112 -0
  1827. package/WeatherAPI/node_modules/moment/src/locale/ar-sa.js +105 -0
  1828. package/WeatherAPI/node_modules/moment/src/locale/ar-tn.js +55 -0
  1829. package/WeatherAPI/node_modules/moment/src/locale/ar.js +189 -0
  1830. package/WeatherAPI/node_modules/moment/src/locale/az.js +102 -0
  1831. package/WeatherAPI/node_modules/moment/src/locale/be.js +142 -0
  1832. package/WeatherAPI/node_modules/moment/src/locale/bg.js +87 -0
  1833. package/WeatherAPI/node_modules/moment/src/locale/bm.js +52 -0
  1834. package/WeatherAPI/node_modules/moment/src/locale/bn-bd.js +129 -0
  1835. package/WeatherAPI/node_modules/moment/src/locale/bn.js +119 -0
  1836. package/WeatherAPI/node_modules/moment/src/locale/bo.js +124 -0
  1837. package/WeatherAPI/node_modules/moment/src/locale/br.js +168 -0
  1838. package/WeatherAPI/node_modules/moment/src/locale/bs.js +160 -0
  1839. package/WeatherAPI/node_modules/moment/src/locale/ca.js +100 -0
  1840. package/WeatherAPI/node_modules/moment/src/locale/cs.js +181 -0
  1841. package/WeatherAPI/node_modules/moment/src/locale/cv.js +63 -0
  1842. package/WeatherAPI/node_modules/moment/src/locale/cy.js +98 -0
  1843. package/WeatherAPI/node_modules/moment/src/locale/da.js +53 -0
  1844. package/WeatherAPI/node_modules/moment/src/locale/de-at.js +79 -0
  1845. package/WeatherAPI/node_modules/moment/src/locale/de-ch.js +78 -0
  1846. package/WeatherAPI/node_modules/moment/src/locale/de.js +78 -0
  1847. package/WeatherAPI/node_modules/moment/src/locale/dv.js +90 -0
  1848. package/WeatherAPI/node_modules/moment/src/locale/el.js +106 -0
  1849. package/WeatherAPI/node_modules/moment/src/locale/en-au.js +68 -0
  1850. package/WeatherAPI/node_modules/moment/src/locale/en-ca.js +64 -0
  1851. package/WeatherAPI/node_modules/moment/src/locale/en-gb.js +68 -0
  1852. package/WeatherAPI/node_modules/moment/src/locale/en-ie.js +68 -0
  1853. package/WeatherAPI/node_modules/moment/src/locale/en-il.js +64 -0
  1854. package/WeatherAPI/node_modules/moment/src/locale/en-in.js +68 -0
  1855. package/WeatherAPI/node_modules/moment/src/locale/en-nz.js +68 -0
  1856. package/WeatherAPI/node_modules/moment/src/locale/en-sg.js +68 -0
  1857. package/WeatherAPI/node_modules/moment/src/locale/eo.js +68 -0
  1858. package/WeatherAPI/node_modules/moment/src/locale/es-do.js +108 -0
  1859. package/WeatherAPI/node_modules/moment/src/locale/es-mx.js +110 -0
  1860. package/WeatherAPI/node_modules/moment/src/locale/es-us.js +110 -0
  1861. package/WeatherAPI/node_modules/moment/src/locale/es.js +110 -0
  1862. package/WeatherAPI/node_modules/moment/src/locale/et.js +78 -0
  1863. package/WeatherAPI/node_modules/moment/src/locale/eu.js +65 -0
  1864. package/WeatherAPI/node_modules/moment/src/locale/fa.js +113 -0
  1865. package/WeatherAPI/node_modules/moment/src/locale/fi.js +124 -0
  1866. package/WeatherAPI/node_modules/moment/src/locale/fil.js +58 -0
  1867. package/WeatherAPI/node_modules/moment/src/locale/fo.js +57 -0
  1868. package/WeatherAPI/node_modules/moment/src/locale/fr-ca.js +70 -0
  1869. package/WeatherAPI/node_modules/moment/src/locale/fr-ch.js +74 -0
  1870. package/WeatherAPI/node_modules/moment/src/locale/fr.js +108 -0
  1871. package/WeatherAPI/node_modules/moment/src/locale/fy.js +75 -0
  1872. package/WeatherAPI/node_modules/moment/src/locale/ga.js +95 -0
  1873. package/WeatherAPI/node_modules/moment/src/locale/gd.js +95 -0
  1874. package/WeatherAPI/node_modules/moment/src/locale/gl.js +75 -0
  1875. package/WeatherAPI/node_modules/moment/src/locale/gom-deva.js +126 -0
  1876. package/WeatherAPI/node_modules/moment/src/locale/gom-latn.js +124 -0
  1877. package/WeatherAPI/node_modules/moment/src/locale/gu.js +122 -0
  1878. package/WeatherAPI/node_modules/moment/src/locale/he.js +94 -0
  1879. package/WeatherAPI/node_modules/moment/src/locale/hi.js +168 -0
  1880. package/WeatherAPI/node_modules/moment/src/locale/hr.js +156 -0
  1881. package/WeatherAPI/node_modules/moment/src/locale/hu.js +118 -0
  1882. package/WeatherAPI/node_modules/moment/src/locale/hy-am.js +94 -0
  1883. package/WeatherAPI/node_modules/moment/src/locale/id.js +76 -0
  1884. package/WeatherAPI/node_modules/moment/src/locale/is.js +140 -0
  1885. package/WeatherAPI/node_modules/moment/src/locale/it-ch.js +64 -0
  1886. package/WeatherAPI/node_modules/moment/src/locale/it.js +106 -0
  1887. package/WeatherAPI/node_modules/moment/src/locale/ja.js +148 -0
  1888. package/WeatherAPI/node_modules/moment/src/locale/jv.js +76 -0
  1889. package/WeatherAPI/node_modules/moment/src/locale/ka.js +92 -0
  1890. package/WeatherAPI/node_modules/moment/src/locale/kk.js +82 -0
  1891. package/WeatherAPI/node_modules/moment/src/locale/km.js +103 -0
  1892. package/WeatherAPI/node_modules/moment/src/locale/kn.js +124 -0
  1893. package/WeatherAPI/node_modules/moment/src/locale/ko.js +75 -0
  1894. package/WeatherAPI/node_modules/moment/src/locale/ku-kmr.js +121 -0
  1895. package/WeatherAPI/node_modules/moment/src/locale/ku.js +118 -0
  1896. package/WeatherAPI/node_modules/moment/src/locale/ky.js +84 -0
  1897. package/WeatherAPI/node_modules/moment/src/locale/lb.js +137 -0
  1898. package/WeatherAPI/node_modules/moment/src/locale/lo.js +66 -0
  1899. package/WeatherAPI/node_modules/moment/src/locale/lt.js +125 -0
  1900. package/WeatherAPI/node_modules/moment/src/locale/lv.js +94 -0
  1901. package/WeatherAPI/node_modules/moment/src/locale/me.js +117 -0
  1902. package/WeatherAPI/node_modules/moment/src/locale/mi.js +60 -0
  1903. package/WeatherAPI/node_modules/moment/src/locale/mk.js +85 -0
  1904. package/WeatherAPI/node_modules/moment/src/locale/ml.js +82 -0
  1905. package/WeatherAPI/node_modules/moment/src/locale/mn.js +100 -0
  1906. package/WeatherAPI/node_modules/moment/src/locale/mr.js +203 -0
  1907. package/WeatherAPI/node_modules/moment/src/locale/ms-my.js +76 -0
  1908. package/WeatherAPI/node_modules/moment/src/locale/ms.js +75 -0
  1909. package/WeatherAPI/node_modules/moment/src/locale/mt.js +56 -0
  1910. package/WeatherAPI/node_modules/moment/src/locale/my.js +91 -0
  1911. package/WeatherAPI/node_modules/moment/src/locale/nb.js +60 -0
  1912. package/WeatherAPI/node_modules/moment/src/locale/ne.js +121 -0
  1913. package/WeatherAPI/node_modules/moment/src/locale/nl-be.js +102 -0
  1914. package/WeatherAPI/node_modules/moment/src/locale/nl.js +104 -0
  1915. package/WeatherAPI/node_modules/moment/src/locale/nn.js +59 -0
  1916. package/WeatherAPI/node_modules/moment/src/locale/oc-lnc.js +85 -0
  1917. package/WeatherAPI/node_modules/moment/src/locale/pa-in.js +122 -0
  1918. package/WeatherAPI/node_modules/moment/src/locale/pl.js +140 -0
  1919. package/WeatherAPI/node_modules/moment/src/locale/pt-br.js +58 -0
  1920. package/WeatherAPI/node_modules/moment/src/locale/pt.js +63 -0
  1921. package/WeatherAPI/node_modules/moment/src/locale/ro.js +76 -0
  1922. package/WeatherAPI/node_modules/moment/src/locale/ru.js +213 -0
  1923. package/WeatherAPI/node_modules/moment/src/locale/sd.js +81 -0
  1924. package/WeatherAPI/node_modules/moment/src/locale/se.js +57 -0
  1925. package/WeatherAPI/node_modules/moment/src/locale/si.js +69 -0
  1926. package/WeatherAPI/node_modules/moment/src/locale/sk.js +145 -0
  1927. package/WeatherAPI/node_modules/moment/src/locale/sl.js +171 -0
  1928. package/WeatherAPI/node_modules/moment/src/locale/sq.js +65 -0
  1929. package/WeatherAPI/node_modules/moment/src/locale/sr-cyrl.js +127 -0
  1930. package/WeatherAPI/node_modules/moment/src/locale/sr.js +129 -0
  1931. package/WeatherAPI/node_modules/moment/src/locale/ss.js +84 -0
  1932. package/WeatherAPI/node_modules/moment/src/locale/sv.js +68 -0
  1933. package/WeatherAPI/node_modules/moment/src/locale/sw.js +55 -0
  1934. package/WeatherAPI/node_modules/moment/src/locale/ta.js +131 -0
  1935. package/WeatherAPI/node_modules/moment/src/locale/te.js +88 -0
  1936. package/WeatherAPI/node_modules/moment/src/locale/tet.js +68 -0
  1937. package/WeatherAPI/node_modules/moment/src/locale/tg.js +117 -0
  1938. package/WeatherAPI/node_modules/moment/src/locale/th.js +65 -0
  1939. package/WeatherAPI/node_modules/moment/src/locale/tk.js +91 -0
  1940. package/WeatherAPI/node_modules/moment/src/locale/tl-ph.js +57 -0
  1941. package/WeatherAPI/node_modules/moment/src/locale/tlh.js +124 -0
  1942. package/WeatherAPI/node_modules/moment/src/locale/tr.js +106 -0
  1943. package/WeatherAPI/node_modules/moment/src/locale/tzl.js +89 -0
  1944. package/WeatherAPI/node_modules/moment/src/locale/tzm-latn.js +54 -0
  1945. package/WeatherAPI/node_modules/moment/src/locale/tzm.js +54 -0
  1946. package/WeatherAPI/node_modules/moment/src/locale/ug-cn.js +111 -0
  1947. package/WeatherAPI/node_modules/moment/src/locale/uk.js +167 -0
  1948. package/WeatherAPI/node_modules/moment/src/locale/ur.js +82 -0
  1949. package/WeatherAPI/node_modules/moment/src/locale/uz-latn.js +54 -0
  1950. package/WeatherAPI/node_modules/moment/src/locale/uz.js +51 -0
  1951. package/WeatherAPI/node_modules/moment/src/locale/vi.js +80 -0
  1952. package/WeatherAPI/node_modules/moment/src/locale/x-pseudo.js +73 -0
  1953. package/WeatherAPI/node_modules/moment/src/locale/yo.js +53 -0
  1954. package/WeatherAPI/node_modules/moment/src/locale/zh-cn.js +120 -0
  1955. package/WeatherAPI/node_modules/moment/src/locale/zh-hk.js +101 -0
  1956. package/WeatherAPI/node_modules/moment/src/locale/zh-mo.js +100 -0
  1957. package/WeatherAPI/node_modules/moment/src/locale/zh-tw.js +99 -0
  1958. package/WeatherAPI/node_modules/moment/src/moment.js +93 -0
  1959. package/WeatherAPI/node_modules/moment/ts3.1-typings/moment.d.ts +785 -0
  1960. package/WeatherAPI/node_modules/proxy-from-env/LICENSE +20 -0
  1961. package/WeatherAPI/node_modules/proxy-from-env/README.md +163 -0
  1962. package/WeatherAPI/node_modules/proxy-from-env/index.cjs +105 -0
  1963. package/WeatherAPI/node_modules/proxy-from-env/index.js +103 -0
  1964. package/WeatherAPI/node_modules/proxy-from-env/package.json +43 -0
  1965. package/WeatherAPI/package-lock.json +317 -0
  1966. package/WeatherAPI/package.json +13 -0
  1967. package/bin/cbs-block.js +294 -15
  1968. package/package.json +6 -3
  1969. package/preview_web.html +185 -0
  1970. package/superblock.cbsblock +18 -0
  1971. package/templates/library.json +91 -0
  1972. package/weather_api.cbsblock +56 -0
  1973. package/weather_api.md +19 -0
@@ -0,0 +1,4697 @@
1
+ /*! Axios v1.14.0 Copyright (c) 2026 Matt Zabriskie and contributors */
2
+ 'use strict';
3
+
4
+ var FormData$1 = require('form-data');
5
+ var crypto = require('crypto');
6
+ var url = require('url');
7
+ var http = require('http');
8
+ var https = require('https');
9
+ var http2 = require('http2');
10
+ var util = require('util');
11
+ var followRedirects = require('follow-redirects');
12
+ var zlib = require('zlib');
13
+ var stream = require('stream');
14
+ var events = require('events');
15
+
16
+ /**
17
+ * Create a bound version of a function with a specified `this` context
18
+ *
19
+ * @param {Function} fn - The function to bind
20
+ * @param {*} thisArg - The value to be passed as the `this` parameter
21
+ * @returns {Function} A new function that will call the original function with the specified `this` context
22
+ */
23
+ function bind(fn, thisArg) {
24
+ return function wrap() {
25
+ return fn.apply(thisArg, arguments);
26
+ };
27
+ }
28
+
29
+ // utils is a library of generic helper functions non-specific to axios
30
+
31
+ const {
32
+ toString
33
+ } = Object.prototype;
34
+ const {
35
+ getPrototypeOf
36
+ } = Object;
37
+ const {
38
+ iterator,
39
+ toStringTag
40
+ } = Symbol;
41
+ const kindOf = (cache => thing => {
42
+ const str = toString.call(thing);
43
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
44
+ })(Object.create(null));
45
+ const kindOfTest = type => {
46
+ type = type.toLowerCase();
47
+ return thing => kindOf(thing) === type;
48
+ };
49
+ const typeOfTest = type => thing => typeof thing === type;
50
+
51
+ /**
52
+ * Determine if a value is a non-null object
53
+ *
54
+ * @param {Object} val The value to test
55
+ *
56
+ * @returns {boolean} True if value is an Array, otherwise false
57
+ */
58
+ const {
59
+ isArray
60
+ } = Array;
61
+
62
+ /**
63
+ * Determine if a value is undefined
64
+ *
65
+ * @param {*} val The value to test
66
+ *
67
+ * @returns {boolean} True if the value is undefined, otherwise false
68
+ */
69
+ const isUndefined = typeOfTest('undefined');
70
+
71
+ /**
72
+ * Determine if a value is a Buffer
73
+ *
74
+ * @param {*} val The value to test
75
+ *
76
+ * @returns {boolean} True if value is a Buffer, otherwise false
77
+ */
78
+ function isBuffer(val) {
79
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
80
+ }
81
+
82
+ /**
83
+ * Determine if a value is an ArrayBuffer
84
+ *
85
+ * @param {*} val The value to test
86
+ *
87
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
88
+ */
89
+ const isArrayBuffer = kindOfTest('ArrayBuffer');
90
+
91
+ /**
92
+ * Determine if a value is a view on an ArrayBuffer
93
+ *
94
+ * @param {*} val The value to test
95
+ *
96
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
97
+ */
98
+ function isArrayBufferView(val) {
99
+ let result;
100
+ if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
101
+ result = ArrayBuffer.isView(val);
102
+ } else {
103
+ result = val && val.buffer && isArrayBuffer(val.buffer);
104
+ }
105
+ return result;
106
+ }
107
+
108
+ /**
109
+ * Determine if a value is a String
110
+ *
111
+ * @param {*} val The value to test
112
+ *
113
+ * @returns {boolean} True if value is a String, otherwise false
114
+ */
115
+ const isString = typeOfTest('string');
116
+
117
+ /**
118
+ * Determine if a value is a Function
119
+ *
120
+ * @param {*} val The value to test
121
+ * @returns {boolean} True if value is a Function, otherwise false
122
+ */
123
+ const isFunction$1 = typeOfTest('function');
124
+
125
+ /**
126
+ * Determine if a value is a Number
127
+ *
128
+ * @param {*} val The value to test
129
+ *
130
+ * @returns {boolean} True if value is a Number, otherwise false
131
+ */
132
+ const isNumber = typeOfTest('number');
133
+
134
+ /**
135
+ * Determine if a value is an Object
136
+ *
137
+ * @param {*} thing The value to test
138
+ *
139
+ * @returns {boolean} True if value is an Object, otherwise false
140
+ */
141
+ const isObject = thing => thing !== null && typeof thing === 'object';
142
+
143
+ /**
144
+ * Determine if a value is a Boolean
145
+ *
146
+ * @param {*} thing The value to test
147
+ * @returns {boolean} True if value is a Boolean, otherwise false
148
+ */
149
+ const isBoolean = thing => thing === true || thing === false;
150
+
151
+ /**
152
+ * Determine if a value is a plain Object
153
+ *
154
+ * @param {*} val The value to test
155
+ *
156
+ * @returns {boolean} True if value is a plain Object, otherwise false
157
+ */
158
+ const isPlainObject = val => {
159
+ if (kindOf(val) !== 'object') {
160
+ return false;
161
+ }
162
+ const prototype = getPrototypeOf(val);
163
+ return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
164
+ };
165
+
166
+ /**
167
+ * Determine if a value is an empty object (safely handles Buffers)
168
+ *
169
+ * @param {*} val The value to test
170
+ *
171
+ * @returns {boolean} True if value is an empty object, otherwise false
172
+ */
173
+ const isEmptyObject = val => {
174
+ // Early return for non-objects or Buffers to prevent RangeError
175
+ if (!isObject(val) || isBuffer(val)) {
176
+ return false;
177
+ }
178
+ try {
179
+ return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
180
+ } catch (e) {
181
+ // Fallback for any other objects that might cause RangeError with Object.keys()
182
+ return false;
183
+ }
184
+ };
185
+
186
+ /**
187
+ * Determine if a value is a Date
188
+ *
189
+ * @param {*} val The value to test
190
+ *
191
+ * @returns {boolean} True if value is a Date, otherwise false
192
+ */
193
+ const isDate = kindOfTest('Date');
194
+
195
+ /**
196
+ * Determine if a value is a File
197
+ *
198
+ * @param {*} val The value to test
199
+ *
200
+ * @returns {boolean} True if value is a File, otherwise false
201
+ */
202
+ const isFile = kindOfTest('File');
203
+
204
+ /**
205
+ * Determine if a value is a React Native Blob
206
+ * React Native "blob": an object with a `uri` attribute. Optionally, it can
207
+ * also have a `name` and `type` attribute to specify filename and content type
208
+ *
209
+ * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
210
+ *
211
+ * @param {*} value The value to test
212
+ *
213
+ * @returns {boolean} True if value is a React Native Blob, otherwise false
214
+ */
215
+ const isReactNativeBlob = value => {
216
+ return !!(value && typeof value.uri !== 'undefined');
217
+ };
218
+
219
+ /**
220
+ * Determine if environment is React Native
221
+ * ReactNative `FormData` has a non-standard `getParts()` method
222
+ *
223
+ * @param {*} formData The formData to test
224
+ *
225
+ * @returns {boolean} True if environment is React Native, otherwise false
226
+ */
227
+ const isReactNative = formData => formData && typeof formData.getParts !== 'undefined';
228
+
229
+ /**
230
+ * Determine if a value is a Blob
231
+ *
232
+ * @param {*} val The value to test
233
+ *
234
+ * @returns {boolean} True if value is a Blob, otherwise false
235
+ */
236
+ const isBlob = kindOfTest('Blob');
237
+
238
+ /**
239
+ * Determine if a value is a FileList
240
+ *
241
+ * @param {*} val The value to test
242
+ *
243
+ * @returns {boolean} True if value is a File, otherwise false
244
+ */
245
+ const isFileList = kindOfTest('FileList');
246
+
247
+ /**
248
+ * Determine if a value is a Stream
249
+ *
250
+ * @param {*} val The value to test
251
+ *
252
+ * @returns {boolean} True if value is a Stream, otherwise false
253
+ */
254
+ const isStream = val => isObject(val) && isFunction$1(val.pipe);
255
+
256
+ /**
257
+ * Determine if a value is a FormData
258
+ *
259
+ * @param {*} thing The value to test
260
+ *
261
+ * @returns {boolean} True if value is an FormData, otherwise false
262
+ */
263
+ function getGlobal() {
264
+ if (typeof globalThis !== 'undefined') return globalThis;
265
+ if (typeof self !== 'undefined') return self;
266
+ if (typeof window !== 'undefined') return window;
267
+ if (typeof global !== 'undefined') return global;
268
+ return {};
269
+ }
270
+ const G = getGlobal();
271
+ const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
272
+ const isFormData = thing => {
273
+ let kind;
274
+ return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction$1(thing.append) && ((kind = kindOf(thing)) === 'formdata' ||
275
+ // detect form-data instance
276
+ kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'));
277
+ };
278
+
279
+ /**
280
+ * Determine if a value is a URLSearchParams object
281
+ *
282
+ * @param {*} val The value to test
283
+ *
284
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
285
+ */
286
+ const isURLSearchParams = kindOfTest('URLSearchParams');
287
+ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
288
+
289
+ /**
290
+ * Trim excess whitespace off the beginning and end of a string
291
+ *
292
+ * @param {String} str The String to trim
293
+ *
294
+ * @returns {String} The String freed of excess whitespace
295
+ */
296
+ const trim = str => {
297
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
298
+ };
299
+ /**
300
+ * Iterate over an Array or an Object invoking a function for each item.
301
+ *
302
+ * If `obj` is an Array callback will be called passing
303
+ * the value, index, and complete array for each item.
304
+ *
305
+ * If 'obj' is an Object callback will be called passing
306
+ * the value, key, and complete object for each property.
307
+ *
308
+ * @param {Object|Array<unknown>} obj The object to iterate
309
+ * @param {Function} fn The callback to invoke for each item
310
+ *
311
+ * @param {Object} [options]
312
+ * @param {Boolean} [options.allOwnKeys = false]
313
+ * @returns {any}
314
+ */
315
+ function forEach(obj, fn, {
316
+ allOwnKeys = false
317
+ } = {}) {
318
+ // Don't bother if no value provided
319
+ if (obj === null || typeof obj === 'undefined') {
320
+ return;
321
+ }
322
+ let i;
323
+ let l;
324
+
325
+ // Force an array if not already something iterable
326
+ if (typeof obj !== 'object') {
327
+ /*eslint no-param-reassign:0*/
328
+ obj = [obj];
329
+ }
330
+ if (isArray(obj)) {
331
+ // Iterate over array values
332
+ for (i = 0, l = obj.length; i < l; i++) {
333
+ fn.call(null, obj[i], i, obj);
334
+ }
335
+ } else {
336
+ // Buffer check
337
+ if (isBuffer(obj)) {
338
+ return;
339
+ }
340
+
341
+ // Iterate over object keys
342
+ const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
343
+ const len = keys.length;
344
+ let key;
345
+ for (i = 0; i < len; i++) {
346
+ key = keys[i];
347
+ fn.call(null, obj[key], key, obj);
348
+ }
349
+ }
350
+ }
351
+
352
+ /**
353
+ * Finds a key in an object, case-insensitive, returning the actual key name.
354
+ * Returns null if the object is a Buffer or if no match is found.
355
+ *
356
+ * @param {Object} obj - The object to search.
357
+ * @param {string} key - The key to find (case-insensitive).
358
+ * @returns {?string} The actual key name if found, otherwise null.
359
+ */
360
+ function findKey(obj, key) {
361
+ if (isBuffer(obj)) {
362
+ return null;
363
+ }
364
+ key = key.toLowerCase();
365
+ const keys = Object.keys(obj);
366
+ let i = keys.length;
367
+ let _key;
368
+ while (i-- > 0) {
369
+ _key = keys[i];
370
+ if (key === _key.toLowerCase()) {
371
+ return _key;
372
+ }
373
+ }
374
+ return null;
375
+ }
376
+ const _global = (() => {
377
+ /*eslint no-undef:0*/
378
+ if (typeof globalThis !== 'undefined') return globalThis;
379
+ return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
380
+ })();
381
+ const isContextDefined = context => !isUndefined(context) && context !== _global;
382
+
383
+ /**
384
+ * Accepts varargs expecting each argument to be an object, then
385
+ * immutably merges the properties of each object and returns result.
386
+ *
387
+ * When multiple objects contain the same key the later object in
388
+ * the arguments list will take precedence.
389
+ *
390
+ * Example:
391
+ *
392
+ * ```js
393
+ * const result = merge({foo: 123}, {foo: 456});
394
+ * console.log(result.foo); // outputs 456
395
+ * ```
396
+ *
397
+ * @param {Object} obj1 Object to merge
398
+ *
399
+ * @returns {Object} Result of all merge properties
400
+ */
401
+ function merge(/* obj1, obj2, obj3, ... */
402
+ ) {
403
+ const {
404
+ caseless,
405
+ skipUndefined
406
+ } = isContextDefined(this) && this || {};
407
+ const result = {};
408
+ const assignValue = (val, key) => {
409
+ // Skip dangerous property names to prevent prototype pollution
410
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
411
+ return;
412
+ }
413
+ const targetKey = caseless && findKey(result, key) || key;
414
+ if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
415
+ result[targetKey] = merge(result[targetKey], val);
416
+ } else if (isPlainObject(val)) {
417
+ result[targetKey] = merge({}, val);
418
+ } else if (isArray(val)) {
419
+ result[targetKey] = val.slice();
420
+ } else if (!skipUndefined || !isUndefined(val)) {
421
+ result[targetKey] = val;
422
+ }
423
+ };
424
+ for (let i = 0, l = arguments.length; i < l; i++) {
425
+ arguments[i] && forEach(arguments[i], assignValue);
426
+ }
427
+ return result;
428
+ }
429
+
430
+ /**
431
+ * Extends object a by mutably adding to it the properties of object b.
432
+ *
433
+ * @param {Object} a The object to be extended
434
+ * @param {Object} b The object to copy properties from
435
+ * @param {Object} thisArg The object to bind function to
436
+ *
437
+ * @param {Object} [options]
438
+ * @param {Boolean} [options.allOwnKeys]
439
+ * @returns {Object} The resulting value of object a
440
+ */
441
+ const extend = (a, b, thisArg, {
442
+ allOwnKeys
443
+ } = {}) => {
444
+ forEach(b, (val, key) => {
445
+ if (thisArg && isFunction$1(val)) {
446
+ Object.defineProperty(a, key, {
447
+ value: bind(val, thisArg),
448
+ writable: true,
449
+ enumerable: true,
450
+ configurable: true
451
+ });
452
+ } else {
453
+ Object.defineProperty(a, key, {
454
+ value: val,
455
+ writable: true,
456
+ enumerable: true,
457
+ configurable: true
458
+ });
459
+ }
460
+ }, {
461
+ allOwnKeys
462
+ });
463
+ return a;
464
+ };
465
+
466
+ /**
467
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
468
+ *
469
+ * @param {string} content with BOM
470
+ *
471
+ * @returns {string} content value without BOM
472
+ */
473
+ const stripBOM = content => {
474
+ if (content.charCodeAt(0) === 0xfeff) {
475
+ content = content.slice(1);
476
+ }
477
+ return content;
478
+ };
479
+
480
+ /**
481
+ * Inherit the prototype methods from one constructor into another
482
+ * @param {function} constructor
483
+ * @param {function} superConstructor
484
+ * @param {object} [props]
485
+ * @param {object} [descriptors]
486
+ *
487
+ * @returns {void}
488
+ */
489
+ const inherits = (constructor, superConstructor, props, descriptors) => {
490
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
491
+ Object.defineProperty(constructor.prototype, 'constructor', {
492
+ value: constructor,
493
+ writable: true,
494
+ enumerable: false,
495
+ configurable: true
496
+ });
497
+ Object.defineProperty(constructor, 'super', {
498
+ value: superConstructor.prototype
499
+ });
500
+ props && Object.assign(constructor.prototype, props);
501
+ };
502
+
503
+ /**
504
+ * Resolve object with deep prototype chain to a flat object
505
+ * @param {Object} sourceObj source object
506
+ * @param {Object} [destObj]
507
+ * @param {Function|Boolean} [filter]
508
+ * @param {Function} [propFilter]
509
+ *
510
+ * @returns {Object}
511
+ */
512
+ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
513
+ let props;
514
+ let i;
515
+ let prop;
516
+ const merged = {};
517
+ destObj = destObj || {};
518
+ // eslint-disable-next-line no-eq-null,eqeqeq
519
+ if (sourceObj == null) return destObj;
520
+ do {
521
+ props = Object.getOwnPropertyNames(sourceObj);
522
+ i = props.length;
523
+ while (i-- > 0) {
524
+ prop = props[i];
525
+ if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
526
+ destObj[prop] = sourceObj[prop];
527
+ merged[prop] = true;
528
+ }
529
+ }
530
+ sourceObj = filter !== false && getPrototypeOf(sourceObj);
531
+ } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
532
+ return destObj;
533
+ };
534
+
535
+ /**
536
+ * Determines whether a string ends with the characters of a specified string
537
+ *
538
+ * @param {String} str
539
+ * @param {String} searchString
540
+ * @param {Number} [position= 0]
541
+ *
542
+ * @returns {boolean}
543
+ */
544
+ const endsWith = (str, searchString, position) => {
545
+ str = String(str);
546
+ if (position === undefined || position > str.length) {
547
+ position = str.length;
548
+ }
549
+ position -= searchString.length;
550
+ const lastIndex = str.indexOf(searchString, position);
551
+ return lastIndex !== -1 && lastIndex === position;
552
+ };
553
+
554
+ /**
555
+ * Returns new array from array like object or null if failed
556
+ *
557
+ * @param {*} [thing]
558
+ *
559
+ * @returns {?Array}
560
+ */
561
+ const toArray = thing => {
562
+ if (!thing) return null;
563
+ if (isArray(thing)) return thing;
564
+ let i = thing.length;
565
+ if (!isNumber(i)) return null;
566
+ const arr = new Array(i);
567
+ while (i-- > 0) {
568
+ arr[i] = thing[i];
569
+ }
570
+ return arr;
571
+ };
572
+
573
+ /**
574
+ * Checking if the Uint8Array exists and if it does, it returns a function that checks if the
575
+ * thing passed in is an instance of Uint8Array
576
+ *
577
+ * @param {TypedArray}
578
+ *
579
+ * @returns {Array}
580
+ */
581
+ // eslint-disable-next-line func-names
582
+ const isTypedArray = (TypedArray => {
583
+ // eslint-disable-next-line func-names
584
+ return thing => {
585
+ return TypedArray && thing instanceof TypedArray;
586
+ };
587
+ })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
588
+
589
+ /**
590
+ * For each entry in the object, call the function with the key and value.
591
+ *
592
+ * @param {Object<any, any>} obj - The object to iterate over.
593
+ * @param {Function} fn - The function to call for each entry.
594
+ *
595
+ * @returns {void}
596
+ */
597
+ const forEachEntry = (obj, fn) => {
598
+ const generator = obj && obj[iterator];
599
+ const _iterator = generator.call(obj);
600
+ let result;
601
+ while ((result = _iterator.next()) && !result.done) {
602
+ const pair = result.value;
603
+ fn.call(obj, pair[0], pair[1]);
604
+ }
605
+ };
606
+
607
+ /**
608
+ * It takes a regular expression and a string, and returns an array of all the matches
609
+ *
610
+ * @param {string} regExp - The regular expression to match against.
611
+ * @param {string} str - The string to search.
612
+ *
613
+ * @returns {Array<boolean>}
614
+ */
615
+ const matchAll = (regExp, str) => {
616
+ let matches;
617
+ const arr = [];
618
+ while ((matches = regExp.exec(str)) !== null) {
619
+ arr.push(matches);
620
+ }
621
+ return arr;
622
+ };
623
+
624
+ /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
625
+ const isHTMLForm = kindOfTest('HTMLFormElement');
626
+ const toCamelCase = str => {
627
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
628
+ return p1.toUpperCase() + p2;
629
+ });
630
+ };
631
+
632
+ /* Creating a function that will check if an object has a property. */
633
+ const hasOwnProperty = (({
634
+ hasOwnProperty
635
+ }) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
636
+
637
+ /**
638
+ * Determine if a value is a RegExp object
639
+ *
640
+ * @param {*} val The value to test
641
+ *
642
+ * @returns {boolean} True if value is a RegExp object, otherwise false
643
+ */
644
+ const isRegExp = kindOfTest('RegExp');
645
+ const reduceDescriptors = (obj, reducer) => {
646
+ const descriptors = Object.getOwnPropertyDescriptors(obj);
647
+ const reducedDescriptors = {};
648
+ forEach(descriptors, (descriptor, name) => {
649
+ let ret;
650
+ if ((ret = reducer(descriptor, name, obj)) !== false) {
651
+ reducedDescriptors[name] = ret || descriptor;
652
+ }
653
+ });
654
+ Object.defineProperties(obj, reducedDescriptors);
655
+ };
656
+
657
+ /**
658
+ * Makes all methods read-only
659
+ * @param {Object} obj
660
+ */
661
+
662
+ const freezeMethods = obj => {
663
+ reduceDescriptors(obj, (descriptor, name) => {
664
+ // skip restricted props in strict mode
665
+ if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
666
+ return false;
667
+ }
668
+ const value = obj[name];
669
+ if (!isFunction$1(value)) return;
670
+ descriptor.enumerable = false;
671
+ if ('writable' in descriptor) {
672
+ descriptor.writable = false;
673
+ return;
674
+ }
675
+ if (!descriptor.set) {
676
+ descriptor.set = () => {
677
+ throw Error("Can not rewrite read-only method '" + name + "'");
678
+ };
679
+ }
680
+ });
681
+ };
682
+
683
+ /**
684
+ * Converts an array or a delimited string into an object set with values as keys and true as values.
685
+ * Useful for fast membership checks.
686
+ *
687
+ * @param {Array|string} arrayOrString - The array or string to convert.
688
+ * @param {string} delimiter - The delimiter to use if input is a string.
689
+ * @returns {Object} An object with keys from the array or string, values set to true.
690
+ */
691
+ const toObjectSet = (arrayOrString, delimiter) => {
692
+ const obj = {};
693
+ const define = arr => {
694
+ arr.forEach(value => {
695
+ obj[value] = true;
696
+ });
697
+ };
698
+ isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
699
+ return obj;
700
+ };
701
+ const noop = () => {};
702
+ const toFiniteNumber = (value, defaultValue) => {
703
+ return value != null && Number.isFinite(value = +value) ? value : defaultValue;
704
+ };
705
+
706
+ /**
707
+ * If the thing is a FormData object, return true, otherwise return false.
708
+ *
709
+ * @param {unknown} thing - The thing to check.
710
+ *
711
+ * @returns {boolean}
712
+ */
713
+ function isSpecCompliantForm(thing) {
714
+ return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
715
+ }
716
+
717
+ /**
718
+ * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
719
+ *
720
+ * @param {Object} obj - The object to convert.
721
+ * @returns {Object} The JSON-compatible object.
722
+ */
723
+ const toJSONObject = obj => {
724
+ const stack = new Array(10);
725
+ const visit = (source, i) => {
726
+ if (isObject(source)) {
727
+ if (stack.indexOf(source) >= 0) {
728
+ return;
729
+ }
730
+
731
+ //Buffer check
732
+ if (isBuffer(source)) {
733
+ return source;
734
+ }
735
+ if (!('toJSON' in source)) {
736
+ stack[i] = source;
737
+ const target = isArray(source) ? [] : {};
738
+ forEach(source, (value, key) => {
739
+ const reducedValue = visit(value, i + 1);
740
+ !isUndefined(reducedValue) && (target[key] = reducedValue);
741
+ });
742
+ stack[i] = undefined;
743
+ return target;
744
+ }
745
+ }
746
+ return source;
747
+ };
748
+ return visit(obj, 0);
749
+ };
750
+
751
+ /**
752
+ * Determines if a value is an async function.
753
+ *
754
+ * @param {*} thing - The value to test.
755
+ * @returns {boolean} True if value is an async function, otherwise false.
756
+ */
757
+ const isAsyncFn = kindOfTest('AsyncFunction');
758
+
759
+ /**
760
+ * Determines if a value is thenable (has then and catch methods).
761
+ *
762
+ * @param {*} thing - The value to test.
763
+ * @returns {boolean} True if value is thenable, otherwise false.
764
+ */
765
+ const isThenable = thing => thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
766
+
767
+ // original code
768
+ // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
769
+
770
+ /**
771
+ * Provides a cross-platform setImmediate implementation.
772
+ * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
773
+ *
774
+ * @param {boolean} setImmediateSupported - Whether setImmediate is supported.
775
+ * @param {boolean} postMessageSupported - Whether postMessage is supported.
776
+ * @returns {Function} A function to schedule a callback asynchronously.
777
+ */
778
+ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
779
+ if (setImmediateSupported) {
780
+ return setImmediate;
781
+ }
782
+ return postMessageSupported ? ((token, callbacks) => {
783
+ _global.addEventListener('message', ({
784
+ source,
785
+ data
786
+ }) => {
787
+ if (source === _global && data === token) {
788
+ callbacks.length && callbacks.shift()();
789
+ }
790
+ }, false);
791
+ return cb => {
792
+ callbacks.push(cb);
793
+ _global.postMessage(token, '*');
794
+ };
795
+ })(`axios@${Math.random()}`, []) : cb => setTimeout(cb);
796
+ })(typeof setImmediate === 'function', isFunction$1(_global.postMessage));
797
+
798
+ /**
799
+ * Schedules a microtask or asynchronous callback as soon as possible.
800
+ * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
801
+ *
802
+ * @type {Function}
803
+ */
804
+ const asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate;
805
+
806
+ // *********************
807
+
808
+ const isIterable = thing => thing != null && isFunction$1(thing[iterator]);
809
+ var utils$1 = {
810
+ isArray,
811
+ isArrayBuffer,
812
+ isBuffer,
813
+ isFormData,
814
+ isArrayBufferView,
815
+ isString,
816
+ isNumber,
817
+ isBoolean,
818
+ isObject,
819
+ isPlainObject,
820
+ isEmptyObject,
821
+ isReadableStream,
822
+ isRequest,
823
+ isResponse,
824
+ isHeaders,
825
+ isUndefined,
826
+ isDate,
827
+ isFile,
828
+ isReactNativeBlob,
829
+ isReactNative,
830
+ isBlob,
831
+ isRegExp,
832
+ isFunction: isFunction$1,
833
+ isStream,
834
+ isURLSearchParams,
835
+ isTypedArray,
836
+ isFileList,
837
+ forEach,
838
+ merge,
839
+ extend,
840
+ trim,
841
+ stripBOM,
842
+ inherits,
843
+ toFlatObject,
844
+ kindOf,
845
+ kindOfTest,
846
+ endsWith,
847
+ toArray,
848
+ forEachEntry,
849
+ matchAll,
850
+ isHTMLForm,
851
+ hasOwnProperty,
852
+ hasOwnProp: hasOwnProperty,
853
+ // an alias to avoid ESLint no-prototype-builtins detection
854
+ reduceDescriptors,
855
+ freezeMethods,
856
+ toObjectSet,
857
+ toCamelCase,
858
+ noop,
859
+ toFiniteNumber,
860
+ findKey,
861
+ global: _global,
862
+ isContextDefined,
863
+ isSpecCompliantForm,
864
+ toJSONObject,
865
+ isAsyncFn,
866
+ isThenable,
867
+ setImmediate: _setImmediate,
868
+ asap,
869
+ isIterable
870
+ };
871
+
872
+ class AxiosError extends Error {
873
+ static from(error, code, config, request, response, customProps) {
874
+ const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
875
+ axiosError.cause = error;
876
+ axiosError.name = error.name;
877
+
878
+ // Preserve status from the original error if not already set from response
879
+ if (error.status != null && axiosError.status == null) {
880
+ axiosError.status = error.status;
881
+ }
882
+ customProps && Object.assign(axiosError, customProps);
883
+ return axiosError;
884
+ }
885
+
886
+ /**
887
+ * Create an Error with the specified message, config, error code, request and response.
888
+ *
889
+ * @param {string} message The error message.
890
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
891
+ * @param {Object} [config] The config.
892
+ * @param {Object} [request] The request.
893
+ * @param {Object} [response] The response.
894
+ *
895
+ * @returns {Error} The created error.
896
+ */
897
+ constructor(message, code, config, request, response) {
898
+ super(message);
899
+
900
+ // Make message enumerable to maintain backward compatibility
901
+ // The native Error constructor sets message as non-enumerable,
902
+ // but axios < v1.13.3 had it as enumerable
903
+ Object.defineProperty(this, 'message', {
904
+ value: message,
905
+ enumerable: true,
906
+ writable: true,
907
+ configurable: true
908
+ });
909
+ this.name = 'AxiosError';
910
+ this.isAxiosError = true;
911
+ code && (this.code = code);
912
+ config && (this.config = config);
913
+ request && (this.request = request);
914
+ if (response) {
915
+ this.response = response;
916
+ this.status = response.status;
917
+ }
918
+ }
919
+ toJSON() {
920
+ return {
921
+ // Standard
922
+ message: this.message,
923
+ name: this.name,
924
+ // Microsoft
925
+ description: this.description,
926
+ number: this.number,
927
+ // Mozilla
928
+ fileName: this.fileName,
929
+ lineNumber: this.lineNumber,
930
+ columnNumber: this.columnNumber,
931
+ stack: this.stack,
932
+ // Axios
933
+ config: utils$1.toJSONObject(this.config),
934
+ code: this.code,
935
+ status: this.status
936
+ };
937
+ }
938
+ }
939
+
940
+ // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
941
+ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
942
+ AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
943
+ AxiosError.ECONNABORTED = 'ECONNABORTED';
944
+ AxiosError.ETIMEDOUT = 'ETIMEDOUT';
945
+ AxiosError.ERR_NETWORK = 'ERR_NETWORK';
946
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
947
+ AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
948
+ AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
949
+ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
950
+ AxiosError.ERR_CANCELED = 'ERR_CANCELED';
951
+ AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
952
+ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
953
+
954
+ /**
955
+ * Determines if the given thing is a array or js object.
956
+ *
957
+ * @param {string} thing - The object or array to be visited.
958
+ *
959
+ * @returns {boolean}
960
+ */
961
+ function isVisitable(thing) {
962
+ return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
963
+ }
964
+
965
+ /**
966
+ * It removes the brackets from the end of a string
967
+ *
968
+ * @param {string} key - The key of the parameter.
969
+ *
970
+ * @returns {string} the key without the brackets.
971
+ */
972
+ function removeBrackets(key) {
973
+ return utils$1.endsWith(key, '[]') ? key.slice(0, -2) : key;
974
+ }
975
+
976
+ /**
977
+ * It takes a path, a key, and a boolean, and returns a string
978
+ *
979
+ * @param {string} path - The path to the current key.
980
+ * @param {string} key - The key of the current object being iterated over.
981
+ * @param {string} dots - If true, the key will be rendered with dots instead of brackets.
982
+ *
983
+ * @returns {string} The path to the current key.
984
+ */
985
+ function renderKey(path, key, dots) {
986
+ if (!path) return key;
987
+ return path.concat(key).map(function each(token, i) {
988
+ // eslint-disable-next-line no-param-reassign
989
+ token = removeBrackets(token);
990
+ return !dots && i ? '[' + token + ']' : token;
991
+ }).join(dots ? '.' : '');
992
+ }
993
+
994
+ /**
995
+ * If the array is an array and none of its elements are visitable, then it's a flat array.
996
+ *
997
+ * @param {Array<any>} arr - The array to check
998
+ *
999
+ * @returns {boolean}
1000
+ */
1001
+ function isFlatArray(arr) {
1002
+ return utils$1.isArray(arr) && !arr.some(isVisitable);
1003
+ }
1004
+ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
1005
+ return /^is[A-Z]/.test(prop);
1006
+ });
1007
+
1008
+ /**
1009
+ * Convert a data object to FormData
1010
+ *
1011
+ * @param {Object} obj
1012
+ * @param {?Object} [formData]
1013
+ * @param {?Object} [options]
1014
+ * @param {Function} [options.visitor]
1015
+ * @param {Boolean} [options.metaTokens = true]
1016
+ * @param {Boolean} [options.dots = false]
1017
+ * @param {?Boolean} [options.indexes = false]
1018
+ *
1019
+ * @returns {Object}
1020
+ **/
1021
+
1022
+ /**
1023
+ * It converts an object into a FormData object
1024
+ *
1025
+ * @param {Object<any, any>} obj - The object to convert to form data.
1026
+ * @param {string} formData - The FormData object to append to.
1027
+ * @param {Object<string, any>} options
1028
+ *
1029
+ * @returns
1030
+ */
1031
+ function toFormData(obj, formData, options) {
1032
+ if (!utils$1.isObject(obj)) {
1033
+ throw new TypeError('target must be an object');
1034
+ }
1035
+
1036
+ // eslint-disable-next-line no-param-reassign
1037
+ formData = formData || new (FormData$1 || FormData)();
1038
+
1039
+ // eslint-disable-next-line no-param-reassign
1040
+ options = utils$1.toFlatObject(options, {
1041
+ metaTokens: true,
1042
+ dots: false,
1043
+ indexes: false
1044
+ }, false, function defined(option, source) {
1045
+ // eslint-disable-next-line no-eq-null,eqeqeq
1046
+ return !utils$1.isUndefined(source[option]);
1047
+ });
1048
+ const metaTokens = options.metaTokens;
1049
+ // eslint-disable-next-line no-use-before-define
1050
+ const visitor = options.visitor || defaultVisitor;
1051
+ const dots = options.dots;
1052
+ const indexes = options.indexes;
1053
+ const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
1054
+ const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
1055
+ if (!utils$1.isFunction(visitor)) {
1056
+ throw new TypeError('visitor must be a function');
1057
+ }
1058
+ function convertValue(value) {
1059
+ if (value === null) return '';
1060
+ if (utils$1.isDate(value)) {
1061
+ return value.toISOString();
1062
+ }
1063
+ if (utils$1.isBoolean(value)) {
1064
+ return value.toString();
1065
+ }
1066
+ if (!useBlob && utils$1.isBlob(value)) {
1067
+ throw new AxiosError('Blob is not supported. Use a Buffer instead.');
1068
+ }
1069
+ if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
1070
+ return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
1071
+ }
1072
+ return value;
1073
+ }
1074
+
1075
+ /**
1076
+ * Default visitor.
1077
+ *
1078
+ * @param {*} value
1079
+ * @param {String|Number} key
1080
+ * @param {Array<String|Number>} path
1081
+ * @this {FormData}
1082
+ *
1083
+ * @returns {boolean} return true to visit the each prop of the value recursively
1084
+ */
1085
+ function defaultVisitor(value, key, path) {
1086
+ let arr = value;
1087
+ if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
1088
+ formData.append(renderKey(path, key, dots), convertValue(value));
1089
+ return false;
1090
+ }
1091
+ if (value && !path && typeof value === 'object') {
1092
+ if (utils$1.endsWith(key, '{}')) {
1093
+ // eslint-disable-next-line no-param-reassign
1094
+ key = metaTokens ? key : key.slice(0, -2);
1095
+ // eslint-disable-next-line no-param-reassign
1096
+ value = JSON.stringify(value);
1097
+ } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) {
1098
+ // eslint-disable-next-line no-param-reassign
1099
+ key = removeBrackets(key);
1100
+ arr.forEach(function each(el, index) {
1101
+ !(utils$1.isUndefined(el) || el === null) && formData.append(
1102
+ // eslint-disable-next-line no-nested-ternary
1103
+ indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el));
1104
+ });
1105
+ return false;
1106
+ }
1107
+ }
1108
+ if (isVisitable(value)) {
1109
+ return true;
1110
+ }
1111
+ formData.append(renderKey(path, key, dots), convertValue(value));
1112
+ return false;
1113
+ }
1114
+ const stack = [];
1115
+ const exposedHelpers = Object.assign(predicates, {
1116
+ defaultVisitor,
1117
+ convertValue,
1118
+ isVisitable
1119
+ });
1120
+ function build(value, path) {
1121
+ if (utils$1.isUndefined(value)) return;
1122
+ if (stack.indexOf(value) !== -1) {
1123
+ throw Error('Circular reference detected in ' + path.join('.'));
1124
+ }
1125
+ stack.push(value);
1126
+ utils$1.forEach(value, function each(el, key) {
1127
+ const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
1128
+ if (result === true) {
1129
+ build(el, path ? path.concat(key) : [key]);
1130
+ }
1131
+ });
1132
+ stack.pop();
1133
+ }
1134
+ if (!utils$1.isObject(obj)) {
1135
+ throw new TypeError('data must be an object');
1136
+ }
1137
+ build(obj);
1138
+ return formData;
1139
+ }
1140
+
1141
+ /**
1142
+ * It encodes a string by replacing all characters that are not in the unreserved set with
1143
+ * their percent-encoded equivalents
1144
+ *
1145
+ * @param {string} str - The string to encode.
1146
+ *
1147
+ * @returns {string} The encoded string.
1148
+ */
1149
+ function encode$1(str) {
1150
+ const charMap = {
1151
+ '!': '%21',
1152
+ "'": '%27',
1153
+ '(': '%28',
1154
+ ')': '%29',
1155
+ '~': '%7E',
1156
+ '%20': '+',
1157
+ '%00': '\x00'
1158
+ };
1159
+ return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
1160
+ return charMap[match];
1161
+ });
1162
+ }
1163
+
1164
+ /**
1165
+ * It takes a params object and converts it to a FormData object
1166
+ *
1167
+ * @param {Object<string, any>} params - The parameters to be converted to a FormData object.
1168
+ * @param {Object<string, any>} options - The options object passed to the Axios constructor.
1169
+ *
1170
+ * @returns {void}
1171
+ */
1172
+ function AxiosURLSearchParams(params, options) {
1173
+ this._pairs = [];
1174
+ params && toFormData(params, this, options);
1175
+ }
1176
+ const prototype = AxiosURLSearchParams.prototype;
1177
+ prototype.append = function append(name, value) {
1178
+ this._pairs.push([name, value]);
1179
+ };
1180
+ prototype.toString = function toString(encoder) {
1181
+ const _encode = encoder ? function (value) {
1182
+ return encoder.call(this, value, encode$1);
1183
+ } : encode$1;
1184
+ return this._pairs.map(function each(pair) {
1185
+ return _encode(pair[0]) + '=' + _encode(pair[1]);
1186
+ }, '').join('&');
1187
+ };
1188
+
1189
+ /**
1190
+ * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
1191
+ * their plain counterparts (`:`, `$`, `,`, `+`).
1192
+ *
1193
+ * @param {string} val The value to be encoded.
1194
+ *
1195
+ * @returns {string} The encoded value.
1196
+ */
1197
+ function encode(val) {
1198
+ return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+');
1199
+ }
1200
+
1201
+ /**
1202
+ * Build a URL by appending params to the end
1203
+ *
1204
+ * @param {string} url The base of the url (e.g., http://www.google.com)
1205
+ * @param {object} [params] The params to be appended
1206
+ * @param {?(object|Function)} options
1207
+ *
1208
+ * @returns {string} The formatted url
1209
+ */
1210
+ function buildURL(url, params, options) {
1211
+ if (!params) {
1212
+ return url;
1213
+ }
1214
+ const _encode = options && options.encode || encode;
1215
+ const _options = utils$1.isFunction(options) ? {
1216
+ serialize: options
1217
+ } : options;
1218
+ const serializeFn = _options && _options.serialize;
1219
+ let serializedParams;
1220
+ if (serializeFn) {
1221
+ serializedParams = serializeFn(params, _options);
1222
+ } else {
1223
+ serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
1224
+ }
1225
+ if (serializedParams) {
1226
+ const hashmarkIndex = url.indexOf('#');
1227
+ if (hashmarkIndex !== -1) {
1228
+ url = url.slice(0, hashmarkIndex);
1229
+ }
1230
+ url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
1231
+ }
1232
+ return url;
1233
+ }
1234
+
1235
+ class InterceptorManager {
1236
+ constructor() {
1237
+ this.handlers = [];
1238
+ }
1239
+
1240
+ /**
1241
+ * Add a new interceptor to the stack
1242
+ *
1243
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
1244
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
1245
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
1246
+ *
1247
+ * @return {Number} An ID used to remove interceptor later
1248
+ */
1249
+ use(fulfilled, rejected, options) {
1250
+ this.handlers.push({
1251
+ fulfilled,
1252
+ rejected,
1253
+ synchronous: options ? options.synchronous : false,
1254
+ runWhen: options ? options.runWhen : null
1255
+ });
1256
+ return this.handlers.length - 1;
1257
+ }
1258
+
1259
+ /**
1260
+ * Remove an interceptor from the stack
1261
+ *
1262
+ * @param {Number} id The ID that was returned by `use`
1263
+ *
1264
+ * @returns {void}
1265
+ */
1266
+ eject(id) {
1267
+ if (this.handlers[id]) {
1268
+ this.handlers[id] = null;
1269
+ }
1270
+ }
1271
+
1272
+ /**
1273
+ * Clear all interceptors from the stack
1274
+ *
1275
+ * @returns {void}
1276
+ */
1277
+ clear() {
1278
+ if (this.handlers) {
1279
+ this.handlers = [];
1280
+ }
1281
+ }
1282
+
1283
+ /**
1284
+ * Iterate over all the registered interceptors
1285
+ *
1286
+ * This method is particularly useful for skipping over any
1287
+ * interceptors that may have become `null` calling `eject`.
1288
+ *
1289
+ * @param {Function} fn The function to call for each interceptor
1290
+ *
1291
+ * @returns {void}
1292
+ */
1293
+ forEach(fn) {
1294
+ utils$1.forEach(this.handlers, function forEachHandler(h) {
1295
+ if (h !== null) {
1296
+ fn(h);
1297
+ }
1298
+ });
1299
+ }
1300
+ }
1301
+
1302
+ var transitionalDefaults = {
1303
+ silentJSONParsing: true,
1304
+ forcedJSONParsing: true,
1305
+ clarifyTimeoutError: false,
1306
+ legacyInterceptorReqResOrdering: true
1307
+ };
1308
+
1309
+ var URLSearchParams = url.URLSearchParams;
1310
+
1311
+ const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
1312
+ const DIGIT = '0123456789';
1313
+ const ALPHABET = {
1314
+ DIGIT,
1315
+ ALPHA,
1316
+ ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
1317
+ };
1318
+ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
1319
+ let str = '';
1320
+ const {
1321
+ length
1322
+ } = alphabet;
1323
+ const randomValues = new Uint32Array(size);
1324
+ crypto.randomFillSync(randomValues);
1325
+ for (let i = 0; i < size; i++) {
1326
+ str += alphabet[randomValues[i] % length];
1327
+ }
1328
+ return str;
1329
+ };
1330
+ var platform$1 = {
1331
+ isNode: true,
1332
+ classes: {
1333
+ URLSearchParams,
1334
+ FormData: FormData$1,
1335
+ Blob: typeof Blob !== 'undefined' && Blob || null
1336
+ },
1337
+ ALPHABET,
1338
+ generateString,
1339
+ protocols: ['http', 'https', 'file', 'data']
1340
+ };
1341
+
1342
+ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
1343
+ const _navigator = typeof navigator === 'object' && navigator || undefined;
1344
+
1345
+ /**
1346
+ * Determine if we're running in a standard browser environment
1347
+ *
1348
+ * This allows axios to run in a web worker, and react-native.
1349
+ * Both environments support XMLHttpRequest, but not fully standard globals.
1350
+ *
1351
+ * web workers:
1352
+ * typeof window -> undefined
1353
+ * typeof document -> undefined
1354
+ *
1355
+ * react-native:
1356
+ * navigator.product -> 'ReactNative'
1357
+ * nativescript
1358
+ * navigator.product -> 'NativeScript' or 'NS'
1359
+ *
1360
+ * @returns {boolean}
1361
+ */
1362
+ const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
1363
+
1364
+ /**
1365
+ * Determine if we're running in a standard browser webWorker environment
1366
+ *
1367
+ * Although the `isStandardBrowserEnv` method indicates that
1368
+ * `allows axios to run in a web worker`, the WebWorker will still be
1369
+ * filtered out due to its judgment standard
1370
+ * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
1371
+ * This leads to a problem when axios post `FormData` in webWorker
1372
+ */
1373
+ const hasStandardBrowserWebWorkerEnv = (() => {
1374
+ return typeof WorkerGlobalScope !== 'undefined' &&
1375
+ // eslint-disable-next-line no-undef
1376
+ self instanceof WorkerGlobalScope && typeof self.importScripts === 'function';
1377
+ })();
1378
+ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
1379
+
1380
+ var utils = /*#__PURE__*/Object.freeze({
1381
+ __proto__: null,
1382
+ hasBrowserEnv: hasBrowserEnv,
1383
+ hasStandardBrowserEnv: hasStandardBrowserEnv,
1384
+ hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
1385
+ navigator: _navigator,
1386
+ origin: origin
1387
+ });
1388
+
1389
+ var platform = {
1390
+ ...utils,
1391
+ ...platform$1
1392
+ };
1393
+
1394
+ function toURLEncodedForm(data, options) {
1395
+ return toFormData(data, new platform.classes.URLSearchParams(), {
1396
+ visitor: function (value, key, path, helpers) {
1397
+ if (platform.isNode && utils$1.isBuffer(value)) {
1398
+ this.append(key, value.toString('base64'));
1399
+ return false;
1400
+ }
1401
+ return helpers.defaultVisitor.apply(this, arguments);
1402
+ },
1403
+ ...options
1404
+ });
1405
+ }
1406
+
1407
+ /**
1408
+ * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
1409
+ *
1410
+ * @param {string} name - The name of the property to get.
1411
+ *
1412
+ * @returns An array of strings.
1413
+ */
1414
+ function parsePropPath(name) {
1415
+ // foo[x][y][z]
1416
+ // foo.x.y.z
1417
+ // foo-x-y-z
1418
+ // foo x y z
1419
+ return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
1420
+ return match[0] === '[]' ? '' : match[1] || match[0];
1421
+ });
1422
+ }
1423
+
1424
+ /**
1425
+ * Convert an array to an object.
1426
+ *
1427
+ * @param {Array<any>} arr - The array to convert to an object.
1428
+ *
1429
+ * @returns An object with the same keys and values as the array.
1430
+ */
1431
+ function arrayToObject(arr) {
1432
+ const obj = {};
1433
+ const keys = Object.keys(arr);
1434
+ let i;
1435
+ const len = keys.length;
1436
+ let key;
1437
+ for (i = 0; i < len; i++) {
1438
+ key = keys[i];
1439
+ obj[key] = arr[key];
1440
+ }
1441
+ return obj;
1442
+ }
1443
+
1444
+ /**
1445
+ * It takes a FormData object and returns a JavaScript object
1446
+ *
1447
+ * @param {string} formData The FormData object to convert to JSON.
1448
+ *
1449
+ * @returns {Object<string, any> | null} The converted object.
1450
+ */
1451
+ function formDataToJSON(formData) {
1452
+ function buildPath(path, value, target, index) {
1453
+ let name = path[index++];
1454
+ if (name === '__proto__') return true;
1455
+ const isNumericKey = Number.isFinite(+name);
1456
+ const isLast = index >= path.length;
1457
+ name = !name && utils$1.isArray(target) ? target.length : name;
1458
+ if (isLast) {
1459
+ if (utils$1.hasOwnProp(target, name)) {
1460
+ target[name] = [target[name], value];
1461
+ } else {
1462
+ target[name] = value;
1463
+ }
1464
+ return !isNumericKey;
1465
+ }
1466
+ if (!target[name] || !utils$1.isObject(target[name])) {
1467
+ target[name] = [];
1468
+ }
1469
+ const result = buildPath(path, value, target[name], index);
1470
+ if (result && utils$1.isArray(target[name])) {
1471
+ target[name] = arrayToObject(target[name]);
1472
+ }
1473
+ return !isNumericKey;
1474
+ }
1475
+ if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
1476
+ const obj = {};
1477
+ utils$1.forEachEntry(formData, (name, value) => {
1478
+ buildPath(parsePropPath(name), value, obj, 0);
1479
+ });
1480
+ return obj;
1481
+ }
1482
+ return null;
1483
+ }
1484
+
1485
+ /**
1486
+ * It takes a string, tries to parse it, and if it fails, it returns the stringified version
1487
+ * of the input
1488
+ *
1489
+ * @param {any} rawValue - The value to be stringified.
1490
+ * @param {Function} parser - A function that parses a string into a JavaScript object.
1491
+ * @param {Function} encoder - A function that takes a value and returns a string.
1492
+ *
1493
+ * @returns {string} A stringified version of the rawValue.
1494
+ */
1495
+ function stringifySafely(rawValue, parser, encoder) {
1496
+ if (utils$1.isString(rawValue)) {
1497
+ try {
1498
+ (parser || JSON.parse)(rawValue);
1499
+ return utils$1.trim(rawValue);
1500
+ } catch (e) {
1501
+ if (e.name !== 'SyntaxError') {
1502
+ throw e;
1503
+ }
1504
+ }
1505
+ }
1506
+ return (encoder || JSON.stringify)(rawValue);
1507
+ }
1508
+ const defaults = {
1509
+ transitional: transitionalDefaults,
1510
+ adapter: ['xhr', 'http', 'fetch'],
1511
+ transformRequest: [function transformRequest(data, headers) {
1512
+ const contentType = headers.getContentType() || '';
1513
+ const hasJSONContentType = contentType.indexOf('application/json') > -1;
1514
+ const isObjectPayload = utils$1.isObject(data);
1515
+ if (isObjectPayload && utils$1.isHTMLForm(data)) {
1516
+ data = new FormData(data);
1517
+ }
1518
+ const isFormData = utils$1.isFormData(data);
1519
+ if (isFormData) {
1520
+ return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
1521
+ }
1522
+ if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
1523
+ return data;
1524
+ }
1525
+ if (utils$1.isArrayBufferView(data)) {
1526
+ return data.buffer;
1527
+ }
1528
+ if (utils$1.isURLSearchParams(data)) {
1529
+ headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
1530
+ return data.toString();
1531
+ }
1532
+ let isFileList;
1533
+ if (isObjectPayload) {
1534
+ if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
1535
+ return toURLEncodedForm(data, this.formSerializer).toString();
1536
+ }
1537
+ if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
1538
+ const _FormData = this.env && this.env.FormData;
1539
+ return toFormData(isFileList ? {
1540
+ 'files[]': data
1541
+ } : data, _FormData && new _FormData(), this.formSerializer);
1542
+ }
1543
+ }
1544
+ if (isObjectPayload || hasJSONContentType) {
1545
+ headers.setContentType('application/json', false);
1546
+ return stringifySafely(data);
1547
+ }
1548
+ return data;
1549
+ }],
1550
+ transformResponse: [function transformResponse(data) {
1551
+ const transitional = this.transitional || defaults.transitional;
1552
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1553
+ const JSONRequested = this.responseType === 'json';
1554
+ if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
1555
+ return data;
1556
+ }
1557
+ if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
1558
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
1559
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
1560
+ try {
1561
+ return JSON.parse(data, this.parseReviver);
1562
+ } catch (e) {
1563
+ if (strictJSONParsing) {
1564
+ if (e.name === 'SyntaxError') {
1565
+ throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
1566
+ }
1567
+ throw e;
1568
+ }
1569
+ }
1570
+ }
1571
+ return data;
1572
+ }],
1573
+ /**
1574
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
1575
+ * timeout is not created.
1576
+ */
1577
+ timeout: 0,
1578
+ xsrfCookieName: 'XSRF-TOKEN',
1579
+ xsrfHeaderName: 'X-XSRF-TOKEN',
1580
+ maxContentLength: -1,
1581
+ maxBodyLength: -1,
1582
+ env: {
1583
+ FormData: platform.classes.FormData,
1584
+ Blob: platform.classes.Blob
1585
+ },
1586
+ validateStatus: function validateStatus(status) {
1587
+ return status >= 200 && status < 300;
1588
+ },
1589
+ headers: {
1590
+ common: {
1591
+ Accept: 'application/json, text/plain, */*',
1592
+ 'Content-Type': undefined
1593
+ }
1594
+ }
1595
+ };
1596
+ utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], method => {
1597
+ defaults.headers[method] = {};
1598
+ });
1599
+
1600
+ // RawAxiosHeaders whose duplicates are ignored by node
1601
+ // c.f. https://nodejs.org/api/http.html#http_message_headers
1602
+ const ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']);
1603
+
1604
+ /**
1605
+ * Parse headers into an object
1606
+ *
1607
+ * ```
1608
+ * Date: Wed, 27 Aug 2014 08:58:49 GMT
1609
+ * Content-Type: application/json
1610
+ * Connection: keep-alive
1611
+ * Transfer-Encoding: chunked
1612
+ * ```
1613
+ *
1614
+ * @param {String} rawHeaders Headers needing to be parsed
1615
+ *
1616
+ * @returns {Object} Headers parsed into an object
1617
+ */
1618
+ var parseHeaders = rawHeaders => {
1619
+ const parsed = {};
1620
+ let key;
1621
+ let val;
1622
+ let i;
1623
+ rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
1624
+ i = line.indexOf(':');
1625
+ key = line.substring(0, i).trim().toLowerCase();
1626
+ val = line.substring(i + 1).trim();
1627
+ if (!key || parsed[key] && ignoreDuplicateOf[key]) {
1628
+ return;
1629
+ }
1630
+ if (key === 'set-cookie') {
1631
+ if (parsed[key]) {
1632
+ parsed[key].push(val);
1633
+ } else {
1634
+ parsed[key] = [val];
1635
+ }
1636
+ } else {
1637
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1638
+ }
1639
+ });
1640
+ return parsed;
1641
+ };
1642
+
1643
+ const $internals = Symbol('internals');
1644
+ function normalizeHeader(header) {
1645
+ return header && String(header).trim().toLowerCase();
1646
+ }
1647
+ function normalizeValue(value) {
1648
+ if (value === false || value == null) {
1649
+ return value;
1650
+ }
1651
+ return utils$1.isArray(value) ? value.map(normalizeValue) : String(value).replace(/[\r\n]+$/, '');
1652
+ }
1653
+ function parseTokens(str) {
1654
+ const tokens = Object.create(null);
1655
+ const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1656
+ let match;
1657
+ while (match = tokensRE.exec(str)) {
1658
+ tokens[match[1]] = match[2];
1659
+ }
1660
+ return tokens;
1661
+ }
1662
+ const isValidHeaderName = str => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
1663
+ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
1664
+ if (utils$1.isFunction(filter)) {
1665
+ return filter.call(this, value, header);
1666
+ }
1667
+ if (isHeaderNameFilter) {
1668
+ value = header;
1669
+ }
1670
+ if (!utils$1.isString(value)) return;
1671
+ if (utils$1.isString(filter)) {
1672
+ return value.indexOf(filter) !== -1;
1673
+ }
1674
+ if (utils$1.isRegExp(filter)) {
1675
+ return filter.test(value);
1676
+ }
1677
+ }
1678
+ function formatHeader(header) {
1679
+ return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
1680
+ return char.toUpperCase() + str;
1681
+ });
1682
+ }
1683
+ function buildAccessors(obj, header) {
1684
+ const accessorName = utils$1.toCamelCase(' ' + header);
1685
+ ['get', 'set', 'has'].forEach(methodName => {
1686
+ Object.defineProperty(obj, methodName + accessorName, {
1687
+ value: function (arg1, arg2, arg3) {
1688
+ return this[methodName].call(this, header, arg1, arg2, arg3);
1689
+ },
1690
+ configurable: true
1691
+ });
1692
+ });
1693
+ }
1694
+ class AxiosHeaders {
1695
+ constructor(headers) {
1696
+ headers && this.set(headers);
1697
+ }
1698
+ set(header, valueOrRewrite, rewrite) {
1699
+ const self = this;
1700
+ function setHeader(_value, _header, _rewrite) {
1701
+ const lHeader = normalizeHeader(_header);
1702
+ if (!lHeader) {
1703
+ throw new Error('header name must be a non-empty string');
1704
+ }
1705
+ const key = utils$1.findKey(self, lHeader);
1706
+ if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) {
1707
+ self[key || _header] = normalizeValue(_value);
1708
+ }
1709
+ }
1710
+ const setHeaders = (headers, _rewrite) => utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
1711
+ if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
1712
+ setHeaders(header, valueOrRewrite);
1713
+ } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
1714
+ setHeaders(parseHeaders(header), valueOrRewrite);
1715
+ } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
1716
+ let obj = {},
1717
+ dest,
1718
+ key;
1719
+ for (const entry of header) {
1720
+ if (!utils$1.isArray(entry)) {
1721
+ throw TypeError('Object iterator must return a key-value pair');
1722
+ }
1723
+ obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
1724
+ }
1725
+ setHeaders(obj, valueOrRewrite);
1726
+ } else {
1727
+ header != null && setHeader(valueOrRewrite, header, rewrite);
1728
+ }
1729
+ return this;
1730
+ }
1731
+ get(header, parser) {
1732
+ header = normalizeHeader(header);
1733
+ if (header) {
1734
+ const key = utils$1.findKey(this, header);
1735
+ if (key) {
1736
+ const value = this[key];
1737
+ if (!parser) {
1738
+ return value;
1739
+ }
1740
+ if (parser === true) {
1741
+ return parseTokens(value);
1742
+ }
1743
+ if (utils$1.isFunction(parser)) {
1744
+ return parser.call(this, value, key);
1745
+ }
1746
+ if (utils$1.isRegExp(parser)) {
1747
+ return parser.exec(value);
1748
+ }
1749
+ throw new TypeError('parser must be boolean|regexp|function');
1750
+ }
1751
+ }
1752
+ }
1753
+ has(header, matcher) {
1754
+ header = normalizeHeader(header);
1755
+ if (header) {
1756
+ const key = utils$1.findKey(this, header);
1757
+ return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
1758
+ }
1759
+ return false;
1760
+ }
1761
+ delete(header, matcher) {
1762
+ const self = this;
1763
+ let deleted = false;
1764
+ function deleteHeader(_header) {
1765
+ _header = normalizeHeader(_header);
1766
+ if (_header) {
1767
+ const key = utils$1.findKey(self, _header);
1768
+ if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
1769
+ delete self[key];
1770
+ deleted = true;
1771
+ }
1772
+ }
1773
+ }
1774
+ if (utils$1.isArray(header)) {
1775
+ header.forEach(deleteHeader);
1776
+ } else {
1777
+ deleteHeader(header);
1778
+ }
1779
+ return deleted;
1780
+ }
1781
+ clear(matcher) {
1782
+ const keys = Object.keys(this);
1783
+ let i = keys.length;
1784
+ let deleted = false;
1785
+ while (i--) {
1786
+ const key = keys[i];
1787
+ if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
1788
+ delete this[key];
1789
+ deleted = true;
1790
+ }
1791
+ }
1792
+ return deleted;
1793
+ }
1794
+ normalize(format) {
1795
+ const self = this;
1796
+ const headers = {};
1797
+ utils$1.forEach(this, (value, header) => {
1798
+ const key = utils$1.findKey(headers, header);
1799
+ if (key) {
1800
+ self[key] = normalizeValue(value);
1801
+ delete self[header];
1802
+ return;
1803
+ }
1804
+ const normalized = format ? formatHeader(header) : String(header).trim();
1805
+ if (normalized !== header) {
1806
+ delete self[header];
1807
+ }
1808
+ self[normalized] = normalizeValue(value);
1809
+ headers[normalized] = true;
1810
+ });
1811
+ return this;
1812
+ }
1813
+ concat(...targets) {
1814
+ return this.constructor.concat(this, ...targets);
1815
+ }
1816
+ toJSON(asStrings) {
1817
+ const obj = Object.create(null);
1818
+ utils$1.forEach(this, (value, header) => {
1819
+ value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
1820
+ });
1821
+ return obj;
1822
+ }
1823
+ [Symbol.iterator]() {
1824
+ return Object.entries(this.toJSON())[Symbol.iterator]();
1825
+ }
1826
+ toString() {
1827
+ return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
1828
+ }
1829
+ getSetCookie() {
1830
+ return this.get('set-cookie') || [];
1831
+ }
1832
+ get [Symbol.toStringTag]() {
1833
+ return 'AxiosHeaders';
1834
+ }
1835
+ static from(thing) {
1836
+ return thing instanceof this ? thing : new this(thing);
1837
+ }
1838
+ static concat(first, ...targets) {
1839
+ const computed = new this(first);
1840
+ targets.forEach(target => computed.set(target));
1841
+ return computed;
1842
+ }
1843
+ static accessor(header) {
1844
+ const internals = this[$internals] = this[$internals] = {
1845
+ accessors: {}
1846
+ };
1847
+ const accessors = internals.accessors;
1848
+ const prototype = this.prototype;
1849
+ function defineAccessor(_header) {
1850
+ const lHeader = normalizeHeader(_header);
1851
+ if (!accessors[lHeader]) {
1852
+ buildAccessors(prototype, _header);
1853
+ accessors[lHeader] = true;
1854
+ }
1855
+ }
1856
+ utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
1857
+ return this;
1858
+ }
1859
+ }
1860
+ AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
1861
+
1862
+ // reserved names hotfix
1863
+ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({
1864
+ value
1865
+ }, key) => {
1866
+ let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
1867
+ return {
1868
+ get: () => value,
1869
+ set(headerValue) {
1870
+ this[mapped] = headerValue;
1871
+ }
1872
+ };
1873
+ });
1874
+ utils$1.freezeMethods(AxiosHeaders);
1875
+
1876
+ /**
1877
+ * Transform the data for a request or a response
1878
+ *
1879
+ * @param {Array|Function} fns A single function or Array of functions
1880
+ * @param {?Object} response The response object
1881
+ *
1882
+ * @returns {*} The resulting transformed data
1883
+ */
1884
+ function transformData(fns, response) {
1885
+ const config = this || defaults;
1886
+ const context = response || config;
1887
+ const headers = AxiosHeaders.from(context.headers);
1888
+ let data = context.data;
1889
+ utils$1.forEach(fns, function transform(fn) {
1890
+ data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
1891
+ });
1892
+ headers.normalize();
1893
+ return data;
1894
+ }
1895
+
1896
+ function isCancel(value) {
1897
+ return !!(value && value.__CANCEL__);
1898
+ }
1899
+
1900
+ class CanceledError extends AxiosError {
1901
+ /**
1902
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
1903
+ *
1904
+ * @param {string=} message The message.
1905
+ * @param {Object=} config The config.
1906
+ * @param {Object=} request The request.
1907
+ *
1908
+ * @returns {CanceledError} The created error.
1909
+ */
1910
+ constructor(message, config, request) {
1911
+ super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
1912
+ this.name = 'CanceledError';
1913
+ this.__CANCEL__ = true;
1914
+ }
1915
+ }
1916
+
1917
+ /**
1918
+ * Resolve or reject a Promise based on response status.
1919
+ *
1920
+ * @param {Function} resolve A function that resolves the promise.
1921
+ * @param {Function} reject A function that rejects the promise.
1922
+ * @param {object} response The response.
1923
+ *
1924
+ * @returns {object} The response.
1925
+ */
1926
+ function settle(resolve, reject, response) {
1927
+ const validateStatus = response.config.validateStatus;
1928
+ if (!response.status || !validateStatus || validateStatus(response.status)) {
1929
+ resolve(response);
1930
+ } else {
1931
+ reject(new AxiosError('Request failed with status code ' + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
1932
+ }
1933
+ }
1934
+
1935
+ /**
1936
+ * Determines whether the specified URL is absolute
1937
+ *
1938
+ * @param {string} url The URL to test
1939
+ *
1940
+ * @returns {boolean} True if the specified URL is absolute, otherwise false
1941
+ */
1942
+ function isAbsoluteURL(url) {
1943
+ // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
1944
+ // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
1945
+ // by any combination of letters, digits, plus, period, or hyphen.
1946
+ if (typeof url !== 'string') {
1947
+ return false;
1948
+ }
1949
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
1950
+ }
1951
+
1952
+ /**
1953
+ * Creates a new URL by combining the specified URLs
1954
+ *
1955
+ * @param {string} baseURL The base URL
1956
+ * @param {string} relativeURL The relative URL
1957
+ *
1958
+ * @returns {string} The combined URL
1959
+ */
1960
+ function combineURLs(baseURL, relativeURL) {
1961
+ return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
1962
+ }
1963
+
1964
+ /**
1965
+ * Creates a new URL by combining the baseURL with the requestedURL,
1966
+ * only when the requestedURL is not already an absolute URL.
1967
+ * If the requestURL is absolute, this function returns the requestedURL untouched.
1968
+ *
1969
+ * @param {string} baseURL The base URL
1970
+ * @param {string} requestedURL Absolute or relative URL to combine
1971
+ *
1972
+ * @returns {string} The combined full path
1973
+ */
1974
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
1975
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
1976
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
1977
+ return combineURLs(baseURL, requestedURL);
1978
+ }
1979
+ return requestedURL;
1980
+ }
1981
+
1982
+ var DEFAULT_PORTS = {
1983
+ ftp: 21,
1984
+ gopher: 70,
1985
+ http: 80,
1986
+ https: 443,
1987
+ ws: 80,
1988
+ wss: 443
1989
+ };
1990
+ function parseUrl(urlString) {
1991
+ try {
1992
+ return new URL(urlString);
1993
+ } catch {
1994
+ return null;
1995
+ }
1996
+ }
1997
+
1998
+ /**
1999
+ * @param {string|object|URL} url - The URL as a string or URL instance, or a
2000
+ * compatible object (such as the result from legacy url.parse).
2001
+ * @return {string} The URL of the proxy that should handle the request to the
2002
+ * given URL. If no proxy is set, this will be an empty string.
2003
+ */
2004
+ function getProxyForUrl(url) {
2005
+ var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {};
2006
+ var proto = parsedUrl.protocol;
2007
+ var hostname = parsedUrl.host;
2008
+ var port = parsedUrl.port;
2009
+ if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') {
2010
+ return ''; // Don't proxy URLs without a valid scheme or host.
2011
+ }
2012
+ proto = proto.split(':', 1)[0];
2013
+ // Stripping ports in this way instead of using parsedUrl.hostname to make
2014
+ // sure that the brackets around IPv6 addresses are kept.
2015
+ hostname = hostname.replace(/:\d*$/, '');
2016
+ port = parseInt(port) || DEFAULT_PORTS[proto] || 0;
2017
+ if (!shouldProxy(hostname, port)) {
2018
+ return ''; // Don't proxy URLs that match NO_PROXY.
2019
+ }
2020
+ var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy');
2021
+ if (proxy && proxy.indexOf('://') === -1) {
2022
+ // Missing scheme in proxy, default to the requested URL's scheme.
2023
+ proxy = proto + '://' + proxy;
2024
+ }
2025
+ return proxy;
2026
+ }
2027
+
2028
+ /**
2029
+ * Determines whether a given URL should be proxied.
2030
+ *
2031
+ * @param {string} hostname - The host name of the URL.
2032
+ * @param {number} port - The effective port of the URL.
2033
+ * @returns {boolean} Whether the given URL should be proxied.
2034
+ * @private
2035
+ */
2036
+ function shouldProxy(hostname, port) {
2037
+ var NO_PROXY = getEnv('no_proxy').toLowerCase();
2038
+ if (!NO_PROXY) {
2039
+ return true; // Always proxy if NO_PROXY is not set.
2040
+ }
2041
+ if (NO_PROXY === '*') {
2042
+ return false; // Never proxy if wildcard is set.
2043
+ }
2044
+ return NO_PROXY.split(/[,\s]/).every(function (proxy) {
2045
+ if (!proxy) {
2046
+ return true; // Skip zero-length hosts.
2047
+ }
2048
+ var parsedProxy = proxy.match(/^(.+):(\d+)$/);
2049
+ var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy;
2050
+ var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0;
2051
+ if (parsedProxyPort && parsedProxyPort !== port) {
2052
+ return true; // Skip if ports don't match.
2053
+ }
2054
+ if (!/^[.*]/.test(parsedProxyHostname)) {
2055
+ // No wildcards, so stop proxying if there is an exact match.
2056
+ return hostname !== parsedProxyHostname;
2057
+ }
2058
+ if (parsedProxyHostname.charAt(0) === '*') {
2059
+ // Remove leading wildcard.
2060
+ parsedProxyHostname = parsedProxyHostname.slice(1);
2061
+ }
2062
+ // Stop proxying if the hostname ends with the no_proxy host.
2063
+ return !hostname.endsWith(parsedProxyHostname);
2064
+ });
2065
+ }
2066
+
2067
+ /**
2068
+ * Get the value for an environment variable.
2069
+ *
2070
+ * @param {string} key - The name of the environment variable.
2071
+ * @return {string} The value of the environment variable.
2072
+ * @private
2073
+ */
2074
+ function getEnv(key) {
2075
+ return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
2076
+ }
2077
+
2078
+ const VERSION = "1.14.0";
2079
+
2080
+ function parseProtocol(url) {
2081
+ const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
2082
+ return match && match[1] || '';
2083
+ }
2084
+
2085
+ const DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
2086
+
2087
+ /**
2088
+ * Parse data uri to a Buffer or Blob
2089
+ *
2090
+ * @param {String} uri
2091
+ * @param {?Boolean} asBlob
2092
+ * @param {?Object} options
2093
+ * @param {?Function} options.Blob
2094
+ *
2095
+ * @returns {Buffer|Blob}
2096
+ */
2097
+ function fromDataURI(uri, asBlob, options) {
2098
+ const _Blob = options && options.Blob || platform.classes.Blob;
2099
+ const protocol = parseProtocol(uri);
2100
+ if (asBlob === undefined && _Blob) {
2101
+ asBlob = true;
2102
+ }
2103
+ if (protocol === 'data') {
2104
+ uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
2105
+ const match = DATA_URL_PATTERN.exec(uri);
2106
+ if (!match) {
2107
+ throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
2108
+ }
2109
+ const mime = match[1];
2110
+ const isBase64 = match[2];
2111
+ const body = match[3];
2112
+ const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
2113
+ if (asBlob) {
2114
+ if (!_Blob) {
2115
+ throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
2116
+ }
2117
+ return new _Blob([buffer], {
2118
+ type: mime
2119
+ });
2120
+ }
2121
+ return buffer;
2122
+ }
2123
+ throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
2124
+ }
2125
+
2126
+ const kInternals = Symbol('internals');
2127
+ class AxiosTransformStream extends stream.Transform {
2128
+ constructor(options) {
2129
+ options = utils$1.toFlatObject(options, {
2130
+ maxRate: 0,
2131
+ chunkSize: 64 * 1024,
2132
+ minChunkSize: 100,
2133
+ timeWindow: 500,
2134
+ ticksRate: 2,
2135
+ samplesCount: 15
2136
+ }, null, (prop, source) => {
2137
+ return !utils$1.isUndefined(source[prop]);
2138
+ });
2139
+ super({
2140
+ readableHighWaterMark: options.chunkSize
2141
+ });
2142
+ const internals = this[kInternals] = {
2143
+ timeWindow: options.timeWindow,
2144
+ chunkSize: options.chunkSize,
2145
+ maxRate: options.maxRate,
2146
+ minChunkSize: options.minChunkSize,
2147
+ bytesSeen: 0,
2148
+ isCaptured: false,
2149
+ notifiedBytesLoaded: 0,
2150
+ ts: Date.now(),
2151
+ bytes: 0,
2152
+ onReadCallback: null
2153
+ };
2154
+ this.on('newListener', event => {
2155
+ if (event === 'progress') {
2156
+ if (!internals.isCaptured) {
2157
+ internals.isCaptured = true;
2158
+ }
2159
+ }
2160
+ });
2161
+ }
2162
+ _read(size) {
2163
+ const internals = this[kInternals];
2164
+ if (internals.onReadCallback) {
2165
+ internals.onReadCallback();
2166
+ }
2167
+ return super._read(size);
2168
+ }
2169
+ _transform(chunk, encoding, callback) {
2170
+ const internals = this[kInternals];
2171
+ const maxRate = internals.maxRate;
2172
+ const readableHighWaterMark = this.readableHighWaterMark;
2173
+ const timeWindow = internals.timeWindow;
2174
+ const divider = 1000 / timeWindow;
2175
+ const bytesThreshold = maxRate / divider;
2176
+ const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0;
2177
+ const pushChunk = (_chunk, _callback) => {
2178
+ const bytes = Buffer.byteLength(_chunk);
2179
+ internals.bytesSeen += bytes;
2180
+ internals.bytes += bytes;
2181
+ internals.isCaptured && this.emit('progress', internals.bytesSeen);
2182
+ if (this.push(_chunk)) {
2183
+ process.nextTick(_callback);
2184
+ } else {
2185
+ internals.onReadCallback = () => {
2186
+ internals.onReadCallback = null;
2187
+ process.nextTick(_callback);
2188
+ };
2189
+ }
2190
+ };
2191
+ const transformChunk = (_chunk, _callback) => {
2192
+ const chunkSize = Buffer.byteLength(_chunk);
2193
+ let chunkRemainder = null;
2194
+ let maxChunkSize = readableHighWaterMark;
2195
+ let bytesLeft;
2196
+ let passed = 0;
2197
+ if (maxRate) {
2198
+ const now = Date.now();
2199
+ if (!internals.ts || (passed = now - internals.ts) >= timeWindow) {
2200
+ internals.ts = now;
2201
+ bytesLeft = bytesThreshold - internals.bytes;
2202
+ internals.bytes = bytesLeft < 0 ? -bytesLeft : 0;
2203
+ passed = 0;
2204
+ }
2205
+ bytesLeft = bytesThreshold - internals.bytes;
2206
+ }
2207
+ if (maxRate) {
2208
+ if (bytesLeft <= 0) {
2209
+ // next time window
2210
+ return setTimeout(() => {
2211
+ _callback(null, _chunk);
2212
+ }, timeWindow - passed);
2213
+ }
2214
+ if (bytesLeft < maxChunkSize) {
2215
+ maxChunkSize = bytesLeft;
2216
+ }
2217
+ }
2218
+ if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) {
2219
+ chunkRemainder = _chunk.subarray(maxChunkSize);
2220
+ _chunk = _chunk.subarray(0, maxChunkSize);
2221
+ }
2222
+ pushChunk(_chunk, chunkRemainder ? () => {
2223
+ process.nextTick(_callback, null, chunkRemainder);
2224
+ } : _callback);
2225
+ };
2226
+ transformChunk(chunk, function transformNextChunk(err, _chunk) {
2227
+ if (err) {
2228
+ return callback(err);
2229
+ }
2230
+ if (_chunk) {
2231
+ transformChunk(_chunk, transformNextChunk);
2232
+ } else {
2233
+ callback(null);
2234
+ }
2235
+ });
2236
+ }
2237
+ }
2238
+
2239
+ const {
2240
+ asyncIterator
2241
+ } = Symbol;
2242
+ const readBlob = async function* (blob) {
2243
+ if (blob.stream) {
2244
+ yield* blob.stream();
2245
+ } else if (blob.arrayBuffer) {
2246
+ yield await blob.arrayBuffer();
2247
+ } else if (blob[asyncIterator]) {
2248
+ yield* blob[asyncIterator]();
2249
+ } else {
2250
+ yield blob;
2251
+ }
2252
+ };
2253
+
2254
+ const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
2255
+ const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder();
2256
+ const CRLF = '\r\n';
2257
+ const CRLF_BYTES = textEncoder.encode(CRLF);
2258
+ const CRLF_BYTES_COUNT = 2;
2259
+ class FormDataPart {
2260
+ constructor(name, value) {
2261
+ const {
2262
+ escapeName
2263
+ } = this.constructor;
2264
+ const isStringValue = utils$1.isString(value);
2265
+ let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${!isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''}${CRLF}`;
2266
+ if (isStringValue) {
2267
+ value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF));
2268
+ } else {
2269
+ headers += `Content-Type: ${value.type || 'application/octet-stream'}${CRLF}`;
2270
+ }
2271
+ this.headers = textEncoder.encode(headers + CRLF);
2272
+ this.contentLength = isStringValue ? value.byteLength : value.size;
2273
+ this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT;
2274
+ this.name = name;
2275
+ this.value = value;
2276
+ }
2277
+ async *encode() {
2278
+ yield this.headers;
2279
+ const {
2280
+ value
2281
+ } = this;
2282
+ if (utils$1.isTypedArray(value)) {
2283
+ yield value;
2284
+ } else {
2285
+ yield* readBlob(value);
2286
+ }
2287
+ yield CRLF_BYTES;
2288
+ }
2289
+ static escapeName(name) {
2290
+ return String(name).replace(/[\r\n"]/g, match => ({
2291
+ '\r': '%0D',
2292
+ '\n': '%0A',
2293
+ '"': '%22'
2294
+ })[match]);
2295
+ }
2296
+ }
2297
+ const formDataToStream = (form, headersHandler, options) => {
2298
+ const {
2299
+ tag = 'form-data-boundary',
2300
+ size = 25,
2301
+ boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
2302
+ } = options || {};
2303
+ if (!utils$1.isFormData(form)) {
2304
+ throw TypeError('FormData instance required');
2305
+ }
2306
+ if (boundary.length < 1 || boundary.length > 70) {
2307
+ throw Error('boundary must be 10-70 characters long');
2308
+ }
2309
+ const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
2310
+ const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF);
2311
+ let contentLength = footerBytes.byteLength;
2312
+ const parts = Array.from(form.entries()).map(([name, value]) => {
2313
+ const part = new FormDataPart(name, value);
2314
+ contentLength += part.size;
2315
+ return part;
2316
+ });
2317
+ contentLength += boundaryBytes.byteLength * parts.length;
2318
+ contentLength = utils$1.toFiniteNumber(contentLength);
2319
+ const computedHeaders = {
2320
+ 'Content-Type': `multipart/form-data; boundary=${boundary}`
2321
+ };
2322
+ if (Number.isFinite(contentLength)) {
2323
+ computedHeaders['Content-Length'] = contentLength;
2324
+ }
2325
+ headersHandler && headersHandler(computedHeaders);
2326
+ return stream.Readable.from(async function* () {
2327
+ for (const part of parts) {
2328
+ yield boundaryBytes;
2329
+ yield* part.encode();
2330
+ }
2331
+ yield footerBytes;
2332
+ }());
2333
+ };
2334
+
2335
+ class ZlibHeaderTransformStream extends stream.Transform {
2336
+ __transform(chunk, encoding, callback) {
2337
+ this.push(chunk);
2338
+ callback();
2339
+ }
2340
+ _transform(chunk, encoding, callback) {
2341
+ if (chunk.length !== 0) {
2342
+ this._transform = this.__transform;
2343
+
2344
+ // Add Default Compression headers if no zlib headers are present
2345
+ if (chunk[0] !== 120) {
2346
+ // Hex: 78
2347
+ const header = Buffer.alloc(2);
2348
+ header[0] = 120; // Hex: 78
2349
+ header[1] = 156; // Hex: 9C
2350
+ this.push(header, encoding);
2351
+ }
2352
+ }
2353
+ this.__transform(chunk, encoding, callback);
2354
+ }
2355
+ }
2356
+
2357
+ const callbackify = (fn, reducer) => {
2358
+ return utils$1.isAsyncFn(fn) ? function (...args) {
2359
+ const cb = args.pop();
2360
+ fn.apply(this, args).then(value => {
2361
+ try {
2362
+ reducer ? cb(null, ...reducer(value)) : cb(null, value);
2363
+ } catch (err) {
2364
+ cb(err);
2365
+ }
2366
+ }, cb);
2367
+ } : fn;
2368
+ };
2369
+
2370
+ /**
2371
+ * Calculate data maxRate
2372
+ * @param {Number} [samplesCount= 10]
2373
+ * @param {Number} [min= 1000]
2374
+ * @returns {Function}
2375
+ */
2376
+ function speedometer(samplesCount, min) {
2377
+ samplesCount = samplesCount || 10;
2378
+ const bytes = new Array(samplesCount);
2379
+ const timestamps = new Array(samplesCount);
2380
+ let head = 0;
2381
+ let tail = 0;
2382
+ let firstSampleTS;
2383
+ min = min !== undefined ? min : 1000;
2384
+ return function push(chunkLength) {
2385
+ const now = Date.now();
2386
+ const startedAt = timestamps[tail];
2387
+ if (!firstSampleTS) {
2388
+ firstSampleTS = now;
2389
+ }
2390
+ bytes[head] = chunkLength;
2391
+ timestamps[head] = now;
2392
+ let i = tail;
2393
+ let bytesCount = 0;
2394
+ while (i !== head) {
2395
+ bytesCount += bytes[i++];
2396
+ i = i % samplesCount;
2397
+ }
2398
+ head = (head + 1) % samplesCount;
2399
+ if (head === tail) {
2400
+ tail = (tail + 1) % samplesCount;
2401
+ }
2402
+ if (now - firstSampleTS < min) {
2403
+ return;
2404
+ }
2405
+ const passed = startedAt && now - startedAt;
2406
+ return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
2407
+ };
2408
+ }
2409
+
2410
+ /**
2411
+ * Throttle decorator
2412
+ * @param {Function} fn
2413
+ * @param {Number} freq
2414
+ * @return {Function}
2415
+ */
2416
+ function throttle(fn, freq) {
2417
+ let timestamp = 0;
2418
+ let threshold = 1000 / freq;
2419
+ let lastArgs;
2420
+ let timer;
2421
+ const invoke = (args, now = Date.now()) => {
2422
+ timestamp = now;
2423
+ lastArgs = null;
2424
+ if (timer) {
2425
+ clearTimeout(timer);
2426
+ timer = null;
2427
+ }
2428
+ fn(...args);
2429
+ };
2430
+ const throttled = (...args) => {
2431
+ const now = Date.now();
2432
+ const passed = now - timestamp;
2433
+ if (passed >= threshold) {
2434
+ invoke(args, now);
2435
+ } else {
2436
+ lastArgs = args;
2437
+ if (!timer) {
2438
+ timer = setTimeout(() => {
2439
+ timer = null;
2440
+ invoke(lastArgs);
2441
+ }, threshold - passed);
2442
+ }
2443
+ }
2444
+ };
2445
+ const flush = () => lastArgs && invoke(lastArgs);
2446
+ return [throttled, flush];
2447
+ }
2448
+
2449
+ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
2450
+ let bytesNotified = 0;
2451
+ const _speedometer = speedometer(50, 250);
2452
+ return throttle(e => {
2453
+ const loaded = e.loaded;
2454
+ const total = e.lengthComputable ? e.total : undefined;
2455
+ const progressBytes = loaded - bytesNotified;
2456
+ const rate = _speedometer(progressBytes);
2457
+ const inRange = loaded <= total;
2458
+ bytesNotified = loaded;
2459
+ const data = {
2460
+ loaded,
2461
+ total,
2462
+ progress: total ? loaded / total : undefined,
2463
+ bytes: progressBytes,
2464
+ rate: rate ? rate : undefined,
2465
+ estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
2466
+ event: e,
2467
+ lengthComputable: total != null,
2468
+ [isDownloadStream ? 'download' : 'upload']: true
2469
+ };
2470
+ listener(data);
2471
+ }, freq);
2472
+ };
2473
+ const progressEventDecorator = (total, throttled) => {
2474
+ const lengthComputable = total != null;
2475
+ return [loaded => throttled[0]({
2476
+ lengthComputable,
2477
+ total,
2478
+ loaded
2479
+ }), throttled[1]];
2480
+ };
2481
+ const asyncDecorator = fn => (...args) => utils$1.asap(() => fn(...args));
2482
+
2483
+ /**
2484
+ * Estimate decoded byte length of a data:// URL *without* allocating large buffers.
2485
+ * - For base64: compute exact decoded size using length and padding;
2486
+ * handle %XX at the character-count level (no string allocation).
2487
+ * - For non-base64: use UTF-8 byteLength of the encoded body as a safe upper bound.
2488
+ *
2489
+ * @param {string} url
2490
+ * @returns {number}
2491
+ */
2492
+ function estimateDataURLDecodedBytes(url) {
2493
+ if (!url || typeof url !== 'string') return 0;
2494
+ if (!url.startsWith('data:')) return 0;
2495
+ const comma = url.indexOf(',');
2496
+ if (comma < 0) return 0;
2497
+ const meta = url.slice(5, comma);
2498
+ const body = url.slice(comma + 1);
2499
+ const isBase64 = /;base64/i.test(meta);
2500
+ if (isBase64) {
2501
+ let effectiveLen = body.length;
2502
+ const len = body.length; // cache length
2503
+
2504
+ for (let i = 0; i < len; i++) {
2505
+ if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
2506
+ const a = body.charCodeAt(i + 1);
2507
+ const b = body.charCodeAt(i + 2);
2508
+ const isHex = (a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102);
2509
+ if (isHex) {
2510
+ effectiveLen -= 2;
2511
+ i += 2;
2512
+ }
2513
+ }
2514
+ }
2515
+ let pad = 0;
2516
+ let idx = len - 1;
2517
+ const tailIsPct3D = j => j >= 2 && body.charCodeAt(j - 2) === 37 &&
2518
+ // '%'
2519
+ body.charCodeAt(j - 1) === 51 && (
2520
+ // '3'
2521
+ body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
2522
+
2523
+ if (idx >= 0) {
2524
+ if (body.charCodeAt(idx) === 61 /* '=' */) {
2525
+ pad++;
2526
+ idx--;
2527
+ } else if (tailIsPct3D(idx)) {
2528
+ pad++;
2529
+ idx -= 3;
2530
+ }
2531
+ }
2532
+ if (pad === 1 && idx >= 0) {
2533
+ if (body.charCodeAt(idx) === 61 /* '=' */) {
2534
+ pad++;
2535
+ } else if (tailIsPct3D(idx)) {
2536
+ pad++;
2537
+ }
2538
+ }
2539
+ const groups = Math.floor(effectiveLen / 4);
2540
+ const bytes = groups * 3 - (pad || 0);
2541
+ return bytes > 0 ? bytes : 0;
2542
+ }
2543
+ return Buffer.byteLength(body, 'utf8');
2544
+ }
2545
+
2546
+ const zlibOptions = {
2547
+ flush: zlib.constants.Z_SYNC_FLUSH,
2548
+ finishFlush: zlib.constants.Z_SYNC_FLUSH
2549
+ };
2550
+ const brotliOptions = {
2551
+ flush: zlib.constants.BROTLI_OPERATION_FLUSH,
2552
+ finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
2553
+ };
2554
+ const isBrotliSupported = utils$1.isFunction(zlib.createBrotliDecompress);
2555
+ const {
2556
+ http: httpFollow,
2557
+ https: httpsFollow
2558
+ } = followRedirects;
2559
+ const isHttps = /https:?/;
2560
+ const supportedProtocols = platform.protocols.map(protocol => {
2561
+ return protocol + ':';
2562
+ });
2563
+ const flushOnFinish = (stream, [throttled, flush]) => {
2564
+ stream.on('end', flush).on('error', flush);
2565
+ return throttled;
2566
+ };
2567
+ class Http2Sessions {
2568
+ constructor() {
2569
+ this.sessions = Object.create(null);
2570
+ }
2571
+ getSession(authority, options) {
2572
+ options = Object.assign({
2573
+ sessionTimeout: 1000
2574
+ }, options);
2575
+ let authoritySessions = this.sessions[authority];
2576
+ if (authoritySessions) {
2577
+ let len = authoritySessions.length;
2578
+ for (let i = 0; i < len; i++) {
2579
+ const [sessionHandle, sessionOptions] = authoritySessions[i];
2580
+ if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) {
2581
+ return sessionHandle;
2582
+ }
2583
+ }
2584
+ }
2585
+ const session = http2.connect(authority, options);
2586
+ let removed;
2587
+ const removeSession = () => {
2588
+ if (removed) {
2589
+ return;
2590
+ }
2591
+ removed = true;
2592
+ let entries = authoritySessions,
2593
+ len = entries.length,
2594
+ i = len;
2595
+ while (i--) {
2596
+ if (entries[i][0] === session) {
2597
+ if (len === 1) {
2598
+ delete this.sessions[authority];
2599
+ } else {
2600
+ entries.splice(i, 1);
2601
+ }
2602
+ if (!session.closed) {
2603
+ session.close();
2604
+ }
2605
+ return;
2606
+ }
2607
+ }
2608
+ };
2609
+ const originalRequestFn = session.request;
2610
+ const {
2611
+ sessionTimeout
2612
+ } = options;
2613
+ if (sessionTimeout != null) {
2614
+ let timer;
2615
+ let streamsCount = 0;
2616
+ session.request = function () {
2617
+ const stream = originalRequestFn.apply(this, arguments);
2618
+ streamsCount++;
2619
+ if (timer) {
2620
+ clearTimeout(timer);
2621
+ timer = null;
2622
+ }
2623
+ stream.once('close', () => {
2624
+ if (! --streamsCount) {
2625
+ timer = setTimeout(() => {
2626
+ timer = null;
2627
+ removeSession();
2628
+ }, sessionTimeout);
2629
+ }
2630
+ });
2631
+ return stream;
2632
+ };
2633
+ }
2634
+ session.once('close', removeSession);
2635
+ let entry = [session, options];
2636
+ authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
2637
+ return session;
2638
+ }
2639
+ }
2640
+ const http2Sessions = new Http2Sessions();
2641
+
2642
+ /**
2643
+ * If the proxy or config beforeRedirects functions are defined, call them with the options
2644
+ * object.
2645
+ *
2646
+ * @param {Object<string, any>} options - The options object that was passed to the request.
2647
+ *
2648
+ * @returns {Object<string, any>}
2649
+ */
2650
+ function dispatchBeforeRedirect(options, responseDetails) {
2651
+ if (options.beforeRedirects.proxy) {
2652
+ options.beforeRedirects.proxy(options);
2653
+ }
2654
+ if (options.beforeRedirects.config) {
2655
+ options.beforeRedirects.config(options, responseDetails);
2656
+ }
2657
+ }
2658
+
2659
+ /**
2660
+ * If the proxy or config afterRedirects functions are defined, call them with the options
2661
+ *
2662
+ * @param {http.ClientRequestArgs} options
2663
+ * @param {AxiosProxyConfig} configProxy configuration from Axios options object
2664
+ * @param {string} location
2665
+ *
2666
+ * @returns {http.ClientRequestArgs}
2667
+ */
2668
+ function setProxy(options, configProxy, location) {
2669
+ let proxy = configProxy;
2670
+ if (!proxy && proxy !== false) {
2671
+ const proxyUrl = getProxyForUrl(location);
2672
+ if (proxyUrl) {
2673
+ proxy = new URL(proxyUrl);
2674
+ }
2675
+ }
2676
+ if (proxy) {
2677
+ // Basic proxy authorization
2678
+ if (proxy.username) {
2679
+ proxy.auth = (proxy.username || '') + ':' + (proxy.password || '');
2680
+ }
2681
+ if (proxy.auth) {
2682
+ // Support proxy auth object form
2683
+ const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
2684
+ if (validProxyAuth) {
2685
+ proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
2686
+ } else if (typeof proxy.auth === 'object') {
2687
+ throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, {
2688
+ proxy
2689
+ });
2690
+ }
2691
+ const base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
2692
+ options.headers['Proxy-Authorization'] = 'Basic ' + base64;
2693
+ }
2694
+ options.headers.host = options.hostname + (options.port ? ':' + options.port : '');
2695
+ const proxyHost = proxy.hostname || proxy.host;
2696
+ options.hostname = proxyHost;
2697
+ // Replace 'host' since options is not a URL object
2698
+ options.host = proxyHost;
2699
+ options.port = proxy.port;
2700
+ options.path = location;
2701
+ if (proxy.protocol) {
2702
+ options.protocol = proxy.protocol.includes(':') ? proxy.protocol : `${proxy.protocol}:`;
2703
+ }
2704
+ }
2705
+ options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {
2706
+ // Configure proxy for redirected request, passing the original config proxy to apply
2707
+ // the exact same logic as if the redirected request was performed by axios directly.
2708
+ setProxy(redirectOptions, configProxy, redirectOptions.href);
2709
+ };
2710
+ }
2711
+ const isHttpAdapterSupported = typeof process !== 'undefined' && utils$1.kindOf(process) === 'process';
2712
+
2713
+ // temporary hotfix
2714
+
2715
+ const wrapAsync = asyncExecutor => {
2716
+ return new Promise((resolve, reject) => {
2717
+ let onDone;
2718
+ let isDone;
2719
+ const done = (value, isRejected) => {
2720
+ if (isDone) return;
2721
+ isDone = true;
2722
+ onDone && onDone(value, isRejected);
2723
+ };
2724
+ const _resolve = value => {
2725
+ done(value);
2726
+ resolve(value);
2727
+ };
2728
+ const _reject = reason => {
2729
+ done(reason, true);
2730
+ reject(reason);
2731
+ };
2732
+ asyncExecutor(_resolve, _reject, onDoneHandler => onDone = onDoneHandler).catch(_reject);
2733
+ });
2734
+ };
2735
+ const resolveFamily = ({
2736
+ address,
2737
+ family
2738
+ }) => {
2739
+ if (!utils$1.isString(address)) {
2740
+ throw TypeError('address must be a string');
2741
+ }
2742
+ return {
2743
+ address,
2744
+ family: family || (address.indexOf('.') < 0 ? 6 : 4)
2745
+ };
2746
+ };
2747
+ const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : {
2748
+ address,
2749
+ family
2750
+ });
2751
+ const http2Transport = {
2752
+ request(options, cb) {
2753
+ const authority = options.protocol + '//' + options.hostname + ':' + (options.port || (options.protocol === 'https:' ? 443 : 80));
2754
+ const {
2755
+ http2Options,
2756
+ headers
2757
+ } = options;
2758
+ const session = http2Sessions.getSession(authority, http2Options);
2759
+ const {
2760
+ HTTP2_HEADER_SCHEME,
2761
+ HTTP2_HEADER_METHOD,
2762
+ HTTP2_HEADER_PATH,
2763
+ HTTP2_HEADER_STATUS
2764
+ } = http2.constants;
2765
+ const http2Headers = {
2766
+ [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
2767
+ [HTTP2_HEADER_METHOD]: options.method,
2768
+ [HTTP2_HEADER_PATH]: options.path
2769
+ };
2770
+ utils$1.forEach(headers, (header, name) => {
2771
+ name.charAt(0) !== ':' && (http2Headers[name] = header);
2772
+ });
2773
+ const req = session.request(http2Headers);
2774
+ req.once('response', responseHeaders => {
2775
+ const response = req; //duplex
2776
+
2777
+ responseHeaders = Object.assign({}, responseHeaders);
2778
+ const status = responseHeaders[HTTP2_HEADER_STATUS];
2779
+ delete responseHeaders[HTTP2_HEADER_STATUS];
2780
+ response.headers = responseHeaders;
2781
+ response.statusCode = +status;
2782
+ cb(response);
2783
+ });
2784
+ return req;
2785
+ }
2786
+ };
2787
+
2788
+ /*eslint consistent-return:0*/
2789
+ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
2790
+ return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
2791
+ let {
2792
+ data,
2793
+ lookup,
2794
+ family,
2795
+ httpVersion = 1,
2796
+ http2Options
2797
+ } = config;
2798
+ const {
2799
+ responseType,
2800
+ responseEncoding
2801
+ } = config;
2802
+ const method = config.method.toUpperCase();
2803
+ let isDone;
2804
+ let rejected = false;
2805
+ let req;
2806
+ httpVersion = +httpVersion;
2807
+ if (Number.isNaN(httpVersion)) {
2808
+ throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
2809
+ }
2810
+ if (httpVersion !== 1 && httpVersion !== 2) {
2811
+ throw TypeError(`Unsupported protocol version '${httpVersion}'`);
2812
+ }
2813
+ const isHttp2 = httpVersion === 2;
2814
+ if (lookup) {
2815
+ const _lookup = callbackify(lookup, value => utils$1.isArray(value) ? value : [value]);
2816
+ // hotfix to support opt.all option which is required for node 20.x
2817
+ lookup = (hostname, opt, cb) => {
2818
+ _lookup(hostname, opt, (err, arg0, arg1) => {
2819
+ if (err) {
2820
+ return cb(err);
2821
+ }
2822
+ const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
2823
+ opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
2824
+ });
2825
+ };
2826
+ }
2827
+ const abortEmitter = new events.EventEmitter();
2828
+ function abort(reason) {
2829
+ try {
2830
+ abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
2831
+ } catch (err) {
2832
+ console.warn('emit error', err);
2833
+ }
2834
+ }
2835
+ abortEmitter.once('abort', reject);
2836
+ const onFinished = () => {
2837
+ if (config.cancelToken) {
2838
+ config.cancelToken.unsubscribe(abort);
2839
+ }
2840
+ if (config.signal) {
2841
+ config.signal.removeEventListener('abort', abort);
2842
+ }
2843
+ abortEmitter.removeAllListeners();
2844
+ };
2845
+ if (config.cancelToken || config.signal) {
2846
+ config.cancelToken && config.cancelToken.subscribe(abort);
2847
+ if (config.signal) {
2848
+ config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
2849
+ }
2850
+ }
2851
+ onDone((response, isRejected) => {
2852
+ isDone = true;
2853
+ if (isRejected) {
2854
+ rejected = true;
2855
+ onFinished();
2856
+ return;
2857
+ }
2858
+ const {
2859
+ data
2860
+ } = response;
2861
+ if (data instanceof stream.Readable || data instanceof stream.Duplex) {
2862
+ const offListeners = stream.finished(data, () => {
2863
+ offListeners();
2864
+ onFinished();
2865
+ });
2866
+ } else {
2867
+ onFinished();
2868
+ }
2869
+ });
2870
+
2871
+ // Parse url
2872
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
2873
+ const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
2874
+ const protocol = parsed.protocol || supportedProtocols[0];
2875
+ if (protocol === 'data:') {
2876
+ // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
2877
+ if (config.maxContentLength > -1) {
2878
+ // Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
2879
+ const dataUrl = String(config.url || fullPath || '');
2880
+ const estimated = estimateDataURLDecodedBytes(dataUrl);
2881
+ if (estimated > config.maxContentLength) {
2882
+ return reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config));
2883
+ }
2884
+ }
2885
+ let convertedData;
2886
+ if (method !== 'GET') {
2887
+ return settle(resolve, reject, {
2888
+ status: 405,
2889
+ statusText: 'method not allowed',
2890
+ headers: {},
2891
+ config
2892
+ });
2893
+ }
2894
+ try {
2895
+ convertedData = fromDataURI(config.url, responseType === 'blob', {
2896
+ Blob: config.env && config.env.Blob
2897
+ });
2898
+ } catch (err) {
2899
+ throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
2900
+ }
2901
+ if (responseType === 'text') {
2902
+ convertedData = convertedData.toString(responseEncoding);
2903
+ if (!responseEncoding || responseEncoding === 'utf8') {
2904
+ convertedData = utils$1.stripBOM(convertedData);
2905
+ }
2906
+ } else if (responseType === 'stream') {
2907
+ convertedData = stream.Readable.from(convertedData);
2908
+ }
2909
+ return settle(resolve, reject, {
2910
+ data: convertedData,
2911
+ status: 200,
2912
+ statusText: 'OK',
2913
+ headers: new AxiosHeaders(),
2914
+ config
2915
+ });
2916
+ }
2917
+ if (supportedProtocols.indexOf(protocol) === -1) {
2918
+ return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config));
2919
+ }
2920
+ const headers = AxiosHeaders.from(config.headers).normalize();
2921
+
2922
+ // Set User-Agent (required by some servers)
2923
+ // See https://github.com/axios/axios/issues/69
2924
+ // User-Agent is specified; handle case where no UA header is desired
2925
+ // Only set header if it hasn't been set in config
2926
+ headers.set('User-Agent', 'axios/' + VERSION, false);
2927
+ const {
2928
+ onUploadProgress,
2929
+ onDownloadProgress
2930
+ } = config;
2931
+ const maxRate = config.maxRate;
2932
+ let maxUploadRate = undefined;
2933
+ let maxDownloadRate = undefined;
2934
+
2935
+ // support for spec compliant FormData objects
2936
+ if (utils$1.isSpecCompliantForm(data)) {
2937
+ const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
2938
+ data = formDataToStream(data, formHeaders => {
2939
+ headers.set(formHeaders);
2940
+ }, {
2941
+ tag: `axios-${VERSION}-boundary`,
2942
+ boundary: userBoundary && userBoundary[1] || undefined
2943
+ });
2944
+ // support for https://www.npmjs.com/package/form-data api
2945
+ } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
2946
+ headers.set(data.getHeaders());
2947
+ if (!headers.hasContentLength()) {
2948
+ try {
2949
+ const knownLength = await util.promisify(data.getLength).call(data);
2950
+ Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
2951
+ /*eslint no-empty:0*/
2952
+ } catch (e) {}
2953
+ }
2954
+ } else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
2955
+ data.size && headers.setContentType(data.type || 'application/octet-stream');
2956
+ headers.setContentLength(data.size || 0);
2957
+ data = stream.Readable.from(readBlob(data));
2958
+ } else if (data && !utils$1.isStream(data)) {
2959
+ if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) {
2960
+ data = Buffer.from(new Uint8Array(data));
2961
+ } else if (utils$1.isString(data)) {
2962
+ data = Buffer.from(data, 'utf-8');
2963
+ } else {
2964
+ return reject(new AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', AxiosError.ERR_BAD_REQUEST, config));
2965
+ }
2966
+
2967
+ // Add Content-Length header if data exists
2968
+ headers.setContentLength(data.length, false);
2969
+ if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
2970
+ return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config));
2971
+ }
2972
+ }
2973
+ const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
2974
+ if (utils$1.isArray(maxRate)) {
2975
+ maxUploadRate = maxRate[0];
2976
+ maxDownloadRate = maxRate[1];
2977
+ } else {
2978
+ maxUploadRate = maxDownloadRate = maxRate;
2979
+ }
2980
+ if (data && (onUploadProgress || maxUploadRate)) {
2981
+ if (!utils$1.isStream(data)) {
2982
+ data = stream.Readable.from(data, {
2983
+ objectMode: false
2984
+ });
2985
+ }
2986
+ data = stream.pipeline([data, new AxiosTransformStream({
2987
+ maxRate: utils$1.toFiniteNumber(maxUploadRate)
2988
+ })], utils$1.noop);
2989
+ onUploadProgress && data.on('progress', flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3))));
2990
+ }
2991
+
2992
+ // HTTP basic authentication
2993
+ let auth = undefined;
2994
+ if (config.auth) {
2995
+ const username = config.auth.username || '';
2996
+ const password = config.auth.password || '';
2997
+ auth = username + ':' + password;
2998
+ }
2999
+ if (!auth && parsed.username) {
3000
+ const urlUsername = parsed.username;
3001
+ const urlPassword = parsed.password;
3002
+ auth = urlUsername + ':' + urlPassword;
3003
+ }
3004
+ auth && headers.delete('authorization');
3005
+ let path;
3006
+ try {
3007
+ path = buildURL(parsed.pathname + parsed.search, config.params, config.paramsSerializer).replace(/^\?/, '');
3008
+ } catch (err) {
3009
+ const customErr = new Error(err.message);
3010
+ customErr.config = config;
3011
+ customErr.url = config.url;
3012
+ customErr.exists = true;
3013
+ return reject(customErr);
3014
+ }
3015
+ headers.set('Accept-Encoding', 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), false);
3016
+ const options = {
3017
+ path,
3018
+ method: method,
3019
+ headers: headers.toJSON(),
3020
+ agents: {
3021
+ http: config.httpAgent,
3022
+ https: config.httpsAgent
3023
+ },
3024
+ auth,
3025
+ protocol,
3026
+ family,
3027
+ beforeRedirect: dispatchBeforeRedirect,
3028
+ beforeRedirects: {},
3029
+ http2Options
3030
+ };
3031
+
3032
+ // cacheable-lookup integration hotfix
3033
+ !utils$1.isUndefined(lookup) && (options.lookup = lookup);
3034
+ if (config.socketPath) {
3035
+ options.socketPath = config.socketPath;
3036
+ } else {
3037
+ options.hostname = parsed.hostname.startsWith('[') ? parsed.hostname.slice(1, -1) : parsed.hostname;
3038
+ options.port = parsed.port;
3039
+ setProxy(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);
3040
+ }
3041
+ let transport;
3042
+ const isHttpsRequest = isHttps.test(options.protocol);
3043
+ options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
3044
+ if (isHttp2) {
3045
+ transport = http2Transport;
3046
+ } else {
3047
+ if (config.transport) {
3048
+ transport = config.transport;
3049
+ } else if (config.maxRedirects === 0) {
3050
+ transport = isHttpsRequest ? https : http;
3051
+ } else {
3052
+ if (config.maxRedirects) {
3053
+ options.maxRedirects = config.maxRedirects;
3054
+ }
3055
+ if (config.beforeRedirect) {
3056
+ options.beforeRedirects.config = config.beforeRedirect;
3057
+ }
3058
+ transport = isHttpsRequest ? httpsFollow : httpFollow;
3059
+ }
3060
+ }
3061
+ if (config.maxBodyLength > -1) {
3062
+ options.maxBodyLength = config.maxBodyLength;
3063
+ } else {
3064
+ // follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
3065
+ options.maxBodyLength = Infinity;
3066
+ }
3067
+ if (config.insecureHTTPParser) {
3068
+ options.insecureHTTPParser = config.insecureHTTPParser;
3069
+ }
3070
+
3071
+ // Create the request
3072
+ req = transport.request(options, function handleResponse(res) {
3073
+ if (req.destroyed) return;
3074
+ const streams = [res];
3075
+ const responseLength = utils$1.toFiniteNumber(res.headers['content-length']);
3076
+ if (onDownloadProgress || maxDownloadRate) {
3077
+ const transformStream = new AxiosTransformStream({
3078
+ maxRate: utils$1.toFiniteNumber(maxDownloadRate)
3079
+ });
3080
+ onDownloadProgress && transformStream.on('progress', flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3))));
3081
+ streams.push(transformStream);
3082
+ }
3083
+
3084
+ // decompress the response body transparently if required
3085
+ let responseStream = res;
3086
+
3087
+ // return the last request in case of redirects
3088
+ const lastRequest = res.req || req;
3089
+
3090
+ // if decompress disabled we should not decompress
3091
+ if (config.decompress !== false && res.headers['content-encoding']) {
3092
+ // if no content, but headers still say that it is encoded,
3093
+ // remove the header not confuse downstream operations
3094
+ if (method === 'HEAD' || res.statusCode === 204) {
3095
+ delete res.headers['content-encoding'];
3096
+ }
3097
+ switch ((res.headers['content-encoding'] || '').toLowerCase()) {
3098
+ /*eslint default-case:0*/
3099
+ case 'gzip':
3100
+ case 'x-gzip':
3101
+ case 'compress':
3102
+ case 'x-compress':
3103
+ // add the unzipper to the body stream processing pipeline
3104
+ streams.push(zlib.createUnzip(zlibOptions));
3105
+
3106
+ // remove the content-encoding in order to not confuse downstream operations
3107
+ delete res.headers['content-encoding'];
3108
+ break;
3109
+ case 'deflate':
3110
+ streams.push(new ZlibHeaderTransformStream());
3111
+
3112
+ // add the unzipper to the body stream processing pipeline
3113
+ streams.push(zlib.createUnzip(zlibOptions));
3114
+
3115
+ // remove the content-encoding in order to not confuse downstream operations
3116
+ delete res.headers['content-encoding'];
3117
+ break;
3118
+ case 'br':
3119
+ if (isBrotliSupported) {
3120
+ streams.push(zlib.createBrotliDecompress(brotliOptions));
3121
+ delete res.headers['content-encoding'];
3122
+ }
3123
+ }
3124
+ }
3125
+ responseStream = streams.length > 1 ? stream.pipeline(streams, utils$1.noop) : streams[0];
3126
+ const response = {
3127
+ status: res.statusCode,
3128
+ statusText: res.statusMessage,
3129
+ headers: new AxiosHeaders(res.headers),
3130
+ config,
3131
+ request: lastRequest
3132
+ };
3133
+ if (responseType === 'stream') {
3134
+ response.data = responseStream;
3135
+ settle(resolve, reject, response);
3136
+ } else {
3137
+ const responseBuffer = [];
3138
+ let totalResponseBytes = 0;
3139
+ responseStream.on('data', function handleStreamData(chunk) {
3140
+ responseBuffer.push(chunk);
3141
+ totalResponseBytes += chunk.length;
3142
+
3143
+ // make sure the content length is not over the maxContentLength if specified
3144
+ if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
3145
+ // stream.destroy() emit aborted event before calling reject() on Node.js v16
3146
+ rejected = true;
3147
+ responseStream.destroy();
3148
+ abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
3149
+ }
3150
+ });
3151
+ responseStream.on('aborted', function handlerStreamAborted() {
3152
+ if (rejected) {
3153
+ return;
3154
+ }
3155
+ const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
3156
+ responseStream.destroy(err);
3157
+ reject(err);
3158
+ });
3159
+ responseStream.on('error', function handleStreamError(err) {
3160
+ if (req.destroyed) return;
3161
+ reject(AxiosError.from(err, null, config, lastRequest));
3162
+ });
3163
+ responseStream.on('end', function handleStreamEnd() {
3164
+ try {
3165
+ let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
3166
+ if (responseType !== 'arraybuffer') {
3167
+ responseData = responseData.toString(responseEncoding);
3168
+ if (!responseEncoding || responseEncoding === 'utf8') {
3169
+ responseData = utils$1.stripBOM(responseData);
3170
+ }
3171
+ }
3172
+ response.data = responseData;
3173
+ } catch (err) {
3174
+ return reject(AxiosError.from(err, null, config, response.request, response));
3175
+ }
3176
+ settle(resolve, reject, response);
3177
+ });
3178
+ }
3179
+ abortEmitter.once('abort', err => {
3180
+ if (!responseStream.destroyed) {
3181
+ responseStream.emit('error', err);
3182
+ responseStream.destroy();
3183
+ }
3184
+ });
3185
+ });
3186
+ abortEmitter.once('abort', err => {
3187
+ if (req.close) {
3188
+ req.close();
3189
+ } else {
3190
+ req.destroy(err);
3191
+ }
3192
+ });
3193
+
3194
+ // Handle errors
3195
+ req.on('error', function handleRequestError(err) {
3196
+ reject(AxiosError.from(err, null, config, req));
3197
+ });
3198
+
3199
+ // set tcp keep alive to prevent drop connection by peer
3200
+ req.on('socket', function handleRequestSocket(socket) {
3201
+ // default interval of sending ack packet is 1 minute
3202
+ socket.setKeepAlive(true, 1000 * 60);
3203
+ });
3204
+
3205
+ // Handle request timeout
3206
+ if (config.timeout) {
3207
+ // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
3208
+ const timeout = parseInt(config.timeout, 10);
3209
+ if (Number.isNaN(timeout)) {
3210
+ abort(new AxiosError('error trying to parse `config.timeout` to int', AxiosError.ERR_BAD_OPTION_VALUE, config, req));
3211
+ return;
3212
+ }
3213
+
3214
+ // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
3215
+ // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
3216
+ // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
3217
+ // And then these socket which be hang up will devouring CPU little by little.
3218
+ // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
3219
+ req.setTimeout(timeout, function handleRequestTimeout() {
3220
+ if (isDone) return;
3221
+ let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
3222
+ const transitional = config.transitional || transitionalDefaults;
3223
+ if (config.timeoutErrorMessage) {
3224
+ timeoutErrorMessage = config.timeoutErrorMessage;
3225
+ }
3226
+ abort(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
3227
+ });
3228
+ } else {
3229
+ // explicitly reset the socket timeout value for a possible `keep-alive` request
3230
+ req.setTimeout(0);
3231
+ }
3232
+
3233
+ // Send the request
3234
+ if (utils$1.isStream(data)) {
3235
+ let ended = false;
3236
+ let errored = false;
3237
+ data.on('end', () => {
3238
+ ended = true;
3239
+ });
3240
+ data.once('error', err => {
3241
+ errored = true;
3242
+ req.destroy(err);
3243
+ });
3244
+ data.on('close', () => {
3245
+ if (!ended && !errored) {
3246
+ abort(new CanceledError('Request stream has been aborted', config, req));
3247
+ }
3248
+ });
3249
+ data.pipe(req);
3250
+ } else {
3251
+ data && req.write(data);
3252
+ req.end();
3253
+ }
3254
+ });
3255
+ };
3256
+
3257
+ var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => url => {
3258
+ url = new URL(url, platform.origin);
3259
+ return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
3260
+ })(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : () => true;
3261
+
3262
+ var cookies = platform.hasStandardBrowserEnv ?
3263
+ // Standard browser envs support document.cookie
3264
+ {
3265
+ write(name, value, expires, path, domain, secure, sameSite) {
3266
+ if (typeof document === 'undefined') return;
3267
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
3268
+ if (utils$1.isNumber(expires)) {
3269
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
3270
+ }
3271
+ if (utils$1.isString(path)) {
3272
+ cookie.push(`path=${path}`);
3273
+ }
3274
+ if (utils$1.isString(domain)) {
3275
+ cookie.push(`domain=${domain}`);
3276
+ }
3277
+ if (secure === true) {
3278
+ cookie.push('secure');
3279
+ }
3280
+ if (utils$1.isString(sameSite)) {
3281
+ cookie.push(`SameSite=${sameSite}`);
3282
+ }
3283
+ document.cookie = cookie.join('; ');
3284
+ },
3285
+ read(name) {
3286
+ if (typeof document === 'undefined') return null;
3287
+ const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
3288
+ return match ? decodeURIComponent(match[1]) : null;
3289
+ },
3290
+ remove(name) {
3291
+ this.write(name, '', Date.now() - 86400000, '/');
3292
+ }
3293
+ } :
3294
+ // Non-standard browser env (web workers, react-native) lack needed support.
3295
+ {
3296
+ write() {},
3297
+ read() {
3298
+ return null;
3299
+ },
3300
+ remove() {}
3301
+ };
3302
+
3303
+ const headersToObject = thing => thing instanceof AxiosHeaders ? {
3304
+ ...thing
3305
+ } : thing;
3306
+
3307
+ /**
3308
+ * Config-specific merge-function which creates a new config-object
3309
+ * by merging two configuration objects together.
3310
+ *
3311
+ * @param {Object} config1
3312
+ * @param {Object} config2
3313
+ *
3314
+ * @returns {Object} New object resulting from merging config2 to config1
3315
+ */
3316
+ function mergeConfig(config1, config2) {
3317
+ // eslint-disable-next-line no-param-reassign
3318
+ config2 = config2 || {};
3319
+ const config = {};
3320
+ function getMergedValue(target, source, prop, caseless) {
3321
+ if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
3322
+ return utils$1.merge.call({
3323
+ caseless
3324
+ }, target, source);
3325
+ } else if (utils$1.isPlainObject(source)) {
3326
+ return utils$1.merge({}, source);
3327
+ } else if (utils$1.isArray(source)) {
3328
+ return source.slice();
3329
+ }
3330
+ return source;
3331
+ }
3332
+ function mergeDeepProperties(a, b, prop, caseless) {
3333
+ if (!utils$1.isUndefined(b)) {
3334
+ return getMergedValue(a, b, prop, caseless);
3335
+ } else if (!utils$1.isUndefined(a)) {
3336
+ return getMergedValue(undefined, a, prop, caseless);
3337
+ }
3338
+ }
3339
+
3340
+ // eslint-disable-next-line consistent-return
3341
+ function valueFromConfig2(a, b) {
3342
+ if (!utils$1.isUndefined(b)) {
3343
+ return getMergedValue(undefined, b);
3344
+ }
3345
+ }
3346
+
3347
+ // eslint-disable-next-line consistent-return
3348
+ function defaultToConfig2(a, b) {
3349
+ if (!utils$1.isUndefined(b)) {
3350
+ return getMergedValue(undefined, b);
3351
+ } else if (!utils$1.isUndefined(a)) {
3352
+ return getMergedValue(undefined, a);
3353
+ }
3354
+ }
3355
+
3356
+ // eslint-disable-next-line consistent-return
3357
+ function mergeDirectKeys(a, b, prop) {
3358
+ if (prop in config2) {
3359
+ return getMergedValue(a, b);
3360
+ } else if (prop in config1) {
3361
+ return getMergedValue(undefined, a);
3362
+ }
3363
+ }
3364
+ const mergeMap = {
3365
+ url: valueFromConfig2,
3366
+ method: valueFromConfig2,
3367
+ data: valueFromConfig2,
3368
+ baseURL: defaultToConfig2,
3369
+ transformRequest: defaultToConfig2,
3370
+ transformResponse: defaultToConfig2,
3371
+ paramsSerializer: defaultToConfig2,
3372
+ timeout: defaultToConfig2,
3373
+ timeoutMessage: defaultToConfig2,
3374
+ withCredentials: defaultToConfig2,
3375
+ withXSRFToken: defaultToConfig2,
3376
+ adapter: defaultToConfig2,
3377
+ responseType: defaultToConfig2,
3378
+ xsrfCookieName: defaultToConfig2,
3379
+ xsrfHeaderName: defaultToConfig2,
3380
+ onUploadProgress: defaultToConfig2,
3381
+ onDownloadProgress: defaultToConfig2,
3382
+ decompress: defaultToConfig2,
3383
+ maxContentLength: defaultToConfig2,
3384
+ maxBodyLength: defaultToConfig2,
3385
+ beforeRedirect: defaultToConfig2,
3386
+ transport: defaultToConfig2,
3387
+ httpAgent: defaultToConfig2,
3388
+ httpsAgent: defaultToConfig2,
3389
+ cancelToken: defaultToConfig2,
3390
+ socketPath: defaultToConfig2,
3391
+ responseEncoding: defaultToConfig2,
3392
+ validateStatus: mergeDirectKeys,
3393
+ headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
3394
+ };
3395
+ utils$1.forEach(Object.keys({
3396
+ ...config1,
3397
+ ...config2
3398
+ }), function computeConfigValue(prop) {
3399
+ if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
3400
+ const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
3401
+ const configValue = merge(config1[prop], config2[prop], prop);
3402
+ utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
3403
+ });
3404
+ return config;
3405
+ }
3406
+
3407
+ var resolveConfig = config => {
3408
+ const newConfig = mergeConfig({}, config);
3409
+ let {
3410
+ data,
3411
+ withXSRFToken,
3412
+ xsrfHeaderName,
3413
+ xsrfCookieName,
3414
+ headers,
3415
+ auth
3416
+ } = newConfig;
3417
+ newConfig.headers = headers = AxiosHeaders.from(headers);
3418
+ newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
3419
+
3420
+ // HTTP basic authentication
3421
+ if (auth) {
3422
+ headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
3423
+ }
3424
+ if (utils$1.isFormData(data)) {
3425
+ if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
3426
+ headers.setContentType(undefined); // browser handles it
3427
+ } else if (utils$1.isFunction(data.getHeaders)) {
3428
+ // Node.js FormData (like form-data package)
3429
+ const formHeaders = data.getHeaders();
3430
+ // Only set safe headers to avoid overwriting security headers
3431
+ const allowedHeaders = ['content-type', 'content-length'];
3432
+ Object.entries(formHeaders).forEach(([key, val]) => {
3433
+ if (allowedHeaders.includes(key.toLowerCase())) {
3434
+ headers.set(key, val);
3435
+ }
3436
+ });
3437
+ }
3438
+ }
3439
+
3440
+ // Add xsrf header
3441
+ // This is only done if running in a standard browser environment.
3442
+ // Specifically not if we're in a web worker, or react-native.
3443
+
3444
+ if (platform.hasStandardBrowserEnv) {
3445
+ withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
3446
+ if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(newConfig.url)) {
3447
+ // Add xsrf header
3448
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
3449
+ if (xsrfValue) {
3450
+ headers.set(xsrfHeaderName, xsrfValue);
3451
+ }
3452
+ }
3453
+ }
3454
+ return newConfig;
3455
+ };
3456
+
3457
+ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
3458
+ var xhrAdapter = isXHRAdapterSupported && function (config) {
3459
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
3460
+ const _config = resolveConfig(config);
3461
+ let requestData = _config.data;
3462
+ const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
3463
+ let {
3464
+ responseType,
3465
+ onUploadProgress,
3466
+ onDownloadProgress
3467
+ } = _config;
3468
+ let onCanceled;
3469
+ let uploadThrottled, downloadThrottled;
3470
+ let flushUpload, flushDownload;
3471
+ function done() {
3472
+ flushUpload && flushUpload(); // flush events
3473
+ flushDownload && flushDownload(); // flush events
3474
+
3475
+ _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
3476
+ _config.signal && _config.signal.removeEventListener('abort', onCanceled);
3477
+ }
3478
+ let request = new XMLHttpRequest();
3479
+ request.open(_config.method.toUpperCase(), _config.url, true);
3480
+
3481
+ // Set the request timeout in MS
3482
+ request.timeout = _config.timeout;
3483
+ function onloadend() {
3484
+ if (!request) {
3485
+ return;
3486
+ }
3487
+ // Prepare the response
3488
+ const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
3489
+ const responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response;
3490
+ const response = {
3491
+ data: responseData,
3492
+ status: request.status,
3493
+ statusText: request.statusText,
3494
+ headers: responseHeaders,
3495
+ config,
3496
+ request
3497
+ };
3498
+ settle(function _resolve(value) {
3499
+ resolve(value);
3500
+ done();
3501
+ }, function _reject(err) {
3502
+ reject(err);
3503
+ done();
3504
+ }, response);
3505
+
3506
+ // Clean up request
3507
+ request = null;
3508
+ }
3509
+ if ('onloadend' in request) {
3510
+ // Use onloadend if available
3511
+ request.onloadend = onloadend;
3512
+ } else {
3513
+ // Listen for ready state to emulate onloadend
3514
+ request.onreadystatechange = function handleLoad() {
3515
+ if (!request || request.readyState !== 4) {
3516
+ return;
3517
+ }
3518
+
3519
+ // The request errored out and we didn't get a response, this will be
3520
+ // handled by onerror instead
3521
+ // With one exception: request that using file: protocol, most browsers
3522
+ // will return status as 0 even though it's a successful request
3523
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
3524
+ return;
3525
+ }
3526
+ // readystate handler is calling before onerror or ontimeout handlers,
3527
+ // so we should call onloadend on the next 'tick'
3528
+ setTimeout(onloadend);
3529
+ };
3530
+ }
3531
+
3532
+ // Handle browser request cancellation (as opposed to a manual cancellation)
3533
+ request.onabort = function handleAbort() {
3534
+ if (!request) {
3535
+ return;
3536
+ }
3537
+ reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
3538
+
3539
+ // Clean up request
3540
+ request = null;
3541
+ };
3542
+
3543
+ // Handle low level network errors
3544
+ request.onerror = function handleError(event) {
3545
+ // Browsers deliver a ProgressEvent in XHR onerror
3546
+ // (message may be empty; when present, surface it)
3547
+ // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
3548
+ const msg = event && event.message ? event.message : 'Network Error';
3549
+ const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
3550
+ // attach the underlying event for consumers who want details
3551
+ err.event = event || null;
3552
+ reject(err);
3553
+ request = null;
3554
+ };
3555
+
3556
+ // Handle timeout
3557
+ request.ontimeout = function handleTimeout() {
3558
+ let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
3559
+ const transitional = _config.transitional || transitionalDefaults;
3560
+ if (_config.timeoutErrorMessage) {
3561
+ timeoutErrorMessage = _config.timeoutErrorMessage;
3562
+ }
3563
+ reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
3564
+
3565
+ // Clean up request
3566
+ request = null;
3567
+ };
3568
+
3569
+ // Remove Content-Type if data is undefined
3570
+ requestData === undefined && requestHeaders.setContentType(null);
3571
+
3572
+ // Add headers to the request
3573
+ if ('setRequestHeader' in request) {
3574
+ utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
3575
+ request.setRequestHeader(key, val);
3576
+ });
3577
+ }
3578
+
3579
+ // Add withCredentials to request if needed
3580
+ if (!utils$1.isUndefined(_config.withCredentials)) {
3581
+ request.withCredentials = !!_config.withCredentials;
3582
+ }
3583
+
3584
+ // Add responseType to request if needed
3585
+ if (responseType && responseType !== 'json') {
3586
+ request.responseType = _config.responseType;
3587
+ }
3588
+
3589
+ // Handle progress if needed
3590
+ if (onDownloadProgress) {
3591
+ [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
3592
+ request.addEventListener('progress', downloadThrottled);
3593
+ }
3594
+
3595
+ // Not all browsers support upload events
3596
+ if (onUploadProgress && request.upload) {
3597
+ [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
3598
+ request.upload.addEventListener('progress', uploadThrottled);
3599
+ request.upload.addEventListener('loadend', flushUpload);
3600
+ }
3601
+ if (_config.cancelToken || _config.signal) {
3602
+ // Handle cancellation
3603
+ // eslint-disable-next-line func-names
3604
+ onCanceled = cancel => {
3605
+ if (!request) {
3606
+ return;
3607
+ }
3608
+ reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
3609
+ request.abort();
3610
+ request = null;
3611
+ };
3612
+ _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
3613
+ if (_config.signal) {
3614
+ _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
3615
+ }
3616
+ }
3617
+ const protocol = parseProtocol(_config.url);
3618
+ if (protocol && platform.protocols.indexOf(protocol) === -1) {
3619
+ reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
3620
+ return;
3621
+ }
3622
+
3623
+ // Send the request
3624
+ request.send(requestData || null);
3625
+ });
3626
+ };
3627
+
3628
+ const composeSignals = (signals, timeout) => {
3629
+ const {
3630
+ length
3631
+ } = signals = signals ? signals.filter(Boolean) : [];
3632
+ if (timeout || length) {
3633
+ let controller = new AbortController();
3634
+ let aborted;
3635
+ const onabort = function (reason) {
3636
+ if (!aborted) {
3637
+ aborted = true;
3638
+ unsubscribe();
3639
+ const err = reason instanceof Error ? reason : this.reason;
3640
+ controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
3641
+ }
3642
+ };
3643
+ let timer = timeout && setTimeout(() => {
3644
+ timer = null;
3645
+ onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));
3646
+ }, timeout);
3647
+ const unsubscribe = () => {
3648
+ if (signals) {
3649
+ timer && clearTimeout(timer);
3650
+ timer = null;
3651
+ signals.forEach(signal => {
3652
+ signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
3653
+ });
3654
+ signals = null;
3655
+ }
3656
+ };
3657
+ signals.forEach(signal => signal.addEventListener('abort', onabort));
3658
+ const {
3659
+ signal
3660
+ } = controller;
3661
+ signal.unsubscribe = () => utils$1.asap(unsubscribe);
3662
+ return signal;
3663
+ }
3664
+ };
3665
+
3666
+ const streamChunk = function* (chunk, chunkSize) {
3667
+ let len = chunk.byteLength;
3668
+ if (len < chunkSize) {
3669
+ yield chunk;
3670
+ return;
3671
+ }
3672
+ let pos = 0;
3673
+ let end;
3674
+ while (pos < len) {
3675
+ end = pos + chunkSize;
3676
+ yield chunk.slice(pos, end);
3677
+ pos = end;
3678
+ }
3679
+ };
3680
+ const readBytes = async function* (iterable, chunkSize) {
3681
+ for await (const chunk of readStream(iterable)) {
3682
+ yield* streamChunk(chunk, chunkSize);
3683
+ }
3684
+ };
3685
+ const readStream = async function* (stream) {
3686
+ if (stream[Symbol.asyncIterator]) {
3687
+ yield* stream;
3688
+ return;
3689
+ }
3690
+ const reader = stream.getReader();
3691
+ try {
3692
+ for (;;) {
3693
+ const {
3694
+ done,
3695
+ value
3696
+ } = await reader.read();
3697
+ if (done) {
3698
+ break;
3699
+ }
3700
+ yield value;
3701
+ }
3702
+ } finally {
3703
+ await reader.cancel();
3704
+ }
3705
+ };
3706
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
3707
+ const iterator = readBytes(stream, chunkSize);
3708
+ let bytes = 0;
3709
+ let done;
3710
+ let _onFinish = e => {
3711
+ if (!done) {
3712
+ done = true;
3713
+ onFinish && onFinish(e);
3714
+ }
3715
+ };
3716
+ return new ReadableStream({
3717
+ async pull(controller) {
3718
+ try {
3719
+ const {
3720
+ done,
3721
+ value
3722
+ } = await iterator.next();
3723
+ if (done) {
3724
+ _onFinish();
3725
+ controller.close();
3726
+ return;
3727
+ }
3728
+ let len = value.byteLength;
3729
+ if (onProgress) {
3730
+ let loadedBytes = bytes += len;
3731
+ onProgress(loadedBytes);
3732
+ }
3733
+ controller.enqueue(new Uint8Array(value));
3734
+ } catch (err) {
3735
+ _onFinish(err);
3736
+ throw err;
3737
+ }
3738
+ },
3739
+ cancel(reason) {
3740
+ _onFinish(reason);
3741
+ return iterator.return();
3742
+ }
3743
+ }, {
3744
+ highWaterMark: 2
3745
+ });
3746
+ };
3747
+
3748
+ const DEFAULT_CHUNK_SIZE = 64 * 1024;
3749
+ const {
3750
+ isFunction
3751
+ } = utils$1;
3752
+ const globalFetchAPI = (({
3753
+ Request,
3754
+ Response
3755
+ }) => ({
3756
+ Request,
3757
+ Response
3758
+ }))(utils$1.global);
3759
+ const {
3760
+ ReadableStream: ReadableStream$1,
3761
+ TextEncoder: TextEncoder$1
3762
+ } = utils$1.global;
3763
+ const test = (fn, ...args) => {
3764
+ try {
3765
+ return !!fn(...args);
3766
+ } catch (e) {
3767
+ return false;
3768
+ }
3769
+ };
3770
+ const factory = env => {
3771
+ env = utils$1.merge.call({
3772
+ skipUndefined: true
3773
+ }, globalFetchAPI, env);
3774
+ const {
3775
+ fetch: envFetch,
3776
+ Request,
3777
+ Response
3778
+ } = env;
3779
+ const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
3780
+ const isRequestSupported = isFunction(Request);
3781
+ const isResponseSupported = isFunction(Response);
3782
+ if (!isFetchSupported) {
3783
+ return false;
3784
+ }
3785
+ const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
3786
+ const encodeText = isFetchSupported && (typeof TextEncoder$1 === 'function' ? (encoder => str => encoder.encode(str))(new TextEncoder$1()) : async str => new Uint8Array(await new Request(str).arrayBuffer()));
3787
+ const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
3788
+ let duplexAccessed = false;
3789
+ const body = new ReadableStream$1();
3790
+ const hasContentType = new Request(platform.origin, {
3791
+ body,
3792
+ method: 'POST',
3793
+ get duplex() {
3794
+ duplexAccessed = true;
3795
+ return 'half';
3796
+ }
3797
+ }).headers.has('Content-Type');
3798
+ body.cancel();
3799
+ return duplexAccessed && !hasContentType;
3800
+ });
3801
+ const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response('').body));
3802
+ const resolvers = {
3803
+ stream: supportsResponseStream && (res => res.body)
3804
+ };
3805
+ isFetchSupported && (() => {
3806
+ ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
3807
+ !resolvers[type] && (resolvers[type] = (res, config) => {
3808
+ let method = res && res[type];
3809
+ if (method) {
3810
+ return method.call(res);
3811
+ }
3812
+ throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
3813
+ });
3814
+ });
3815
+ })();
3816
+ const getBodyLength = async body => {
3817
+ if (body == null) {
3818
+ return 0;
3819
+ }
3820
+ if (utils$1.isBlob(body)) {
3821
+ return body.size;
3822
+ }
3823
+ if (utils$1.isSpecCompliantForm(body)) {
3824
+ const _request = new Request(platform.origin, {
3825
+ method: 'POST',
3826
+ body
3827
+ });
3828
+ return (await _request.arrayBuffer()).byteLength;
3829
+ }
3830
+ if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
3831
+ return body.byteLength;
3832
+ }
3833
+ if (utils$1.isURLSearchParams(body)) {
3834
+ body = body + '';
3835
+ }
3836
+ if (utils$1.isString(body)) {
3837
+ return (await encodeText(body)).byteLength;
3838
+ }
3839
+ };
3840
+ const resolveBodyLength = async (headers, body) => {
3841
+ const length = utils$1.toFiniteNumber(headers.getContentLength());
3842
+ return length == null ? getBodyLength(body) : length;
3843
+ };
3844
+ return async config => {
3845
+ let {
3846
+ url,
3847
+ method,
3848
+ data,
3849
+ signal,
3850
+ cancelToken,
3851
+ timeout,
3852
+ onDownloadProgress,
3853
+ onUploadProgress,
3854
+ responseType,
3855
+ headers,
3856
+ withCredentials = 'same-origin',
3857
+ fetchOptions
3858
+ } = resolveConfig(config);
3859
+ let _fetch = envFetch || fetch;
3860
+ responseType = responseType ? (responseType + '').toLowerCase() : 'text';
3861
+ let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
3862
+ let request = null;
3863
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
3864
+ composedSignal.unsubscribe();
3865
+ });
3866
+ let requestContentLength;
3867
+ try {
3868
+ if (onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
3869
+ let _request = new Request(url, {
3870
+ method: 'POST',
3871
+ body: data,
3872
+ duplex: 'half'
3873
+ });
3874
+ let contentTypeHeader;
3875
+ if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
3876
+ headers.setContentType(contentTypeHeader);
3877
+ }
3878
+ if (_request.body) {
3879
+ const [onProgress, flush] = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress)));
3880
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
3881
+ }
3882
+ }
3883
+ if (!utils$1.isString(withCredentials)) {
3884
+ withCredentials = withCredentials ? 'include' : 'omit';
3885
+ }
3886
+
3887
+ // Cloudflare Workers throws when credentials are defined
3888
+ // see https://github.com/cloudflare/workerd/issues/902
3889
+ const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
3890
+ const resolvedOptions = {
3891
+ ...fetchOptions,
3892
+ signal: composedSignal,
3893
+ method: method.toUpperCase(),
3894
+ headers: headers.normalize().toJSON(),
3895
+ body: data,
3896
+ duplex: 'half',
3897
+ credentials: isCredentialsSupported ? withCredentials : undefined
3898
+ };
3899
+ request = isRequestSupported && new Request(url, resolvedOptions);
3900
+ let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
3901
+ const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
3902
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
3903
+ const options = {};
3904
+ ['status', 'statusText', 'headers'].forEach(prop => {
3905
+ options[prop] = response[prop];
3906
+ });
3907
+ const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
3908
+ const [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [];
3909
+ response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
3910
+ flush && flush();
3911
+ unsubscribe && unsubscribe();
3912
+ }), options);
3913
+ }
3914
+ responseType = responseType || 'text';
3915
+ let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
3916
+ !isStreamResponse && unsubscribe && unsubscribe();
3917
+ return await new Promise((resolve, reject) => {
3918
+ settle(resolve, reject, {
3919
+ data: responseData,
3920
+ headers: AxiosHeaders.from(response.headers),
3921
+ status: response.status,
3922
+ statusText: response.statusText,
3923
+ config,
3924
+ request
3925
+ });
3926
+ });
3927
+ } catch (err) {
3928
+ unsubscribe && unsubscribe();
3929
+ if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
3930
+ throw Object.assign(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, err && err.response), {
3931
+ cause: err.cause || err
3932
+ });
3933
+ }
3934
+ throw AxiosError.from(err, err && err.code, config, request, err && err.response);
3935
+ }
3936
+ };
3937
+ };
3938
+ const seedCache = new Map();
3939
+ const getFetch = config => {
3940
+ let env = config && config.env || {};
3941
+ const {
3942
+ fetch,
3943
+ Request,
3944
+ Response
3945
+ } = env;
3946
+ const seeds = [Request, Response, fetch];
3947
+ let len = seeds.length,
3948
+ i = len,
3949
+ seed,
3950
+ target,
3951
+ map = seedCache;
3952
+ while (i--) {
3953
+ seed = seeds[i];
3954
+ target = map.get(seed);
3955
+ target === undefined && map.set(seed, target = i ? new Map() : factory(env));
3956
+ map = target;
3957
+ }
3958
+ return target;
3959
+ };
3960
+ getFetch();
3961
+
3962
+ /**
3963
+ * Known adapters mapping.
3964
+ * Provides environment-specific adapters for Axios:
3965
+ * - `http` for Node.js
3966
+ * - `xhr` for browsers
3967
+ * - `fetch` for fetch API-based requests
3968
+ *
3969
+ * @type {Object<string, Function|Object>}
3970
+ */
3971
+ const knownAdapters = {
3972
+ http: httpAdapter,
3973
+ xhr: xhrAdapter,
3974
+ fetch: {
3975
+ get: getFetch
3976
+ }
3977
+ };
3978
+
3979
+ // Assign adapter names for easier debugging and identification
3980
+ utils$1.forEach(knownAdapters, (fn, value) => {
3981
+ if (fn) {
3982
+ try {
3983
+ Object.defineProperty(fn, 'name', {
3984
+ value
3985
+ });
3986
+ } catch (e) {
3987
+ // eslint-disable-next-line no-empty
3988
+ }
3989
+ Object.defineProperty(fn, 'adapterName', {
3990
+ value
3991
+ });
3992
+ }
3993
+ });
3994
+
3995
+ /**
3996
+ * Render a rejection reason string for unknown or unsupported adapters
3997
+ *
3998
+ * @param {string} reason
3999
+ * @returns {string}
4000
+ */
4001
+ const renderReason = reason => `- ${reason}`;
4002
+
4003
+ /**
4004
+ * Check if the adapter is resolved (function, null, or false)
4005
+ *
4006
+ * @param {Function|null|false} adapter
4007
+ * @returns {boolean}
4008
+ */
4009
+ const isResolvedHandle = adapter => utils$1.isFunction(adapter) || adapter === null || adapter === false;
4010
+
4011
+ /**
4012
+ * Get the first suitable adapter from the provided list.
4013
+ * Tries each adapter in order until a supported one is found.
4014
+ * Throws an AxiosError if no adapter is suitable.
4015
+ *
4016
+ * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
4017
+ * @param {Object} config - Axios request configuration
4018
+ * @throws {AxiosError} If no suitable adapter is available
4019
+ * @returns {Function} The resolved adapter function
4020
+ */
4021
+ function getAdapter(adapters, config) {
4022
+ adapters = utils$1.isArray(adapters) ? adapters : [adapters];
4023
+ const {
4024
+ length
4025
+ } = adapters;
4026
+ let nameOrAdapter;
4027
+ let adapter;
4028
+ const rejectedReasons = {};
4029
+ for (let i = 0; i < length; i++) {
4030
+ nameOrAdapter = adapters[i];
4031
+ let id;
4032
+ adapter = nameOrAdapter;
4033
+ if (!isResolvedHandle(nameOrAdapter)) {
4034
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
4035
+ if (adapter === undefined) {
4036
+ throw new AxiosError(`Unknown adapter '${id}'`);
4037
+ }
4038
+ }
4039
+ if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
4040
+ break;
4041
+ }
4042
+ rejectedReasons[id || '#' + i] = adapter;
4043
+ }
4044
+ if (!adapter) {
4045
+ const reasons = Object.entries(rejectedReasons).map(([id, state]) => `adapter ${id} ` + (state === false ? 'is not supported by the environment' : 'is not available in the build'));
4046
+ let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
4047
+ throw new AxiosError(`There is no suitable adapter to dispatch the request ` + s, 'ERR_NOT_SUPPORT');
4048
+ }
4049
+ return adapter;
4050
+ }
4051
+
4052
+ /**
4053
+ * Exports Axios adapters and utility to resolve an adapter
4054
+ */
4055
+ var adapters = {
4056
+ /**
4057
+ * Resolve an adapter from a list of adapter names or functions.
4058
+ * @type {Function}
4059
+ */
4060
+ getAdapter,
4061
+ /**
4062
+ * Exposes all known adapters
4063
+ * @type {Object<string, Function|Object>}
4064
+ */
4065
+ adapters: knownAdapters
4066
+ };
4067
+
4068
+ /**
4069
+ * Throws a `CanceledError` if cancellation has been requested.
4070
+ *
4071
+ * @param {Object} config The config that is to be used for the request
4072
+ *
4073
+ * @returns {void}
4074
+ */
4075
+ function throwIfCancellationRequested(config) {
4076
+ if (config.cancelToken) {
4077
+ config.cancelToken.throwIfRequested();
4078
+ }
4079
+ if (config.signal && config.signal.aborted) {
4080
+ throw new CanceledError(null, config);
4081
+ }
4082
+ }
4083
+
4084
+ /**
4085
+ * Dispatch a request to the server using the configured adapter.
4086
+ *
4087
+ * @param {object} config The config that is to be used for the request
4088
+ *
4089
+ * @returns {Promise} The Promise to be fulfilled
4090
+ */
4091
+ function dispatchRequest(config) {
4092
+ throwIfCancellationRequested(config);
4093
+ config.headers = AxiosHeaders.from(config.headers);
4094
+
4095
+ // Transform request data
4096
+ config.data = transformData.call(config, config.transformRequest);
4097
+ if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
4098
+ config.headers.setContentType('application/x-www-form-urlencoded', false);
4099
+ }
4100
+ const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);
4101
+ return adapter(config).then(function onAdapterResolution(response) {
4102
+ throwIfCancellationRequested(config);
4103
+
4104
+ // Transform response data
4105
+ response.data = transformData.call(config, config.transformResponse, response);
4106
+ response.headers = AxiosHeaders.from(response.headers);
4107
+ return response;
4108
+ }, function onAdapterRejection(reason) {
4109
+ if (!isCancel(reason)) {
4110
+ throwIfCancellationRequested(config);
4111
+
4112
+ // Transform response data
4113
+ if (reason && reason.response) {
4114
+ reason.response.data = transformData.call(config, config.transformResponse, reason.response);
4115
+ reason.response.headers = AxiosHeaders.from(reason.response.headers);
4116
+ }
4117
+ }
4118
+ return Promise.reject(reason);
4119
+ });
4120
+ }
4121
+
4122
+ const validators$1 = {};
4123
+
4124
+ // eslint-disable-next-line func-names
4125
+ ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {
4126
+ validators$1[type] = function validator(thing) {
4127
+ return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
4128
+ };
4129
+ });
4130
+ const deprecatedWarnings = {};
4131
+
4132
+ /**
4133
+ * Transitional option validator
4134
+ *
4135
+ * @param {function|boolean?} validator - set to false if the transitional option has been removed
4136
+ * @param {string?} version - deprecated version / removed since version
4137
+ * @param {string?} message - some message with additional info
4138
+ *
4139
+ * @returns {function}
4140
+ */
4141
+ validators$1.transitional = function transitional(validator, version, message) {
4142
+ function formatMessage(opt, desc) {
4143
+ return '[Axios v' + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : '');
4144
+ }
4145
+
4146
+ // eslint-disable-next-line func-names
4147
+ return (value, opt, opts) => {
4148
+ if (validator === false) {
4149
+ throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
4150
+ }
4151
+ if (version && !deprecatedWarnings[opt]) {
4152
+ deprecatedWarnings[opt] = true;
4153
+ // eslint-disable-next-line no-console
4154
+ console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
4155
+ }
4156
+ return validator ? validator(value, opt, opts) : true;
4157
+ };
4158
+ };
4159
+ validators$1.spelling = function spelling(correctSpelling) {
4160
+ return (value, opt) => {
4161
+ // eslint-disable-next-line no-console
4162
+ console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
4163
+ return true;
4164
+ };
4165
+ };
4166
+
4167
+ /**
4168
+ * Assert object's properties type
4169
+ *
4170
+ * @param {object} options
4171
+ * @param {object} schema
4172
+ * @param {boolean?} allowUnknown
4173
+ *
4174
+ * @returns {object}
4175
+ */
4176
+
4177
+ function assertOptions(options, schema, allowUnknown) {
4178
+ if (typeof options !== 'object') {
4179
+ throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
4180
+ }
4181
+ const keys = Object.keys(options);
4182
+ let i = keys.length;
4183
+ while (i-- > 0) {
4184
+ const opt = keys[i];
4185
+ const validator = schema[opt];
4186
+ if (validator) {
4187
+ const value = options[opt];
4188
+ const result = value === undefined || validator(value, opt, options);
4189
+ if (result !== true) {
4190
+ throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
4191
+ }
4192
+ continue;
4193
+ }
4194
+ if (allowUnknown !== true) {
4195
+ throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
4196
+ }
4197
+ }
4198
+ }
4199
+ var validator = {
4200
+ assertOptions,
4201
+ validators: validators$1
4202
+ };
4203
+
4204
+ const validators = validator.validators;
4205
+
4206
+ /**
4207
+ * Create a new instance of Axios
4208
+ *
4209
+ * @param {Object} instanceConfig The default config for the instance
4210
+ *
4211
+ * @return {Axios} A new instance of Axios
4212
+ */
4213
+ class Axios {
4214
+ constructor(instanceConfig) {
4215
+ this.defaults = instanceConfig || {};
4216
+ this.interceptors = {
4217
+ request: new InterceptorManager(),
4218
+ response: new InterceptorManager()
4219
+ };
4220
+ }
4221
+
4222
+ /**
4223
+ * Dispatch a request
4224
+ *
4225
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
4226
+ * @param {?Object} config
4227
+ *
4228
+ * @returns {Promise} The Promise to be fulfilled
4229
+ */
4230
+ async request(configOrUrl, config) {
4231
+ try {
4232
+ return await this._request(configOrUrl, config);
4233
+ } catch (err) {
4234
+ if (err instanceof Error) {
4235
+ let dummy = {};
4236
+ Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
4237
+
4238
+ // slice off the Error: ... line
4239
+ const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
4240
+ try {
4241
+ if (!err.stack) {
4242
+ err.stack = stack;
4243
+ // match without the 2 top stack lines
4244
+ } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
4245
+ err.stack += '\n' + stack;
4246
+ }
4247
+ } catch (e) {
4248
+ // ignore the case where "stack" is an un-writable property
4249
+ }
4250
+ }
4251
+ throw err;
4252
+ }
4253
+ }
4254
+ _request(configOrUrl, config) {
4255
+ /*eslint no-param-reassign:0*/
4256
+ // Allow for axios('example/url'[, config]) a la fetch API
4257
+ if (typeof configOrUrl === 'string') {
4258
+ config = config || {};
4259
+ config.url = configOrUrl;
4260
+ } else {
4261
+ config = configOrUrl || {};
4262
+ }
4263
+ config = mergeConfig(this.defaults, config);
4264
+ const {
4265
+ transitional,
4266
+ paramsSerializer,
4267
+ headers
4268
+ } = config;
4269
+ if (transitional !== undefined) {
4270
+ validator.assertOptions(transitional, {
4271
+ silentJSONParsing: validators.transitional(validators.boolean),
4272
+ forcedJSONParsing: validators.transitional(validators.boolean),
4273
+ clarifyTimeoutError: validators.transitional(validators.boolean),
4274
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
4275
+ }, false);
4276
+ }
4277
+ if (paramsSerializer != null) {
4278
+ if (utils$1.isFunction(paramsSerializer)) {
4279
+ config.paramsSerializer = {
4280
+ serialize: paramsSerializer
4281
+ };
4282
+ } else {
4283
+ validator.assertOptions(paramsSerializer, {
4284
+ encode: validators.function,
4285
+ serialize: validators.function
4286
+ }, true);
4287
+ }
4288
+ }
4289
+
4290
+ // Set config.allowAbsoluteUrls
4291
+ if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
4292
+ config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
4293
+ } else {
4294
+ config.allowAbsoluteUrls = true;
4295
+ }
4296
+ validator.assertOptions(config, {
4297
+ baseUrl: validators.spelling('baseURL'),
4298
+ withXsrfToken: validators.spelling('withXSRFToken')
4299
+ }, true);
4300
+
4301
+ // Set config.method
4302
+ config.method = (config.method || this.defaults.method || 'get').toLowerCase();
4303
+
4304
+ // Flatten headers
4305
+ let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
4306
+ headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], method => {
4307
+ delete headers[method];
4308
+ });
4309
+ config.headers = AxiosHeaders.concat(contextHeaders, headers);
4310
+
4311
+ // filter out skipped interceptors
4312
+ const requestInterceptorChain = [];
4313
+ let synchronousRequestInterceptors = true;
4314
+ this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
4315
+ if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
4316
+ return;
4317
+ }
4318
+ synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
4319
+ const transitional = config.transitional || transitionalDefaults;
4320
+ const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
4321
+ if (legacyInterceptorReqResOrdering) {
4322
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
4323
+ } else {
4324
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
4325
+ }
4326
+ });
4327
+ const responseInterceptorChain = [];
4328
+ this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
4329
+ responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
4330
+ });
4331
+ let promise;
4332
+ let i = 0;
4333
+ let len;
4334
+ if (!synchronousRequestInterceptors) {
4335
+ const chain = [dispatchRequest.bind(this), undefined];
4336
+ chain.unshift(...requestInterceptorChain);
4337
+ chain.push(...responseInterceptorChain);
4338
+ len = chain.length;
4339
+ promise = Promise.resolve(config);
4340
+ while (i < len) {
4341
+ promise = promise.then(chain[i++], chain[i++]);
4342
+ }
4343
+ return promise;
4344
+ }
4345
+ len = requestInterceptorChain.length;
4346
+ let newConfig = config;
4347
+ while (i < len) {
4348
+ const onFulfilled = requestInterceptorChain[i++];
4349
+ const onRejected = requestInterceptorChain[i++];
4350
+ try {
4351
+ newConfig = onFulfilled(newConfig);
4352
+ } catch (error) {
4353
+ onRejected.call(this, error);
4354
+ break;
4355
+ }
4356
+ }
4357
+ try {
4358
+ promise = dispatchRequest.call(this, newConfig);
4359
+ } catch (error) {
4360
+ return Promise.reject(error);
4361
+ }
4362
+ i = 0;
4363
+ len = responseInterceptorChain.length;
4364
+ while (i < len) {
4365
+ promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
4366
+ }
4367
+ return promise;
4368
+ }
4369
+ getUri(config) {
4370
+ config = mergeConfig(this.defaults, config);
4371
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
4372
+ return buildURL(fullPath, config.params, config.paramsSerializer);
4373
+ }
4374
+ }
4375
+
4376
+ // Provide aliases for supported request methods
4377
+ utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
4378
+ /*eslint func-names:0*/
4379
+ Axios.prototype[method] = function (url, config) {
4380
+ return this.request(mergeConfig(config || {}, {
4381
+ method,
4382
+ url,
4383
+ data: (config || {}).data
4384
+ }));
4385
+ };
4386
+ });
4387
+ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
4388
+ function generateHTTPMethod(isForm) {
4389
+ return function httpMethod(url, data, config) {
4390
+ return this.request(mergeConfig(config || {}, {
4391
+ method,
4392
+ headers: isForm ? {
4393
+ 'Content-Type': 'multipart/form-data'
4394
+ } : {},
4395
+ url,
4396
+ data
4397
+ }));
4398
+ };
4399
+ }
4400
+ Axios.prototype[method] = generateHTTPMethod();
4401
+ Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
4402
+ });
4403
+
4404
+ /**
4405
+ * A `CancelToken` is an object that can be used to request cancellation of an operation.
4406
+ *
4407
+ * @param {Function} executor The executor function.
4408
+ *
4409
+ * @returns {CancelToken}
4410
+ */
4411
+ class CancelToken {
4412
+ constructor(executor) {
4413
+ if (typeof executor !== 'function') {
4414
+ throw new TypeError('executor must be a function.');
4415
+ }
4416
+ let resolvePromise;
4417
+ this.promise = new Promise(function promiseExecutor(resolve) {
4418
+ resolvePromise = resolve;
4419
+ });
4420
+ const token = this;
4421
+
4422
+ // eslint-disable-next-line func-names
4423
+ this.promise.then(cancel => {
4424
+ if (!token._listeners) return;
4425
+ let i = token._listeners.length;
4426
+ while (i-- > 0) {
4427
+ token._listeners[i](cancel);
4428
+ }
4429
+ token._listeners = null;
4430
+ });
4431
+
4432
+ // eslint-disable-next-line func-names
4433
+ this.promise.then = onfulfilled => {
4434
+ let _resolve;
4435
+ // eslint-disable-next-line func-names
4436
+ const promise = new Promise(resolve => {
4437
+ token.subscribe(resolve);
4438
+ _resolve = resolve;
4439
+ }).then(onfulfilled);
4440
+ promise.cancel = function reject() {
4441
+ token.unsubscribe(_resolve);
4442
+ };
4443
+ return promise;
4444
+ };
4445
+ executor(function cancel(message, config, request) {
4446
+ if (token.reason) {
4447
+ // Cancellation has already been requested
4448
+ return;
4449
+ }
4450
+ token.reason = new CanceledError(message, config, request);
4451
+ resolvePromise(token.reason);
4452
+ });
4453
+ }
4454
+
4455
+ /**
4456
+ * Throws a `CanceledError` if cancellation has been requested.
4457
+ */
4458
+ throwIfRequested() {
4459
+ if (this.reason) {
4460
+ throw this.reason;
4461
+ }
4462
+ }
4463
+
4464
+ /**
4465
+ * Subscribe to the cancel signal
4466
+ */
4467
+
4468
+ subscribe(listener) {
4469
+ if (this.reason) {
4470
+ listener(this.reason);
4471
+ return;
4472
+ }
4473
+ if (this._listeners) {
4474
+ this._listeners.push(listener);
4475
+ } else {
4476
+ this._listeners = [listener];
4477
+ }
4478
+ }
4479
+
4480
+ /**
4481
+ * Unsubscribe from the cancel signal
4482
+ */
4483
+
4484
+ unsubscribe(listener) {
4485
+ if (!this._listeners) {
4486
+ return;
4487
+ }
4488
+ const index = this._listeners.indexOf(listener);
4489
+ if (index !== -1) {
4490
+ this._listeners.splice(index, 1);
4491
+ }
4492
+ }
4493
+ toAbortSignal() {
4494
+ const controller = new AbortController();
4495
+ const abort = err => {
4496
+ controller.abort(err);
4497
+ };
4498
+ this.subscribe(abort);
4499
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
4500
+ return controller.signal;
4501
+ }
4502
+
4503
+ /**
4504
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
4505
+ * cancels the `CancelToken`.
4506
+ */
4507
+ static source() {
4508
+ let cancel;
4509
+ const token = new CancelToken(function executor(c) {
4510
+ cancel = c;
4511
+ });
4512
+ return {
4513
+ token,
4514
+ cancel
4515
+ };
4516
+ }
4517
+ }
4518
+
4519
+ /**
4520
+ * Syntactic sugar for invoking a function and expanding an array for arguments.
4521
+ *
4522
+ * Common use case would be to use `Function.prototype.apply`.
4523
+ *
4524
+ * ```js
4525
+ * function f(x, y, z) {}
4526
+ * const args = [1, 2, 3];
4527
+ * f.apply(null, args);
4528
+ * ```
4529
+ *
4530
+ * With `spread` this example can be re-written.
4531
+ *
4532
+ * ```js
4533
+ * spread(function(x, y, z) {})([1, 2, 3]);
4534
+ * ```
4535
+ *
4536
+ * @param {Function} callback
4537
+ *
4538
+ * @returns {Function}
4539
+ */
4540
+ function spread(callback) {
4541
+ return function wrap(arr) {
4542
+ return callback.apply(null, arr);
4543
+ };
4544
+ }
4545
+
4546
+ /**
4547
+ * Determines whether the payload is an error thrown by Axios
4548
+ *
4549
+ * @param {*} payload The value to test
4550
+ *
4551
+ * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
4552
+ */
4553
+ function isAxiosError(payload) {
4554
+ return utils$1.isObject(payload) && payload.isAxiosError === true;
4555
+ }
4556
+
4557
+ const HttpStatusCode = {
4558
+ Continue: 100,
4559
+ SwitchingProtocols: 101,
4560
+ Processing: 102,
4561
+ EarlyHints: 103,
4562
+ Ok: 200,
4563
+ Created: 201,
4564
+ Accepted: 202,
4565
+ NonAuthoritativeInformation: 203,
4566
+ NoContent: 204,
4567
+ ResetContent: 205,
4568
+ PartialContent: 206,
4569
+ MultiStatus: 207,
4570
+ AlreadyReported: 208,
4571
+ ImUsed: 226,
4572
+ MultipleChoices: 300,
4573
+ MovedPermanently: 301,
4574
+ Found: 302,
4575
+ SeeOther: 303,
4576
+ NotModified: 304,
4577
+ UseProxy: 305,
4578
+ Unused: 306,
4579
+ TemporaryRedirect: 307,
4580
+ PermanentRedirect: 308,
4581
+ BadRequest: 400,
4582
+ Unauthorized: 401,
4583
+ PaymentRequired: 402,
4584
+ Forbidden: 403,
4585
+ NotFound: 404,
4586
+ MethodNotAllowed: 405,
4587
+ NotAcceptable: 406,
4588
+ ProxyAuthenticationRequired: 407,
4589
+ RequestTimeout: 408,
4590
+ Conflict: 409,
4591
+ Gone: 410,
4592
+ LengthRequired: 411,
4593
+ PreconditionFailed: 412,
4594
+ PayloadTooLarge: 413,
4595
+ UriTooLong: 414,
4596
+ UnsupportedMediaType: 415,
4597
+ RangeNotSatisfiable: 416,
4598
+ ExpectationFailed: 417,
4599
+ ImATeapot: 418,
4600
+ MisdirectedRequest: 421,
4601
+ UnprocessableEntity: 422,
4602
+ Locked: 423,
4603
+ FailedDependency: 424,
4604
+ TooEarly: 425,
4605
+ UpgradeRequired: 426,
4606
+ PreconditionRequired: 428,
4607
+ TooManyRequests: 429,
4608
+ RequestHeaderFieldsTooLarge: 431,
4609
+ UnavailableForLegalReasons: 451,
4610
+ InternalServerError: 500,
4611
+ NotImplemented: 501,
4612
+ BadGateway: 502,
4613
+ ServiceUnavailable: 503,
4614
+ GatewayTimeout: 504,
4615
+ HttpVersionNotSupported: 505,
4616
+ VariantAlsoNegotiates: 506,
4617
+ InsufficientStorage: 507,
4618
+ LoopDetected: 508,
4619
+ NotExtended: 510,
4620
+ NetworkAuthenticationRequired: 511,
4621
+ WebServerIsDown: 521,
4622
+ ConnectionTimedOut: 522,
4623
+ OriginIsUnreachable: 523,
4624
+ TimeoutOccurred: 524,
4625
+ SslHandshakeFailed: 525,
4626
+ InvalidSslCertificate: 526
4627
+ };
4628
+ Object.entries(HttpStatusCode).forEach(([key, value]) => {
4629
+ HttpStatusCode[value] = key;
4630
+ });
4631
+
4632
+ /**
4633
+ * Create an instance of Axios
4634
+ *
4635
+ * @param {Object} defaultConfig The default config for the instance
4636
+ *
4637
+ * @returns {Axios} A new instance of Axios
4638
+ */
4639
+ function createInstance(defaultConfig) {
4640
+ const context = new Axios(defaultConfig);
4641
+ const instance = bind(Axios.prototype.request, context);
4642
+
4643
+ // Copy axios.prototype to instance
4644
+ utils$1.extend(instance, Axios.prototype, context, {
4645
+ allOwnKeys: true
4646
+ });
4647
+
4648
+ // Copy context to instance
4649
+ utils$1.extend(instance, context, null, {
4650
+ allOwnKeys: true
4651
+ });
4652
+
4653
+ // Factory for creating new instances
4654
+ instance.create = function create(instanceConfig) {
4655
+ return createInstance(mergeConfig(defaultConfig, instanceConfig));
4656
+ };
4657
+ return instance;
4658
+ }
4659
+
4660
+ // Create the default instance to be exported
4661
+ const axios = createInstance(defaults);
4662
+
4663
+ // Expose Axios class to allow class inheritance
4664
+ axios.Axios = Axios;
4665
+
4666
+ // Expose Cancel & CancelToken
4667
+ axios.CanceledError = CanceledError;
4668
+ axios.CancelToken = CancelToken;
4669
+ axios.isCancel = isCancel;
4670
+ axios.VERSION = VERSION;
4671
+ axios.toFormData = toFormData;
4672
+
4673
+ // Expose AxiosError class
4674
+ axios.AxiosError = AxiosError;
4675
+
4676
+ // alias for CanceledError for backward compatibility
4677
+ axios.Cancel = axios.CanceledError;
4678
+
4679
+ // Expose all/spread
4680
+ axios.all = function all(promises) {
4681
+ return Promise.all(promises);
4682
+ };
4683
+ axios.spread = spread;
4684
+
4685
+ // Expose isAxiosError
4686
+ axios.isAxiosError = isAxiosError;
4687
+
4688
+ // Expose mergeConfig
4689
+ axios.mergeConfig = mergeConfig;
4690
+ axios.AxiosHeaders = AxiosHeaders;
4691
+ axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
4692
+ axios.getAdapter = adapters.getAdapter;
4693
+ axios.HttpStatusCode = HttpStatusCode;
4694
+ axios.default = axios;
4695
+
4696
+ module.exports = axios;
4697
+ //# sourceMappingURL=axios.cjs.map