@pubinfo/core 2.0.0-beta.3 → 2.0.0-beta.31

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 (577) hide show
  1. package/{es/AppSetting-BXQHV5F8.js → dist/AppSetting-C1dyZ-8E.js} +21 -20
  2. package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
  3. package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-DgycKl9e.js} +124 -120
  4. package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-BlgX0ZNE.js} +2 -2
  5. package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-FmqadL1w.js} +1 -1
  6. package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-dzMgw8cN.js} +1 -1
  7. package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-BwlXsTTt.js} +1 -1
  8. package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-B5tHMS24.js} +2 -2
  9. package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-Bh0mvh66.js} +1 -1
  10. package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-D4g24uwl.js} +1 -1
  11. package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-DwTtu6As.js} +1 -1
  12. package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-cDQXtwcG.js} +1 -1
  13. package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-m8X7jEJH.js} +2 -2
  14. package/dist/SettingThemes-CX9ISeD_.js +145 -0
  15. package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-ByLjBezg.js} +1 -1
  16. package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-o8wBZolp.js} +2 -2
  17. package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-Ux60mKiv.js} +1 -1
  18. package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-17GrCZdo.js} +1 -1
  19. package/{es/_...all_-DI_QAUox.js → dist/_...all_-6l5FWUkL.js} +1 -1
  20. package/{es → dist}/api/index.d.ts +2 -1
  21. package/{es/colors-oRlAXMUC.js → dist/colors-DiWJrScm.js} +1 -1
  22. package/dist/components/PubinfoIcon/register.d.ts +9 -0
  23. package/{lib → dist}/components/PubinfoProvider/index.d.ts +1 -0
  24. package/{lib → dist}/composables/auth.d.ts +1 -1
  25. package/{es → dist}/context.d.ts +1 -1
  26. package/{es/index-P2cA5UeU.js → dist/index-Be7jJtXg.js} +38 -36
  27. package/{es/index-BHkrq701.js → dist/index-BmMbAV1Y.js} +33 -29
  28. package/{es/index-ChOUZNbk.js → dist/index-CfasTv4x.js} +6 -6
  29. package/{es/index-D8eeneI_.js → dist/index-Ckgil96Y.js} +25 -25
  30. package/{es/index-Dav3jQVP.js → dist/index-De_ME_Ws.js} +31 -31
  31. package/{es/index-DvHnVMX5.js → dist/index-DgpcBgWl.js} +6189 -5995
  32. package/{es/index-B9I6Pru6.js → dist/index-Dzwhw1L9.js} +57 -62
  33. package/{es/index-BkqnOkyO.js → dist/index-Md7zV10q.js} +12 -12
  34. package/{es/index-BvVAS3S-.js → dist/index-bsi-FZDt.js} +21 -13
  35. package/{es → dist}/index.d.ts +1 -0
  36. package/dist/index.js +77 -0
  37. package/{es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js → dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +315 -297
  38. package/{lib → dist}/interface.d.ts +13 -0
  39. package/{lib → dist}/layout/Layout.vue.d.ts +2 -2
  40. package/{es → dist}/layout/composables/useContext.d.ts +1 -2
  41. package/{lib → dist}/layout/ui-kit/HDialog.vue.d.ts +12 -1
  42. package/{lib → dist}/layout/ui-kit/HSlideover.vue.d.ts +12 -1
  43. package/{es → dist}/layout/ui-kit/HTabList.vue.d.ts +2 -2
  44. package/{es/notification-6D5hA7Bp.js → dist/menu-CC5544p-.js} +2669 -2681
  45. package/{es/pick-Br-UKn7B.js → dist/pick-CJo2YiT-.js} +1 -1
  46. package/{es → dist}/request.js +399 -390
  47. package/{es → dist}/route/index.d.ts +0 -1
  48. package/dist/route/routes.d.ts +24 -0
  49. package/{lib → dist}/stores/modules/favorites.d.ts +1 -0
  50. package/{es → dist}/stores/modules/iframe.d.ts +1 -0
  51. package/{es → dist}/stores/modules/index.d.ts +8 -1
  52. package/{es → dist}/stores/modules/keepAlive.d.ts +1 -0
  53. package/{es → dist}/stores/modules/menu.d.ts +1 -0
  54. package/{es → dist}/stores/modules/route.d.ts +1 -0
  55. package/{lib → dist}/stores/modules/settings.d.ts +1 -0
  56. package/{lib → dist}/stores/modules/tabbar.d.ts +1 -0
  57. package/dist/stores/modules/user.d.ts +36 -0
  58. package/dist/style.css +9 -0
  59. package/{lib → dist}/utils/index.d.ts +6 -0
  60. package/package.json +38 -44
  61. package/src/api/index.ts +3 -1
  62. package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
  63. package/src/assets/styles/globals.scss +6 -6
  64. package/src/components/PubinfoApp/index.vue +1 -1
  65. package/src/components/PubinfoIcon/index.vue +3 -1
  66. package/src/components/PubinfoIcon/register.ts +19 -0
  67. package/src/components/PubinfoProvider/index.ts +3 -2
  68. package/src/composables/auth.ts +1 -1
  69. package/src/context.ts +1 -2
  70. package/src/create.ts +7 -0
  71. package/src/index.ts +1 -0
  72. package/src/interface.ts +13 -0
  73. package/src/layout/Layout.vue +50 -59
  74. package/src/layout/components/Content/index.vue +34 -13
  75. package/src/layout/components/Header/TopMode/index.vue +12 -16
  76. package/src/layout/components/Header/index.vue +5 -5
  77. package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
  78. package/src/layout/components/SettingBar/index.vue +3 -1
  79. package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
  80. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
  81. package/src/layout/components/Tools/index.vue +9 -32
  82. package/src/layout/composables/useContext.ts +0 -2
  83. package/src/layout/composables/useMainPage.ts +1 -1
  84. package/src/layout/composables/useWatermark.ts +2 -2
  85. package/src/layout/provider.ts +7 -4
  86. package/src/layout/ui-kit/HDialog.vue +4 -1
  87. package/src/layout/ui-kit/HSlideover.vue +4 -1
  88. package/src/pages/system/change-organization/index.vue +3 -3
  89. package/src/pages/system/not-permission/index.vue +2 -2
  90. package/src/route/index.ts +0 -1
  91. package/src/route/routes.ts +87 -55
  92. package/src/stores/helper.ts +2 -2
  93. package/src/stores/modules/favorites.ts +1 -0
  94. package/src/stores/modules/iframe.ts +1 -0
  95. package/src/stores/modules/index.ts +8 -1
  96. package/src/stores/modules/keepAlive.ts +1 -0
  97. package/src/stores/modules/menu.ts +25 -1
  98. package/src/stores/modules/route.ts +14 -5
  99. package/src/stores/modules/settings.ts +1 -0
  100. package/src/stores/modules/tabbar.ts +1 -0
  101. package/src/stores/modules/user.ts +56 -20
  102. package/src/stores/plugin/sideEffect/favoritesStorage.ts +1 -1
  103. package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
  104. package/src/utils/index.ts +14 -0
  105. package/src/utils/watermark.ts +1 -1
  106. package/types/vue-router.d.ts +3 -1
  107. package/es/SettingThemes-D_DpEncn.js +0 -144
  108. package/es/components/PubinfoProvider/index.d.ts +0 -8
  109. package/es/composables/auth.d.ts +0 -8
  110. package/es/index-DTQQt_XY.js +0 -10
  111. package/es/index.js +0 -76
  112. package/es/interface.d.ts +0 -29
  113. package/es/layout/Layout.vue.d.ts +0 -20
  114. package/es/layout/ui-kit/HDialog.vue.d.ts +0 -28
  115. package/es/layout/ui-kit/HSlideover.vue.d.ts +0 -30
  116. package/es/pages/system/not-permission/index.vue.d.ts +0 -2
  117. package/es/route/async.d.ts +0 -9
  118. package/es/route/routes.d.ts +0 -3
  119. package/es/stores/modules/favorites.d.ts +0 -32
  120. package/es/stores/modules/notification.d.ts +0 -18
  121. package/es/stores/modules/settings.d.ts +0 -85
  122. package/es/stores/modules/tabbar.d.ts +0 -59
  123. package/es/stores/modules/user.d.ts +0 -3
  124. package/es/style.css +0 -9
  125. package/es/utils/index.d.ts +0 -14
  126. package/lib/AppSetting-CCiwpjoq.cjs +0 -1
  127. package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +0 -1
  128. package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +0 -1
  129. package/lib/HDivider-DCfDgE8l.cjs +0 -1
  130. package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +0 -1
  131. package/lib/HToggle-BP6YYf-s.cjs +0 -1
  132. package/lib/PreferencesContent-DgL-Jc_J.cjs +0 -3
  133. package/lib/SettingBreadcrumb-BQ78yEP4.cjs +0 -1
  134. package/lib/SettingCopyright-x7aPlkQy.cjs +0 -1
  135. package/lib/SettingEnableTransition-CD3-44Iy.cjs +0 -1
  136. package/lib/SettingHome-u52oz6i8.cjs +0 -1
  137. package/lib/SettingMenu-DsElOvvv.cjs +0 -1
  138. package/lib/SettingMode-C_kgpTxw.cjs +0 -1
  139. package/lib/SettingNavSearch-3auTi8UW.cjs +0 -1
  140. package/lib/SettingOther-6XGQq7OA.cjs +0 -1
  141. package/lib/SettingPage-C8yIHpLc.cjs +0 -1
  142. package/lib/SettingTabbar-K-nHb89z.cjs +0 -1
  143. package/lib/SettingThemes-BeNwFz7K.cjs +0 -1
  144. package/lib/SettingToolbar-Be1V7lwV.cjs +0 -1
  145. package/lib/SettingTopbar-C-j8O3c8.cjs +0 -1
  146. package/lib/SettingWidthMode-GMjAF-s3.cjs +0 -1
  147. package/lib/TopThinMode-DGUvyHT2.cjs +0 -1
  148. package/lib/_...all_-C4CXjAo9.cjs +0 -1
  149. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  150. package/lib/api/enum/code.d.ts +0 -67
  151. package/lib/api/helper.d.ts +0 -32
  152. package/lib/api/index.d.ts +0 -12
  153. package/lib/api/interface.d.ts +0 -14
  154. package/lib/api/modules/auth/index.d.ts +0 -1
  155. package/lib/api/modules/auth/renzhengfuwu.d.ts +0 -50
  156. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  157. package/lib/api/modules/configData/index.d.ts +0 -3
  158. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  159. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -71
  160. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -43
  161. package/lib/api/modules/rbac/index.d.ts +0 -11
  162. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  163. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  164. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  165. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -106
  166. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  167. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  168. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  169. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  170. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  171. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  172. package/lib/api/request.d.ts +0 -2
  173. package/lib/api/system/app.d.ts +0 -17
  174. package/lib/api/system/user.d.ts +0 -24
  175. package/lib/assets/styles/index.d.ts +0 -6
  176. package/lib/colors-KAaBT84S.cjs +0 -1
  177. package/lib/components/NotAllowed/index.vue.d.ts +0 -2
  178. package/lib/components/PageHeader/index.vue.d.ts +0 -23
  179. package/lib/components/PageMain/index.vue.d.ts +0 -27
  180. package/lib/components/PassStrengthValidator/index.vue.d.ts +0 -26
  181. package/lib/components/PassStrengthValidator/rule.vue.d.ts +0 -8
  182. package/lib/components/PubinfoApp/index.vue.d.ts +0 -2
  183. package/lib/components/PubinfoIcon/index.vue.d.ts +0 -10
  184. package/lib/components/index.d.ts +0 -8
  185. package/lib/composables/index.d.ts +0 -4
  186. package/lib/composables/log.d.ts +0 -6
  187. package/lib/composables/theme.d.ts +0 -3
  188. package/lib/composables/watchDiff.d.ts +0 -2
  189. package/lib/config/index.d.ts +0 -1
  190. package/lib/config/settings.d.ts +0 -3
  191. package/lib/context.d.ts +0 -14
  192. package/lib/create.d.ts +0 -3
  193. package/lib/directives/index.d.ts +0 -4
  194. package/lib/directives/plugins/permission.d.ts +0 -6
  195. package/lib/index-38bsQrho.cjs +0 -1
  196. package/lib/index-BEqD62a0.cjs +0 -1
  197. package/lib/index-Bbm9CQRP.cjs +0 -1
  198. package/lib/index-BqHsuJkr.cjs +0 -1
  199. package/lib/index-JZl6Zh3L.cjs +0 -44
  200. package/lib/index-VGR0Mt4q.cjs +0 -240
  201. package/lib/index-WMo0GAa6.cjs +0 -1
  202. package/lib/index-_YsHduAE.cjs +0 -1
  203. package/lib/index-gr8kFwPx.cjs +0 -18
  204. package/lib/index-zvGq9tSu.cjs +0 -1
  205. package/lib/index.cjs +0 -1
  206. package/lib/index.d.ts +0 -11
  207. package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +0 -1
  208. package/lib/layout/components/BackTop/index.vue.d.ts +0 -2
  209. package/lib/layout/components/Content/IframeView.vue.d.ts +0 -4
  210. package/lib/layout/components/Content/LinkView.vue.d.ts +0 -2
  211. package/lib/layout/components/Content/index.vue.d.ts +0 -2
  212. package/lib/layout/components/Copyright/index.vue.d.ts +0 -2
  213. package/lib/layout/components/Header/TopMode/More.vue.d.ts +0 -26
  214. package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -25
  215. package/lib/layout/components/Header/TopMode/index.vue.d.ts +0 -4
  216. package/lib/layout/components/Header/TopThinMode.vue.d.ts +0 -4
  217. package/lib/layout/components/Header/index.vue.d.ts +0 -19
  218. package/lib/layout/components/Logo/index.vue.d.ts +0 -26
  219. package/lib/layout/components/Menu/index.vue.d.ts +0 -10
  220. package/lib/layout/components/Menu/item.vue.d.ts +0 -11
  221. package/lib/layout/components/Menu/sub.vue.d.ts +0 -219
  222. package/lib/layout/components/Menu/types.d.ts +0 -42
  223. package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +0 -12
  224. package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -9
  225. package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -2
  226. package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -2
  227. package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -2
  228. package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -2
  229. package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -2
  230. package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -2
  231. package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -2
  232. package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -2
  233. package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -2
  234. package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -2
  235. package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -2
  236. package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -2
  237. package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -2
  238. package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -2
  239. package/lib/layout/components/SettingBar/index.vue.d.ts +0 -2
  240. package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -2
  241. package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -2
  242. package/lib/layout/components/Sidebar/index.vue.d.ts +0 -2
  243. package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -17
  244. package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -25
  245. package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -2
  246. package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -4
  247. package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -2
  248. package/lib/layout/components/Tools/Preferences/index.vue.d.ts +0 -4
  249. package/lib/layout/components/Tools/Search.vue.d.ts +0 -199
  250. package/lib/layout/components/Tools/index.vue.d.ts +0 -233
  251. package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  252. package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -14
  253. package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -4
  254. package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -2
  255. package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -2
  256. package/lib/layout/components/Topbar/index.vue.d.ts +0 -2
  257. package/lib/layout/composables/useContext.d.ts +0 -18
  258. package/lib/layout/composables/useGetComputedStyle.d.ts +0 -15
  259. package/lib/layout/composables/useHotkey.d.ts +0 -5
  260. package/lib/layout/composables/useMainPage.d.ts +0 -14
  261. package/lib/layout/composables/useMenu.d.ts +0 -8
  262. package/lib/layout/composables/useTabbar.d.ts +0 -14
  263. package/lib/layout/composables/useTitle.d.ts +0 -3
  264. package/lib/layout/composables/useViewTransition.d.ts +0 -3
  265. package/lib/layout/composables/useWatermark.d.ts +0 -4
  266. package/lib/layout/index.d.ts +0 -19
  267. package/lib/layout/provider.d.ts +0 -1
  268. package/lib/layout/ui-kit/HBadge.vue.d.ts +0 -20
  269. package/lib/layout/ui-kit/HButton.vue.d.ts +0 -26
  270. package/lib/layout/ui-kit/HCheckList.vue.d.ts +0 -20
  271. package/lib/layout/ui-kit/HDivider.vue.d.ts +0 -20
  272. package/lib/layout/ui-kit/HDropdown.vue.d.ts +0 -18
  273. package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -26
  274. package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +0 -32
  275. package/lib/layout/ui-kit/HInput.vue.d.ts +0 -17
  276. package/lib/layout/ui-kit/HKbd.vue.d.ts +0 -17
  277. package/lib/layout/ui-kit/HSelect.vue.d.ts +0 -17
  278. package/lib/layout/ui-kit/HTabList.vue.d.ts +0 -22
  279. package/lib/layout/ui-kit/HToggle.vue.d.ts +0 -14
  280. package/lib/layout/ui-kit/HTooltip.vue.d.ts +0 -23
  281. package/lib/locales/index.d.ts +0 -301
  282. package/lib/locales/lang/en.json.d.ts +0 -99
  283. package/lib/locales/lang/zh-cn.json.d.ts +0 -100
  284. package/lib/locales/lang/zh-tw.json.d.ts +0 -100
  285. package/lib/locales/ui.d.ts +0 -3
  286. package/lib/modules.d.ts +0 -11
  287. package/lib/notification-IZqPm_OK.cjs +0 -199
  288. package/lib/pages/personal/profile/index.vue.d.ts +0 -2
  289. package/lib/pages/system/[...all].vue.d.ts +0 -2
  290. package/lib/pages/system/change-organization/index.vue.d.ts +0 -2
  291. package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -18
  292. package/lib/pages/system/change-password/index.vue.d.ts +0 -31
  293. package/lib/pages/system/index.vue.d.ts +0 -2
  294. package/lib/pages/system/not-permission/index.vue.d.ts +0 -2
  295. package/lib/pages/system/reload.vue.d.ts +0 -2
  296. package/lib/pick-y2yLda1R.cjs +0 -1
  297. package/lib/question-line-Cd0CU4hr.cjs +0 -1
  298. package/lib/reload-6L7Dzs7h.cjs +0 -1
  299. package/lib/request.cjs +0 -6
  300. package/lib/right-C5JQ_uRB.cjs +0 -1
  301. package/lib/route/async.d.ts +0 -9
  302. package/lib/route/guard/auth.d.ts +0 -3
  303. package/lib/route/guard/basic.d.ts +0 -3
  304. package/lib/route/guard/index.d.ts +0 -3
  305. package/lib/route/guard/setting.d.ts +0 -3
  306. package/lib/route/index.d.ts +0 -7
  307. package/lib/route/routes.d.ts +0 -3
  308. package/lib/stores/enum/index.d.ts +0 -20
  309. package/lib/stores/helper.d.ts +0 -2
  310. package/lib/stores/index.d.ts +0 -5
  311. package/lib/stores/modules/iframe.d.ts +0 -41
  312. package/lib/stores/modules/index.d.ts +0 -9
  313. package/lib/stores/modules/keepAlive.d.ts +0 -23
  314. package/lib/stores/modules/menu.d.ts +0 -32
  315. package/lib/stores/modules/notification.d.ts +0 -18
  316. package/lib/stores/modules/route.d.ts +0 -42
  317. package/lib/stores/modules/user.d.ts +0 -3
  318. package/lib/stores/plugin/persist.d.ts +0 -5
  319. package/lib/stores/plugin/sideEffect/cleanup.d.ts +0 -5
  320. package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -5
  321. package/lib/stores/plugin/sideEffect/iframeCache.d.ts +0 -5
  322. package/lib/stores/plugin/sideEffect/index.d.ts +0 -5
  323. package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -5
  324. package/lib/style.css +0 -9
  325. package/lib/utils/cleanup.d.ts +0 -8
  326. package/lib/utils/crypto.d.ts +0 -4
  327. package/lib/utils/eventBus.d.ts +0 -5
  328. package/lib/utils/injectionKeys.d.ts +0 -2
  329. package/lib/utils/storage.d.ts +0 -21
  330. package/lib/utils/utils.d.ts +0 -3
  331. package/lib/utils/watermark.d.ts +0 -51
  332. package/src/assets/icons/add-child.svg +0 -1
  333. package/src/assets/icons/authority.svg +0 -1
  334. package/src/assets/icons/authorize.svg +0 -1
  335. package/src/assets/icons/blacklist-disable.svg +0 -1
  336. package/src/assets/icons/blacklist-enable.svg +0 -1
  337. package/src/assets/icons/browser-360.svg +0 -1
  338. package/src/assets/icons/browser-chrome.svg +0 -1
  339. package/src/assets/icons/browser-edge.svg +0 -1
  340. package/src/assets/icons/browser-ie.svg +0 -1
  341. package/src/assets/icons/browser-other.svg +0 -1
  342. package/src/assets/icons/browser-qq.svg +0 -1
  343. package/src/assets/icons/browser-safari.svg +0 -1
  344. package/src/assets/icons/browser-uc.svg +0 -1
  345. package/src/assets/icons/edit.svg +0 -1
  346. package/src/assets/icons/empty-data.svg +0 -1
  347. package/src/assets/icons/icard.svg +0 -1
  348. package/src/assets/icons/icon_animation.svg +0 -1
  349. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  350. package/src/assets/icons/icon_copyright.svg +0 -1
  351. package/src/assets/icons/icon_jt.svg +0 -1
  352. package/src/assets/icons/icon_layout.svg +0 -1
  353. package/src/assets/icons/icon_mainpage.svg +0 -1
  354. package/src/assets/icons/icon_menu.svg +0 -1
  355. package/src/assets/icons/icon_page_size.svg +0 -1
  356. package/src/assets/icons/icon_position_type.svg +0 -1
  357. package/src/assets/icons/icon_safe_manage.svg +0 -1
  358. package/src/assets/icons/icon_screen_scale.svg +0 -6
  359. package/src/assets/icons/icon_system_manage.svg +0 -1
  360. package/src/assets/icons/icon_tabbar.svg +0 -1
  361. package/src/assets/icons/icon_toolbar.svg +0 -1
  362. package/src/assets/icons/icon_topbar.svg +0 -1
  363. package/src/assets/icons/icon_watermark.svg +0 -1
  364. package/src/assets/icons/image-load-fail.svg +0 -1
  365. package/src/assets/icons/log-center.svg +0 -1
  366. package/src/assets/icons/logo-sig.svg +0 -1
  367. package/src/assets/icons/not-data.svg +0 -1
  368. package/src/assets/icons/org-main.svg +0 -1
  369. package/src/assets/icons/org-unmain.svg +0 -1
  370. package/src/assets/icons/process-management.svg +0 -1
  371. package/src/assets/icons/project-management.svg +0 -1
  372. package/src/assets/icons/rbac.svg +0 -1
  373. package/src/assets/icons/remove.svg +0 -1
  374. package/src/assets/icons/resource-app.svg +0 -1
  375. package/src/assets/icons/resource-btn.svg +0 -1
  376. package/src/assets/icons/resource-index.svg +0 -1
  377. package/src/assets/icons/resource-menu.svg +0 -1
  378. package/src/assets/icons/resource-nonmenu.svg +0 -1
  379. package/src/assets/icons/setting-manage.svg +0 -1
  380. package/src/assets/icons/test.svg +0 -1
  381. package/src/assets/icons/theme-check-mark.svg +0 -1
  382. package/src/assets/icons/theme-title.svg +0 -1
  383. package/src/assets/icons/tree_icon.svg +0 -1
  384. package/src/assets/icons/tree_icon_checked.svg +0 -1
  385. package/src/assets/icons/view.svg +0 -1
  386. package/src/assets/icons/workbench.svg +0 -1
  387. package/src/assets/icons/zddata.svg +0 -1
  388. package/src/assets/icons/zy_checked.svg +0 -1
  389. package/src/assets/icons/zy_default.svg +0 -1
  390. package/src/assets/images/layout/item1.webp +0 -0
  391. package/src/assets/images/layout/item1_dark.webp +0 -0
  392. package/src/assets/images/layout/item2.webp +0 -0
  393. package/src/assets/images/layout/item2_dark.webp +0 -0
  394. package/src/assets/images/layout/item3.webp +0 -0
  395. package/src/assets/images/layout/item3_dark.webp +0 -0
  396. package/src/assets/images/layout/item4.webp +0 -0
  397. package/src/assets/images/layout/item4_dark.webp +0 -0
  398. package/src/assets/images/layout/item5.webp +0 -0
  399. package/src/assets/images/layout/item5_dark.webp +0 -0
  400. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  401. package/src/assets/images/page-width/auto.webp +0 -0
  402. package/src/assets/images/page-width/auto_dark.webp +0 -0
  403. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  404. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  405. package/src/assets/images/page-width/icon_auto.webp +0 -0
  406. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  407. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  408. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  409. package/src/assets/images/page-width/icon_middle.webp +0 -0
  410. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  411. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  412. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  413. package/src/assets/images/page-width/middle.webp +0 -0
  414. package/src/assets/images/page-width/middle_dark.webp +0 -0
  415. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  416. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  417. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  418. package/src/layout/components/Tools/Notification.vue +0 -152
  419. package/src/pages/personal/notification.vue +0 -58
  420. package/src/pages/system/change-password/page.vue +0 -58
  421. package/src/pages/system/index.vue +0 -5
  422. package/src/route/async.ts +0 -18
  423. package/src/stores/modules/notification.ts +0 -34
  424. package/{es → dist}/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -0
  425. package/{es → dist}/HDivider-DgXBhPr0.js +0 -0
  426. package/{es → dist}/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -0
  427. package/{es → dist}/HToggle-Cd71WKvG.js +0 -0
  428. package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  429. package/{es → dist}/api/enum/code.d.ts +0 -0
  430. package/{es → dist}/api/helper.d.ts +0 -0
  431. package/{es → dist}/api/interface.d.ts +0 -0
  432. package/{es → dist}/api/modules/auth/index.d.ts +0 -0
  433. package/{es → dist}/api/modules/auth/renzhengfuwu.d.ts +0 -0
  434. package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  435. package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  436. package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  437. package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  438. package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  439. package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  440. package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  441. package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  442. package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  443. package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  444. package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  445. package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  446. package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  447. package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  448. package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  449. package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  450. package/{es → dist}/api/request.d.ts +0 -0
  451. package/{es → dist}/api/system/app.d.ts +0 -0
  452. package/{es → dist}/api/system/user.d.ts +0 -0
  453. package/{es → dist}/assets/styles/index.d.ts +0 -0
  454. package/{es → dist}/components/NotAllowed/index.vue.d.ts +0 -0
  455. package/{es → dist}/components/PageHeader/index.vue.d.ts +0 -0
  456. package/{es → dist}/components/PageMain/index.vue.d.ts +0 -0
  457. package/{es → dist}/components/PassStrengthValidator/index.vue.d.ts +2 -2
  458. package/{es → dist}/components/PassStrengthValidator/rule.vue.d.ts +0 -0
  459. package/{es → dist}/components/PubinfoApp/index.vue.d.ts +0 -0
  460. package/{es → dist}/components/PubinfoIcon/index.vue.d.ts +0 -0
  461. package/{es → dist}/components/index.d.ts +0 -0
  462. package/{es → dist}/composables/index.d.ts +0 -0
  463. package/{es → dist}/composables/log.d.ts +0 -0
  464. package/{es → dist}/composables/theme.d.ts +0 -0
  465. package/{es → dist}/composables/watchDiff.d.ts +0 -0
  466. package/{es → dist}/config/index.d.ts +0 -0
  467. package/{es → dist}/config/settings.d.ts +0 -0
  468. package/{es → dist}/create.d.ts +0 -0
  469. package/{es → dist}/directives/index.d.ts +0 -0
  470. package/{es → dist}/directives/plugins/permission.d.ts +0 -0
  471. package/{es → dist}/layout/components/BackTop/index.vue.d.ts +0 -0
  472. package/{es → dist}/layout/components/Content/IframeView.vue.d.ts +0 -0
  473. package/{es → dist}/layout/components/Content/LinkView.vue.d.ts +0 -0
  474. package/{es → dist}/layout/components/Content/index.vue.d.ts +0 -0
  475. package/{es → dist}/layout/components/Copyright/index.vue.d.ts +0 -0
  476. package/{es → dist}/layout/components/Header/TopMode/More.vue.d.ts +0 -0
  477. package/{es → dist}/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -0
  478. package/{es → dist}/layout/components/Header/TopMode/index.vue.d.ts +0 -0
  479. package/{es → dist}/layout/components/Header/TopThinMode.vue.d.ts +0 -0
  480. package/{es → dist}/layout/components/Header/index.vue.d.ts +0 -0
  481. package/{es → dist}/layout/components/Logo/index.vue.d.ts +0 -0
  482. package/{es → dist}/layout/components/Menu/index.vue.d.ts +0 -0
  483. package/{es → dist}/layout/components/Menu/item.vue.d.ts +0 -0
  484. package/{es → dist}/layout/components/Menu/sub.vue.d.ts +0 -0
  485. package/{es → dist}/layout/components/Menu/types.d.ts +0 -0
  486. package/{es → dist}/layout/components/SettingBar/AppSetting.vue.d.ts +0 -0
  487. package/{es → dist}/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  488. package/{es → dist}/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  489. package/{es → dist}/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  490. package/{es → dist}/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  491. package/{es → dist}/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  492. package/{es → dist}/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  493. package/{es → dist}/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  494. package/{es → dist}/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  495. package/{es → dist}/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  496. package/{es → dist}/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  497. package/{es → dist}/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  498. package/{es → dist}/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  499. package/{es → dist}/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  500. package/{es → dist}/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  501. package/{es → dist}/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  502. package/{es → dist}/layout/components/SettingBar/index.vue.d.ts +0 -0
  503. package/{es → dist}/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  504. package/{es → dist}/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  505. package/{es → dist}/layout/components/Sidebar/index.vue.d.ts +0 -0
  506. package/{es → dist}/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  507. package/{es → dist}/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  508. package/{es → dist}/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  509. package/{es → dist}/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  510. package/{es → dist}/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  511. package/{es → dist}/layout/components/Tools/Preferences/index.vue.d.ts +0 -0
  512. package/{es → dist}/layout/components/Tools/Search.vue.d.ts +0 -0
  513. package/{es → dist}/layout/components/Tools/index.vue.d.ts +0 -0
  514. package/{es → dist}/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -0
  515. package/{es → dist}/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  516. package/{es → dist}/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  517. package/{es → dist}/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  518. package/{es → dist}/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -0
  519. package/{es → dist}/layout/components/Topbar/index.vue.d.ts +0 -0
  520. package/{es → dist}/layout/composables/useGetComputedStyle.d.ts +0 -0
  521. package/{es → dist}/layout/composables/useHotkey.d.ts +0 -0
  522. package/{es → dist}/layout/composables/useMainPage.d.ts +0 -0
  523. package/{es → dist}/layout/composables/useMenu.d.ts +0 -0
  524. package/{es → dist}/layout/composables/useTabbar.d.ts +0 -0
  525. package/{es → dist}/layout/composables/useTitle.d.ts +0 -0
  526. package/{es → dist}/layout/composables/useViewTransition.d.ts +0 -0
  527. package/{es → dist}/layout/composables/useWatermark.d.ts +0 -0
  528. package/{es → dist}/layout/index.d.ts +0 -0
  529. package/{es → dist}/layout/provider.d.ts +0 -0
  530. package/{es → dist}/layout/ui-kit/HBadge.vue.d.ts +0 -0
  531. package/{es → dist}/layout/ui-kit/HButton.vue.d.ts +0 -0
  532. package/{es → dist}/layout/ui-kit/HCheckList.vue.d.ts +2 -2
  533. /package/{es → dist}/layout/ui-kit/HDivider.vue.d.ts +0 -0
  534. /package/{es → dist}/layout/ui-kit/HDropdown.vue.d.ts +0 -0
  535. /package/{es → dist}/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -0
  536. /package/{es → dist}/layout/ui-kit/HDropdownTree.vue.d.ts +0 -0
  537. /package/{es → dist}/layout/ui-kit/HInput.vue.d.ts +0 -0
  538. /package/{es → dist}/layout/ui-kit/HKbd.vue.d.ts +0 -0
  539. /package/{es → dist}/layout/ui-kit/HSelect.vue.d.ts +0 -0
  540. /package/{es → dist}/layout/ui-kit/HToggle.vue.d.ts +0 -0
  541. /package/{es → dist}/layout/ui-kit/HTooltip.vue.d.ts +0 -0
  542. /package/{es → dist}/locales/index.d.ts +0 -0
  543. /package/{es → dist}/locales/lang/en.json.d.ts +0 -0
  544. /package/{es → dist}/locales/lang/zh-cn.json.d.ts +0 -0
  545. /package/{es → dist}/locales/lang/zh-tw.json.d.ts +0 -0
  546. /package/{es → dist}/locales/ui.d.ts +0 -0
  547. /package/{es → dist}/modules.d.ts +0 -0
  548. /package/{es → dist}/pages/personal/profile/index.vue.d.ts +0 -0
  549. /package/{es → dist}/pages/system/[...all].vue.d.ts +0 -0
  550. /package/{es → dist}/pages/system/change-organization/index.vue.d.ts +0 -0
  551. /package/{es → dist}/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  552. /package/{es → dist}/pages/system/change-password/index.vue.d.ts +0 -0
  553. /package/{es/pages/system → dist/pages/system/not-permission}/index.vue.d.ts +0 -0
  554. /package/{es → dist}/pages/system/reload.vue.d.ts +0 -0
  555. /package/{es → dist}/question-line-CfkciTFq.js +0 -0
  556. /package/{es → dist}/reload-CUcPYtl7.js +0 -0
  557. /package/{es → dist}/right-Bfe2p1o0.js +0 -0
  558. /package/{es → dist}/route/guard/auth.d.ts +0 -0
  559. /package/{es → dist}/route/guard/basic.d.ts +0 -0
  560. /package/{es → dist}/route/guard/index.d.ts +0 -0
  561. /package/{es → dist}/route/guard/setting.d.ts +0 -0
  562. /package/{es → dist}/stores/enum/index.d.ts +0 -0
  563. /package/{es → dist}/stores/helper.d.ts +0 -0
  564. /package/{es → dist}/stores/index.d.ts +0 -0
  565. /package/{es → dist}/stores/plugin/persist.d.ts +0 -0
  566. /package/{es → dist}/stores/plugin/sideEffect/cleanup.d.ts +0 -0
  567. /package/{es → dist}/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -0
  568. /package/{es → dist}/stores/plugin/sideEffect/iframeCache.d.ts +0 -0
  569. /package/{es → dist}/stores/plugin/sideEffect/index.d.ts +0 -0
  570. /package/{es → dist}/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -0
  571. /package/{es → dist}/utils/cleanup.d.ts +0 -0
  572. /package/{es → dist}/utils/crypto.d.ts +0 -0
  573. /package/{es → dist}/utils/eventBus.d.ts +0 -0
  574. /package/{es → dist}/utils/injectionKeys.d.ts +0 -0
  575. /package/{es → dist}/utils/storage.d.ts +0 -0
  576. /package/{es → dist}/utils/utils.d.ts +0 -0
  577. /package/{es → dist}/utils/watermark.d.ts +0 -0
@@ -1,41 +1,41 @@
1
- import { createAlova as et } from "alova";
2
- import { createServerTokenAuthentication as tt } from "alova/client";
3
- import nt from "alova/vue";
4
- import { u as ue, $ as rt, e as Ne } from "./notification-6D5hA7Bp.js";
1
+ import { createAlova as nt } from "alova";
2
+ import { createServerTokenAuthentication as rt } from "alova/client";
3
+ import st from "alova/vue";
4
+ import { u as le, a0 as ot, e as Ue } from "./menu-CC5544p-.js";
5
5
  import "pinia-plugin-persistedstate";
6
6
  import "vue";
7
- const Y = "undefined", st = void 0;
8
- typeof window === Y && (typeof process !== Y && process.cwd);
9
- const he = () => {
10
- }, ot = (e, ...t) => new e(...t);
11
- function Ue(e, t) {
7
+ const ee = "undefined", it = void 0;
8
+ typeof window === ee && (typeof process !== ee && process.cwd);
9
+ const me = () => {
10
+ }, at = (e, ...t) => new e(...t);
11
+ function Le(e, t) {
12
12
  return function() {
13
13
  return e.apply(t, arguments);
14
14
  };
15
15
  }
16
- const { toString: it } = Object.prototype, { getPrototypeOf: le } = Object, K = /* @__PURE__ */ ((e) => (t) => {
17
- const n = it.call(t);
16
+ const { toString: ct } = Object.prototype, { getPrototypeOf: fe } = Object, { iterator: K, toStringTag: _e } = Symbol, v = /* @__PURE__ */ ((e) => (t) => {
17
+ const n = ct.call(t);
18
18
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
19
- })(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => K(t) === e), v = (e) => (t) => typeof t === e, { isArray: B } = Array, q = v("undefined");
20
- function at(e) {
21
- return e !== null && !q(e) && e.constructor !== null && !q(e.constructor) && x(e.constructor.isBuffer) && e.constructor.isBuffer(e);
19
+ })(/* @__PURE__ */ Object.create(null)), C = (e) => (e = e.toLowerCase(), (t) => v(t) === e), G = (e) => (t) => typeof t === e, { isArray: B } = Array, j = G("undefined");
20
+ function ut(e) {
21
+ return e !== null && !j(e) && e.constructor !== null && !j(e.constructor) && O(e.constructor.isBuffer) && e.constructor.isBuffer(e);
22
22
  }
23
- const Le = C("ArrayBuffer");
24
- function ct(e) {
23
+ const ke = C("ArrayBuffer");
24
+ function lt(e) {
25
25
  let t;
26
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Le(e.buffer), t;
26
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ke(e.buffer), t;
27
27
  }
28
- const ut = v("string"), x = v("function"), _e = v("number"), G = (e) => e !== null && typeof e == "object", lt = (e) => e === !0 || e === !1, $ = (e) => {
29
- if (K(e) !== "object")
28
+ const ft = G("string"), O = G("function"), Fe = G("number"), X = (e) => e !== null && typeof e == "object", dt = (e) => e === !0 || e === !1, z = (e) => {
29
+ if (v(e) !== "object")
30
30
  return !1;
31
- const t = le(e);
32
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
33
- }, ft = C("Date"), dt = C("File"), pt = C("Blob"), ht = C("FileList"), mt = (e) => G(e) && x(e.pipe), yt = (e) => {
31
+ const t = fe(e);
32
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(_e in e) && !(K in e);
33
+ }, pt = C("Date"), ht = C("File"), mt = C("Blob"), yt = C("FileList"), bt = (e) => X(e) && O(e.pipe), wt = (e) => {
34
34
  let t;
35
- return e && (typeof FormData == "function" && e instanceof FormData || x(e.append) && ((t = K(e)) === "formdata" || // detect form-data instance
36
- t === "object" && x(e.toString) && e.toString() === "[object FormData]"));
37
- }, bt = C("URLSearchParams"), [wt, Rt, gt, Tt] = ["ReadableStream", "Request", "Response", "Headers"].map(C), At = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
- function j(e, t, { allOwnKeys: n = !1 } = {}) {
35
+ return e && (typeof FormData == "function" && e instanceof FormData || O(e.append) && ((t = v(e)) === "formdata" || // detect form-data instance
36
+ t === "object" && O(e.toString) && e.toString() === "[object FormData]"));
37
+ }, Rt = C("URLSearchParams"), [gt, At, Tt, St] = ["ReadableStream", "Request", "Response", "Headers"].map(C), Et = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
+ function q(e, t, { allOwnKeys: n = !1 } = {}) {
39
39
  if (e === null || typeof e > "u")
40
40
  return;
41
41
  let r, s;
@@ -49,7 +49,7 @@ function j(e, t, { allOwnKeys: n = !1 } = {}) {
49
49
  c = o[r], t.call(null, e[c], c, e);
50
50
  }
51
51
  }
52
- function ke(e, t) {
52
+ function Pe(e, t) {
53
53
  t = t.toLowerCase();
54
54
  const n = Object.keys(e);
55
55
  let r = n.length, s;
@@ -58,75 +58,75 @@ function ke(e, t) {
58
58
  return s;
59
59
  return null;
60
60
  }
61
- const k = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Fe = (e) => !q(e) && e !== k;
62
- function re() {
63
- const { caseless: e } = Fe(this) && this || {}, t = {}, n = (r, s) => {
64
- const o = e && ke(t, s) || s;
65
- $(t[o]) && $(r) ? t[o] = re(t[o], r) : $(r) ? t[o] = re({}, r) : B(r) ? t[o] = r.slice() : t[o] = r;
61
+ const k = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Be = (e) => !j(e) && e !== k;
62
+ function se() {
63
+ const { caseless: e } = Be(this) && this || {}, t = {}, n = (r, s) => {
64
+ const o = e && Pe(t, s) || s;
65
+ z(t[o]) && z(r) ? t[o] = se(t[o], r) : z(r) ? t[o] = se({}, r) : B(r) ? t[o] = r.slice() : t[o] = r;
66
66
  };
67
67
  for (let r = 0, s = arguments.length; r < s; r++)
68
- arguments[r] && j(arguments[r], n);
68
+ arguments[r] && q(arguments[r], n);
69
69
  return t;
70
70
  }
71
- const St = (e, t, n, { allOwnKeys: r } = {}) => (j(t, (s, o) => {
72
- n && x(s) ? e[o] = Ue(s, n) : e[o] = s;
73
- }, { allOwnKeys: r }), e), Et = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ot = (e, t, n, r) => {
71
+ const Ot = (e, t, n, { allOwnKeys: r } = {}) => (q(t, (s, o) => {
72
+ n && O(s) ? e[o] = Le(s, n) : e[o] = s;
73
+ }, { allOwnKeys: r }), e), xt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ct = (e, t, n, r) => {
74
74
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
75
75
  value: t.prototype
76
76
  }), n && Object.assign(e.prototype, n);
77
- }, xt = (e, t, n, r) => {
77
+ }, Nt = (e, t, n, r) => {
78
78
  let s, o, i;
79
79
  const c = {};
80
80
  if (t = t || {}, e == null) return t;
81
81
  do {
82
82
  for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
83
83
  i = s[o], (!r || r(i, e, t)) && !c[i] && (t[i] = e[i], c[i] = !0);
84
- e = n !== !1 && le(e);
84
+ e = n !== !1 && fe(e);
85
85
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
86
86
  return t;
87
- }, Ct = (e, t, n) => {
87
+ }, Ut = (e, t, n) => {
88
88
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
89
89
  const r = e.indexOf(t, n);
90
90
  return r !== -1 && r === n;
91
- }, Nt = (e) => {
91
+ }, Lt = (e) => {
92
92
  if (!e) return null;
93
93
  if (B(e)) return e;
94
94
  let t = e.length;
95
- if (!_e(t)) return null;
95
+ if (!Fe(t)) return null;
96
96
  const n = new Array(t);
97
97
  for (; t-- > 0; )
98
98
  n[t] = e[t];
99
99
  return n;
100
- }, Ut = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && le(Uint8Array)), Lt = (e, t) => {
101
- const r = (e && e[Symbol.iterator]).call(e);
100
+ }, _t = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && fe(Uint8Array)), kt = (e, t) => {
101
+ const r = (e && e[K]).call(e);
102
102
  let s;
103
103
  for (; (s = r.next()) && !s.done; ) {
104
104
  const o = s.value;
105
105
  t.call(e, o[0], o[1]);
106
106
  }
107
- }, _t = (e, t) => {
107
+ }, Ft = (e, t) => {
108
108
  let n;
109
109
  const r = [];
110
110
  for (; (n = e.exec(t)) !== null; )
111
111
  r.push(n);
112
112
  return r;
113
- }, kt = C("HTMLFormElement"), Ft = (e) => e.toLowerCase().replace(
113
+ }, Pt = C("HTMLFormElement"), Bt = (e) => e.toLowerCase().replace(
114
114
  /[-_\s]([a-z\d])(\w*)/g,
115
115
  function(n, r, s) {
116
116
  return r.toUpperCase() + s;
117
117
  }
118
- ), me = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Pt = C("RegExp"), Pe = (e, t) => {
118
+ ), ye = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Dt = C("RegExp"), De = (e, t) => {
119
119
  const n = Object.getOwnPropertyDescriptors(e), r = {};
120
- j(n, (s, o) => {
120
+ q(n, (s, o) => {
121
121
  let i;
122
122
  (i = t(s, o, e)) !== !1 && (r[o] = i || s);
123
123
  }), Object.defineProperties(e, r);
124
- }, Bt = (e) => {
125
- Pe(e, (t, n) => {
126
- if (x(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
124
+ }, It = (e) => {
125
+ De(e, (t, n) => {
126
+ if (O(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
127
127
  return !1;
128
128
  const r = e[n];
129
- if (x(r)) {
129
+ if (O(r)) {
130
130
  if (t.enumerable = !1, "writable" in t) {
131
131
  t.writable = !1;
132
132
  return;
@@ -136,99 +136,100 @@ const St = (e, t, n, { allOwnKeys: r } = {}) => (j(t, (s, o) => {
136
136
  });
137
137
  }
138
138
  });
139
- }, Dt = (e, t) => {
139
+ }, jt = (e, t) => {
140
140
  const n = {}, r = (s) => {
141
141
  s.forEach((o) => {
142
142
  n[o] = !0;
143
143
  });
144
144
  };
145
145
  return B(e) ? r(e) : r(String(e).split(t)), n;
146
- }, It = () => {
147
- }, qt = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
148
- function jt(e) {
149
- return !!(e && x(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
146
+ }, qt = () => {
147
+ }, Ht = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
148
+ function Mt(e) {
149
+ return !!(e && O(e.append) && e[_e] === "FormData" && e[K]);
150
150
  }
151
- const Ht = (e) => {
151
+ const zt = (e) => {
152
152
  const t = new Array(10), n = (r, s) => {
153
- if (G(r)) {
153
+ if (X(r)) {
154
154
  if (t.indexOf(r) >= 0)
155
155
  return;
156
156
  if (!("toJSON" in r)) {
157
157
  t[s] = r;
158
158
  const o = B(r) ? [] : {};
159
- return j(r, (i, c) => {
159
+ return q(r, (i, c) => {
160
160
  const f = n(i, s + 1);
161
- !q(f) && (o[c] = f);
161
+ !j(f) && (o[c] = f);
162
162
  }), t[s] = void 0, o;
163
163
  }
164
164
  }
165
165
  return r;
166
166
  };
167
167
  return n(e, 0);
168
- }, Mt = C("AsyncFunction"), $t = (e) => e && (G(e) || x(e)) && x(e.then) && x(e.catch), Be = ((e, t) => e ? setImmediate : t ? ((n, r) => (k.addEventListener("message", ({ source: s, data: o }) => {
168
+ }, $t = C("AsyncFunction"), Vt = (e) => e && (X(e) || O(e)) && O(e.then) && O(e.catch), Ie = ((e, t) => e ? setImmediate : t ? ((n, r) => (k.addEventListener("message", ({ source: s, data: o }) => {
169
169
  s === k && o === n && r.length && r.shift()();
170
170
  }, !1), (s) => {
171
171
  r.push(s), k.postMessage(n, "*");
172
172
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
173
173
  typeof setImmediate == "function",
174
- x(k.postMessage)
175
- ), zt = typeof queueMicrotask < "u" ? queueMicrotask.bind(k) : typeof process < "u" && process.nextTick || Be, a = {
174
+ O(k.postMessage)
175
+ ), Wt = typeof queueMicrotask < "u" ? queueMicrotask.bind(k) : typeof process < "u" && process.nextTick || Ie, Jt = (e) => e != null && O(e[K]), a = {
176
176
  isArray: B,
177
- isArrayBuffer: Le,
178
- isBuffer: at,
179
- isFormData: yt,
180
- isArrayBufferView: ct,
181
- isString: ut,
182
- isNumber: _e,
183
- isBoolean: lt,
184
- isObject: G,
185
- isPlainObject: $,
186
- isReadableStream: wt,
187
- isRequest: Rt,
188
- isResponse: gt,
189
- isHeaders: Tt,
190
- isUndefined: q,
191
- isDate: ft,
192
- isFile: dt,
193
- isBlob: pt,
194
- isRegExp: Pt,
195
- isFunction: x,
196
- isStream: mt,
197
- isURLSearchParams: bt,
198
- isTypedArray: Ut,
199
- isFileList: ht,
200
- forEach: j,
201
- merge: re,
202
- extend: St,
203
- trim: At,
204
- stripBOM: Et,
205
- inherits: Ot,
206
- toFlatObject: xt,
207
- kindOf: K,
177
+ isArrayBuffer: ke,
178
+ isBuffer: ut,
179
+ isFormData: wt,
180
+ isArrayBufferView: lt,
181
+ isString: ft,
182
+ isNumber: Fe,
183
+ isBoolean: dt,
184
+ isObject: X,
185
+ isPlainObject: z,
186
+ isReadableStream: gt,
187
+ isRequest: At,
188
+ isResponse: Tt,
189
+ isHeaders: St,
190
+ isUndefined: j,
191
+ isDate: pt,
192
+ isFile: ht,
193
+ isBlob: mt,
194
+ isRegExp: Dt,
195
+ isFunction: O,
196
+ isStream: bt,
197
+ isURLSearchParams: Rt,
198
+ isTypedArray: _t,
199
+ isFileList: yt,
200
+ forEach: q,
201
+ merge: se,
202
+ extend: Ot,
203
+ trim: Et,
204
+ stripBOM: xt,
205
+ inherits: Ct,
206
+ toFlatObject: Nt,
207
+ kindOf: v,
208
208
  kindOfTest: C,
209
- endsWith: Ct,
210
- toArray: Nt,
211
- forEachEntry: Lt,
212
- matchAll: _t,
213
- isHTMLForm: kt,
214
- hasOwnProperty: me,
215
- hasOwnProp: me,
209
+ endsWith: Ut,
210
+ toArray: Lt,
211
+ forEachEntry: kt,
212
+ matchAll: Ft,
213
+ isHTMLForm: Pt,
214
+ hasOwnProperty: ye,
215
+ hasOwnProp: ye,
216
216
  // an alias to avoid ESLint no-prototype-builtins detection
217
- reduceDescriptors: Pe,
218
- freezeMethods: Bt,
219
- toObjectSet: Dt,
220
- toCamelCase: Ft,
221
- noop: It,
222
- toFiniteNumber: qt,
223
- findKey: ke,
217
+ reduceDescriptors: De,
218
+ freezeMethods: It,
219
+ toObjectSet: jt,
220
+ toCamelCase: Bt,
221
+ noop: qt,
222
+ toFiniteNumber: Ht,
223
+ findKey: Pe,
224
224
  global: k,
225
- isContextDefined: Fe,
226
- isSpecCompliantForm: jt,
227
- toJSONObject: Ht,
228
- isAsyncFn: Mt,
229
- isThenable: $t,
230
- setImmediate: Be,
231
- asap: zt
225
+ isContextDefined: Be,
226
+ isSpecCompliantForm: Mt,
227
+ toJSONObject: zt,
228
+ isAsyncFn: $t,
229
+ isThenable: Vt,
230
+ setImmediate: Ie,
231
+ asap: Wt,
232
+ isIterable: Jt
232
233
  };
233
234
  function m(e, t, n, r, s) {
234
235
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
@@ -254,7 +255,7 @@ a.inherits(m, Error, {
254
255
  };
255
256
  }
256
257
  });
257
- const De = m.prototype, Ie = {};
258
+ const je = m.prototype, qe = {};
258
259
  [
259
260
  "ERR_BAD_OPTION_VALUE",
260
261
  "ERR_BAD_OPTION",
@@ -270,35 +271,35 @@ const De = m.prototype, Ie = {};
270
271
  "ERR_INVALID_URL"
271
272
  // eslint-disable-next-line func-names
272
273
  ].forEach((e) => {
273
- Ie[e] = { value: e };
274
+ qe[e] = { value: e };
274
275
  });
275
- Object.defineProperties(m, Ie);
276
- Object.defineProperty(De, "isAxiosError", { value: !0 });
276
+ Object.defineProperties(m, qe);
277
+ Object.defineProperty(je, "isAxiosError", { value: !0 });
277
278
  m.from = (e, t, n, r, s, o) => {
278
- const i = Object.create(De);
279
+ const i = Object.create(je);
279
280
  return a.toFlatObject(e, i, function(f) {
280
281
  return f !== Error.prototype;
281
282
  }, (c) => c !== "isAxiosError"), m.call(i, e.message, t, n, r, s), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
282
283
  };
283
- const Vt = null;
284
- function se(e) {
284
+ const Kt = null;
285
+ function oe(e) {
285
286
  return a.isPlainObject(e) || a.isArray(e);
286
287
  }
287
- function qe(e) {
288
+ function He(e) {
288
289
  return a.endsWith(e, "[]") ? e.slice(0, -2) : e;
289
290
  }
290
- function ye(e, t, n) {
291
+ function be(e, t, n) {
291
292
  return e ? e.concat(t).map(function(s, o) {
292
- return s = qe(s), !n && o ? "[" + s + "]" : s;
293
+ return s = He(s), !n && o ? "[" + s + "]" : s;
293
294
  }).join(n ? "." : "") : t;
294
295
  }
295
- function Wt(e) {
296
- return a.isArray(e) && !e.some(se);
296
+ function vt(e) {
297
+ return a.isArray(e) && !e.some(oe);
297
298
  }
298
- const Jt = a.toFlatObject(a, {}, null, function(t) {
299
+ const Gt = a.toFlatObject(a, {}, null, function(t) {
299
300
  return /^is[A-Z]/.test(t);
300
301
  });
301
- function X(e, t, n) {
302
+ function Z(e, t, n) {
302
303
  if (!a.isObject(e))
303
304
  throw new TypeError("target must be an object");
304
305
  t = t || new FormData(), n = a.toFlatObject(n, {
@@ -324,34 +325,34 @@ function X(e, t, n) {
324
325
  if (p && !h && typeof p == "object") {
325
326
  if (a.endsWith(b, "{}"))
326
327
  b = r ? b : b.slice(0, -2), p = JSON.stringify(p);
327
- else if (a.isArray(p) && Wt(p) || (a.isFileList(p) || a.endsWith(b, "[]")) && (w = a.toArray(p)))
328
- return b = qe(b), w.forEach(function(A, U) {
329
- !(a.isUndefined(A) || A === null) && t.append(
328
+ else if (a.isArray(p) && vt(p) || (a.isFileList(p) || a.endsWith(b, "[]")) && (w = a.toArray(p)))
329
+ return b = He(b), w.forEach(function(T, U) {
330
+ !(a.isUndefined(T) || T === null) && t.append(
330
331
  // eslint-disable-next-line no-nested-ternary
331
- i === !0 ? ye([b], U, o) : i === null ? b : b + "[]",
332
- u(A)
332
+ i === !0 ? be([b], U, o) : i === null ? b : b + "[]",
333
+ u(T)
333
334
  );
334
335
  }), !1;
335
336
  }
336
- return se(p) ? !0 : (t.append(ye(h, b, o), u(p)), !1);
337
+ return oe(p) ? !0 : (t.append(be(h, b, o), u(p)), !1);
337
338
  }
338
- const d = [], y = Object.assign(Jt, {
339
+ const d = [], y = Object.assign(Gt, {
339
340
  defaultVisitor: l,
340
341
  convertValue: u,
341
- isVisitable: se
342
+ isVisitable: oe
342
343
  });
343
344
  function g(p, b) {
344
345
  if (!a.isUndefined(p)) {
345
346
  if (d.indexOf(p) !== -1)
346
347
  throw Error("Circular reference detected in " + b.join("."));
347
- d.push(p), a.forEach(p, function(w, T) {
348
+ d.push(p), a.forEach(p, function(w, A) {
348
349
  (!(a.isUndefined(w) || w === null) && s.call(
349
350
  t,
350
351
  w,
351
- a.isString(T) ? T.trim() : T,
352
+ a.isString(A) ? A.trim() : A,
352
353
  b,
353
354
  y
354
- )) === !0 && g(w, b ? b.concat(T) : [T]);
355
+ )) === !0 && g(w, b ? b.concat(A) : [A]);
355
356
  }), d.pop();
356
357
  }
357
358
  }
@@ -359,7 +360,7 @@ function X(e, t, n) {
359
360
  throw new TypeError("data must be an object");
360
361
  return g(e), t;
361
362
  }
362
- function be(e) {
363
+ function we(e) {
363
364
  const t = {
364
365
  "!": "%21",
365
366
  "'": "%27",
@@ -373,40 +374,40 @@ function be(e) {
373
374
  return t[r];
374
375
  });
375
376
  }
376
- function fe(e, t) {
377
- this._pairs = [], e && X(e, this, t);
377
+ function de(e, t) {
378
+ this._pairs = [], e && Z(e, this, t);
378
379
  }
379
- const je = fe.prototype;
380
- je.append = function(t, n) {
380
+ const Me = de.prototype;
381
+ Me.append = function(t, n) {
381
382
  this._pairs.push([t, n]);
382
383
  };
383
- je.toString = function(t) {
384
+ Me.toString = function(t) {
384
385
  const n = t ? function(r) {
385
- return t.call(this, r, be);
386
- } : be;
386
+ return t.call(this, r, we);
387
+ } : we;
387
388
  return this._pairs.map(function(s) {
388
389
  return n(s[0]) + "=" + n(s[1]);
389
390
  }, "").join("&");
390
391
  };
391
- function Kt(e) {
392
+ function Xt(e) {
392
393
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
393
394
  }
394
- function He(e, t, n) {
395
+ function ze(e, t, n) {
395
396
  if (!t)
396
397
  return e;
397
- const r = n && n.encode || Kt;
398
+ const r = n && n.encode || Xt;
398
399
  a.isFunction(n) && (n = {
399
400
  serialize: n
400
401
  });
401
402
  const s = n && n.serialize;
402
403
  let o;
403
- if (s ? o = s(t, n) : o = a.isURLSearchParams(t) ? t.toString() : new fe(t, n).toString(r), o) {
404
+ if (s ? o = s(t, n) : o = a.isURLSearchParams(t) ? t.toString() : new de(t, n).toString(r), o) {
404
405
  const i = e.indexOf("#");
405
406
  i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
406
407
  }
407
408
  return e;
408
409
  }
409
- class we {
410
+ class Re {
410
411
  constructor() {
411
412
  this.handlers = [];
412
413
  }
@@ -460,41 +461,41 @@ class we {
460
461
  });
461
462
  }
462
463
  }
463
- const Me = {
464
+ const $e = {
464
465
  silentJSONParsing: !0,
465
466
  forcedJSONParsing: !0,
466
467
  clarifyTimeoutError: !1
467
- }, vt = typeof URLSearchParams < "u" ? URLSearchParams : fe, Gt = typeof FormData < "u" ? FormData : null, Xt = typeof Blob < "u" ? Blob : null, Zt = {
468
+ }, Zt = typeof URLSearchParams < "u" ? URLSearchParams : de, Qt = typeof FormData < "u" ? FormData : null, Yt = typeof Blob < "u" ? Blob : null, en = {
468
469
  isBrowser: !0,
469
470
  classes: {
470
- URLSearchParams: vt,
471
- FormData: Gt,
472
- Blob: Xt
471
+ URLSearchParams: Zt,
472
+ FormData: Qt,
473
+ Blob: Yt
473
474
  },
474
475
  protocols: ["http", "https", "file", "blob", "url", "data"]
475
- }, de = typeof window < "u" && typeof document < "u", oe = typeof navigator == "object" && navigator || void 0, Qt = de && (!oe || ["ReactNative", "NativeScript", "NS"].indexOf(oe.product) < 0), Yt = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
476
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", en = de && window.location.href || "http://localhost", tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
476
+ }, pe = typeof window < "u" && typeof document < "u", ie = typeof navigator == "object" && navigator || void 0, tn = pe && (!ie || ["ReactNative", "NativeScript", "NS"].indexOf(ie.product) < 0), nn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
477
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", rn = pe && window.location.href || "http://localhost", sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
477
478
  __proto__: null,
478
- hasBrowserEnv: de,
479
- hasStandardBrowserEnv: Qt,
480
- hasStandardBrowserWebWorkerEnv: Yt,
481
- navigator: oe,
482
- origin: en
479
+ hasBrowserEnv: pe,
480
+ hasStandardBrowserEnv: tn,
481
+ hasStandardBrowserWebWorkerEnv: nn,
482
+ navigator: ie,
483
+ origin: rn
483
484
  }, Symbol.toStringTag, { value: "Module" })), S = {
484
- ...tn,
485
- ...Zt
485
+ ...sn,
486
+ ...en
486
487
  };
487
- function nn(e, t) {
488
- return X(e, new S.classes.URLSearchParams(), Object.assign({
488
+ function on(e, t) {
489
+ return Z(e, new S.classes.URLSearchParams(), Object.assign({
489
490
  visitor: function(n, r, s, o) {
490
491
  return S.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
491
492
  }
492
493
  }, t));
493
494
  }
494
- function rn(e) {
495
+ function an(e) {
495
496
  return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
496
497
  }
497
- function sn(e) {
498
+ function cn(e) {
498
499
  const t = {}, n = Object.keys(e);
499
500
  let r;
500
501
  const s = n.length;
@@ -503,22 +504,22 @@ function sn(e) {
503
504
  o = n[r], t[o] = e[o];
504
505
  return t;
505
506
  }
506
- function $e(e) {
507
+ function Ve(e) {
507
508
  function t(n, r, s, o) {
508
509
  let i = n[o++];
509
510
  if (i === "__proto__") return !0;
510
511
  const c = Number.isFinite(+i), f = o >= n.length;
511
- return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = sn(s[i])), !c);
512
+ return i = !i && a.isArray(s) ? s.length : i, f ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = cn(s[i])), !c);
512
513
  }
513
514
  if (a.isFormData(e) && a.isFunction(e.entries)) {
514
515
  const n = {};
515
516
  return a.forEachEntry(e, (r, s) => {
516
- t(rn(r), s, n, 0);
517
+ t(an(r), s, n, 0);
517
518
  }), n;
518
519
  }
519
520
  return null;
520
521
  }
521
- function on(e, t, n) {
522
+ function un(e, t, n) {
522
523
  if (a.isString(e))
523
524
  try {
524
525
  return (t || JSON.parse)(e), a.trim(e);
@@ -529,12 +530,12 @@ function on(e, t, n) {
529
530
  return (n || JSON.stringify)(e);
530
531
  }
531
532
  const H = {
532
- transitional: Me,
533
+ transitional: $e,
533
534
  adapter: ["xhr", "http", "fetch"],
534
535
  transformRequest: [function(t, n) {
535
536
  const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = a.isObject(t);
536
537
  if (o && a.isHTMLForm(t) && (t = new FormData(t)), a.isFormData(t))
537
- return s ? JSON.stringify($e(t)) : t;
538
+ return s ? JSON.stringify(Ve(t)) : t;
538
539
  if (a.isArrayBuffer(t) || a.isBuffer(t) || a.isStream(t) || a.isFile(t) || a.isBlob(t) || a.isReadableStream(t))
539
540
  return t;
540
541
  if (a.isArrayBufferView(t))
@@ -544,17 +545,17 @@ const H = {
544
545
  let c;
545
546
  if (o) {
546
547
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
547
- return nn(t, this.formSerializer).toString();
548
+ return on(t, this.formSerializer).toString();
548
549
  if ((c = a.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
549
550
  const f = this.env && this.env.FormData;
550
- return X(
551
+ return Z(
551
552
  c ? { "files[]": t } : t,
552
553
  f && new f(),
553
554
  this.formSerializer
554
555
  );
555
556
  }
556
557
  }
557
- return o || s ? (n.setContentType("application/json", !1), on(t)) : t;
558
+ return o || s ? (n.setContentType("application/json", !1), un(t)) : t;
558
559
  }],
559
560
  transformResponse: [function(t) {
560
561
  const n = this.transitional || H.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
@@ -597,7 +598,7 @@ const H = {
597
598
  a.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
598
599
  H.headers[e] = {};
599
600
  });
600
- const an = a.toObjectSet([
601
+ const ln = a.toObjectSet([
601
602
  "age",
602
603
  "authorization",
603
604
  "content-length",
@@ -615,29 +616,29 @@ const an = a.toObjectSet([
615
616
  "referer",
616
617
  "retry-after",
617
618
  "user-agent"
618
- ]), cn = (e) => {
619
+ ]), fn = (e) => {
619
620
  const t = {};
620
621
  let n, r, s;
621
622
  return e && e.split(`
622
623
  `).forEach(function(i) {
623
- s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && an[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
624
+ s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && ln[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
624
625
  }), t;
625
- }, Re = Symbol("internals");
626
+ }, ge = Symbol("internals");
626
627
  function I(e) {
627
628
  return e && String(e).trim().toLowerCase();
628
629
  }
629
- function z(e) {
630
- return e === !1 || e == null ? e : a.isArray(e) ? e.map(z) : String(e);
630
+ function $(e) {
631
+ return e === !1 || e == null ? e : a.isArray(e) ? e.map($) : String(e);
631
632
  }
632
- function un(e) {
633
+ function dn(e) {
633
634
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
634
635
  let r;
635
636
  for (; r = n.exec(e); )
636
637
  t[r[1]] = r[2];
637
638
  return t;
638
639
  }
639
- const ln = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
640
- function ee(e, t, n, r, s) {
640
+ const pn = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
641
+ function te(e, t, n, r, s) {
641
642
  if (a.isFunction(r))
642
643
  return r.call(this, t, n);
643
644
  if (s && (t = n), !!a.isString(t)) {
@@ -647,10 +648,10 @@ function ee(e, t, n, r, s) {
647
648
  return r.test(t);
648
649
  }
649
650
  }
650
- function fn(e) {
651
+ function hn(e) {
651
652
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
652
653
  }
653
- function dn(e, t) {
654
+ function mn(e, t) {
654
655
  const n = a.toCamelCase(" " + t);
655
656
  ["get", "set", "has"].forEach((r) => {
656
657
  Object.defineProperty(e, r + n, {
@@ -661,7 +662,7 @@ function dn(e, t) {
661
662
  });
662
663
  });
663
664
  }
664
- let O = class {
665
+ let x = class {
665
666
  constructor(t) {
666
667
  t && this.set(t);
667
668
  }
@@ -672,17 +673,22 @@ let O = class {
672
673
  if (!l)
673
674
  throw new Error("header name must be a non-empty string");
674
675
  const d = a.findKey(s, l);
675
- (!d || s[d] === void 0 || u === !0 || u === void 0 && s[d] !== !1) && (s[d || f] = z(c));
676
+ (!d || s[d] === void 0 || u === !0 || u === void 0 && s[d] !== !1) && (s[d || f] = $(c));
676
677
  }
677
678
  const i = (c, f) => a.forEach(c, (u, l) => o(u, l, f));
678
679
  if (a.isPlainObject(t) || t instanceof this.constructor)
679
680
  i(t, n);
680
- else if (a.isString(t) && (t = t.trim()) && !ln(t))
681
- i(cn(t), n);
682
- else if (a.isHeaders(t))
683
- for (const [c, f] of t.entries())
684
- o(f, c, r);
685
- else
681
+ else if (a.isString(t) && (t = t.trim()) && !pn(t))
682
+ i(fn(t), n);
683
+ else if (a.isObject(t) && a.isIterable(t)) {
684
+ let c = {}, f, u;
685
+ for (const l of t) {
686
+ if (!a.isArray(l))
687
+ throw TypeError("Object iterator must return a key-value pair");
688
+ c[u = l[0]] = (f = c[u]) ? a.isArray(f) ? [...f, l[1]] : [f, l[1]] : l[1];
689
+ }
690
+ i(c, n);
691
+ } else
686
692
  t != null && o(n, t, r);
687
693
  return this;
688
694
  }
@@ -694,7 +700,7 @@ let O = class {
694
700
  if (!n)
695
701
  return s;
696
702
  if (n === !0)
697
- return un(s);
703
+ return dn(s);
698
704
  if (a.isFunction(n))
699
705
  return n.call(this, s, r);
700
706
  if (a.isRegExp(n))
@@ -706,7 +712,7 @@ let O = class {
706
712
  has(t, n) {
707
713
  if (t = I(t), t) {
708
714
  const r = a.findKey(this, t);
709
- return !!(r && this[r] !== void 0 && (!n || ee(this, this[r], r, n)));
715
+ return !!(r && this[r] !== void 0 && (!n || te(this, this[r], r, n)));
710
716
  }
711
717
  return !1;
712
718
  }
@@ -716,7 +722,7 @@ let O = class {
716
722
  function o(i) {
717
723
  if (i = I(i), i) {
718
724
  const c = a.findKey(r, i);
719
- c && (!n || ee(r, r[c], c, n)) && (delete r[c], s = !0);
725
+ c && (!n || te(r, r[c], c, n)) && (delete r[c], s = !0);
720
726
  }
721
727
  }
722
728
  return a.isArray(t) ? t.forEach(o) : o(t), s;
@@ -726,7 +732,7 @@ let O = class {
726
732
  let r = n.length, s = !1;
727
733
  for (; r--; ) {
728
734
  const o = n[r];
729
- (!t || ee(this, this[o], o, t, !0)) && (delete this[o], s = !0);
735
+ (!t || te(this, this[o], o, t, !0)) && (delete this[o], s = !0);
730
736
  }
731
737
  return s;
732
738
  }
@@ -735,11 +741,11 @@ let O = class {
735
741
  return a.forEach(this, (s, o) => {
736
742
  const i = a.findKey(r, o);
737
743
  if (i) {
738
- n[i] = z(s), delete n[o];
744
+ n[i] = $(s), delete n[o];
739
745
  return;
740
746
  }
741
- const c = t ? fn(o) : String(o).trim();
742
- c !== o && delete n[o], n[c] = z(s), r[c] = !0;
747
+ const c = t ? hn(o) : String(o).trim();
748
+ c !== o && delete n[o], n[c] = $(s), r[c] = !0;
743
749
  }), this;
744
750
  }
745
751
  concat(...t) {
@@ -758,6 +764,9 @@ let O = class {
758
764
  return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(`
759
765
  `);
760
766
  }
767
+ getSetCookie() {
768
+ return this.get("set-cookie") || [];
769
+ }
761
770
  get [Symbol.toStringTag]() {
762
771
  return "AxiosHeaders";
763
772
  }
@@ -769,18 +778,18 @@ let O = class {
769
778
  return n.forEach((s) => r.set(s)), r;
770
779
  }
771
780
  static accessor(t) {
772
- const r = (this[Re] = this[Re] = {
781
+ const r = (this[ge] = this[ge] = {
773
782
  accessors: {}
774
783
  }).accessors, s = this.prototype;
775
784
  function o(i) {
776
785
  const c = I(i);
777
- r[c] || (dn(s, i), r[c] = !0);
786
+ r[c] || (mn(s, i), r[c] = !0);
778
787
  }
779
788
  return a.isArray(t) ? t.forEach(o) : o(t), this;
780
789
  }
781
790
  };
782
- O.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
783
- a.reduceDescriptors(O.prototype, ({ value: e }, t) => {
791
+ x.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
792
+ a.reduceDescriptors(x.prototype, ({ value: e }, t) => {
784
793
  let n = t[0].toUpperCase() + t.slice(1);
785
794
  return {
786
795
  get: () => e,
@@ -789,15 +798,15 @@ a.reduceDescriptors(O.prototype, ({ value: e }, t) => {
789
798
  }
790
799
  };
791
800
  });
792
- a.freezeMethods(O);
793
- function te(e, t) {
794
- const n = this || H, r = t || n, s = O.from(r.headers);
801
+ a.freezeMethods(x);
802
+ function ne(e, t) {
803
+ const n = this || H, r = t || n, s = x.from(r.headers);
795
804
  let o = r.data;
796
805
  return a.forEach(e, function(c) {
797
806
  o = c.call(n, o, s.normalize(), t ? t.status : void 0);
798
807
  }), s.normalize(), o;
799
808
  }
800
- function ze(e) {
809
+ function We(e) {
801
810
  return !!(e && e.__CANCEL__);
802
811
  }
803
812
  function D(e, t, n) {
@@ -806,7 +815,7 @@ function D(e, t, n) {
806
815
  a.inherits(D, m, {
807
816
  __CANCEL__: !0
808
817
  });
809
- function Ve(e, t, n) {
818
+ function Je(e, t, n) {
810
819
  const r = n.config.validateStatus;
811
820
  !n.status || !r || r(n.status) ? e(n) : t(new m(
812
821
  "Request failed with status code " + n.status,
@@ -816,11 +825,11 @@ function Ve(e, t, n) {
816
825
  n
817
826
  ));
818
827
  }
819
- function pn(e) {
828
+ function yn(e) {
820
829
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
821
830
  return t && t[1] || "";
822
831
  }
823
- function hn(e, t) {
832
+ function bn(e, t) {
824
833
  e = e || 10;
825
834
  const n = new Array(e), r = new Array(e);
826
835
  let s = 0, o = 0, i;
@@ -836,7 +845,7 @@ function hn(e, t) {
836
845
  return g ? Math.round(y * 1e3 / g) : void 0;
837
846
  };
838
847
  }
839
- function mn(e, t) {
848
+ function wn(e, t) {
840
849
  let n = 0, r = 1e3 / t, s, o;
841
850
  const i = (u, l = Date.now()) => {
842
851
  n = l, s = null, o && (clearTimeout(o), o = null), e.apply(null, u);
@@ -850,8 +859,8 @@ function mn(e, t) {
850
859
  }
851
860
  const W = (e, t, n = 3) => {
852
861
  let r = 0;
853
- const s = hn(50, 250);
854
- return mn((o) => {
862
+ const s = bn(50, 250);
863
+ return wn((o) => {
855
864
  const i = o.loaded, c = o.lengthComputable ? o.total : void 0, f = i - r, u = s(f), l = i <= c;
856
865
  r = i;
857
866
  const d = {
@@ -867,17 +876,17 @@ const W = (e, t, n = 3) => {
867
876
  };
868
877
  e(d);
869
878
  }, n);
870
- }, ge = (e, t) => {
879
+ }, Ae = (e, t) => {
871
880
  const n = e != null;
872
881
  return [(r) => t[0]({
873
882
  lengthComputable: n,
874
883
  total: e,
875
884
  loaded: r
876
885
  }), t[1]];
877
- }, Te = (e) => (...t) => a.asap(() => e(...t)), yn = S.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, S.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
886
+ }, Te = (e) => (...t) => a.asap(() => e(...t)), Rn = S.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, S.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
878
887
  new URL(S.origin),
879
888
  S.navigator && /(msie|trident)/i.test(S.navigator.userAgent)
880
- ) : () => !0, bn = S.hasStandardBrowserEnv ? (
889
+ ) : () => !0, gn = S.hasStandardBrowserEnv ? (
881
890
  // Standard browser envs support document.cookie
882
891
  {
883
892
  write(e, t, n, r, s, o) {
@@ -904,17 +913,17 @@ const W = (e, t, n = 3) => {
904
913
  }
905
914
  }
906
915
  );
907
- function wn(e) {
916
+ function An(e) {
908
917
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
909
918
  }
910
- function Rn(e, t) {
919
+ function Tn(e, t) {
911
920
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
912
921
  }
913
- function We(e, t, n) {
914
- let r = !wn(t);
915
- return e && r || n == !1 ? Rn(e, t) : t;
922
+ function Ke(e, t, n) {
923
+ let r = !An(t);
924
+ return e && (r || n == !1) ? Tn(e, t) : t;
916
925
  }
917
- const Ae = (e) => e instanceof O ? { ...e } : e;
926
+ const Se = (e) => e instanceof x ? { ...e } : e;
918
927
  function P(e, t) {
919
928
  t = t || {};
920
929
  const n = {};
@@ -972,17 +981,17 @@ function P(e, t) {
972
981
  socketPath: i,
973
982
  responseEncoding: i,
974
983
  validateStatus: c,
975
- headers: (u, l, d) => s(Ae(u), Ae(l), d, !0)
984
+ headers: (u, l, d) => s(Se(u), Se(l), d, !0)
976
985
  };
977
986
  return a.forEach(Object.keys(Object.assign({}, e, t)), function(l) {
978
987
  const d = f[l] || s, y = d(e[l], t[l], l);
979
988
  a.isUndefined(y) && d !== c || (n[l] = y);
980
989
  }), n;
981
990
  }
982
- const Je = (e) => {
991
+ const ve = (e) => {
983
992
  const t = P({}, e);
984
993
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: c } = t;
985
- t.headers = i = O.from(i), t.url = He(We(t.baseURL, t.url), e.params, e.paramsSerializer), c && i.set(
994
+ t.headers = i = x.from(i), t.url = ze(Ke(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
986
995
  "Authorization",
987
996
  "Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
988
997
  );
@@ -995,16 +1004,16 @@ const Je = (e) => {
995
1004
  i.setContentType([u || "multipart/form-data", ...l].join("; "));
996
1005
  }
997
1006
  }
998
- if (S.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && yn(t.url))) {
999
- const u = s && o && bn.read(o);
1007
+ if (S.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && Rn(t.url))) {
1008
+ const u = s && o && gn.read(o);
1000
1009
  u && i.set(s, u);
1001
1010
  }
1002
1011
  return t;
1003
- }, gn = typeof XMLHttpRequest < "u", Tn = gn && function(e) {
1012
+ }, Sn = typeof XMLHttpRequest < "u", En = Sn && function(e) {
1004
1013
  return new Promise(function(n, r) {
1005
- const s = Je(e);
1014
+ const s = ve(e);
1006
1015
  let o = s.data;
1007
- const i = O.from(s.headers).normalize();
1016
+ const i = x.from(s.headers).normalize();
1008
1017
  let { responseType: c, onUploadProgress: f, onDownloadProgress: u } = s, l, d, y, g, p;
1009
1018
  function b() {
1010
1019
  g && g(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
@@ -1014,17 +1023,17 @@ const Je = (e) => {
1014
1023
  function w() {
1015
1024
  if (!h)
1016
1025
  return;
1017
- const A = O.from(
1026
+ const T = x.from(
1018
1027
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1019
1028
  ), E = {
1020
1029
  data: !c || c === "text" || c === "json" ? h.responseText : h.response,
1021
1030
  status: h.status,
1022
1031
  statusText: h.statusText,
1023
- headers: A,
1032
+ headers: T,
1024
1033
  config: e,
1025
1034
  request: h
1026
1035
  };
1027
- Ve(function(_) {
1036
+ Je(function(_) {
1028
1037
  n(_), b();
1029
1038
  }, function(_) {
1030
1039
  r(_), b();
@@ -1038,7 +1047,7 @@ const Je = (e) => {
1038
1047
  r(new m("Network Error", m.ERR_NETWORK, e, h)), h = null;
1039
1048
  }, h.ontimeout = function() {
1040
1049
  let U = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1041
- const E = s.transitional || Me;
1050
+ const E = s.transitional || $e;
1042
1051
  s.timeoutErrorMessage && (U = s.timeoutErrorMessage), r(new m(
1043
1052
  U,
1044
1053
  E.clarifyTimeoutError ? m.ETIMEDOUT : m.ECONNABORTED,
@@ -1047,17 +1056,17 @@ const Je = (e) => {
1047
1056
  )), h = null;
1048
1057
  }, o === void 0 && i.setContentType(null), "setRequestHeader" in h && a.forEach(i.toJSON(), function(U, E) {
1049
1058
  h.setRequestHeader(E, U);
1050
- }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), u && ([y, p] = W(u, !0), h.addEventListener("progress", y)), f && h.upload && ([d, g] = W(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (l = (A) => {
1051
- h && (r(!A || A.type ? new D(null, e, h) : A), h.abort(), h = null);
1059
+ }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), u && ([y, p] = W(u, !0), h.addEventListener("progress", y)), f && h.upload && ([d, g] = W(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (l = (T) => {
1060
+ h && (r(!T || T.type ? new D(null, e, h) : T), h.abort(), h = null);
1052
1061
  }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
1053
- const T = pn(s.url);
1054
- if (T && S.protocols.indexOf(T) === -1) {
1055
- r(new m("Unsupported protocol " + T + ":", m.ERR_BAD_REQUEST, e));
1062
+ const A = yn(s.url);
1063
+ if (A && S.protocols.indexOf(A) === -1) {
1064
+ r(new m("Unsupported protocol " + A + ":", m.ERR_BAD_REQUEST, e));
1056
1065
  return;
1057
1066
  }
1058
1067
  h.send(o || null);
1059
1068
  });
1060
- }, An = (e, t) => {
1069
+ }, On = (e, t) => {
1061
1070
  const { length: n } = e = e ? e.filter(Boolean) : [];
1062
1071
  if (t || n) {
1063
1072
  let r = new AbortController(), s;
@@ -1080,7 +1089,7 @@ const Je = (e) => {
1080
1089
  const { signal: f } = r;
1081
1090
  return f.unsubscribe = () => a.asap(c), f;
1082
1091
  }
1083
- }, Sn = function* (e, t) {
1092
+ }, xn = function* (e, t) {
1084
1093
  let n = e.byteLength;
1085
1094
  if (n < t) {
1086
1095
  yield e;
@@ -1089,10 +1098,10 @@ const Je = (e) => {
1089
1098
  let r = 0, s;
1090
1099
  for (; r < n; )
1091
1100
  s = r + t, yield e.slice(r, s), r = s;
1092
- }, En = async function* (e, t) {
1093
- for await (const n of On(e))
1094
- yield* Sn(n, t);
1095
- }, On = async function* (e) {
1101
+ }, Cn = async function* (e, t) {
1102
+ for await (const n of Nn(e))
1103
+ yield* xn(n, t);
1104
+ }, Nn = async function* (e) {
1096
1105
  if (e[Symbol.asyncIterator]) {
1097
1106
  yield* e;
1098
1107
  return;
@@ -1108,8 +1117,8 @@ const Je = (e) => {
1108
1117
  } finally {
1109
1118
  await t.cancel();
1110
1119
  }
1111
- }, Se = (e, t, n, r) => {
1112
- const s = En(e, t);
1120
+ }, Ee = (e, t, n, r) => {
1121
+ const s = Cn(e, t);
1113
1122
  let o = 0, i, c = (f) => {
1114
1123
  i || (i = !0, r && r(f));
1115
1124
  };
@@ -1137,13 +1146,13 @@ const Je = (e) => {
1137
1146
  }, {
1138
1147
  highWaterMark: 2
1139
1148
  });
1140
- }, Z = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ke = Z && typeof ReadableStream == "function", xn = Z && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), ve = (e, ...t) => {
1149
+ }, Q = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Ge = Q && typeof ReadableStream == "function", Un = Q && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Xe = (e, ...t) => {
1141
1150
  try {
1142
1151
  return !!e(...t);
1143
1152
  } catch {
1144
1153
  return !1;
1145
1154
  }
1146
- }, Cn = Ke && ve(() => {
1155
+ }, Ln = Ge && Xe(() => {
1147
1156
  let e = !1;
1148
1157
  const t = new Request(S.origin, {
1149
1158
  body: new ReadableStream(),
@@ -1153,17 +1162,17 @@ const Je = (e) => {
1153
1162
  }
1154
1163
  }).headers.has("Content-Type");
1155
1164
  return e && !t;
1156
- }), Ee = 64 * 1024, ie = Ke && ve(() => a.isReadableStream(new Response("").body)), J = {
1157
- stream: ie && ((e) => e.body)
1165
+ }), Oe = 64 * 1024, ae = Ge && Xe(() => a.isReadableStream(new Response("").body)), J = {
1166
+ stream: ae && ((e) => e.body)
1158
1167
  };
1159
- Z && ((e) => {
1168
+ Q && ((e) => {
1160
1169
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
1161
1170
  !J[t] && (J[t] = a.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
1162
1171
  throw new m(`Response type '${t}' is not supported`, m.ERR_NOT_SUPPORT, r);
1163
1172
  });
1164
1173
  });
1165
1174
  })(new Response());
1166
- const Nn = async (e) => {
1175
+ const _n = async (e) => {
1167
1176
  if (e == null)
1168
1177
  return 0;
1169
1178
  if (a.isBlob(e))
@@ -1176,11 +1185,11 @@ const Nn = async (e) => {
1176
1185
  if (a.isArrayBufferView(e) || a.isArrayBuffer(e))
1177
1186
  return e.byteLength;
1178
1187
  if (a.isURLSearchParams(e) && (e = e + ""), a.isString(e))
1179
- return (await xn(e)).byteLength;
1180
- }, Un = async (e, t) => {
1188
+ return (await Un(e)).byteLength;
1189
+ }, kn = async (e, t) => {
1181
1190
  const n = a.toFiniteNumber(e.getContentLength());
1182
- return n ?? Nn(t);
1183
- }, Ln = Z && (async (e) => {
1191
+ return n ?? _n(t);
1192
+ }, Fn = Q && (async (e) => {
1184
1193
  let {
1185
1194
  url: t,
1186
1195
  method: n,
@@ -1194,26 +1203,26 @@ const Nn = async (e) => {
1194
1203
  headers: l,
1195
1204
  withCredentials: d = "same-origin",
1196
1205
  fetchOptions: y
1197
- } = Je(e);
1206
+ } = ve(e);
1198
1207
  u = u ? (u + "").toLowerCase() : "text";
1199
- let g = An([s, o && o.toAbortSignal()], i), p;
1208
+ let g = On([s, o && o.toAbortSignal()], i), p;
1200
1209
  const b = g && g.unsubscribe && (() => {
1201
1210
  g.unsubscribe();
1202
1211
  });
1203
1212
  let h;
1204
1213
  try {
1205
- if (f && Cn && n !== "get" && n !== "head" && (h = await Un(l, r)) !== 0) {
1214
+ if (f && Ln && n !== "get" && n !== "head" && (h = await kn(l, r)) !== 0) {
1206
1215
  let E = new Request(t, {
1207
1216
  method: "POST",
1208
1217
  body: r,
1209
1218
  duplex: "half"
1210
1219
  }), L;
1211
1220
  if (a.isFormData(r) && (L = E.headers.get("content-type")) && l.setContentType(L), E.body) {
1212
- const [_, M] = ge(
1221
+ const [_, M] = Ae(
1213
1222
  h,
1214
1223
  W(Te(f))
1215
1224
  );
1216
- r = Se(E.body, Ee, _, M);
1225
+ r = Ee(E.body, Oe, _, M);
1217
1226
  }
1218
1227
  }
1219
1228
  a.isString(d) || (d = d ? "include" : "omit");
@@ -1227,50 +1236,50 @@ const Nn = async (e) => {
1227
1236
  duplex: "half",
1228
1237
  credentials: w ? d : void 0
1229
1238
  });
1230
- let T = await fetch(p);
1231
- const A = ie && (u === "stream" || u === "response");
1232
- if (ie && (c || A && b)) {
1239
+ let A = await fetch(p);
1240
+ const T = ae && (u === "stream" || u === "response");
1241
+ if (ae && (c || T && b)) {
1233
1242
  const E = {};
1234
- ["status", "statusText", "headers"].forEach((pe) => {
1235
- E[pe] = T[pe];
1243
+ ["status", "statusText", "headers"].forEach((he) => {
1244
+ E[he] = A[he];
1236
1245
  });
1237
- const L = a.toFiniteNumber(T.headers.get("content-length")), [_, M] = c && ge(
1246
+ const L = a.toFiniteNumber(A.headers.get("content-length")), [_, M] = c && Ae(
1238
1247
  L,
1239
1248
  W(Te(c), !0)
1240
1249
  ) || [];
1241
- T = new Response(
1242
- Se(T.body, Ee, _, () => {
1250
+ A = new Response(
1251
+ Ee(A.body, Oe, _, () => {
1243
1252
  M && M(), b && b();
1244
1253
  }),
1245
1254
  E
1246
1255
  );
1247
1256
  }
1248
1257
  u = u || "text";
1249
- let U = await J[a.findKey(J, u) || "text"](T, e);
1250
- return !A && b && b(), await new Promise((E, L) => {
1251
- Ve(E, L, {
1258
+ let U = await J[a.findKey(J, u) || "text"](A, e);
1259
+ return !T && b && b(), await new Promise((E, L) => {
1260
+ Je(E, L, {
1252
1261
  data: U,
1253
- headers: O.from(T.headers),
1254
- status: T.status,
1255
- statusText: T.statusText,
1262
+ headers: x.from(A.headers),
1263
+ status: A.status,
1264
+ statusText: A.statusText,
1256
1265
  config: e,
1257
1266
  request: p
1258
1267
  });
1259
1268
  });
1260
1269
  } catch (w) {
1261
- throw b && b(), w && w.name === "TypeError" && /fetch/i.test(w.message) ? Object.assign(
1270
+ throw b && b(), w && w.name === "TypeError" && /Load failed|fetch/i.test(w.message) ? Object.assign(
1262
1271
  new m("Network Error", m.ERR_NETWORK, e, p),
1263
1272
  {
1264
1273
  cause: w.cause || w
1265
1274
  }
1266
1275
  ) : m.from(w, w && w.code, e, p);
1267
1276
  }
1268
- }), ae = {
1269
- http: Vt,
1270
- xhr: Tn,
1271
- fetch: Ln
1277
+ }), ce = {
1278
+ http: Kt,
1279
+ xhr: En,
1280
+ fetch: Fn
1272
1281
  };
1273
- a.forEach(ae, (e, t) => {
1282
+ a.forEach(ce, (e, t) => {
1274
1283
  if (e) {
1275
1284
  try {
1276
1285
  Object.defineProperty(e, "name", { value: t });
@@ -1279,7 +1288,7 @@ a.forEach(ae, (e, t) => {
1279
1288
  Object.defineProperty(e, "adapterName", { value: t });
1280
1289
  }
1281
1290
  });
1282
- const Oe = (e) => `- ${e}`, _n = (e) => a.isFunction(e) || e === null || e === !1, Ge = {
1291
+ const xe = (e) => `- ${e}`, Pn = (e) => a.isFunction(e) || e === null || e === !1, Ze = {
1283
1292
  getAdapter: (e) => {
1284
1293
  e = a.isArray(e) ? e : [e];
1285
1294
  const { length: t } = e;
@@ -1288,7 +1297,7 @@ const Oe = (e) => `- ${e}`, _n = (e) => a.isFunction(e) || e === null || e === !
1288
1297
  for (let o = 0; o < t; o++) {
1289
1298
  n = e[o];
1290
1299
  let i;
1291
- if (r = n, !_n(n) && (r = ae[(i = String(n)).toLowerCase()], r === void 0))
1300
+ if (r = n, !Pn(n) && (r = ce[(i = String(n)).toLowerCase()], r === void 0))
1292
1301
  throw new m(`Unknown adapter '${i}'`);
1293
1302
  if (r)
1294
1303
  break;
@@ -1299,8 +1308,8 @@ const Oe = (e) => `- ${e}`, _n = (e) => a.isFunction(e) || e === null || e === !
1299
1308
  ([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1300
1309
  );
1301
1310
  let i = t ? o.length > 1 ? `since :
1302
- ` + o.map(Oe).join(`
1303
- `) : " " + Oe(o[0]) : "as no adapter specified";
1311
+ ` + o.map(xe).join(`
1312
+ `) : " " + xe(o[0]) : "as no adapter specified";
1304
1313
  throw new m(
1305
1314
  "There is no suitable adapter to dispatch the request " + i,
1306
1315
  "ERR_NOT_SUPPORT"
@@ -1308,40 +1317,40 @@ const Oe = (e) => `- ${e}`, _n = (e) => a.isFunction(e) || e === null || e === !
1308
1317
  }
1309
1318
  return r;
1310
1319
  },
1311
- adapters: ae
1320
+ adapters: ce
1312
1321
  };
1313
- function ne(e) {
1322
+ function re(e) {
1314
1323
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1315
1324
  throw new D(null, e);
1316
1325
  }
1317
- function xe(e) {
1318
- return ne(e), e.headers = O.from(e.headers), e.data = te.call(
1326
+ function Ce(e) {
1327
+ return re(e), e.headers = x.from(e.headers), e.data = ne.call(
1319
1328
  e,
1320
1329
  e.transformRequest
1321
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ge.getAdapter(e.adapter || H.adapter)(e).then(function(r) {
1322
- return ne(e), r.data = te.call(
1330
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ze.getAdapter(e.adapter || H.adapter)(e).then(function(r) {
1331
+ return re(e), r.data = ne.call(
1323
1332
  e,
1324
1333
  e.transformResponse,
1325
1334
  r
1326
- ), r.headers = O.from(r.headers), r;
1335
+ ), r.headers = x.from(r.headers), r;
1327
1336
  }, function(r) {
1328
- return ze(r) || (ne(e), r && r.response && (r.response.data = te.call(
1337
+ return We(r) || (re(e), r && r.response && (r.response.data = ne.call(
1329
1338
  e,
1330
1339
  e.transformResponse,
1331
1340
  r.response
1332
- ), r.response.headers = O.from(r.response.headers))), Promise.reject(r);
1341
+ ), r.response.headers = x.from(r.response.headers))), Promise.reject(r);
1333
1342
  });
1334
1343
  }
1335
- const Xe = "1.8.1", Q = {};
1344
+ const Qe = "1.9.0", Y = {};
1336
1345
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1337
- Q[e] = function(r) {
1346
+ Y[e] = function(r) {
1338
1347
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1339
1348
  };
1340
1349
  });
1341
- const Ce = {};
1342
- Q.transitional = function(t, n, r) {
1350
+ const Ne = {};
1351
+ Y.transitional = function(t, n, r) {
1343
1352
  function s(o, i) {
1344
- return "[Axios v" + Xe + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1353
+ return "[Axios v" + Qe + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1345
1354
  }
1346
1355
  return (o, i, c) => {
1347
1356
  if (t === !1)
@@ -1349,7 +1358,7 @@ Q.transitional = function(t, n, r) {
1349
1358
  s(i, " has been removed" + (n ? " in " + n : "")),
1350
1359
  m.ERR_DEPRECATED
1351
1360
  );
1352
- return n && !Ce[i] && (Ce[i] = !0, console.warn(
1361
+ return n && !Ne[i] && (Ne[i] = !0, console.warn(
1353
1362
  s(
1354
1363
  i,
1355
1364
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1357,10 +1366,10 @@ Q.transitional = function(t, n, r) {
1357
1366
  )), t ? t(o, i, c) : !0;
1358
1367
  };
1359
1368
  };
1360
- Q.spelling = function(t) {
1369
+ Y.spelling = function(t) {
1361
1370
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1362
1371
  };
1363
- function kn(e, t, n) {
1372
+ function Bn(e, t, n) {
1364
1373
  if (typeof e != "object")
1365
1374
  throw new m("options must be an object", m.ERR_BAD_OPTION_VALUE);
1366
1375
  const r = Object.keys(e);
@@ -1378,14 +1387,14 @@ function kn(e, t, n) {
1378
1387
  }
1379
1388
  }
1380
1389
  const V = {
1381
- assertOptions: kn,
1382
- validators: Q
1390
+ assertOptions: Bn,
1391
+ validators: Y
1383
1392
  }, N = V.validators;
1384
1393
  let F = class {
1385
1394
  constructor(t) {
1386
- this.defaults = t, this.interceptors = {
1387
- request: new we(),
1388
- response: new we()
1395
+ this.defaults = t || {}, this.interceptors = {
1396
+ request: new Re(),
1397
+ response: new Re()
1389
1398
  };
1390
1399
  }
1391
1400
  /**
@@ -1438,7 +1447,7 @@ let F = class {
1438
1447
  (p) => {
1439
1448
  delete o[p];
1440
1449
  }
1441
- ), n.headers = O.concat(i, o);
1450
+ ), n.headers = x.concat(i, o);
1442
1451
  const c = [];
1443
1452
  let f = !0;
1444
1453
  this.interceptors.request.forEach(function(b) {
@@ -1450,7 +1459,7 @@ let F = class {
1450
1459
  });
1451
1460
  let l, d = 0, y;
1452
1461
  if (!f) {
1453
- const p = [xe.bind(this), void 0];
1462
+ const p = [Ce.bind(this), void 0];
1454
1463
  for (p.unshift.apply(p, c), p.push.apply(p, u), y = p.length, l = Promise.resolve(n); d < y; )
1455
1464
  l = l.then(p[d++], p[d++]);
1456
1465
  return l;
@@ -1467,7 +1476,7 @@ let F = class {
1467
1476
  }
1468
1477
  }
1469
1478
  try {
1470
- l = xe.call(this, g);
1479
+ l = Ce.call(this, g);
1471
1480
  } catch (p) {
1472
1481
  return Promise.reject(p);
1473
1482
  }
@@ -1477,8 +1486,8 @@ let F = class {
1477
1486
  }
1478
1487
  getUri(t) {
1479
1488
  t = P(this.defaults, t);
1480
- const n = We(t.baseURL, t.url, t.allowAbsoluteUrls);
1481
- return He(n, t.params, t.paramsSerializer);
1489
+ const n = Ke(t.baseURL, t.url, t.allowAbsoluteUrls);
1490
+ return ze(n, t.params, t.paramsSerializer);
1482
1491
  }
1483
1492
  };
1484
1493
  a.forEach(["delete", "get", "head", "options"], function(t) {
@@ -1505,7 +1514,7 @@ a.forEach(["post", "put", "patch"], function(t) {
1505
1514
  }
1506
1515
  F.prototype[t] = n(), F.prototype[t + "Form"] = n(!0);
1507
1516
  });
1508
- let Fn = class Ze {
1517
+ let Dn = class Ye {
1509
1518
  constructor(t) {
1510
1519
  if (typeof t != "function")
1511
1520
  throw new TypeError("executor must be a function.");
@@ -1571,22 +1580,22 @@ let Fn = class Ze {
1571
1580
  static source() {
1572
1581
  let t;
1573
1582
  return {
1574
- token: new Ze(function(s) {
1583
+ token: new Ye(function(s) {
1575
1584
  t = s;
1576
1585
  }),
1577
1586
  cancel: t
1578
1587
  };
1579
1588
  }
1580
1589
  };
1581
- function Pn(e) {
1590
+ function In(e) {
1582
1591
  return function(n) {
1583
1592
  return e.apply(null, n);
1584
1593
  };
1585
1594
  }
1586
- function Bn(e) {
1595
+ function jn(e) {
1587
1596
  return a.isObject(e) && e.isAxiosError === !0;
1588
1597
  }
1589
- const ce = {
1598
+ const ue = {
1590
1599
  Continue: 100,
1591
1600
  SwitchingProtocols: 101,
1592
1601
  Processing: 102,
@@ -1651,57 +1660,57 @@ const ce = {
1651
1660
  NotExtended: 510,
1652
1661
  NetworkAuthenticationRequired: 511
1653
1662
  };
1654
- Object.entries(ce).forEach(([e, t]) => {
1655
- ce[t] = e;
1663
+ Object.entries(ue).forEach(([e, t]) => {
1664
+ ue[t] = e;
1656
1665
  });
1657
- function Qe(e) {
1658
- const t = new F(e), n = Ue(F.prototype.request, t);
1666
+ function et(e) {
1667
+ const t = new F(e), n = Le(F.prototype.request, t);
1659
1668
  return a.extend(n, F.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
1660
- return Qe(P(e, s));
1669
+ return et(P(e, s));
1661
1670
  }, n;
1662
1671
  }
1663
- const R = Qe(H);
1672
+ const R = et(H);
1664
1673
  R.Axios = F;
1665
1674
  R.CanceledError = D;
1666
- R.CancelToken = Fn;
1667
- R.isCancel = ze;
1668
- R.VERSION = Xe;
1669
- R.toFormData = X;
1675
+ R.CancelToken = Dn;
1676
+ R.isCancel = We;
1677
+ R.VERSION = Qe;
1678
+ R.toFormData = Z;
1670
1679
  R.AxiosError = m;
1671
1680
  R.Cancel = R.CanceledError;
1672
1681
  R.all = function(t) {
1673
1682
  return Promise.all(t);
1674
1683
  };
1675
- R.spread = Pn;
1676
- R.isAxiosError = Bn;
1684
+ R.spread = In;
1685
+ R.isAxiosError = jn;
1677
1686
  R.mergeConfig = P;
1678
- R.AxiosHeaders = O;
1679
- R.formToJSON = (e) => $e(a.isHTMLForm(e) ? new FormData(e) : e);
1680
- R.getAdapter = Ge.getAdapter;
1681
- R.HttpStatusCode = ce;
1687
+ R.AxiosHeaders = x;
1688
+ R.formToJSON = (e) => Ve(a.isHTMLForm(e) ? new FormData(e) : e);
1689
+ R.getAdapter = Ze.getAdapter;
1690
+ R.HttpStatusCode = ue;
1682
1691
  R.default = R;
1683
1692
  const {
1684
- Axios: tr,
1685
- AxiosError: nr,
1686
- CanceledError: rr,
1687
- isCancel: sr,
1688
- CancelToken: or,
1689
- VERSION: ir,
1690
- all: ar,
1691
- Cancel: cr,
1692
- isAxiosError: ur,
1693
- spread: lr,
1694
- toFormData: fr,
1695
- AxiosHeaders: Dn,
1696
- HttpStatusCode: dr,
1697
- formToJSON: pr,
1698
- getAdapter: hr,
1699
- mergeConfig: mr
1693
+ Axios: sr,
1694
+ AxiosError: or,
1695
+ CanceledError: ir,
1696
+ isCancel: ar,
1697
+ CancelToken: cr,
1698
+ VERSION: ur,
1699
+ all: lr,
1700
+ Cancel: fr,
1701
+ isAxiosError: dr,
1702
+ spread: pr,
1703
+ toFormData: hr,
1704
+ AxiosHeaders: qn,
1705
+ HttpStatusCode: mr,
1706
+ formToJSON: yr,
1707
+ getAdapter: br,
1708
+ mergeConfig: wr
1700
1709
  } = R;
1701
- function In(e = {}) {
1710
+ function Hn(e = {}) {
1702
1711
  const t = e.axios || R;
1703
1712
  return (r, s) => {
1704
- let o = he, i = he;
1713
+ let o = me, i = me;
1705
1714
  const { config: c } = s, f = new AbortController(), { baseURL: u, timeout: l } = t.defaults, d = t({
1706
1715
  url: s.url,
1707
1716
  method: s.type,
@@ -1712,7 +1721,7 @@ function In(e = {}) {
1712
1721
  // `onUploadProgress` allows handling progress events for uploads
1713
1722
  onUploadProgress: process.env.NODE_ENV !== "test" ? (y) => {
1714
1723
  i(y.loaded, y.total || 1);
1715
- } : st,
1724
+ } : it,
1716
1725
  // `onDownloadProgress` allows handling progress events for downloads
1717
1726
  onDownloadProgress: (y) => {
1718
1727
  o(y.loaded, y.total || 1);
@@ -1721,7 +1730,7 @@ function In(e = {}) {
1721
1730
  });
1722
1731
  return {
1723
1732
  response: () => d,
1724
- headers: () => d.then((y) => (y == null ? void 0 : y.headers) || ot(Dn)),
1733
+ headers: () => d.then((y) => (y == null ? void 0 : y.headers) || at(qn)),
1725
1734
  abort: () => {
1726
1735
  f.abort();
1727
1736
  },
@@ -1734,40 +1743,40 @@ function In(e = {}) {
1734
1743
  };
1735
1744
  };
1736
1745
  }
1737
- var Ye = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 0] = "SUCCESS", e[e.ERROR = -1] = "ERROR", e[e.BUSINESS_ERROR = 4] = "BUSINESS_ERROR", e[e.ACCOUNT_LOCKED = 400001001] = "ACCOUNT_LOCKED", e[e.LOGINNAME_PASSWORD_WRONG = 400001002] = "LOGINNAME_PASSWORD_WRONG", e[e.ACCOUT_NOT_ENABLE = 400001003] = "ACCOUT_NOT_ENABLE", e[e.ACCESS_TOKEN_INVALID = 400001006] = "ACCESS_TOKEN_INVALID", e[e.LOGIN_TOKEN_INVALID = 400001004] = "LOGIN_TOKEN_INVALID", e[e.UNAUTHORIZED_ACCESS = 400001007] = "UNAUTHORIZED_ACCESS", e[e.CODE_OVERTIME = 400002001] = "CODE_OVERTIME", e[e.CODE_WRONG = 400002002] = "CODE_WRONG", e[e.CHANGE_INIT_PASSWORD = 400003001] = "CHANGE_INIT_PASSWORD", e[e.PASSWORD_EXPIRED = 400003002] = "PASSWORD_EXPIRED", e))(Ye || {});
1738
- function qn(e) {
1739
- const t = ue();
1746
+ var tt = /* @__PURE__ */ ((e) => (e[e.SUCCESS = 0] = "SUCCESS", e[e.ERROR = -1] = "ERROR", e[e.BUSINESS_ERROR = 4] = "BUSINESS_ERROR", e[e.ACCOUNT_LOCKED = 400001001] = "ACCOUNT_LOCKED", e[e.LOGINNAME_PASSWORD_WRONG = 400001002] = "LOGINNAME_PASSWORD_WRONG", e[e.ACCOUT_NOT_ENABLE = 400001003] = "ACCOUT_NOT_ENABLE", e[e.ACCESS_TOKEN_INVALID = 400001006] = "ACCESS_TOKEN_INVALID", e[e.LOGIN_TOKEN_INVALID = 400001004] = "LOGIN_TOKEN_INVALID", e[e.UNAUTHORIZED_ACCESS = 400001007] = "UNAUTHORIZED_ACCESS", e[e.CODE_OVERTIME = 400002001] = "CODE_OVERTIME", e[e.CODE_WRONG = 400002002] = "CODE_WRONG", e[e.CHANGE_INIT_PASSWORD = 400003001] = "CHANGE_INIT_PASSWORD", e[e.PASSWORD_EXPIRED = 400003002] = "PASSWORD_EXPIRED", e))(tt || {});
1747
+ function Mn(e) {
1748
+ const t = le();
1740
1749
  t.isLogin && (e.config.headers.Authorization = t.user.token);
1741
1750
  }
1742
- function jn(e) {
1743
- const t = Ne();
1751
+ function zn(e) {
1752
+ const t = Ue();
1744
1753
  e.config.headers["Accept-Language"] = t.settings.app.defaultLang;
1745
1754
  }
1746
- function Hn(e) {
1747
- const t = Ne();
1755
+ function $n(e) {
1756
+ const t = Ue();
1748
1757
  e.config.headers["X-ResourceMark"] = e.config.headers["X-ResourceMark"] || t.auth;
1749
1758
  }
1750
- function Mn() {
1751
- const e = ue(), t = rt({ refreshToken: e.user.refreshToken });
1759
+ function Vn() {
1760
+ const e = le(), t = ot({ refreshToken: e.user.refreshToken });
1752
1761
  return t.meta = {
1753
1762
  authRole: "refreshToken"
1754
1763
  }, t;
1755
1764
  }
1756
- function $n(e) {
1757
- return e === Ye.ACCESS_TOKEN_INVALID;
1765
+ function Wn(e) {
1766
+ return e === tt.ACCESS_TOKEN_INVALID;
1758
1767
  }
1759
- function zn(e, t) {
1760
- const n = ue();
1768
+ function Jn(e, t) {
1769
+ const n = le();
1761
1770
  n.user.token = e, n.user.refreshToken = t;
1762
1771
  }
1763
- function Vn() {
1764
- return tt({
1772
+ function Kn() {
1773
+ return rt({
1765
1774
  /**
1766
1775
  * @description
1767
1776
  * 给权限接口添加Authorization
1768
1777
  */
1769
1778
  assignToken: (e) => {
1770
- qn(e);
1779
+ Mn(e);
1771
1780
  },
1772
1781
  /**
1773
1782
  * @description
@@ -1779,33 +1788,33 @@ function Vn() {
1779
1788
  * 检测token是否过期
1780
1789
  * @returns 是否token过期
1781
1790
  */
1782
- isExpired: (e) => $n(e.data.code),
1791
+ isExpired: (e) => Wn(e.data.code),
1783
1792
  /**
1784
1793
  * @description
1785
1794
  * 当token过期时触发,在此函数中触发刷新token
1786
1795
  */
1787
1796
  handler: async () => {
1788
- const e = await Mn(), { accessToken: t, refreshToken: n } = e.data;
1789
- zn(t, n);
1797
+ const e = await Vn(), { accessToken: t, refreshToken: n } = e.data;
1798
+ Jn(t, n);
1790
1799
  }
1791
1800
  }
1792
1801
  });
1793
1802
  }
1794
- const { onAuthRequired: Wn, onResponseRefreshToken: Jn } = Vn();
1795
- function yr(e) {
1803
+ const { onAuthRequired: vn, onResponseRefreshToken: Gn } = Kn();
1804
+ function Rr(e) {
1796
1805
  const { axios: t, beforeRequest: n, responded: r } = e;
1797
- return et({
1798
- statesHook: nt,
1799
- requestAdapter: In(t),
1806
+ return nt({
1807
+ statesHook: st,
1808
+ requestAdapter: Hn(t),
1800
1809
  cacheFor: null,
1801
1810
  timeout: 60 * 1e3,
1802
1811
  ...e,
1803
- beforeRequest: Wn((o) => (Hn(o), jn(o), n == null ? void 0 : n(o))),
1804
- responded: Jn(r)
1812
+ beforeRequest: vn((o) => ($n(o), zn(o), n == null ? void 0 : n(o))),
1813
+ responded: Gn(r)
1805
1814
  });
1806
1815
  }
1807
1816
  export {
1808
- Ye as RESPONSE_CODE,
1809
- yr as createRequest,
1810
- Vn as createTokenAuthentication
1817
+ tt as RESPONSE_CODE,
1818
+ Rr as createRequest,
1819
+ Kn as createTokenAuthentication
1811
1820
  };