@smallwei/avue 3.8.6 → 3.9.1

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 (629) hide show
  1. package/README.md +208 -208
  2. package/dist/avue.js +2 -2
  3. package/dist/avue.js.map +1 -1
  4. package/dist/avue.min.js +2 -2
  5. package/es/_virtual/_commonjs-dynamic-modules.mjs +6 -0
  6. package/es/_virtual/_commonjsHelpers.mjs +1 -1
  7. package/es/_virtual/axios.mjs +8 -0
  8. package/es/_virtual/axios2.mjs +4 -0
  9. package/es/_virtual/countUp.min.mjs +28 -0
  10. package/es/_virtual/countUp.min2.mjs +4 -0
  11. package/es/_virtual/dayjs.min.mjs +1 -1
  12. package/es/_virtual/dayjs.min2.mjs +1 -1
  13. package/es/node_modules/.pnpm/countup.js@1.9.3/node_modules/countup.js/dist/countUp.min.mjs +18 -0
  14. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +1 -1
  15. package/es/node_modules/axios/dist/axios.mjs +2147 -0
  16. package/es/packages/core/common/event.mjs +1 -1
  17. package/es/packages/core/common/init.mjs +1 -1
  18. package/es/packages/core/common/props.mjs +1 -1
  19. package/es/packages/core/components/dialog-form/index.mjs +1 -1
  20. package/es/packages/core/components/dialog-form/index2.mjs +1 -1
  21. package/es/packages/core/components/dialog-form/index3.mjs +16 -16
  22. package/es/packages/core/components/dialog-form/index4.mjs +1 -1
  23. package/es/packages/core/components/form/custom.mjs +1 -1
  24. package/es/packages/core/components/form/index.mjs +1 -1
  25. package/es/packages/core/components/form/index2.mjs +1 -1
  26. package/es/packages/core/components/form/index3.mjs +1 -1
  27. package/es/packages/core/components/icon/index.mjs +1 -1
  28. package/es/packages/core/components/icon/index2.mjs +1 -1
  29. package/es/packages/core/components/icon/index3.mjs +1 -1
  30. package/es/packages/core/components/image-preview/index.mjs +1 -1
  31. package/es/packages/core/components/image-preview/index2.mjs +1 -1
  32. package/es/packages/core/components/image-preview/index3.mjs +1 -1
  33. package/es/packages/core/components/image-preview/index4.mjs +1 -1
  34. package/es/packages/core/directive/contextmenu.mjs +1 -1
  35. package/es/packages/core/directive/permission.mjs +1 -1
  36. package/es/packages/data/box/index.mjs +1 -1
  37. package/es/packages/data/box/index2.mjs +1 -1
  38. package/es/packages/data/box/index3.mjs +1 -1
  39. package/es/packages/data/card/index.mjs +1 -1
  40. package/es/packages/data/card/index2.mjs +1 -1
  41. package/es/packages/data/card/index3.mjs +1 -1
  42. package/es/packages/data/cardText/index.mjs +1 -1
  43. package/es/packages/data/cardText/index2.mjs +1 -1
  44. package/es/packages/data/cardText/index3.mjs +1 -1
  45. package/es/packages/data/countdown/index.mjs +1 -1
  46. package/es/packages/data/countdown/index2.mjs +7 -7
  47. package/es/packages/data/countdown/index3.mjs +1 -1
  48. package/es/packages/data/dashboard/index.mjs +1 -1
  49. package/es/packages/data/dashboard/index2.mjs +1 -1
  50. package/es/packages/data/dashboard/index3.mjs +1 -1
  51. package/es/packages/data/display/index.mjs +1 -1
  52. package/es/packages/data/display/index2.mjs +1 -1
  53. package/es/packages/data/display/index3.mjs +1 -1
  54. package/es/packages/data/icons/index.mjs +1 -1
  55. package/es/packages/data/icons/index2.mjs +1 -1
  56. package/es/packages/data/icons/index3.mjs +1 -1
  57. package/es/packages/data/imgText/index.mjs +1 -1
  58. package/es/packages/data/imgText/index2.mjs +1 -1
  59. package/es/packages/data/imgText/index3.mjs +1 -1
  60. package/es/packages/data/list/index.mjs +1 -1
  61. package/es/packages/data/list/index2.mjs +1 -1
  62. package/es/packages/data/list/index3.mjs +1 -1
  63. package/es/packages/data/notice/index.mjs +1 -1
  64. package/es/packages/data/notice/index2.mjs +13 -13
  65. package/es/packages/data/notice/index3.mjs +1 -1
  66. package/es/packages/data/operaText/index.mjs +1 -1
  67. package/es/packages/data/operaText/index2.mjs +1 -1
  68. package/es/packages/data/operaText/index3.mjs +1 -1
  69. package/es/packages/data/panel/index.mjs +1 -1
  70. package/es/packages/data/panel/index2.mjs +1 -1
  71. package/es/packages/data/panel/index3.mjs +1 -1
  72. package/es/packages/data/pay/index.mjs +1 -1
  73. package/es/packages/data/pay/index2.mjs +1 -1
  74. package/es/packages/data/pay/index3.mjs +1 -1
  75. package/es/packages/data/price/index.mjs +1 -1
  76. package/es/packages/data/price/index2.mjs +1 -1
  77. package/es/packages/data/price/index3.mjs +1 -1
  78. package/es/packages/data/product/index.mjs +1 -1
  79. package/es/packages/data/product/index2.mjs +13 -13
  80. package/es/packages/data/product/index3.mjs +1 -1
  81. package/es/packages/data/profile/index.mjs +1 -1
  82. package/es/packages/data/profile/index2.mjs +1 -1
  83. package/es/packages/data/profile/index3.mjs +1 -1
  84. package/es/packages/data/progress/index.mjs +1 -1
  85. package/es/packages/data/progress/index2.mjs +1 -1
  86. package/es/packages/data/progress/index3.mjs +1 -1
  87. package/es/packages/data/rank/index.mjs +1 -1
  88. package/es/packages/data/rank/index2.mjs +1 -1
  89. package/es/packages/data/rank/index3.mjs +1 -1
  90. package/es/packages/data/rotate/index.mjs +1 -1
  91. package/es/packages/data/rotate/index2.mjs +7 -7
  92. package/es/packages/data/rotate/index3.mjs +1 -1
  93. package/es/packages/data/statistic/index.mjs +1 -1
  94. package/es/packages/data/statistic/index2.mjs +1 -1
  95. package/es/packages/data/statistic/index3.mjs +1 -1
  96. package/es/packages/data/tabs/index.mjs +1 -1
  97. package/es/packages/data/tabs/index2.mjs +1 -1
  98. package/es/packages/data/tabs/index3.mjs +1 -1
  99. package/es/packages/data/task/index.mjs +1 -1
  100. package/es/packages/data/task/index2.mjs +27 -27
  101. package/es/packages/data/task/index3.mjs +1 -1
  102. package/es/packages/data/weather/index.mjs +1 -1
  103. package/es/packages/data/weather/index2.mjs +44 -44
  104. package/es/packages/data/weather/index3.mjs +1 -1
  105. package/es/packages/element-plus/array/index.mjs +1 -1
  106. package/es/packages/element-plus/array/index2.mjs +1 -1
  107. package/es/packages/element-plus/array/index3.mjs +1 -1
  108. package/es/packages/element-plus/article/index.mjs +1 -1
  109. package/es/packages/element-plus/article/index2.mjs +1 -1
  110. package/es/packages/element-plus/article/index3.mjs +1 -1
  111. package/es/packages/element-plus/card/index.mjs +1 -1
  112. package/es/packages/element-plus/card/index2.mjs +10 -10
  113. package/es/packages/element-plus/card/index3.mjs +1 -1
  114. package/es/packages/element-plus/cascader/index.mjs +1 -1
  115. package/es/packages/element-plus/cascader/index2.mjs +1 -1
  116. package/es/packages/element-plus/cascader/index3.mjs +1 -1
  117. package/es/packages/element-plus/chat/index.mjs +1 -1
  118. package/es/packages/element-plus/chat/index2.mjs +1 -1
  119. package/es/packages/element-plus/chat/index3.mjs +1 -1
  120. package/es/packages/element-plus/checkbox/index.mjs +1 -1
  121. package/es/packages/element-plus/checkbox/index2.mjs +1 -1
  122. package/es/packages/element-plus/checkbox/index3.mjs +1 -1
  123. package/es/packages/element-plus/comment/index.mjs +1 -1
  124. package/es/packages/element-plus/comment/index2.mjs +1 -1
  125. package/es/packages/element-plus/comment/index3.mjs +1 -1
  126. package/es/packages/element-plus/count-up/index.mjs +1 -1
  127. package/es/packages/element-plus/count-up/index2.mjs +11 -10
  128. package/es/packages/element-plus/count-up/index3.mjs +1 -1
  129. package/es/packages/element-plus/crud/column/column-default.mjs +1 -1
  130. package/es/packages/element-plus/crud/column/column-default2.mjs +1 -1
  131. package/es/packages/element-plus/crud/column/column-default3.mjs +1 -1
  132. package/es/packages/element-plus/crud/column/column-dynamic.mjs +1 -1
  133. package/es/packages/element-plus/crud/column/column-dynamic2.mjs +1 -1
  134. package/es/packages/element-plus/crud/column/column-dynamic3.mjs +1 -1
  135. package/es/packages/element-plus/crud/column/column-menu.mjs +1 -1
  136. package/es/packages/element-plus/crud/column/column-menu2.mjs +1 -1
  137. package/es/packages/element-plus/crud/column/column-menu3.mjs +1 -1
  138. package/es/packages/element-plus/crud/column/column-slot.mjs +1 -1
  139. package/es/packages/element-plus/crud/column/column-slot2.mjs +1 -1
  140. package/es/packages/element-plus/crud/column/column-slot3.mjs +1 -1
  141. package/es/packages/element-plus/crud/column/column.mjs +1 -1
  142. package/es/packages/element-plus/crud/column/column2.mjs +1 -1
  143. package/es/packages/element-plus/crud/column/column3.mjs +1 -1
  144. package/es/packages/element-plus/crud/column/menu.mjs +1 -1
  145. package/es/packages/element-plus/crud/column/menu2.mjs +1 -1
  146. package/es/packages/element-plus/crud/column/menu3.mjs +1 -1
  147. package/es/packages/element-plus/crud/config.mjs +1 -1
  148. package/es/packages/element-plus/crud/dialog/dialog-column.mjs +1 -1
  149. package/es/packages/element-plus/crud/dialog/dialog-column2.mjs +1 -1
  150. package/es/packages/element-plus/crud/dialog/dialog-column3.mjs +1 -1
  151. package/es/packages/element-plus/crud/dialog/dialog-excel.mjs +1 -1
  152. package/es/packages/element-plus/crud/dialog/dialog-excel2.mjs +1 -1
  153. package/es/packages/element-plus/crud/dialog/dialog-excel3.mjs +1 -1
  154. package/es/packages/element-plus/crud/dialog/dialog-filter.mjs +1 -1
  155. package/es/packages/element-plus/crud/dialog/dialog-filter2.mjs +1 -1
  156. package/es/packages/element-plus/crud/dialog/dialog-filter3.mjs +1 -1
  157. package/es/packages/element-plus/crud/dialog/dialog-form.mjs +1 -1
  158. package/es/packages/element-plus/crud/dialog/dialog-form2.mjs +1 -1
  159. package/es/packages/element-plus/crud/dialog/dialog-form3.mjs +1 -1
  160. package/es/packages/element-plus/crud/grid/index.mjs +1 -1
  161. package/es/packages/element-plus/crud/grid/index2.mjs +1 -1
  162. package/es/packages/element-plus/crud/grid/index3.mjs +1 -1
  163. package/es/packages/element-plus/crud/grid/item.mjs +1 -1
  164. package/es/packages/element-plus/crud/grid/item2.mjs +1 -1
  165. package/es/packages/element-plus/crud/grid/item3.mjs +1 -1
  166. package/es/packages/element-plus/crud/index.mjs +1 -1
  167. package/es/packages/element-plus/crud/index2.mjs +1 -1
  168. package/es/packages/element-plus/crud/index3.mjs +1 -1
  169. package/es/packages/element-plus/crud/menu/header-menu.mjs +1 -1
  170. package/es/packages/element-plus/crud/menu/header-menu2.mjs +23 -23
  171. package/es/packages/element-plus/crud/menu/header-menu3.mjs +1 -1
  172. package/es/packages/element-plus/crud/menu/header-search.mjs +1 -1
  173. package/es/packages/element-plus/crud/menu/header-search2.mjs +1 -1
  174. package/es/packages/element-plus/crud/menu/header-search3.mjs +1 -1
  175. package/es/packages/element-plus/crud/menu/table-page.mjs +1 -1
  176. package/es/packages/element-plus/crud/menu/table-page2.mjs +1 -1
  177. package/es/packages/element-plus/crud/menu/table-page3.mjs +1 -1
  178. package/es/packages/element-plus/date/index.mjs +1 -1
  179. package/es/packages/element-plus/date/index2.mjs +1 -1
  180. package/es/packages/element-plus/date/index3.mjs +1 -1
  181. package/es/packages/element-plus/draggable/index.mjs +1 -1
  182. package/es/packages/element-plus/draggable/index2.mjs +1 -1
  183. package/es/packages/element-plus/draggable/index3.mjs +1 -1
  184. package/es/packages/element-plus/dynamic/index.mjs +1 -1
  185. package/es/packages/element-plus/dynamic/index2.mjs +1 -1
  186. package/es/packages/element-plus/dynamic/index3.mjs +1 -1
  187. package/es/packages/element-plus/flow/index.mjs +1 -1
  188. package/es/packages/element-plus/flow/index2.mjs +40 -40
  189. package/es/packages/element-plus/flow/index3.mjs +1 -1
  190. package/es/packages/element-plus/flow/node.mjs +1 -1
  191. package/es/packages/element-plus/flow/node2.mjs +1 -1
  192. package/es/packages/element-plus/flow/node3.mjs +1 -1
  193. package/es/packages/element-plus/form/config.mjs +1 -1
  194. package/es/packages/element-plus/form/index.mjs +1 -1
  195. package/es/packages/element-plus/form/index2.mjs +1 -1
  196. package/es/packages/element-plus/form/index3.mjs +1 -1
  197. package/es/packages/element-plus/form/menu.mjs +1 -1
  198. package/es/packages/element-plus/form/menu2.mjs +1 -1
  199. package/es/packages/element-plus/form/menu3.mjs +1 -1
  200. package/es/packages/element-plus/group/index.mjs +1 -1
  201. package/es/packages/element-plus/group/index2.mjs +1 -1
  202. package/es/packages/element-plus/group/index3.mjs +1 -1
  203. package/es/packages/element-plus/input/index.mjs +1 -1
  204. package/es/packages/element-plus/input/index2.mjs +155 -155
  205. package/es/packages/element-plus/input/index3.mjs +1 -1
  206. package/es/packages/element-plus/input-color/index.mjs +1 -1
  207. package/es/packages/element-plus/input-color/index2.mjs +1 -1
  208. package/es/packages/element-plus/input-color/index3.mjs +1 -1
  209. package/es/packages/element-plus/input-cron/index.mjs +1 -1
  210. package/es/packages/element-plus/input-cron/index2.mjs +77 -77
  211. package/es/packages/element-plus/input-cron/index3.mjs +1 -1
  212. package/es/packages/element-plus/input-icon/index.mjs +1 -1
  213. package/es/packages/element-plus/input-icon/index2.mjs +1 -1
  214. package/es/packages/element-plus/input-icon/index3.mjs +1 -1
  215. package/es/packages/element-plus/input-map/index.mjs +1 -1
  216. package/es/packages/element-plus/input-map/index2.mjs +4 -4
  217. package/es/packages/element-plus/input-map/index3.mjs +1 -1
  218. package/es/packages/element-plus/input-number/index.mjs +1 -1
  219. package/es/packages/element-plus/input-number/index2.mjs +1 -1
  220. package/es/packages/element-plus/input-number/index3.mjs +1 -1
  221. package/es/packages/element-plus/input-table/index.mjs +1 -1
  222. package/es/packages/element-plus/input-table/index2.mjs +4 -4
  223. package/es/packages/element-plus/input-table/index3.mjs +1 -1
  224. package/es/packages/element-plus/input-tag/index.mjs +1 -1
  225. package/es/packages/element-plus/input-tag/index2.mjs +1 -1
  226. package/es/packages/element-plus/input-tag/index3.mjs +1 -1
  227. package/es/packages/element-plus/input-tree/index.mjs +1 -1
  228. package/es/packages/element-plus/input-tree/index2.mjs +1 -1
  229. package/es/packages/element-plus/input-tree/index3.mjs +1 -1
  230. package/es/packages/element-plus/license/index.mjs +1 -1
  231. package/es/packages/element-plus/license/index2.mjs +1 -1
  232. package/es/packages/element-plus/license/index3.mjs +1 -1
  233. package/es/packages/element-plus/login/index.mjs +1 -1
  234. package/es/packages/element-plus/login/index2.mjs +35 -35
  235. package/es/packages/element-plus/login/index3.mjs +1 -1
  236. package/es/packages/element-plus/mention/index.mjs +1 -1
  237. package/es/packages/element-plus/mention/index2.mjs +1 -1
  238. package/es/packages/element-plus/mention/index3.mjs +1 -1
  239. package/es/packages/element-plus/radio/index.mjs +1 -1
  240. package/es/packages/element-plus/radio/index2.mjs +1 -1
  241. package/es/packages/element-plus/radio/index3.mjs +1 -1
  242. package/es/packages/element-plus/rate/index.mjs +1 -1
  243. package/es/packages/element-plus/rate/index2.mjs +1 -1
  244. package/es/packages/element-plus/rate/index3.mjs +1 -1
  245. package/es/packages/element-plus/search/index.mjs +1 -1
  246. package/es/packages/element-plus/search/index2.mjs +1 -1
  247. package/es/packages/element-plus/search/index3.mjs +1 -1
  248. package/es/packages/element-plus/select/index.mjs +1 -1
  249. package/es/packages/element-plus/select/index2.mjs +5 -5
  250. package/es/packages/element-plus/select/index3.mjs +1 -1
  251. package/es/packages/element-plus/sign/index.mjs +1 -1
  252. package/es/packages/element-plus/sign/index2.mjs +4 -4
  253. package/es/packages/element-plus/sign/index3.mjs +1 -1
  254. package/es/packages/element-plus/slider/index.mjs +1 -1
  255. package/es/packages/element-plus/slider/index2.mjs +1 -1
  256. package/es/packages/element-plus/slider/index3.mjs +1 -1
  257. package/es/packages/element-plus/switch/index.mjs +1 -1
  258. package/es/packages/element-plus/switch/index2.mjs +1 -1
  259. package/es/packages/element-plus/switch/index3.mjs +1 -1
  260. package/es/packages/element-plus/tabs/index.mjs +1 -1
  261. package/es/packages/element-plus/tabs/index2.mjs +1 -1
  262. package/es/packages/element-plus/tabs/index3.mjs +1 -1
  263. package/es/packages/element-plus/text-ellipsis/index.mjs +1 -1
  264. package/es/packages/element-plus/text-ellipsis/index2.mjs +1 -1
  265. package/es/packages/element-plus/text-ellipsis/index3.mjs +1 -1
  266. package/es/packages/element-plus/time/index.mjs +1 -1
  267. package/es/packages/element-plus/time/index2.mjs +1 -1
  268. package/es/packages/element-plus/time/index3.mjs +1 -1
  269. package/es/packages/element-plus/title/index.mjs +1 -1
  270. package/es/packages/element-plus/title/index2.mjs +1 -1
  271. package/es/packages/element-plus/title/index3.mjs +1 -1
  272. package/es/packages/element-plus/tree/index.mjs +1 -1
  273. package/es/packages/element-plus/tree/index2.mjs +1 -1
  274. package/es/packages/element-plus/tree/index3.mjs +1 -1
  275. package/es/packages/element-plus/upload/index.mjs +1 -1
  276. package/es/packages/element-plus/upload/index2.mjs +1 -1
  277. package/es/packages/element-plus/upload/index3.mjs +1 -1
  278. package/es/packages/element-plus/verify/index.mjs +1 -1
  279. package/es/packages/element-plus/verify/index2.mjs +1 -1
  280. package/es/packages/element-plus/verify/index3.mjs +1 -1
  281. package/es/packages/element-plus/video/index.mjs +1 -1
  282. package/es/packages/element-plus/video/index2.mjs +1 -1
  283. package/es/packages/element-plus/video/index3.mjs +1 -1
  284. package/es/src/core/create.mjs +1 -1
  285. package/es/src/core/dataformat.mjs +1 -1
  286. package/es/src/core/detail.mjs +1 -1
  287. package/es/src/core/dic.mjs +1 -1
  288. package/es/src/core/locale.mjs +1 -1
  289. package/es/src/core/packages.mjs +1 -1
  290. package/es/src/core/slot.mjs +1 -1
  291. package/es/src/global/variable.mjs +1 -1
  292. package/es/src/icon.mjs +1 -1
  293. package/es/src/index.mjs +135 -3
  294. package/es/src/locale/index.mjs +2 -2
  295. package/es/src/locale/lang/en.mjs +1 -1
  296. package/es/src/locale/lang/zh-cn.mjs +1 -1
  297. package/es/src/locale/lang/zh.mjs +1 -1
  298. package/es/src/plugin/ali/index.mjs +1 -1
  299. package/es/src/plugin/clipboard/index.mjs +1 -1
  300. package/es/src/plugin/export/_blob.mjs +1 -1
  301. package/es/src/plugin/export/_export2Excel.mjs +16 -3
  302. package/es/src/plugin/export/index.mjs +10 -9
  303. package/es/src/plugin/logs/index.mjs +1 -1
  304. package/es/src/plugin/print/index.mjs +1 -1
  305. package/es/src/plugin/qiniu/index.mjs +1 -1
  306. package/es/src/plugin/screenshot/index.mjs +1 -1
  307. package/es/src/plugin/video/index.mjs +1 -1
  308. package/es/src/plugin/watermark/index.mjs +1 -1
  309. package/es/src/plugin/watermark/watermark.mjs +10 -10
  310. package/es/src/ui/data/index.mjs +2 -2
  311. package/es/src/ui/element-plus/index.mjs +2 -2
  312. package/es/src/ui/index.mjs +1 -1
  313. package/es/src/utils/bem.mjs +1 -1
  314. package/es/src/utils/mock.mjs +1 -1
  315. package/es/src/utils/util.mjs +4 -4
  316. package/es/src/utils/validate.mjs +1 -1
  317. package/es/src/version.mjs +2 -2
  318. package/lib/_virtual/_commonjsHelpers.js +1 -1
  319. package/lib/_virtual/dayjs.min.js +1 -1
  320. package/lib/_virtual/dayjs.min2.js +1 -1
  321. package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +1 -1
  322. package/lib/packages/core/common/event.js +1 -1
  323. package/lib/packages/core/common/init.js +1 -1
  324. package/lib/packages/core/common/props.js +1 -1
  325. package/lib/packages/core/components/dialog-form/index.js +1 -1
  326. package/lib/packages/core/components/dialog-form/index2.js +1 -1
  327. package/lib/packages/core/components/dialog-form/index3.js +16 -16
  328. package/lib/packages/core/components/dialog-form/index4.js +1 -1
  329. package/lib/packages/core/components/form/custom.js +1 -1
  330. package/lib/packages/core/components/form/index.js +1 -1
  331. package/lib/packages/core/components/form/index2.js +1 -1
  332. package/lib/packages/core/components/form/index3.js +1 -1
  333. package/lib/packages/core/components/icon/index.js +1 -1
  334. package/lib/packages/core/components/icon/index2.js +1 -1
  335. package/lib/packages/core/components/icon/index3.js +1 -1
  336. package/lib/packages/core/components/image-preview/index.js +1 -1
  337. package/lib/packages/core/components/image-preview/index2.js +1 -1
  338. package/lib/packages/core/components/image-preview/index3.js +1 -1
  339. package/lib/packages/core/components/image-preview/index4.js +1 -1
  340. package/lib/packages/core/directive/contextmenu.js +1 -1
  341. package/lib/packages/core/directive/permission.js +1 -1
  342. package/lib/packages/data/box/index.js +1 -1
  343. package/lib/packages/data/box/index2.js +1 -1
  344. package/lib/packages/data/box/index3.js +1 -1
  345. package/lib/packages/data/card/index.js +1 -1
  346. package/lib/packages/data/card/index2.js +1 -1
  347. package/lib/packages/data/card/index3.js +1 -1
  348. package/lib/packages/data/cardText/index.js +1 -1
  349. package/lib/packages/data/cardText/index2.js +1 -1
  350. package/lib/packages/data/cardText/index3.js +1 -1
  351. package/lib/packages/data/countdown/index.js +1 -1
  352. package/lib/packages/data/countdown/index2.js +7 -7
  353. package/lib/packages/data/countdown/index3.js +1 -1
  354. package/lib/packages/data/dashboard/index.js +1 -1
  355. package/lib/packages/data/dashboard/index2.js +1 -1
  356. package/lib/packages/data/dashboard/index3.js +1 -1
  357. package/lib/packages/data/display/index.js +1 -1
  358. package/lib/packages/data/display/index2.js +1 -1
  359. package/lib/packages/data/display/index3.js +1 -1
  360. package/lib/packages/data/icons/index.js +1 -1
  361. package/lib/packages/data/icons/index2.js +1 -1
  362. package/lib/packages/data/icons/index3.js +1 -1
  363. package/lib/packages/data/imgText/index.js +1 -1
  364. package/lib/packages/data/imgText/index2.js +1 -1
  365. package/lib/packages/data/imgText/index3.js +1 -1
  366. package/lib/packages/data/list/index.js +1 -1
  367. package/lib/packages/data/list/index2.js +1 -1
  368. package/lib/packages/data/list/index3.js +1 -1
  369. package/lib/packages/data/notice/index.js +1 -1
  370. package/lib/packages/data/notice/index2.js +13 -13
  371. package/lib/packages/data/notice/index3.js +1 -1
  372. package/lib/packages/data/operaText/index.js +1 -1
  373. package/lib/packages/data/operaText/index2.js +1 -1
  374. package/lib/packages/data/operaText/index3.js +1 -1
  375. package/lib/packages/data/panel/index.js +1 -1
  376. package/lib/packages/data/panel/index2.js +1 -1
  377. package/lib/packages/data/panel/index3.js +1 -1
  378. package/lib/packages/data/pay/index.js +1 -1
  379. package/lib/packages/data/pay/index2.js +1 -1
  380. package/lib/packages/data/pay/index3.js +1 -1
  381. package/lib/packages/data/price/index.js +1 -1
  382. package/lib/packages/data/price/index2.js +1 -1
  383. package/lib/packages/data/price/index3.js +1 -1
  384. package/lib/packages/data/product/index.js +1 -1
  385. package/lib/packages/data/product/index2.js +13 -13
  386. package/lib/packages/data/product/index3.js +1 -1
  387. package/lib/packages/data/profile/index.js +1 -1
  388. package/lib/packages/data/profile/index2.js +1 -1
  389. package/lib/packages/data/profile/index3.js +1 -1
  390. package/lib/packages/data/progress/index.js +1 -1
  391. package/lib/packages/data/progress/index2.js +1 -1
  392. package/lib/packages/data/progress/index3.js +1 -1
  393. package/lib/packages/data/rank/index.js +1 -1
  394. package/lib/packages/data/rank/index2.js +1 -1
  395. package/lib/packages/data/rank/index3.js +1 -1
  396. package/lib/packages/data/rotate/index.js +1 -1
  397. package/lib/packages/data/rotate/index2.js +7 -7
  398. package/lib/packages/data/rotate/index3.js +1 -1
  399. package/lib/packages/data/statistic/index.js +1 -1
  400. package/lib/packages/data/statistic/index2.js +1 -1
  401. package/lib/packages/data/statistic/index3.js +1 -1
  402. package/lib/packages/data/tabs/index.js +1 -1
  403. package/lib/packages/data/tabs/index2.js +1 -1
  404. package/lib/packages/data/tabs/index3.js +1 -1
  405. package/lib/packages/data/task/index.js +1 -1
  406. package/lib/packages/data/task/index2.js +27 -27
  407. package/lib/packages/data/task/index3.js +1 -1
  408. package/lib/packages/data/weather/index.js +1 -1
  409. package/lib/packages/data/weather/index2.js +44 -44
  410. package/lib/packages/data/weather/index3.js +1 -1
  411. package/lib/packages/element-plus/array/index.js +1 -1
  412. package/lib/packages/element-plus/array/index2.js +1 -1
  413. package/lib/packages/element-plus/array/index3.js +1 -1
  414. package/lib/packages/element-plus/article/index.js +1 -1
  415. package/lib/packages/element-plus/article/index2.js +1 -1
  416. package/lib/packages/element-plus/article/index3.js +1 -1
  417. package/lib/packages/element-plus/card/index.js +1 -1
  418. package/lib/packages/element-plus/card/index2.js +10 -10
  419. package/lib/packages/element-plus/card/index3.js +1 -1
  420. package/lib/packages/element-plus/cascader/index.js +1 -1
  421. package/lib/packages/element-plus/cascader/index2.js +1 -1
  422. package/lib/packages/element-plus/cascader/index3.js +1 -1
  423. package/lib/packages/element-plus/chat/index.js +1 -1
  424. package/lib/packages/element-plus/chat/index2.js +1 -1
  425. package/lib/packages/element-plus/chat/index3.js +1 -1
  426. package/lib/packages/element-plus/checkbox/index.js +1 -1
  427. package/lib/packages/element-plus/checkbox/index2.js +1 -1
  428. package/lib/packages/element-plus/checkbox/index3.js +1 -1
  429. package/lib/packages/element-plus/comment/index.js +1 -1
  430. package/lib/packages/element-plus/comment/index2.js +1 -1
  431. package/lib/packages/element-plus/comment/index3.js +1 -1
  432. package/lib/packages/element-plus/count-up/index.js +1 -1
  433. package/lib/packages/element-plus/count-up/index2.js +11 -14
  434. package/lib/packages/element-plus/count-up/index3.js +1 -1
  435. package/lib/packages/element-plus/crud/column/column-default.js +1 -1
  436. package/lib/packages/element-plus/crud/column/column-default2.js +1 -1
  437. package/lib/packages/element-plus/crud/column/column-default3.js +1 -1
  438. package/lib/packages/element-plus/crud/column/column-dynamic.js +1 -1
  439. package/lib/packages/element-plus/crud/column/column-dynamic2.js +1 -1
  440. package/lib/packages/element-plus/crud/column/column-dynamic3.js +1 -1
  441. package/lib/packages/element-plus/crud/column/column-menu.js +1 -1
  442. package/lib/packages/element-plus/crud/column/column-menu2.js +1 -1
  443. package/lib/packages/element-plus/crud/column/column-menu3.js +1 -1
  444. package/lib/packages/element-plus/crud/column/column-slot.js +1 -1
  445. package/lib/packages/element-plus/crud/column/column-slot2.js +1 -1
  446. package/lib/packages/element-plus/crud/column/column-slot3.js +1 -1
  447. package/lib/packages/element-plus/crud/column/column.js +1 -1
  448. package/lib/packages/element-plus/crud/column/column2.js +1 -1
  449. package/lib/packages/element-plus/crud/column/column3.js +1 -1
  450. package/lib/packages/element-plus/crud/column/menu.js +1 -1
  451. package/lib/packages/element-plus/crud/column/menu2.js +1 -1
  452. package/lib/packages/element-plus/crud/column/menu3.js +1 -1
  453. package/lib/packages/element-plus/crud/config.js +1 -1
  454. package/lib/packages/element-plus/crud/dialog/dialog-column.js +1 -1
  455. package/lib/packages/element-plus/crud/dialog/dialog-column2.js +1 -1
  456. package/lib/packages/element-plus/crud/dialog/dialog-column3.js +1 -1
  457. package/lib/packages/element-plus/crud/dialog/dialog-excel.js +1 -1
  458. package/lib/packages/element-plus/crud/dialog/dialog-excel2.js +1 -1
  459. package/lib/packages/element-plus/crud/dialog/dialog-excel3.js +1 -1
  460. package/lib/packages/element-plus/crud/dialog/dialog-filter.js +1 -1
  461. package/lib/packages/element-plus/crud/dialog/dialog-filter2.js +1 -1
  462. package/lib/packages/element-plus/crud/dialog/dialog-filter3.js +1 -1
  463. package/lib/packages/element-plus/crud/dialog/dialog-form.js +1 -1
  464. package/lib/packages/element-plus/crud/dialog/dialog-form2.js +1 -1
  465. package/lib/packages/element-plus/crud/dialog/dialog-form3.js +1 -1
  466. package/lib/packages/element-plus/crud/grid/index.js +1 -1
  467. package/lib/packages/element-plus/crud/grid/index2.js +1 -1
  468. package/lib/packages/element-plus/crud/grid/index3.js +1 -1
  469. package/lib/packages/element-plus/crud/grid/item.js +1 -1
  470. package/lib/packages/element-plus/crud/grid/item2.js +1 -1
  471. package/lib/packages/element-plus/crud/grid/item3.js +1 -1
  472. package/lib/packages/element-plus/crud/index.js +1 -1
  473. package/lib/packages/element-plus/crud/index2.js +1 -1
  474. package/lib/packages/element-plus/crud/index3.js +1 -1
  475. package/lib/packages/element-plus/crud/menu/header-menu.js +1 -1
  476. package/lib/packages/element-plus/crud/menu/header-menu2.js +20 -20
  477. package/lib/packages/element-plus/crud/menu/header-menu3.js +1 -1
  478. package/lib/packages/element-plus/crud/menu/header-search.js +1 -1
  479. package/lib/packages/element-plus/crud/menu/header-search2.js +1 -1
  480. package/lib/packages/element-plus/crud/menu/header-search3.js +1 -1
  481. package/lib/packages/element-plus/crud/menu/table-page.js +1 -1
  482. package/lib/packages/element-plus/crud/menu/table-page2.js +1 -1
  483. package/lib/packages/element-plus/crud/menu/table-page3.js +1 -1
  484. package/lib/packages/element-plus/date/index.js +1 -1
  485. package/lib/packages/element-plus/date/index2.js +1 -1
  486. package/lib/packages/element-plus/date/index3.js +1 -1
  487. package/lib/packages/element-plus/draggable/index.js +1 -1
  488. package/lib/packages/element-plus/draggable/index2.js +1 -1
  489. package/lib/packages/element-plus/draggable/index3.js +1 -1
  490. package/lib/packages/element-plus/dynamic/index.js +1 -1
  491. package/lib/packages/element-plus/dynamic/index2.js +1 -1
  492. package/lib/packages/element-plus/dynamic/index3.js +1 -1
  493. package/lib/packages/element-plus/flow/index.js +1 -1
  494. package/lib/packages/element-plus/flow/index2.js +40 -40
  495. package/lib/packages/element-plus/flow/index3.js +1 -1
  496. package/lib/packages/element-plus/flow/node.js +1 -1
  497. package/lib/packages/element-plus/flow/node2.js +1 -1
  498. package/lib/packages/element-plus/flow/node3.js +1 -1
  499. package/lib/packages/element-plus/form/config.js +1 -1
  500. package/lib/packages/element-plus/form/index.js +1 -1
  501. package/lib/packages/element-plus/form/index2.js +1 -1
  502. package/lib/packages/element-plus/form/index3.js +1 -1
  503. package/lib/packages/element-plus/form/menu.js +1 -1
  504. package/lib/packages/element-plus/form/menu2.js +1 -1
  505. package/lib/packages/element-plus/form/menu3.js +1 -1
  506. package/lib/packages/element-plus/group/index.js +1 -1
  507. package/lib/packages/element-plus/group/index2.js +1 -1
  508. package/lib/packages/element-plus/group/index3.js +1 -1
  509. package/lib/packages/element-plus/input/index.js +1 -1
  510. package/lib/packages/element-plus/input/index2.js +155 -155
  511. package/lib/packages/element-plus/input/index3.js +1 -1
  512. package/lib/packages/element-plus/input-color/index.js +1 -1
  513. package/lib/packages/element-plus/input-color/index2.js +1 -1
  514. package/lib/packages/element-plus/input-color/index3.js +1 -1
  515. package/lib/packages/element-plus/input-cron/index.js +1 -1
  516. package/lib/packages/element-plus/input-cron/index2.js +77 -77
  517. package/lib/packages/element-plus/input-cron/index3.js +1 -1
  518. package/lib/packages/element-plus/input-icon/index.js +1 -1
  519. package/lib/packages/element-plus/input-icon/index2.js +1 -1
  520. package/lib/packages/element-plus/input-icon/index3.js +1 -1
  521. package/lib/packages/element-plus/input-map/index.js +1 -1
  522. package/lib/packages/element-plus/input-map/index2.js +4 -4
  523. package/lib/packages/element-plus/input-map/index3.js +1 -1
  524. package/lib/packages/element-plus/input-number/index.js +1 -1
  525. package/lib/packages/element-plus/input-number/index2.js +1 -1
  526. package/lib/packages/element-plus/input-number/index3.js +1 -1
  527. package/lib/packages/element-plus/input-table/index.js +1 -1
  528. package/lib/packages/element-plus/input-table/index2.js +4 -4
  529. package/lib/packages/element-plus/input-table/index3.js +1 -1
  530. package/lib/packages/element-plus/input-tag/index.js +1 -1
  531. package/lib/packages/element-plus/input-tag/index2.js +1 -1
  532. package/lib/packages/element-plus/input-tag/index3.js +1 -1
  533. package/lib/packages/element-plus/input-tree/index.js +1 -1
  534. package/lib/packages/element-plus/input-tree/index2.js +1 -1
  535. package/lib/packages/element-plus/input-tree/index3.js +1 -1
  536. package/lib/packages/element-plus/license/index.js +1 -1
  537. package/lib/packages/element-plus/license/index2.js +1 -1
  538. package/lib/packages/element-plus/license/index3.js +1 -1
  539. package/lib/packages/element-plus/login/index.js +1 -1
  540. package/lib/packages/element-plus/login/index2.js +35 -35
  541. package/lib/packages/element-plus/login/index3.js +1 -1
  542. package/lib/packages/element-plus/mention/index.js +1 -1
  543. package/lib/packages/element-plus/mention/index2.js +1 -1
  544. package/lib/packages/element-plus/mention/index3.js +1 -1
  545. package/lib/packages/element-plus/radio/index.js +1 -1
  546. package/lib/packages/element-plus/radio/index2.js +1 -1
  547. package/lib/packages/element-plus/radio/index3.js +1 -1
  548. package/lib/packages/element-plus/rate/index.js +1 -1
  549. package/lib/packages/element-plus/rate/index2.js +1 -1
  550. package/lib/packages/element-plus/rate/index3.js +1 -1
  551. package/lib/packages/element-plus/search/index.js +1 -1
  552. package/lib/packages/element-plus/search/index2.js +1 -1
  553. package/lib/packages/element-plus/search/index3.js +1 -1
  554. package/lib/packages/element-plus/select/index.js +1 -1
  555. package/lib/packages/element-plus/select/index2.js +5 -5
  556. package/lib/packages/element-plus/select/index3.js +1 -1
  557. package/lib/packages/element-plus/sign/index.js +1 -1
  558. package/lib/packages/element-plus/sign/index2.js +4 -4
  559. package/lib/packages/element-plus/sign/index3.js +1 -1
  560. package/lib/packages/element-plus/slider/index.js +1 -1
  561. package/lib/packages/element-plus/slider/index2.js +1 -1
  562. package/lib/packages/element-plus/slider/index3.js +1 -1
  563. package/lib/packages/element-plus/switch/index.js +1 -1
  564. package/lib/packages/element-plus/switch/index2.js +1 -1
  565. package/lib/packages/element-plus/switch/index3.js +1 -1
  566. package/lib/packages/element-plus/tabs/index.js +1 -1
  567. package/lib/packages/element-plus/tabs/index2.js +1 -1
  568. package/lib/packages/element-plus/tabs/index3.js +1 -1
  569. package/lib/packages/element-plus/text-ellipsis/index.js +1 -1
  570. package/lib/packages/element-plus/text-ellipsis/index2.js +1 -1
  571. package/lib/packages/element-plus/text-ellipsis/index3.js +1 -1
  572. package/lib/packages/element-plus/time/index.js +1 -1
  573. package/lib/packages/element-plus/time/index2.js +1 -1
  574. package/lib/packages/element-plus/time/index3.js +1 -1
  575. package/lib/packages/element-plus/title/index.js +1 -1
  576. package/lib/packages/element-plus/title/index2.js +1 -1
  577. package/lib/packages/element-plus/title/index3.js +1 -1
  578. package/lib/packages/element-plus/tree/index.js +1 -1
  579. package/lib/packages/element-plus/tree/index2.js +1 -1
  580. package/lib/packages/element-plus/tree/index3.js +1 -1
  581. package/lib/packages/element-plus/upload/index.js +1 -1
  582. package/lib/packages/element-plus/upload/index2.js +1 -1
  583. package/lib/packages/element-plus/upload/index3.js +1 -1
  584. package/lib/packages/element-plus/verify/index.js +1 -1
  585. package/lib/packages/element-plus/verify/index2.js +1 -1
  586. package/lib/packages/element-plus/verify/index3.js +1 -1
  587. package/lib/packages/element-plus/video/index.js +1 -1
  588. package/lib/packages/element-plus/video/index2.js +1 -1
  589. package/lib/packages/element-plus/video/index3.js +1 -1
  590. package/lib/src/core/create.js +1 -1
  591. package/lib/src/core/dataformat.js +1 -1
  592. package/lib/src/core/detail.js +1 -1
  593. package/lib/src/core/dic.js +1 -1
  594. package/lib/src/core/locale.js +1 -1
  595. package/lib/src/core/packages.js +1 -1
  596. package/lib/src/core/slot.js +1 -1
  597. package/lib/src/global/variable.js +1 -1
  598. package/lib/src/icon.js +1 -1
  599. package/lib/src/index.js +222 -5
  600. package/lib/src/locale/index.js +1 -1
  601. package/lib/src/locale/lang/en.js +1 -1
  602. package/lib/src/locale/lang/zh-cn.js +1 -1
  603. package/lib/src/locale/lang/zh.js +1 -1
  604. package/lib/src/plugin/ali/index.js +1 -1
  605. package/lib/src/plugin/clipboard/index.js +1 -1
  606. package/lib/src/plugin/export/_blob.js +1 -1
  607. package/lib/src/plugin/export/_export2Excel.js +16 -3
  608. package/lib/src/plugin/export/index.js +10 -9
  609. package/lib/src/plugin/logs/index.js +1 -1
  610. package/lib/src/plugin/print/index.js +1 -1
  611. package/lib/src/plugin/qiniu/index.js +1 -1
  612. package/lib/src/plugin/screenshot/index.js +1 -1
  613. package/lib/src/plugin/video/index.js +1 -1
  614. package/lib/src/plugin/watermark/index.js +1 -1
  615. package/lib/src/plugin/watermark/watermark.js +10 -10
  616. package/lib/src/ui/data/index.js +68 -45
  617. package/lib/src/ui/element-plus/index.js +127 -85
  618. package/lib/src/ui/index.js +1 -1
  619. package/lib/src/utils/bem.js +1 -1
  620. package/lib/src/utils/mock.js +1 -1
  621. package/lib/src/utils/util.js +1 -1
  622. package/lib/src/utils/validate.js +1 -1
  623. package/lib/src/version.js +2 -2
  624. package/package.json +85 -85
  625. package/types/index.d.ts +215 -46
  626. package/types/shims-aliases.d.ts +10 -1
  627. package/types/shims-vue.d.ts +6 -6
  628. package/es/avue.min.mjs +0 -2
  629. package/es/avue.mjs +0 -2
@@ -0,0 +1,2147 @@
1
+ /*! Avue.js v3.9.1 | (c) 2017-2026 Smallwei | Released under the MIT License. */
2
+ import { __module as axios } from '../../../_virtual/axios2.mjs';
3
+
4
+ /* axios v0.21.4 | (c) 2021 by Matt Zabriskie */
5
+
6
+ var hasRequiredAxios;
7
+
8
+ function requireAxios () {
9
+ if (hasRequiredAxios) return axios.exports;
10
+ hasRequiredAxios = 1;
11
+ (function (module, exports$1) {
12
+ (function webpackUniversalModuleDefinition(root, factory) {
13
+ module.exports = factory();
14
+ })(window, function() {
15
+ return /******/ (function(modules) { // webpackBootstrap
16
+ /******/ // The module cache
17
+ /******/ var installedModules = {};
18
+ /******/
19
+ /******/ // The require function
20
+ /******/ function __webpack_require__(moduleId) {
21
+ /******/
22
+ /******/ // Check if module is in cache
23
+ /******/ if(installedModules[moduleId]) {
24
+ /******/ return installedModules[moduleId].exports;
25
+ /******/ }
26
+ /******/ // Create a new module (and put it into the cache)
27
+ /******/ var module = installedModules[moduleId] = {
28
+ /******/ i: moduleId,
29
+ /******/ l: false,
30
+ /******/ exports: {}
31
+ /******/ };
32
+ /******/
33
+ /******/ // Execute the module function
34
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
35
+ /******/
36
+ /******/ // Flag the module as loaded
37
+ /******/ module.l = true;
38
+ /******/
39
+ /******/ // Return the exports of the module
40
+ /******/ return module.exports;
41
+ /******/ }
42
+ /******/
43
+ /******/
44
+ /******/ // expose the modules object (__webpack_modules__)
45
+ /******/ __webpack_require__.m = modules;
46
+ /******/
47
+ /******/ // expose the module cache
48
+ /******/ __webpack_require__.c = installedModules;
49
+ /******/
50
+ /******/ // define getter function for harmony exports
51
+ /******/ __webpack_require__.d = function(exports$1, name, getter) {
52
+ /******/ if(!__webpack_require__.o(exports$1, name)) {
53
+ /******/ Object.defineProperty(exports$1, name, { enumerable: true, get: getter });
54
+ /******/ }
55
+ /******/ };
56
+ /******/
57
+ /******/ // define __esModule on exports
58
+ /******/ __webpack_require__.r = function(exports$1) {
59
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
60
+ /******/ Object.defineProperty(exports$1, Symbol.toStringTag, { value: 'Module' });
61
+ /******/ }
62
+ /******/ Object.defineProperty(exports$1, '__esModule', { value: true });
63
+ /******/ };
64
+ /******/
65
+ /******/ // create a fake namespace object
66
+ /******/ // mode & 1: value is a module id, require it
67
+ /******/ // mode & 2: merge all properties of value into the ns
68
+ /******/ // mode & 4: return value when already ns object
69
+ /******/ // mode & 8|1: behave like require
70
+ /******/ __webpack_require__.t = function(value, mode) {
71
+ /******/ if(mode & 1) value = __webpack_require__(value);
72
+ /******/ if(mode & 8) return value;
73
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
74
+ /******/ var ns = Object.create(null);
75
+ /******/ __webpack_require__.r(ns);
76
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
77
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
78
+ /******/ return ns;
79
+ /******/ };
80
+ /******/
81
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
82
+ /******/ __webpack_require__.n = function(module) {
83
+ /******/ var getter = module && module.__esModule ?
84
+ /******/ function getDefault() { return module['default']; } :
85
+ /******/ function getModuleExports() { return module; };
86
+ /******/ __webpack_require__.d(getter, 'a', getter);
87
+ /******/ return getter;
88
+ /******/ };
89
+ /******/
90
+ /******/ // Object.prototype.hasOwnProperty.call
91
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
92
+ /******/
93
+ /******/ // __webpack_public_path__
94
+ /******/ __webpack_require__.p = "";
95
+ /******/
96
+ /******/
97
+ /******/ // Load entry module and return exports
98
+ /******/ return __webpack_require__(__webpack_require__.s = "./index.js");
99
+ /******/ })
100
+ /************************************************************************/
101
+ /******/ ({
102
+
103
+ /***/ "./index.js":
104
+ /*!******************!*\
105
+ !*** ./index.js ***!
106
+ \******************/
107
+ /*! no static exports found */
108
+ /***/ (function(module, exports$1, __webpack_require__) {
109
+
110
+ module.exports = __webpack_require__(/*! ./lib/axios */ "./lib/axios.js");
111
+
112
+ /***/ }),
113
+
114
+ /***/ "./lib/adapters/xhr.js":
115
+ /*!*****************************!*\
116
+ !*** ./lib/adapters/xhr.js ***!
117
+ \*****************************/
118
+ /*! no static exports found */
119
+ /***/ (function(module, exports$1, __webpack_require__) {
120
+
121
+
122
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
123
+ var settle = __webpack_require__(/*! ./../core/settle */ "./lib/core/settle.js");
124
+ var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./lib/helpers/cookies.js");
125
+ var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./lib/helpers/buildURL.js");
126
+ var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./lib/core/buildFullPath.js");
127
+ var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./lib/helpers/parseHeaders.js");
128
+ var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./lib/helpers/isURLSameOrigin.js");
129
+ var createError = __webpack_require__(/*! ../core/createError */ "./lib/core/createError.js");
130
+
131
+ module.exports = function xhrAdapter(config) {
132
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
133
+ var requestData = config.data;
134
+ var requestHeaders = config.headers;
135
+ var responseType = config.responseType;
136
+
137
+ if (utils.isFormData(requestData)) {
138
+ delete requestHeaders['Content-Type']; // Let the browser set it
139
+ }
140
+
141
+ var request = new XMLHttpRequest();
142
+
143
+ // HTTP basic authentication
144
+ if (config.auth) {
145
+ var username = config.auth.username || '';
146
+ var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
147
+ requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
148
+ }
149
+
150
+ var fullPath = buildFullPath(config.baseURL, config.url);
151
+ request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
152
+
153
+ // Set the request timeout in MS
154
+ request.timeout = config.timeout;
155
+
156
+ function onloadend() {
157
+ if (!request) {
158
+ return;
159
+ }
160
+ // Prepare the response
161
+ var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
162
+ var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
163
+ request.responseText : request.response;
164
+ var response = {
165
+ data: responseData,
166
+ status: request.status,
167
+ statusText: request.statusText,
168
+ headers: responseHeaders,
169
+ config: config,
170
+ request: request
171
+ };
172
+
173
+ settle(resolve, reject, response);
174
+
175
+ // Clean up request
176
+ request = null;
177
+ }
178
+
179
+ if ('onloadend' in request) {
180
+ // Use onloadend if available
181
+ request.onloadend = onloadend;
182
+ } else {
183
+ // Listen for ready state to emulate onloadend
184
+ request.onreadystatechange = function handleLoad() {
185
+ if (!request || request.readyState !== 4) {
186
+ return;
187
+ }
188
+
189
+ // The request errored out and we didn't get a response, this will be
190
+ // handled by onerror instead
191
+ // With one exception: request that using file: protocol, most browsers
192
+ // will return status as 0 even though it's a successful request
193
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
194
+ return;
195
+ }
196
+ // readystate handler is calling before onerror or ontimeout handlers,
197
+ // so we should call onloadend on the next 'tick'
198
+ setTimeout(onloadend);
199
+ };
200
+ }
201
+
202
+ // Handle browser request cancellation (as opposed to a manual cancellation)
203
+ request.onabort = function handleAbort() {
204
+ if (!request) {
205
+ return;
206
+ }
207
+
208
+ reject(createError('Request aborted', config, 'ECONNABORTED', request));
209
+
210
+ // Clean up request
211
+ request = null;
212
+ };
213
+
214
+ // Handle low level network errors
215
+ request.onerror = function handleError() {
216
+ // Real errors are hidden from us by the browser
217
+ // onerror should only fire if it's a network error
218
+ reject(createError('Network Error', config, null, request));
219
+
220
+ // Clean up request
221
+ request = null;
222
+ };
223
+
224
+ // Handle timeout
225
+ request.ontimeout = function handleTimeout() {
226
+ var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
227
+ if (config.timeoutErrorMessage) {
228
+ timeoutErrorMessage = config.timeoutErrorMessage;
229
+ }
230
+ reject(createError(
231
+ timeoutErrorMessage,
232
+ config,
233
+ config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
234
+ request));
235
+
236
+ // Clean up request
237
+ request = null;
238
+ };
239
+
240
+ // Add xsrf header
241
+ // This is only done if running in a standard browser environment.
242
+ // Specifically not if we're in a web worker, or react-native.
243
+ if (utils.isStandardBrowserEnv()) {
244
+ // Add xsrf header
245
+ var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
246
+ cookies.read(config.xsrfCookieName) :
247
+ undefined;
248
+
249
+ if (xsrfValue) {
250
+ requestHeaders[config.xsrfHeaderName] = xsrfValue;
251
+ }
252
+ }
253
+
254
+ // Add headers to the request
255
+ if ('setRequestHeader' in request) {
256
+ utils.forEach(requestHeaders, function setRequestHeader(val, key) {
257
+ if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
258
+ // Remove Content-Type if data is undefined
259
+ delete requestHeaders[key];
260
+ } else {
261
+ // Otherwise add header to the request
262
+ request.setRequestHeader(key, val);
263
+ }
264
+ });
265
+ }
266
+
267
+ // Add withCredentials to request if needed
268
+ if (!utils.isUndefined(config.withCredentials)) {
269
+ request.withCredentials = !!config.withCredentials;
270
+ }
271
+
272
+ // Add responseType to request if needed
273
+ if (responseType && responseType !== 'json') {
274
+ request.responseType = config.responseType;
275
+ }
276
+
277
+ // Handle progress if needed
278
+ if (typeof config.onDownloadProgress === 'function') {
279
+ request.addEventListener('progress', config.onDownloadProgress);
280
+ }
281
+
282
+ // Not all browsers support upload events
283
+ if (typeof config.onUploadProgress === 'function' && request.upload) {
284
+ request.upload.addEventListener('progress', config.onUploadProgress);
285
+ }
286
+
287
+ if (config.cancelToken) {
288
+ // Handle cancellation
289
+ config.cancelToken.promise.then(function onCanceled(cancel) {
290
+ if (!request) {
291
+ return;
292
+ }
293
+
294
+ request.abort();
295
+ reject(cancel);
296
+ // Clean up request
297
+ request = null;
298
+ });
299
+ }
300
+
301
+ if (!requestData) {
302
+ requestData = null;
303
+ }
304
+
305
+ // Send the request
306
+ request.send(requestData);
307
+ });
308
+ };
309
+
310
+
311
+ /***/ }),
312
+
313
+ /***/ "./lib/axios.js":
314
+ /*!**********************!*\
315
+ !*** ./lib/axios.js ***!
316
+ \**********************/
317
+ /*! no static exports found */
318
+ /***/ (function(module, exports$1, __webpack_require__) {
319
+
320
+
321
+ var utils = __webpack_require__(/*! ./utils */ "./lib/utils.js");
322
+ var bind = __webpack_require__(/*! ./helpers/bind */ "./lib/helpers/bind.js");
323
+ var Axios = __webpack_require__(/*! ./core/Axios */ "./lib/core/Axios.js");
324
+ var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "./lib/core/mergeConfig.js");
325
+ var defaults = __webpack_require__(/*! ./defaults */ "./lib/defaults.js");
326
+
327
+ /**
328
+ * Create an instance of Axios
329
+ *
330
+ * @param {Object} defaultConfig The default config for the instance
331
+ * @return {Axios} A new instance of Axios
332
+ */
333
+ function createInstance(defaultConfig) {
334
+ var context = new Axios(defaultConfig);
335
+ var instance = bind(Axios.prototype.request, context);
336
+
337
+ // Copy axios.prototype to instance
338
+ utils.extend(instance, Axios.prototype, context);
339
+
340
+ // Copy context to instance
341
+ utils.extend(instance, context);
342
+
343
+ return instance;
344
+ }
345
+
346
+ // Create the default instance to be exported
347
+ var axios = createInstance(defaults);
348
+
349
+ // Expose Axios class to allow class inheritance
350
+ axios.Axios = Axios;
351
+
352
+ // Factory for creating new instances
353
+ axios.create = function create(instanceConfig) {
354
+ return createInstance(mergeConfig(axios.defaults, instanceConfig));
355
+ };
356
+
357
+ // Expose Cancel & CancelToken
358
+ axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ "./lib/cancel/Cancel.js");
359
+ axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./lib/cancel/CancelToken.js");
360
+ axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./lib/cancel/isCancel.js");
361
+
362
+ // Expose all/spread
363
+ axios.all = function all(promises) {
364
+ return Promise.all(promises);
365
+ };
366
+ axios.spread = __webpack_require__(/*! ./helpers/spread */ "./lib/helpers/spread.js");
367
+
368
+ // Expose isAxiosError
369
+ axios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ "./lib/helpers/isAxiosError.js");
370
+
371
+ module.exports = axios;
372
+
373
+ // Allow use of default import syntax in TypeScript
374
+ module.exports.default = axios;
375
+
376
+
377
+ /***/ }),
378
+
379
+ /***/ "./lib/cancel/Cancel.js":
380
+ /*!******************************!*\
381
+ !*** ./lib/cancel/Cancel.js ***!
382
+ \******************************/
383
+ /*! no static exports found */
384
+ /***/ (function(module, exports$1, __webpack_require__) {
385
+
386
+
387
+ /**
388
+ * A `Cancel` is an object that is thrown when an operation is canceled.
389
+ *
390
+ * @class
391
+ * @param {string=} message The message.
392
+ */
393
+ function Cancel(message) {
394
+ this.message = message;
395
+ }
396
+
397
+ Cancel.prototype.toString = function toString() {
398
+ return 'Cancel' + (this.message ? ': ' + this.message : '');
399
+ };
400
+
401
+ Cancel.prototype.__CANCEL__ = true;
402
+
403
+ module.exports = Cancel;
404
+
405
+
406
+ /***/ }),
407
+
408
+ /***/ "./lib/cancel/CancelToken.js":
409
+ /*!***********************************!*\
410
+ !*** ./lib/cancel/CancelToken.js ***!
411
+ \***********************************/
412
+ /*! no static exports found */
413
+ /***/ (function(module, exports$1, __webpack_require__) {
414
+
415
+
416
+ var Cancel = __webpack_require__(/*! ./Cancel */ "./lib/cancel/Cancel.js");
417
+
418
+ /**
419
+ * A `CancelToken` is an object that can be used to request cancellation of an operation.
420
+ *
421
+ * @class
422
+ * @param {Function} executor The executor function.
423
+ */
424
+ function CancelToken(executor) {
425
+ if (typeof executor !== 'function') {
426
+ throw new TypeError('executor must be a function.');
427
+ }
428
+
429
+ var resolvePromise;
430
+ this.promise = new Promise(function promiseExecutor(resolve) {
431
+ resolvePromise = resolve;
432
+ });
433
+
434
+ var token = this;
435
+ executor(function cancel(message) {
436
+ if (token.reason) {
437
+ // Cancellation has already been requested
438
+ return;
439
+ }
440
+
441
+ token.reason = new Cancel(message);
442
+ resolvePromise(token.reason);
443
+ });
444
+ }
445
+
446
+ /**
447
+ * Throws a `Cancel` if cancellation has been requested.
448
+ */
449
+ CancelToken.prototype.throwIfRequested = function throwIfRequested() {
450
+ if (this.reason) {
451
+ throw this.reason;
452
+ }
453
+ };
454
+
455
+ /**
456
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
457
+ * cancels the `CancelToken`.
458
+ */
459
+ CancelToken.source = function source() {
460
+ var cancel;
461
+ var token = new CancelToken(function executor(c) {
462
+ cancel = c;
463
+ });
464
+ return {
465
+ token: token,
466
+ cancel: cancel
467
+ };
468
+ };
469
+
470
+ module.exports = CancelToken;
471
+
472
+
473
+ /***/ }),
474
+
475
+ /***/ "./lib/cancel/isCancel.js":
476
+ /*!********************************!*\
477
+ !*** ./lib/cancel/isCancel.js ***!
478
+ \********************************/
479
+ /*! no static exports found */
480
+ /***/ (function(module, exports$1, __webpack_require__) {
481
+
482
+
483
+ module.exports = function isCancel(value) {
484
+ return !!(value && value.__CANCEL__);
485
+ };
486
+
487
+
488
+ /***/ }),
489
+
490
+ /***/ "./lib/core/Axios.js":
491
+ /*!***************************!*\
492
+ !*** ./lib/core/Axios.js ***!
493
+ \***************************/
494
+ /*! no static exports found */
495
+ /***/ (function(module, exports$1, __webpack_require__) {
496
+
497
+
498
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
499
+ var buildURL = __webpack_require__(/*! ../helpers/buildURL */ "./lib/helpers/buildURL.js");
500
+ var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ "./lib/core/InterceptorManager.js");
501
+ var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ "./lib/core/dispatchRequest.js");
502
+ var mergeConfig = __webpack_require__(/*! ./mergeConfig */ "./lib/core/mergeConfig.js");
503
+ var validator = __webpack_require__(/*! ../helpers/validator */ "./lib/helpers/validator.js");
504
+
505
+ var validators = validator.validators;
506
+ /**
507
+ * Create a new instance of Axios
508
+ *
509
+ * @param {Object} instanceConfig The default config for the instance
510
+ */
511
+ function Axios(instanceConfig) {
512
+ this.defaults = instanceConfig;
513
+ this.interceptors = {
514
+ request: new InterceptorManager(),
515
+ response: new InterceptorManager()
516
+ };
517
+ }
518
+
519
+ /**
520
+ * Dispatch a request
521
+ *
522
+ * @param {Object} config The config specific for this request (merged with this.defaults)
523
+ */
524
+ Axios.prototype.request = function request(config) {
525
+ /*eslint no-param-reassign:0*/
526
+ // Allow for axios('example/url'[, config]) a la fetch API
527
+ if (typeof config === 'string') {
528
+ config = arguments[1] || {};
529
+ config.url = arguments[0];
530
+ } else {
531
+ config = config || {};
532
+ }
533
+
534
+ config = mergeConfig(this.defaults, config);
535
+
536
+ // Set config.method
537
+ if (config.method) {
538
+ config.method = config.method.toLowerCase();
539
+ } else if (this.defaults.method) {
540
+ config.method = this.defaults.method.toLowerCase();
541
+ } else {
542
+ config.method = 'get';
543
+ }
544
+
545
+ var transitional = config.transitional;
546
+
547
+ if (transitional !== undefined) {
548
+ validator.assertOptions(transitional, {
549
+ silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
550
+ forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
551
+ clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')
552
+ }, false);
553
+ }
554
+
555
+ // filter out skipped interceptors
556
+ var requestInterceptorChain = [];
557
+ var synchronousRequestInterceptors = true;
558
+ this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
559
+ if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
560
+ return;
561
+ }
562
+
563
+ synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
564
+
565
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
566
+ });
567
+
568
+ var responseInterceptorChain = [];
569
+ this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
570
+ responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
571
+ });
572
+
573
+ var promise;
574
+
575
+ if (!synchronousRequestInterceptors) {
576
+ var chain = [dispatchRequest, undefined];
577
+
578
+ Array.prototype.unshift.apply(chain, requestInterceptorChain);
579
+ chain = chain.concat(responseInterceptorChain);
580
+
581
+ promise = Promise.resolve(config);
582
+ while (chain.length) {
583
+ promise = promise.then(chain.shift(), chain.shift());
584
+ }
585
+
586
+ return promise;
587
+ }
588
+
589
+
590
+ var newConfig = config;
591
+ while (requestInterceptorChain.length) {
592
+ var onFulfilled = requestInterceptorChain.shift();
593
+ var onRejected = requestInterceptorChain.shift();
594
+ try {
595
+ newConfig = onFulfilled(newConfig);
596
+ } catch (error) {
597
+ onRejected(error);
598
+ break;
599
+ }
600
+ }
601
+
602
+ try {
603
+ promise = dispatchRequest(newConfig);
604
+ } catch (error) {
605
+ return Promise.reject(error);
606
+ }
607
+
608
+ while (responseInterceptorChain.length) {
609
+ promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
610
+ }
611
+
612
+ return promise;
613
+ };
614
+
615
+ Axios.prototype.getUri = function getUri(config) {
616
+ config = mergeConfig(this.defaults, config);
617
+ return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
618
+ };
619
+
620
+ // Provide aliases for supported request methods
621
+ utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
622
+ /*eslint func-names:0*/
623
+ Axios.prototype[method] = function(url, config) {
624
+ return this.request(mergeConfig(config || {}, {
625
+ method: method,
626
+ url: url,
627
+ data: (config || {}).data
628
+ }));
629
+ };
630
+ });
631
+
632
+ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
633
+ /*eslint func-names:0*/
634
+ Axios.prototype[method] = function(url, data, config) {
635
+ return this.request(mergeConfig(config || {}, {
636
+ method: method,
637
+ url: url,
638
+ data: data
639
+ }));
640
+ };
641
+ });
642
+
643
+ module.exports = Axios;
644
+
645
+
646
+ /***/ }),
647
+
648
+ /***/ "./lib/core/InterceptorManager.js":
649
+ /*!****************************************!*\
650
+ !*** ./lib/core/InterceptorManager.js ***!
651
+ \****************************************/
652
+ /*! no static exports found */
653
+ /***/ (function(module, exports$1, __webpack_require__) {
654
+
655
+
656
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
657
+
658
+ function InterceptorManager() {
659
+ this.handlers = [];
660
+ }
661
+
662
+ /**
663
+ * Add a new interceptor to the stack
664
+ *
665
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
666
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
667
+ *
668
+ * @return {Number} An ID used to remove interceptor later
669
+ */
670
+ InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
671
+ this.handlers.push({
672
+ fulfilled: fulfilled,
673
+ rejected: rejected,
674
+ synchronous: options ? options.synchronous : false,
675
+ runWhen: options ? options.runWhen : null
676
+ });
677
+ return this.handlers.length - 1;
678
+ };
679
+
680
+ /**
681
+ * Remove an interceptor from the stack
682
+ *
683
+ * @param {Number} id The ID that was returned by `use`
684
+ */
685
+ InterceptorManager.prototype.eject = function eject(id) {
686
+ if (this.handlers[id]) {
687
+ this.handlers[id] = null;
688
+ }
689
+ };
690
+
691
+ /**
692
+ * Iterate over all the registered interceptors
693
+ *
694
+ * This method is particularly useful for skipping over any
695
+ * interceptors that may have become `null` calling `eject`.
696
+ *
697
+ * @param {Function} fn The function to call for each interceptor
698
+ */
699
+ InterceptorManager.prototype.forEach = function forEach(fn) {
700
+ utils.forEach(this.handlers, function forEachHandler(h) {
701
+ if (h !== null) {
702
+ fn(h);
703
+ }
704
+ });
705
+ };
706
+
707
+ module.exports = InterceptorManager;
708
+
709
+
710
+ /***/ }),
711
+
712
+ /***/ "./lib/core/buildFullPath.js":
713
+ /*!***********************************!*\
714
+ !*** ./lib/core/buildFullPath.js ***!
715
+ \***********************************/
716
+ /*! no static exports found */
717
+ /***/ (function(module, exports$1, __webpack_require__) {
718
+
719
+
720
+ var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ "./lib/helpers/isAbsoluteURL.js");
721
+ var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ "./lib/helpers/combineURLs.js");
722
+
723
+ /**
724
+ * Creates a new URL by combining the baseURL with the requestedURL,
725
+ * only when the requestedURL is not already an absolute URL.
726
+ * If the requestURL is absolute, this function returns the requestedURL untouched.
727
+ *
728
+ * @param {string} baseURL The base URL
729
+ * @param {string} requestedURL Absolute or relative URL to combine
730
+ * @returns {string} The combined full path
731
+ */
732
+ module.exports = function buildFullPath(baseURL, requestedURL) {
733
+ if (baseURL && !isAbsoluteURL(requestedURL)) {
734
+ return combineURLs(baseURL, requestedURL);
735
+ }
736
+ return requestedURL;
737
+ };
738
+
739
+
740
+ /***/ }),
741
+
742
+ /***/ "./lib/core/createError.js":
743
+ /*!*********************************!*\
744
+ !*** ./lib/core/createError.js ***!
745
+ \*********************************/
746
+ /*! no static exports found */
747
+ /***/ (function(module, exports$1, __webpack_require__) {
748
+
749
+
750
+ var enhanceError = __webpack_require__(/*! ./enhanceError */ "./lib/core/enhanceError.js");
751
+
752
+ /**
753
+ * Create an Error with the specified message, config, error code, request and response.
754
+ *
755
+ * @param {string} message The error message.
756
+ * @param {Object} config The config.
757
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
758
+ * @param {Object} [request] The request.
759
+ * @param {Object} [response] The response.
760
+ * @returns {Error} The created error.
761
+ */
762
+ module.exports = function createError(message, config, code, request, response) {
763
+ var error = new Error(message);
764
+ return enhanceError(error, config, code, request, response);
765
+ };
766
+
767
+
768
+ /***/ }),
769
+
770
+ /***/ "./lib/core/dispatchRequest.js":
771
+ /*!*************************************!*\
772
+ !*** ./lib/core/dispatchRequest.js ***!
773
+ \*************************************/
774
+ /*! no static exports found */
775
+ /***/ (function(module, exports$1, __webpack_require__) {
776
+
777
+
778
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
779
+ var transformData = __webpack_require__(/*! ./transformData */ "./lib/core/transformData.js");
780
+ var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./lib/cancel/isCancel.js");
781
+ var defaults = __webpack_require__(/*! ../defaults */ "./lib/defaults.js");
782
+
783
+ /**
784
+ * Throws a `Cancel` if cancellation has been requested.
785
+ */
786
+ function throwIfCancellationRequested(config) {
787
+ if (config.cancelToken) {
788
+ config.cancelToken.throwIfRequested();
789
+ }
790
+ }
791
+
792
+ /**
793
+ * Dispatch a request to the server using the configured adapter.
794
+ *
795
+ * @param {object} config The config that is to be used for the request
796
+ * @returns {Promise} The Promise to be fulfilled
797
+ */
798
+ module.exports = function dispatchRequest(config) {
799
+ throwIfCancellationRequested(config);
800
+
801
+ // Ensure headers exist
802
+ config.headers = config.headers || {};
803
+
804
+ // Transform request data
805
+ config.data = transformData.call(
806
+ config,
807
+ config.data,
808
+ config.headers,
809
+ config.transformRequest
810
+ );
811
+
812
+ // Flatten headers
813
+ config.headers = utils.merge(
814
+ config.headers.common || {},
815
+ config.headers[config.method] || {},
816
+ config.headers
817
+ );
818
+
819
+ utils.forEach(
820
+ ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
821
+ function cleanHeaderConfig(method) {
822
+ delete config.headers[method];
823
+ }
824
+ );
825
+
826
+ var adapter = config.adapter || defaults.adapter;
827
+
828
+ return adapter(config).then(function onAdapterResolution(response) {
829
+ throwIfCancellationRequested(config);
830
+
831
+ // Transform response data
832
+ response.data = transformData.call(
833
+ config,
834
+ response.data,
835
+ response.headers,
836
+ config.transformResponse
837
+ );
838
+
839
+ return response;
840
+ }, function onAdapterRejection(reason) {
841
+ if (!isCancel(reason)) {
842
+ throwIfCancellationRequested(config);
843
+
844
+ // Transform response data
845
+ if (reason && reason.response) {
846
+ reason.response.data = transformData.call(
847
+ config,
848
+ reason.response.data,
849
+ reason.response.headers,
850
+ config.transformResponse
851
+ );
852
+ }
853
+ }
854
+
855
+ return Promise.reject(reason);
856
+ });
857
+ };
858
+
859
+
860
+ /***/ }),
861
+
862
+ /***/ "./lib/core/enhanceError.js":
863
+ /*!**********************************!*\
864
+ !*** ./lib/core/enhanceError.js ***!
865
+ \**********************************/
866
+ /*! no static exports found */
867
+ /***/ (function(module, exports$1, __webpack_require__) {
868
+
869
+
870
+ /**
871
+ * Update an Error with the specified config, error code, and response.
872
+ *
873
+ * @param {Error} error The error to update.
874
+ * @param {Object} config The config.
875
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
876
+ * @param {Object} [request] The request.
877
+ * @param {Object} [response] The response.
878
+ * @returns {Error} The error.
879
+ */
880
+ module.exports = function enhanceError(error, config, code, request, response) {
881
+ error.config = config;
882
+ if (code) {
883
+ error.code = code;
884
+ }
885
+
886
+ error.request = request;
887
+ error.response = response;
888
+ error.isAxiosError = true;
889
+
890
+ error.toJSON = function toJSON() {
891
+ return {
892
+ // Standard
893
+ message: this.message,
894
+ name: this.name,
895
+ // Microsoft
896
+ description: this.description,
897
+ number: this.number,
898
+ // Mozilla
899
+ fileName: this.fileName,
900
+ lineNumber: this.lineNumber,
901
+ columnNumber: this.columnNumber,
902
+ stack: this.stack,
903
+ // Axios
904
+ config: this.config,
905
+ code: this.code
906
+ };
907
+ };
908
+ return error;
909
+ };
910
+
911
+
912
+ /***/ }),
913
+
914
+ /***/ "./lib/core/mergeConfig.js":
915
+ /*!*********************************!*\
916
+ !*** ./lib/core/mergeConfig.js ***!
917
+ \*********************************/
918
+ /*! no static exports found */
919
+ /***/ (function(module, exports$1, __webpack_require__) {
920
+
921
+
922
+ var utils = __webpack_require__(/*! ../utils */ "./lib/utils.js");
923
+
924
+ /**
925
+ * Config-specific merge-function which creates a new config-object
926
+ * by merging two configuration objects together.
927
+ *
928
+ * @param {Object} config1
929
+ * @param {Object} config2
930
+ * @returns {Object} New object resulting from merging config2 to config1
931
+ */
932
+ module.exports = function mergeConfig(config1, config2) {
933
+ // eslint-disable-next-line no-param-reassign
934
+ config2 = config2 || {};
935
+ var config = {};
936
+
937
+ var valueFromConfig2Keys = ['url', 'method', 'data'];
938
+ var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
939
+ var defaultToConfig2Keys = [
940
+ 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
941
+ 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
942
+ 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',
943
+ 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',
944
+ 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
945
+ ];
946
+ var directMergeKeys = ['validateStatus'];
947
+
948
+ function getMergedValue(target, source) {
949
+ if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
950
+ return utils.merge(target, source);
951
+ } else if (utils.isPlainObject(source)) {
952
+ return utils.merge({}, source);
953
+ } else if (utils.isArray(source)) {
954
+ return source.slice();
955
+ }
956
+ return source;
957
+ }
958
+
959
+ function mergeDeepProperties(prop) {
960
+ if (!utils.isUndefined(config2[prop])) {
961
+ config[prop] = getMergedValue(config1[prop], config2[prop]);
962
+ } else if (!utils.isUndefined(config1[prop])) {
963
+ config[prop] = getMergedValue(undefined, config1[prop]);
964
+ }
965
+ }
966
+
967
+ utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
968
+ if (!utils.isUndefined(config2[prop])) {
969
+ config[prop] = getMergedValue(undefined, config2[prop]);
970
+ }
971
+ });
972
+
973
+ utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
974
+
975
+ utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
976
+ if (!utils.isUndefined(config2[prop])) {
977
+ config[prop] = getMergedValue(undefined, config2[prop]);
978
+ } else if (!utils.isUndefined(config1[prop])) {
979
+ config[prop] = getMergedValue(undefined, config1[prop]);
980
+ }
981
+ });
982
+
983
+ utils.forEach(directMergeKeys, function merge(prop) {
984
+ if (prop in config2) {
985
+ config[prop] = getMergedValue(config1[prop], config2[prop]);
986
+ } else if (prop in config1) {
987
+ config[prop] = getMergedValue(undefined, config1[prop]);
988
+ }
989
+ });
990
+
991
+ var axiosKeys = valueFromConfig2Keys
992
+ .concat(mergeDeepPropertiesKeys)
993
+ .concat(defaultToConfig2Keys)
994
+ .concat(directMergeKeys);
995
+
996
+ var otherKeys = Object
997
+ .keys(config1)
998
+ .concat(Object.keys(config2))
999
+ .filter(function filterAxiosKeys(key) {
1000
+ return axiosKeys.indexOf(key) === -1;
1001
+ });
1002
+
1003
+ utils.forEach(otherKeys, mergeDeepProperties);
1004
+
1005
+ return config;
1006
+ };
1007
+
1008
+
1009
+ /***/ }),
1010
+
1011
+ /***/ "./lib/core/settle.js":
1012
+ /*!****************************!*\
1013
+ !*** ./lib/core/settle.js ***!
1014
+ \****************************/
1015
+ /*! no static exports found */
1016
+ /***/ (function(module, exports$1, __webpack_require__) {
1017
+
1018
+
1019
+ var createError = __webpack_require__(/*! ./createError */ "./lib/core/createError.js");
1020
+
1021
+ /**
1022
+ * Resolve or reject a Promise based on response status.
1023
+ *
1024
+ * @param {Function} resolve A function that resolves the promise.
1025
+ * @param {Function} reject A function that rejects the promise.
1026
+ * @param {object} response The response.
1027
+ */
1028
+ module.exports = function settle(resolve, reject, response) {
1029
+ var validateStatus = response.config.validateStatus;
1030
+ if (!response.status || !validateStatus || validateStatus(response.status)) {
1031
+ resolve(response);
1032
+ } else {
1033
+ reject(createError(
1034
+ 'Request failed with status code ' + response.status,
1035
+ response.config,
1036
+ null,
1037
+ response.request,
1038
+ response
1039
+ ));
1040
+ }
1041
+ };
1042
+
1043
+
1044
+ /***/ }),
1045
+
1046
+ /***/ "./lib/core/transformData.js":
1047
+ /*!***********************************!*\
1048
+ !*** ./lib/core/transformData.js ***!
1049
+ \***********************************/
1050
+ /*! no static exports found */
1051
+ /***/ (function(module, exports$1, __webpack_require__) {
1052
+
1053
+
1054
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
1055
+ var defaults = __webpack_require__(/*! ./../defaults */ "./lib/defaults.js");
1056
+
1057
+ /**
1058
+ * Transform the data for a request or a response
1059
+ *
1060
+ * @param {Object|String} data The data to be transformed
1061
+ * @param {Array} headers The headers for the request or response
1062
+ * @param {Array|Function} fns A single function or Array of functions
1063
+ * @returns {*} The resulting transformed data
1064
+ */
1065
+ module.exports = function transformData(data, headers, fns) {
1066
+ var context = this || defaults;
1067
+ /*eslint no-param-reassign:0*/
1068
+ utils.forEach(fns, function transform(fn) {
1069
+ data = fn.call(context, data, headers);
1070
+ });
1071
+
1072
+ return data;
1073
+ };
1074
+
1075
+
1076
+ /***/ }),
1077
+
1078
+ /***/ "./lib/defaults.js":
1079
+ /*!*************************!*\
1080
+ !*** ./lib/defaults.js ***!
1081
+ \*************************/
1082
+ /*! no static exports found */
1083
+ /***/ (function(module, exports$1, __webpack_require__) {
1084
+
1085
+
1086
+ var utils = __webpack_require__(/*! ./utils */ "./lib/utils.js");
1087
+ var normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ "./lib/helpers/normalizeHeaderName.js");
1088
+ var enhanceError = __webpack_require__(/*! ./core/enhanceError */ "./lib/core/enhanceError.js");
1089
+
1090
+ var DEFAULT_CONTENT_TYPE = {
1091
+ 'Content-Type': 'application/x-www-form-urlencoded'
1092
+ };
1093
+
1094
+ function setContentTypeIfUnset(headers, value) {
1095
+ if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
1096
+ headers['Content-Type'] = value;
1097
+ }
1098
+ }
1099
+
1100
+ function getDefaultAdapter() {
1101
+ var adapter;
1102
+ if (typeof XMLHttpRequest !== 'undefined') {
1103
+ // For browsers use XHR adapter
1104
+ adapter = __webpack_require__(/*! ./adapters/xhr */ "./lib/adapters/xhr.js");
1105
+ } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
1106
+ // For node use HTTP adapter
1107
+ adapter = __webpack_require__(/*! ./adapters/http */ "./lib/adapters/xhr.js");
1108
+ }
1109
+ return adapter;
1110
+ }
1111
+
1112
+ function stringifySafely(rawValue, parser, encoder) {
1113
+ if (utils.isString(rawValue)) {
1114
+ try {
1115
+ (parser || JSON.parse)(rawValue);
1116
+ return utils.trim(rawValue);
1117
+ } catch (e) {
1118
+ if (e.name !== 'SyntaxError') {
1119
+ throw e;
1120
+ }
1121
+ }
1122
+ }
1123
+
1124
+ return (encoder || JSON.stringify)(rawValue);
1125
+ }
1126
+
1127
+ var defaults = {
1128
+
1129
+ transitional: {
1130
+ silentJSONParsing: true,
1131
+ forcedJSONParsing: true,
1132
+ clarifyTimeoutError: false
1133
+ },
1134
+
1135
+ adapter: getDefaultAdapter(),
1136
+
1137
+ transformRequest: [function transformRequest(data, headers) {
1138
+ normalizeHeaderName(headers, 'Accept');
1139
+ normalizeHeaderName(headers, 'Content-Type');
1140
+
1141
+ if (utils.isFormData(data) ||
1142
+ utils.isArrayBuffer(data) ||
1143
+ utils.isBuffer(data) ||
1144
+ utils.isStream(data) ||
1145
+ utils.isFile(data) ||
1146
+ utils.isBlob(data)
1147
+ ) {
1148
+ return data;
1149
+ }
1150
+ if (utils.isArrayBufferView(data)) {
1151
+ return data.buffer;
1152
+ }
1153
+ if (utils.isURLSearchParams(data)) {
1154
+ setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
1155
+ return data.toString();
1156
+ }
1157
+ if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {
1158
+ setContentTypeIfUnset(headers, 'application/json');
1159
+ return stringifySafely(data);
1160
+ }
1161
+ return data;
1162
+ }],
1163
+
1164
+ transformResponse: [function transformResponse(data) {
1165
+ var transitional = this.transitional;
1166
+ var silentJSONParsing = transitional && transitional.silentJSONParsing;
1167
+ var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1168
+ var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
1169
+
1170
+ if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {
1171
+ try {
1172
+ return JSON.parse(data);
1173
+ } catch (e) {
1174
+ if (strictJSONParsing) {
1175
+ if (e.name === 'SyntaxError') {
1176
+ throw enhanceError(e, this, 'E_JSON_PARSE');
1177
+ }
1178
+ throw e;
1179
+ }
1180
+ }
1181
+ }
1182
+
1183
+ return data;
1184
+ }],
1185
+
1186
+ /**
1187
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
1188
+ * timeout is not created.
1189
+ */
1190
+ timeout: 0,
1191
+
1192
+ xsrfCookieName: 'XSRF-TOKEN',
1193
+ xsrfHeaderName: 'X-XSRF-TOKEN',
1194
+
1195
+ maxContentLength: -1,
1196
+ maxBodyLength: -1,
1197
+
1198
+ validateStatus: function validateStatus(status) {
1199
+ return status >= 200 && status < 300;
1200
+ }
1201
+ };
1202
+
1203
+ defaults.headers = {
1204
+ common: {
1205
+ 'Accept': 'application/json, text/plain, */*'
1206
+ }
1207
+ };
1208
+
1209
+ utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
1210
+ defaults.headers[method] = {};
1211
+ });
1212
+
1213
+ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1214
+ defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
1215
+ });
1216
+
1217
+ module.exports = defaults;
1218
+
1219
+
1220
+ /***/ }),
1221
+
1222
+ /***/ "./lib/helpers/bind.js":
1223
+ /*!*****************************!*\
1224
+ !*** ./lib/helpers/bind.js ***!
1225
+ \*****************************/
1226
+ /*! no static exports found */
1227
+ /***/ (function(module, exports$1, __webpack_require__) {
1228
+
1229
+
1230
+ module.exports = function bind(fn, thisArg) {
1231
+ return function wrap() {
1232
+ var args = new Array(arguments.length);
1233
+ for (var i = 0; i < args.length; i++) {
1234
+ args[i] = arguments[i];
1235
+ }
1236
+ return fn.apply(thisArg, args);
1237
+ };
1238
+ };
1239
+
1240
+
1241
+ /***/ }),
1242
+
1243
+ /***/ "./lib/helpers/buildURL.js":
1244
+ /*!*********************************!*\
1245
+ !*** ./lib/helpers/buildURL.js ***!
1246
+ \*********************************/
1247
+ /*! no static exports found */
1248
+ /***/ (function(module, exports$1, __webpack_require__) {
1249
+
1250
+
1251
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
1252
+
1253
+ function encode(val) {
1254
+ return encodeURIComponent(val).
1255
+ replace(/%3A/gi, ':').
1256
+ replace(/%24/g, '$').
1257
+ replace(/%2C/gi, ',').
1258
+ replace(/%20/g, '+').
1259
+ replace(/%5B/gi, '[').
1260
+ replace(/%5D/gi, ']');
1261
+ }
1262
+
1263
+ /**
1264
+ * Build a URL by appending params to the end
1265
+ *
1266
+ * @param {string} url The base of the url (e.g., http://www.google.com)
1267
+ * @param {object} [params] The params to be appended
1268
+ * @returns {string} The formatted url
1269
+ */
1270
+ module.exports = function buildURL(url, params, paramsSerializer) {
1271
+ /*eslint no-param-reassign:0*/
1272
+ if (!params) {
1273
+ return url;
1274
+ }
1275
+
1276
+ var serializedParams;
1277
+ if (paramsSerializer) {
1278
+ serializedParams = paramsSerializer(params);
1279
+ } else if (utils.isURLSearchParams(params)) {
1280
+ serializedParams = params.toString();
1281
+ } else {
1282
+ var parts = [];
1283
+
1284
+ utils.forEach(params, function serialize(val, key) {
1285
+ if (val === null || typeof val === 'undefined') {
1286
+ return;
1287
+ }
1288
+
1289
+ if (utils.isArray(val)) {
1290
+ key = key + '[]';
1291
+ } else {
1292
+ val = [val];
1293
+ }
1294
+
1295
+ utils.forEach(val, function parseValue(v) {
1296
+ if (utils.isDate(v)) {
1297
+ v = v.toISOString();
1298
+ } else if (utils.isObject(v)) {
1299
+ v = JSON.stringify(v);
1300
+ }
1301
+ parts.push(encode(key) + '=' + encode(v));
1302
+ });
1303
+ });
1304
+
1305
+ serializedParams = parts.join('&');
1306
+ }
1307
+
1308
+ if (serializedParams) {
1309
+ var hashmarkIndex = url.indexOf('#');
1310
+ if (hashmarkIndex !== -1) {
1311
+ url = url.slice(0, hashmarkIndex);
1312
+ }
1313
+
1314
+ url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
1315
+ }
1316
+
1317
+ return url;
1318
+ };
1319
+
1320
+
1321
+ /***/ }),
1322
+
1323
+ /***/ "./lib/helpers/combineURLs.js":
1324
+ /*!************************************!*\
1325
+ !*** ./lib/helpers/combineURLs.js ***!
1326
+ \************************************/
1327
+ /*! no static exports found */
1328
+ /***/ (function(module, exports$1, __webpack_require__) {
1329
+
1330
+
1331
+ /**
1332
+ * Creates a new URL by combining the specified URLs
1333
+ *
1334
+ * @param {string} baseURL The base URL
1335
+ * @param {string} relativeURL The relative URL
1336
+ * @returns {string} The combined URL
1337
+ */
1338
+ module.exports = function combineURLs(baseURL, relativeURL) {
1339
+ return relativeURL
1340
+ ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
1341
+ : baseURL;
1342
+ };
1343
+
1344
+
1345
+ /***/ }),
1346
+
1347
+ /***/ "./lib/helpers/cookies.js":
1348
+ /*!********************************!*\
1349
+ !*** ./lib/helpers/cookies.js ***!
1350
+ \********************************/
1351
+ /*! no static exports found */
1352
+ /***/ (function(module, exports$1, __webpack_require__) {
1353
+
1354
+
1355
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
1356
+
1357
+ module.exports = (
1358
+ utils.isStandardBrowserEnv() ?
1359
+
1360
+ // Standard browser envs support document.cookie
1361
+ (function standardBrowserEnv() {
1362
+ return {
1363
+ write: function write(name, value, expires, path, domain, secure) {
1364
+ var cookie = [];
1365
+ cookie.push(name + '=' + encodeURIComponent(value));
1366
+
1367
+ if (utils.isNumber(expires)) {
1368
+ cookie.push('expires=' + new Date(expires).toGMTString());
1369
+ }
1370
+
1371
+ if (utils.isString(path)) {
1372
+ cookie.push('path=' + path);
1373
+ }
1374
+
1375
+ if (utils.isString(domain)) {
1376
+ cookie.push('domain=' + domain);
1377
+ }
1378
+
1379
+ if (secure === true) {
1380
+ cookie.push('secure');
1381
+ }
1382
+
1383
+ document.cookie = cookie.join('; ');
1384
+ },
1385
+
1386
+ read: function read(name) {
1387
+ var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
1388
+ return (match ? decodeURIComponent(match[3]) : null);
1389
+ },
1390
+
1391
+ remove: function remove(name) {
1392
+ this.write(name, '', Date.now() - 86400000);
1393
+ }
1394
+ };
1395
+ })() :
1396
+
1397
+ // Non standard browser env (web workers, react-native) lack needed support.
1398
+ (function nonStandardBrowserEnv() {
1399
+ return {
1400
+ write: function write() {},
1401
+ read: function read() { return null; },
1402
+ remove: function remove() {}
1403
+ };
1404
+ })()
1405
+ );
1406
+
1407
+
1408
+ /***/ }),
1409
+
1410
+ /***/ "./lib/helpers/isAbsoluteURL.js":
1411
+ /*!**************************************!*\
1412
+ !*** ./lib/helpers/isAbsoluteURL.js ***!
1413
+ \**************************************/
1414
+ /*! no static exports found */
1415
+ /***/ (function(module, exports$1, __webpack_require__) {
1416
+
1417
+
1418
+ /**
1419
+ * Determines whether the specified URL is absolute
1420
+ *
1421
+ * @param {string} url The URL to test
1422
+ * @returns {boolean} True if the specified URL is absolute, otherwise false
1423
+ */
1424
+ module.exports = function isAbsoluteURL(url) {
1425
+ // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
1426
+ // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
1427
+ // by any combination of letters, digits, plus, period, or hyphen.
1428
+ return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
1429
+ };
1430
+
1431
+
1432
+ /***/ }),
1433
+
1434
+ /***/ "./lib/helpers/isAxiosError.js":
1435
+ /*!*************************************!*\
1436
+ !*** ./lib/helpers/isAxiosError.js ***!
1437
+ \*************************************/
1438
+ /*! no static exports found */
1439
+ /***/ (function(module, exports$1, __webpack_require__) {
1440
+
1441
+
1442
+ /**
1443
+ * Determines whether the payload is an error thrown by Axios
1444
+ *
1445
+ * @param {*} payload The value to test
1446
+ * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
1447
+ */
1448
+ module.exports = function isAxiosError(payload) {
1449
+ return (typeof payload === 'object') && (payload.isAxiosError === true);
1450
+ };
1451
+
1452
+
1453
+ /***/ }),
1454
+
1455
+ /***/ "./lib/helpers/isURLSameOrigin.js":
1456
+ /*!****************************************!*\
1457
+ !*** ./lib/helpers/isURLSameOrigin.js ***!
1458
+ \****************************************/
1459
+ /*! no static exports found */
1460
+ /***/ (function(module, exports$1, __webpack_require__) {
1461
+
1462
+
1463
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
1464
+
1465
+ module.exports = (
1466
+ utils.isStandardBrowserEnv() ?
1467
+
1468
+ // Standard browser envs have full support of the APIs needed to test
1469
+ // whether the request URL is of the same origin as current location.
1470
+ (function standardBrowserEnv() {
1471
+ var msie = /(msie|trident)/i.test(navigator.userAgent);
1472
+ var urlParsingNode = document.createElement('a');
1473
+ var originURL;
1474
+
1475
+ /**
1476
+ * Parse a URL to discover it's components
1477
+ *
1478
+ * @param {String} url The URL to be parsed
1479
+ * @returns {Object}
1480
+ */
1481
+ function resolveURL(url) {
1482
+ var href = url;
1483
+
1484
+ if (msie) {
1485
+ // IE needs attribute set twice to normalize properties
1486
+ urlParsingNode.setAttribute('href', href);
1487
+ href = urlParsingNode.href;
1488
+ }
1489
+
1490
+ urlParsingNode.setAttribute('href', href);
1491
+
1492
+ // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
1493
+ return {
1494
+ href: urlParsingNode.href,
1495
+ protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
1496
+ host: urlParsingNode.host,
1497
+ search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
1498
+ hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
1499
+ hostname: urlParsingNode.hostname,
1500
+ port: urlParsingNode.port,
1501
+ pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
1502
+ urlParsingNode.pathname :
1503
+ '/' + urlParsingNode.pathname
1504
+ };
1505
+ }
1506
+
1507
+ originURL = resolveURL(window.location.href);
1508
+
1509
+ /**
1510
+ * Determine if a URL shares the same origin as the current location
1511
+ *
1512
+ * @param {String} requestURL The URL to test
1513
+ * @returns {boolean} True if URL shares the same origin, otherwise false
1514
+ */
1515
+ return function isURLSameOrigin(requestURL) {
1516
+ var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
1517
+ return (parsed.protocol === originURL.protocol &&
1518
+ parsed.host === originURL.host);
1519
+ };
1520
+ })() :
1521
+
1522
+ // Non standard browser envs (web workers, react-native) lack needed support.
1523
+ (function nonStandardBrowserEnv() {
1524
+ return function isURLSameOrigin() {
1525
+ return true;
1526
+ };
1527
+ })()
1528
+ );
1529
+
1530
+
1531
+ /***/ }),
1532
+
1533
+ /***/ "./lib/helpers/normalizeHeaderName.js":
1534
+ /*!********************************************!*\
1535
+ !*** ./lib/helpers/normalizeHeaderName.js ***!
1536
+ \********************************************/
1537
+ /*! no static exports found */
1538
+ /***/ (function(module, exports$1, __webpack_require__) {
1539
+
1540
+
1541
+ var utils = __webpack_require__(/*! ../utils */ "./lib/utils.js");
1542
+
1543
+ module.exports = function normalizeHeaderName(headers, normalizedName) {
1544
+ utils.forEach(headers, function processHeader(value, name) {
1545
+ if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
1546
+ headers[normalizedName] = value;
1547
+ delete headers[name];
1548
+ }
1549
+ });
1550
+ };
1551
+
1552
+
1553
+ /***/ }),
1554
+
1555
+ /***/ "./lib/helpers/parseHeaders.js":
1556
+ /*!*************************************!*\
1557
+ !*** ./lib/helpers/parseHeaders.js ***!
1558
+ \*************************************/
1559
+ /*! no static exports found */
1560
+ /***/ (function(module, exports$1, __webpack_require__) {
1561
+
1562
+
1563
+ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
1564
+
1565
+ // Headers whose duplicates are ignored by node
1566
+ // c.f. https://nodejs.org/api/http.html#http_message_headers
1567
+ var ignoreDuplicateOf = [
1568
+ 'age', 'authorization', 'content-length', 'content-type', 'etag',
1569
+ 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
1570
+ 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
1571
+ 'referer', 'retry-after', 'user-agent'
1572
+ ];
1573
+
1574
+ /**
1575
+ * Parse headers into an object
1576
+ *
1577
+ * ```
1578
+ * Date: Wed, 27 Aug 2014 08:58:49 GMT
1579
+ * Content-Type: application/json
1580
+ * Connection: keep-alive
1581
+ * Transfer-Encoding: chunked
1582
+ * ```
1583
+ *
1584
+ * @param {String} headers Headers needing to be parsed
1585
+ * @returns {Object} Headers parsed into an object
1586
+ */
1587
+ module.exports = function parseHeaders(headers) {
1588
+ var parsed = {};
1589
+ var key;
1590
+ var val;
1591
+ var i;
1592
+
1593
+ if (!headers) { return parsed; }
1594
+
1595
+ utils.forEach(headers.split('\n'), function parser(line) {
1596
+ i = line.indexOf(':');
1597
+ key = utils.trim(line.substr(0, i)).toLowerCase();
1598
+ val = utils.trim(line.substr(i + 1));
1599
+
1600
+ if (key) {
1601
+ if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
1602
+ return;
1603
+ }
1604
+ if (key === 'set-cookie') {
1605
+ parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
1606
+ } else {
1607
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1608
+ }
1609
+ }
1610
+ });
1611
+
1612
+ return parsed;
1613
+ };
1614
+
1615
+
1616
+ /***/ }),
1617
+
1618
+ /***/ "./lib/helpers/spread.js":
1619
+ /*!*******************************!*\
1620
+ !*** ./lib/helpers/spread.js ***!
1621
+ \*******************************/
1622
+ /*! no static exports found */
1623
+ /***/ (function(module, exports$1, __webpack_require__) {
1624
+
1625
+
1626
+ /**
1627
+ * Syntactic sugar for invoking a function and expanding an array for arguments.
1628
+ *
1629
+ * Common use case would be to use `Function.prototype.apply`.
1630
+ *
1631
+ * ```js
1632
+ * function f(x, y, z) {}
1633
+ * var args = [1, 2, 3];
1634
+ * f.apply(null, args);
1635
+ * ```
1636
+ *
1637
+ * With `spread` this example can be re-written.
1638
+ *
1639
+ * ```js
1640
+ * spread(function(x, y, z) {})([1, 2, 3]);
1641
+ * ```
1642
+ *
1643
+ * @param {Function} callback
1644
+ * @returns {Function}
1645
+ */
1646
+ module.exports = function spread(callback) {
1647
+ return function wrap(arr) {
1648
+ return callback.apply(null, arr);
1649
+ };
1650
+ };
1651
+
1652
+
1653
+ /***/ }),
1654
+
1655
+ /***/ "./lib/helpers/validator.js":
1656
+ /*!**********************************!*\
1657
+ !*** ./lib/helpers/validator.js ***!
1658
+ \**********************************/
1659
+ /*! no static exports found */
1660
+ /***/ (function(module, exports$1, __webpack_require__) {
1661
+
1662
+
1663
+ var pkg = __webpack_require__(/*! ./../../package.json */ "./package.json");
1664
+
1665
+ var validators = {};
1666
+
1667
+ // eslint-disable-next-line func-names
1668
+ ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
1669
+ validators[type] = function validator(thing) {
1670
+ return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
1671
+ };
1672
+ });
1673
+
1674
+ var deprecatedWarnings = {};
1675
+ var currentVerArr = pkg.version.split('.');
1676
+
1677
+ /**
1678
+ * Compare package versions
1679
+ * @param {string} version
1680
+ * @param {string?} thanVersion
1681
+ * @returns {boolean}
1682
+ */
1683
+ function isOlderVersion(version, thanVersion) {
1684
+ var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;
1685
+ var destVer = version.split('.');
1686
+ for (var i = 0; i < 3; i++) {
1687
+ if (pkgVersionArr[i] > destVer[i]) {
1688
+ return true;
1689
+ } else if (pkgVersionArr[i] < destVer[i]) {
1690
+ return false;
1691
+ }
1692
+ }
1693
+ return false;
1694
+ }
1695
+
1696
+ /**
1697
+ * Transitional option validator
1698
+ * @param {function|boolean?} validator
1699
+ * @param {string?} version
1700
+ * @param {string} message
1701
+ * @returns {function}
1702
+ */
1703
+ validators.transitional = function transitional(validator, version, message) {
1704
+ var isDeprecated = version && isOlderVersion(version);
1705
+
1706
+ function formatMessage(opt, desc) {
1707
+ return '[Axios v' + pkg.version + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
1708
+ }
1709
+
1710
+ // eslint-disable-next-line func-names
1711
+ return function(value, opt, opts) {
1712
+ if (validator === false) {
1713
+ throw new Error(formatMessage(opt, ' has been removed in ' + version));
1714
+ }
1715
+
1716
+ if (isDeprecated && !deprecatedWarnings[opt]) {
1717
+ deprecatedWarnings[opt] = true;
1718
+ // eslint-disable-next-line no-console
1719
+ console.warn(
1720
+ formatMessage(
1721
+ opt,
1722
+ ' has been deprecated since v' + version + ' and will be removed in the near future'
1723
+ )
1724
+ );
1725
+ }
1726
+
1727
+ return validator ? validator(value, opt, opts) : true;
1728
+ };
1729
+ };
1730
+
1731
+ /**
1732
+ * Assert object's properties type
1733
+ * @param {object} options
1734
+ * @param {object} schema
1735
+ * @param {boolean?} allowUnknown
1736
+ */
1737
+
1738
+ function assertOptions(options, schema, allowUnknown) {
1739
+ if (typeof options !== 'object') {
1740
+ throw new TypeError('options must be an object');
1741
+ }
1742
+ var keys = Object.keys(options);
1743
+ var i = keys.length;
1744
+ while (i-- > 0) {
1745
+ var opt = keys[i];
1746
+ var validator = schema[opt];
1747
+ if (validator) {
1748
+ var value = options[opt];
1749
+ var result = value === undefined || validator(value, opt, options);
1750
+ if (result !== true) {
1751
+ throw new TypeError('option ' + opt + ' must be ' + result);
1752
+ }
1753
+ continue;
1754
+ }
1755
+ if (allowUnknown !== true) {
1756
+ throw Error('Unknown option ' + opt);
1757
+ }
1758
+ }
1759
+ }
1760
+
1761
+ module.exports = {
1762
+ isOlderVersion: isOlderVersion,
1763
+ assertOptions: assertOptions,
1764
+ validators: validators
1765
+ };
1766
+
1767
+
1768
+ /***/ }),
1769
+
1770
+ /***/ "./lib/utils.js":
1771
+ /*!**********************!*\
1772
+ !*** ./lib/utils.js ***!
1773
+ \**********************/
1774
+ /*! no static exports found */
1775
+ /***/ (function(module, exports$1, __webpack_require__) {
1776
+
1777
+
1778
+ var bind = __webpack_require__(/*! ./helpers/bind */ "./lib/helpers/bind.js");
1779
+
1780
+ // utils is a library of generic helper functions non-specific to axios
1781
+
1782
+ var toString = Object.prototype.toString;
1783
+
1784
+ /**
1785
+ * Determine if a value is an Array
1786
+ *
1787
+ * @param {Object} val The value to test
1788
+ * @returns {boolean} True if value is an Array, otherwise false
1789
+ */
1790
+ function isArray(val) {
1791
+ return toString.call(val) === '[object Array]';
1792
+ }
1793
+
1794
+ /**
1795
+ * Determine if a value is undefined
1796
+ *
1797
+ * @param {Object} val The value to test
1798
+ * @returns {boolean} True if the value is undefined, otherwise false
1799
+ */
1800
+ function isUndefined(val) {
1801
+ return typeof val === 'undefined';
1802
+ }
1803
+
1804
+ /**
1805
+ * Determine if a value is a Buffer
1806
+ *
1807
+ * @param {Object} val The value to test
1808
+ * @returns {boolean} True if value is a Buffer, otherwise false
1809
+ */
1810
+ function isBuffer(val) {
1811
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
1812
+ && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
1813
+ }
1814
+
1815
+ /**
1816
+ * Determine if a value is an ArrayBuffer
1817
+ *
1818
+ * @param {Object} val The value to test
1819
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
1820
+ */
1821
+ function isArrayBuffer(val) {
1822
+ return toString.call(val) === '[object ArrayBuffer]';
1823
+ }
1824
+
1825
+ /**
1826
+ * Determine if a value is a FormData
1827
+ *
1828
+ * @param {Object} val The value to test
1829
+ * @returns {boolean} True if value is an FormData, otherwise false
1830
+ */
1831
+ function isFormData(val) {
1832
+ return (typeof FormData !== 'undefined') && (val instanceof FormData);
1833
+ }
1834
+
1835
+ /**
1836
+ * Determine if a value is a view on an ArrayBuffer
1837
+ *
1838
+ * @param {Object} val The value to test
1839
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
1840
+ */
1841
+ function isArrayBufferView(val) {
1842
+ var result;
1843
+ if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
1844
+ result = ArrayBuffer.isView(val);
1845
+ } else {
1846
+ result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
1847
+ }
1848
+ return result;
1849
+ }
1850
+
1851
+ /**
1852
+ * Determine if a value is a String
1853
+ *
1854
+ * @param {Object} val The value to test
1855
+ * @returns {boolean} True if value is a String, otherwise false
1856
+ */
1857
+ function isString(val) {
1858
+ return typeof val === 'string';
1859
+ }
1860
+
1861
+ /**
1862
+ * Determine if a value is a Number
1863
+ *
1864
+ * @param {Object} val The value to test
1865
+ * @returns {boolean} True if value is a Number, otherwise false
1866
+ */
1867
+ function isNumber(val) {
1868
+ return typeof val === 'number';
1869
+ }
1870
+
1871
+ /**
1872
+ * Determine if a value is an Object
1873
+ *
1874
+ * @param {Object} val The value to test
1875
+ * @returns {boolean} True if value is an Object, otherwise false
1876
+ */
1877
+ function isObject(val) {
1878
+ return val !== null && typeof val === 'object';
1879
+ }
1880
+
1881
+ /**
1882
+ * Determine if a value is a plain Object
1883
+ *
1884
+ * @param {Object} val The value to test
1885
+ * @return {boolean} True if value is a plain Object, otherwise false
1886
+ */
1887
+ function isPlainObject(val) {
1888
+ if (toString.call(val) !== '[object Object]') {
1889
+ return false;
1890
+ }
1891
+
1892
+ var prototype = Object.getPrototypeOf(val);
1893
+ return prototype === null || prototype === Object.prototype;
1894
+ }
1895
+
1896
+ /**
1897
+ * Determine if a value is a Date
1898
+ *
1899
+ * @param {Object} val The value to test
1900
+ * @returns {boolean} True if value is a Date, otherwise false
1901
+ */
1902
+ function isDate(val) {
1903
+ return toString.call(val) === '[object Date]';
1904
+ }
1905
+
1906
+ /**
1907
+ * Determine if a value is a File
1908
+ *
1909
+ * @param {Object} val The value to test
1910
+ * @returns {boolean} True if value is a File, otherwise false
1911
+ */
1912
+ function isFile(val) {
1913
+ return toString.call(val) === '[object File]';
1914
+ }
1915
+
1916
+ /**
1917
+ * Determine if a value is a Blob
1918
+ *
1919
+ * @param {Object} val The value to test
1920
+ * @returns {boolean} True if value is a Blob, otherwise false
1921
+ */
1922
+ function isBlob(val) {
1923
+ return toString.call(val) === '[object Blob]';
1924
+ }
1925
+
1926
+ /**
1927
+ * Determine if a value is a Function
1928
+ *
1929
+ * @param {Object} val The value to test
1930
+ * @returns {boolean} True if value is a Function, otherwise false
1931
+ */
1932
+ function isFunction(val) {
1933
+ return toString.call(val) === '[object Function]';
1934
+ }
1935
+
1936
+ /**
1937
+ * Determine if a value is a Stream
1938
+ *
1939
+ * @param {Object} val The value to test
1940
+ * @returns {boolean} True if value is a Stream, otherwise false
1941
+ */
1942
+ function isStream(val) {
1943
+ return isObject(val) && isFunction(val.pipe);
1944
+ }
1945
+
1946
+ /**
1947
+ * Determine if a value is a URLSearchParams object
1948
+ *
1949
+ * @param {Object} val The value to test
1950
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
1951
+ */
1952
+ function isURLSearchParams(val) {
1953
+ return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
1954
+ }
1955
+
1956
+ /**
1957
+ * Trim excess whitespace off the beginning and end of a string
1958
+ *
1959
+ * @param {String} str The String to trim
1960
+ * @returns {String} The String freed of excess whitespace
1961
+ */
1962
+ function trim(str) {
1963
+ return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
1964
+ }
1965
+
1966
+ /**
1967
+ * Determine if we're running in a standard browser environment
1968
+ *
1969
+ * This allows axios to run in a web worker, and react-native.
1970
+ * Both environments support XMLHttpRequest, but not fully standard globals.
1971
+ *
1972
+ * web workers:
1973
+ * typeof window -> undefined
1974
+ * typeof document -> undefined
1975
+ *
1976
+ * react-native:
1977
+ * navigator.product -> 'ReactNative'
1978
+ * nativescript
1979
+ * navigator.product -> 'NativeScript' or 'NS'
1980
+ */
1981
+ function isStandardBrowserEnv() {
1982
+ if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
1983
+ navigator.product === 'NativeScript' ||
1984
+ navigator.product === 'NS')) {
1985
+ return false;
1986
+ }
1987
+ return (
1988
+ typeof window !== 'undefined' &&
1989
+ typeof document !== 'undefined'
1990
+ );
1991
+ }
1992
+
1993
+ /**
1994
+ * Iterate over an Array or an Object invoking a function for each item.
1995
+ *
1996
+ * If `obj` is an Array callback will be called passing
1997
+ * the value, index, and complete array for each item.
1998
+ *
1999
+ * If 'obj' is an Object callback will be called passing
2000
+ * the value, key, and complete object for each property.
2001
+ *
2002
+ * @param {Object|Array} obj The object to iterate
2003
+ * @param {Function} fn The callback to invoke for each item
2004
+ */
2005
+ function forEach(obj, fn) {
2006
+ // Don't bother if no value provided
2007
+ if (obj === null || typeof obj === 'undefined') {
2008
+ return;
2009
+ }
2010
+
2011
+ // Force an array if not already something iterable
2012
+ if (typeof obj !== 'object') {
2013
+ /*eslint no-param-reassign:0*/
2014
+ obj = [obj];
2015
+ }
2016
+
2017
+ if (isArray(obj)) {
2018
+ // Iterate over array values
2019
+ for (var i = 0, l = obj.length; i < l; i++) {
2020
+ fn.call(null, obj[i], i, obj);
2021
+ }
2022
+ } else {
2023
+ // Iterate over object keys
2024
+ for (var key in obj) {
2025
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
2026
+ fn.call(null, obj[key], key, obj);
2027
+ }
2028
+ }
2029
+ }
2030
+ }
2031
+
2032
+ /**
2033
+ * Accepts varargs expecting each argument to be an object, then
2034
+ * immutably merges the properties of each object and returns result.
2035
+ *
2036
+ * When multiple objects contain the same key the later object in
2037
+ * the arguments list will take precedence.
2038
+ *
2039
+ * Example:
2040
+ *
2041
+ * ```js
2042
+ * var result = merge({foo: 123}, {foo: 456});
2043
+ * console.log(result.foo); // outputs 456
2044
+ * ```
2045
+ *
2046
+ * @param {Object} obj1 Object to merge
2047
+ * @returns {Object} Result of all merge properties
2048
+ */
2049
+ function merge(/* obj1, obj2, obj3, ... */) {
2050
+ var result = {};
2051
+ function assignValue(val, key) {
2052
+ if (isPlainObject(result[key]) && isPlainObject(val)) {
2053
+ result[key] = merge(result[key], val);
2054
+ } else if (isPlainObject(val)) {
2055
+ result[key] = merge({}, val);
2056
+ } else if (isArray(val)) {
2057
+ result[key] = val.slice();
2058
+ } else {
2059
+ result[key] = val;
2060
+ }
2061
+ }
2062
+
2063
+ for (var i = 0, l = arguments.length; i < l; i++) {
2064
+ forEach(arguments[i], assignValue);
2065
+ }
2066
+ return result;
2067
+ }
2068
+
2069
+ /**
2070
+ * Extends object a by mutably adding to it the properties of object b.
2071
+ *
2072
+ * @param {Object} a The object to be extended
2073
+ * @param {Object} b The object to copy properties from
2074
+ * @param {Object} thisArg The object to bind function to
2075
+ * @return {Object} The resulting value of object a
2076
+ */
2077
+ function extend(a, b, thisArg) {
2078
+ forEach(b, function assignValue(val, key) {
2079
+ if (thisArg && typeof val === 'function') {
2080
+ a[key] = bind(val, thisArg);
2081
+ } else {
2082
+ a[key] = val;
2083
+ }
2084
+ });
2085
+ return a;
2086
+ }
2087
+
2088
+ /**
2089
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
2090
+ *
2091
+ * @param {string} content with BOM
2092
+ * @return {string} content value without BOM
2093
+ */
2094
+ function stripBOM(content) {
2095
+ if (content.charCodeAt(0) === 0xFEFF) {
2096
+ content = content.slice(1);
2097
+ }
2098
+ return content;
2099
+ }
2100
+
2101
+ module.exports = {
2102
+ isArray: isArray,
2103
+ isArrayBuffer: isArrayBuffer,
2104
+ isBuffer: isBuffer,
2105
+ isFormData: isFormData,
2106
+ isArrayBufferView: isArrayBufferView,
2107
+ isString: isString,
2108
+ isNumber: isNumber,
2109
+ isObject: isObject,
2110
+ isPlainObject: isPlainObject,
2111
+ isUndefined: isUndefined,
2112
+ isDate: isDate,
2113
+ isFile: isFile,
2114
+ isBlob: isBlob,
2115
+ isFunction: isFunction,
2116
+ isStream: isStream,
2117
+ isURLSearchParams: isURLSearchParams,
2118
+ isStandardBrowserEnv: isStandardBrowserEnv,
2119
+ forEach: forEach,
2120
+ merge: merge,
2121
+ extend: extend,
2122
+ trim: trim,
2123
+ stripBOM: stripBOM
2124
+ };
2125
+
2126
+
2127
+ /***/ }),
2128
+
2129
+ /***/ "./package.json":
2130
+ /*!**********************!*\
2131
+ !*** ./package.json ***!
2132
+ \**********************/
2133
+ /*! exports provided: name, version, description, main, scripts, repository, keywords, author, license, bugs, homepage, devDependencies, browser, jsdelivr, unpkg, typings, dependencies, bundlesize, default */
2134
+ /***/ (function(module) {
2135
+
2136
+ module.exports = JSON.parse("{\"name\":\"axios\",\"version\":\"0.21.4\",\"description\":\"Promise based HTTP client for the browser and node.js\",\"main\":\"index.js\",\"scripts\":{\"test\":\"grunt test\",\"start\":\"node ./sandbox/server.js\",\"build\":\"NODE_ENV=production grunt build\",\"preversion\":\"npm test\",\"version\":\"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json\",\"postversion\":\"git push && git push --tags\",\"examples\":\"node ./examples/server.js\",\"coveralls\":\"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js\",\"fix\":\"eslint --fix lib/**/*.js\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/axios/axios.git\"},\"keywords\":[\"xhr\",\"http\",\"ajax\",\"promise\",\"node\"],\"author\":\"Matt Zabriskie\",\"license\":\"MIT\",\"bugs\":{\"url\":\"https://github.com/axios/axios/issues\"},\"homepage\":\"https://axios-http.com\",\"devDependencies\":{\"coveralls\":\"^3.0.0\",\"es6-promise\":\"^4.2.4\",\"grunt\":\"^1.3.0\",\"grunt-banner\":\"^0.6.0\",\"grunt-cli\":\"^1.2.0\",\"grunt-contrib-clean\":\"^1.1.0\",\"grunt-contrib-watch\":\"^1.0.0\",\"grunt-eslint\":\"^23.0.0\",\"grunt-karma\":\"^4.0.0\",\"grunt-mocha-test\":\"^0.13.3\",\"grunt-ts\":\"^6.0.0-beta.19\",\"grunt-webpack\":\"^4.0.2\",\"istanbul-instrumenter-loader\":\"^1.0.0\",\"jasmine-core\":\"^2.4.1\",\"karma\":\"^6.3.2\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-firefox-launcher\":\"^2.1.0\",\"karma-jasmine\":\"^1.1.1\",\"karma-jasmine-ajax\":\"^0.1.13\",\"karma-safari-launcher\":\"^1.0.0\",\"karma-sauce-launcher\":\"^4.3.6\",\"karma-sinon\":\"^1.0.5\",\"karma-sourcemap-loader\":\"^0.3.8\",\"karma-webpack\":\"^4.0.2\",\"load-grunt-tasks\":\"^3.5.2\",\"minimist\":\"^1.2.0\",\"mocha\":\"^8.2.1\",\"sinon\":\"^4.5.0\",\"terser-webpack-plugin\":\"^4.2.3\",\"typescript\":\"^4.0.5\",\"url-search-params\":\"^0.10.0\",\"webpack\":\"^4.44.2\",\"webpack-dev-server\":\"^3.11.0\"},\"browser\":{\"./lib/adapters/http.js\":\"./lib/adapters/xhr.js\"},\"jsdelivr\":\"dist/axios.min.js\",\"unpkg\":\"dist/axios.min.js\",\"typings\":\"./index.d.ts\",\"dependencies\":{\"follow-redirects\":\"^1.14.0\"},\"bundlesize\":[{\"path\":\"./dist/axios.min.js\",\"threshold\":\"5kB\"}]}");
2137
+
2138
+ /***/ })
2139
+
2140
+ /******/ });
2141
+ });
2142
+
2143
+ } (axios));
2144
+ return axios.exports;
2145
+ }
2146
+
2147
+ export { requireAxios as __require };