@pubinfo/core 2.0.0-beta.2 → 2.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/{es/AppSetting-BXQHV5F8.js → dist/AppSetting-DodCOb_z.js} +16 -16
  2. package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js} +2 -2
  3. package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-Dic24ifo.js} +56 -56
  4. package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-DWpbGcSy.js} +2 -2
  5. package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-CIY0pFMT.js} +1 -1
  6. package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-f0xuLIrZ.js} +1 -1
  7. package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-BFtJsJsN.js} +1 -1
  8. package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-DuPD3iSG.js} +2 -2
  9. package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-nZ65qSWK.js} +1 -1
  10. package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-CrarPE7d.js} +1 -1
  11. package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-BddvExCF.js} +1 -1
  12. package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-C6Na8HEN.js} +1 -1
  13. package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-nuwfRRaE.js} +2 -2
  14. package/{es/SettingThemes-D_DpEncn.js → dist/SettingThemes-DBq6j0zt.js} +2 -2
  15. package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-BdizZaGF.js} +1 -1
  16. package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-D5BX5vS_.js} +2 -2
  17. package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-CHrLW3gs.js} +1 -1
  18. package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-CttqTmaT.js} +1 -1
  19. package/{es/_...all_-DI_QAUox.js → dist/_...all_--d4S-8dL.js} +1 -1
  20. package/{es → dist}/api/index.d.ts +2 -1
  21. package/{es/colors-oRlAXMUC.js → dist/colors-BOKDjZQI.js} +1 -1
  22. package/{lib → dist}/components/PubinfoProvider/index.d.ts +1 -0
  23. package/{lib → dist}/composables/auth.d.ts +1 -1
  24. package/{es → dist}/context.d.ts +1 -1
  25. package/{es/index-ChOUZNbk.js → dist/index-B0i20hau.js} +2 -2
  26. package/{es/index-D8eeneI_.js → dist/index-Bz9lh14R.js} +25 -25
  27. package/{es/index-BHkrq701.js → dist/index-CC3GE307.js} +30 -30
  28. package/{es/index-BvVAS3S-.js → dist/index-Cf8yM5Cv.js} +14 -8
  29. package/{es/index-P2cA5UeU.js → dist/index-Cygbc-66.js} +30 -30
  30. package/{es/index-DvHnVMX5.js → dist/index-D0CMv5FJ.js} +5543 -5719
  31. package/{es/index-B9I6Pru6.js → dist/index-DORROKh7.js} +57 -62
  32. package/{es/index-Dav3jQVP.js → dist/index-DltN2SCZ.js} +31 -31
  33. package/{es/index-BkqnOkyO.js → dist/index-dPREgrj8.js} +1 -1
  34. package/{es → dist}/index.d.ts +1 -0
  35. package/dist/index.js +76 -0
  36. 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-Bmtn9Oo4.js} +1 -1
  37. package/{lib → dist}/interface.d.ts +11 -0
  38. package/{es → dist}/layout/composables/useContext.d.ts +1 -2
  39. package/{lib → dist}/layout/ui-kit/HDialog.vue.d.ts +12 -1
  40. package/{lib → dist}/layout/ui-kit/HSlideover.vue.d.ts +12 -1
  41. package/{es → dist}/layout/ui-kit/HTabList.vue.d.ts +2 -2
  42. package/{es/notification-6D5hA7Bp.js → dist/menu-Ddxel9ck.js} +3007 -3037
  43. package/{es/pick-Br-UKn7B.js → dist/pick-DEgsMKda.js} +1 -1
  44. package/{es → dist}/request.js +1 -1
  45. package/{es → dist}/route/index.d.ts +0 -1
  46. package/dist/route/routes.d.ts +22 -0
  47. package/{lib → dist}/stores/modules/favorites.d.ts +1 -0
  48. package/{es → dist}/stores/modules/iframe.d.ts +1 -0
  49. package/{es → dist}/stores/modules/index.d.ts +8 -1
  50. package/{es → dist}/stores/modules/keepAlive.d.ts +1 -0
  51. package/{es → dist}/stores/modules/menu.d.ts +1 -0
  52. package/{es → dist}/stores/modules/route.d.ts +1 -0
  53. package/{lib → dist}/stores/modules/settings.d.ts +1 -0
  54. package/{lib → dist}/stores/modules/tabbar.d.ts +1 -0
  55. package/dist/stores/modules/user.d.ts +36 -0
  56. package/{es → dist}/style.css +1 -1
  57. package/package.json +22 -28
  58. package/src/api/index.ts +3 -1
  59. package/src/components/PubinfoProvider/index.ts +2 -0
  60. package/src/composables/auth.ts +1 -1
  61. package/src/context.ts +1 -2
  62. package/src/index.ts +1 -0
  63. package/src/interface.ts +11 -0
  64. package/src/layout/components/Header/TopMode/index.vue +12 -16
  65. package/src/layout/components/SettingBar/index.vue +3 -1
  66. package/src/layout/components/Tools/index.vue +9 -25
  67. package/src/layout/composables/useContext.ts +0 -2
  68. package/src/layout/composables/useWatermark.ts +2 -2
  69. package/src/layout/provider.ts +0 -3
  70. package/src/layout/ui-kit/HDialog.vue +4 -1
  71. package/src/layout/ui-kit/HSlideover.vue +4 -1
  72. package/src/pages/system/change-organization/index.vue +3 -3
  73. package/src/route/index.ts +0 -1
  74. package/src/route/routes.ts +69 -55
  75. package/src/stores/helper.ts +2 -2
  76. package/src/stores/modules/favorites.ts +1 -0
  77. package/src/stores/modules/iframe.ts +1 -0
  78. package/src/stores/modules/index.ts +8 -1
  79. package/src/stores/modules/keepAlive.ts +1 -0
  80. package/src/stores/modules/menu.ts +25 -1
  81. package/src/stores/modules/route.ts +4 -3
  82. package/src/stores/modules/settings.ts +1 -0
  83. package/src/stores/modules/tabbar.ts +1 -0
  84. package/src/stores/modules/user.ts +56 -20
  85. package/src/stores/plugin/sideEffect/favoritesStorage.ts +1 -1
  86. package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
  87. package/src/utils/watermark.ts +1 -1
  88. package/es/components/PubinfoProvider/index.d.ts +0 -8
  89. package/es/composables/auth.d.ts +0 -8
  90. package/es/index-DTQQt_XY.js +0 -10
  91. package/es/index.js +0 -76
  92. package/es/interface.d.ts +0 -29
  93. package/es/layout/ui-kit/HDialog.vue.d.ts +0 -28
  94. package/es/layout/ui-kit/HSlideover.vue.d.ts +0 -30
  95. package/es/pages/system/not-permission/index.vue.d.ts +0 -2
  96. package/es/route/async.d.ts +0 -9
  97. package/es/route/routes.d.ts +0 -3
  98. package/es/stores/modules/favorites.d.ts +0 -32
  99. package/es/stores/modules/notification.d.ts +0 -18
  100. package/es/stores/modules/settings.d.ts +0 -85
  101. package/es/stores/modules/tabbar.d.ts +0 -59
  102. package/es/stores/modules/user.d.ts +0 -3
  103. package/lib/AppSetting-CCiwpjoq.cjs +0 -1
  104. package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +0 -1
  105. package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +0 -1
  106. package/lib/HDivider-DCfDgE8l.cjs +0 -1
  107. package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +0 -1
  108. package/lib/HToggle-BP6YYf-s.cjs +0 -1
  109. package/lib/PreferencesContent-DgL-Jc_J.cjs +0 -3
  110. package/lib/SettingBreadcrumb-BQ78yEP4.cjs +0 -1
  111. package/lib/SettingCopyright-x7aPlkQy.cjs +0 -1
  112. package/lib/SettingEnableTransition-CD3-44Iy.cjs +0 -1
  113. package/lib/SettingHome-u52oz6i8.cjs +0 -1
  114. package/lib/SettingMenu-DsElOvvv.cjs +0 -1
  115. package/lib/SettingMode-C_kgpTxw.cjs +0 -1
  116. package/lib/SettingNavSearch-3auTi8UW.cjs +0 -1
  117. package/lib/SettingOther-6XGQq7OA.cjs +0 -1
  118. package/lib/SettingPage-C8yIHpLc.cjs +0 -1
  119. package/lib/SettingTabbar-K-nHb89z.cjs +0 -1
  120. package/lib/SettingThemes-BeNwFz7K.cjs +0 -1
  121. package/lib/SettingToolbar-Be1V7lwV.cjs +0 -1
  122. package/lib/SettingTopbar-C-j8O3c8.cjs +0 -1
  123. package/lib/SettingWidthMode-GMjAF-s3.cjs +0 -1
  124. package/lib/TopThinMode-DGUvyHT2.cjs +0 -1
  125. package/lib/_...all_-C4CXjAo9.cjs +0 -1
  126. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  127. package/lib/api/enum/code.d.ts +0 -67
  128. package/lib/api/helper.d.ts +0 -32
  129. package/lib/api/index.d.ts +0 -12
  130. package/lib/api/interface.d.ts +0 -14
  131. package/lib/api/modules/auth/index.d.ts +0 -1
  132. package/lib/api/modules/auth/renzhengfuwu.d.ts +0 -50
  133. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  134. package/lib/api/modules/configData/index.d.ts +0 -3
  135. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  136. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -71
  137. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -43
  138. package/lib/api/modules/rbac/index.d.ts +0 -11
  139. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  140. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  141. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  142. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -106
  143. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  144. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  145. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  146. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  147. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  148. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  149. package/lib/api/request.d.ts +0 -2
  150. package/lib/api/system/app.d.ts +0 -17
  151. package/lib/api/system/user.d.ts +0 -24
  152. package/lib/assets/styles/index.d.ts +0 -6
  153. package/lib/colors-KAaBT84S.cjs +0 -1
  154. package/lib/components/NotAllowed/index.vue.d.ts +0 -2
  155. package/lib/components/PageHeader/index.vue.d.ts +0 -23
  156. package/lib/components/PageMain/index.vue.d.ts +0 -27
  157. package/lib/components/PassStrengthValidator/index.vue.d.ts +0 -26
  158. package/lib/components/PassStrengthValidator/rule.vue.d.ts +0 -8
  159. package/lib/components/PubinfoApp/index.vue.d.ts +0 -2
  160. package/lib/components/PubinfoIcon/index.vue.d.ts +0 -10
  161. package/lib/components/index.d.ts +0 -8
  162. package/lib/composables/index.d.ts +0 -4
  163. package/lib/composables/log.d.ts +0 -6
  164. package/lib/composables/theme.d.ts +0 -3
  165. package/lib/composables/watchDiff.d.ts +0 -2
  166. package/lib/config/index.d.ts +0 -1
  167. package/lib/config/settings.d.ts +0 -3
  168. package/lib/context.d.ts +0 -14
  169. package/lib/create.d.ts +0 -3
  170. package/lib/directives/index.d.ts +0 -4
  171. package/lib/directives/plugins/permission.d.ts +0 -6
  172. package/lib/index-38bsQrho.cjs +0 -1
  173. package/lib/index-BEqD62a0.cjs +0 -1
  174. package/lib/index-Bbm9CQRP.cjs +0 -1
  175. package/lib/index-BqHsuJkr.cjs +0 -1
  176. package/lib/index-JZl6Zh3L.cjs +0 -44
  177. package/lib/index-VGR0Mt4q.cjs +0 -240
  178. package/lib/index-WMo0GAa6.cjs +0 -1
  179. package/lib/index-_YsHduAE.cjs +0 -1
  180. package/lib/index-gr8kFwPx.cjs +0 -18
  181. package/lib/index-zvGq9tSu.cjs +0 -1
  182. package/lib/index.cjs +0 -1
  183. package/lib/index.d.ts +0 -11
  184. package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +0 -1
  185. package/lib/layout/Layout.vue.d.ts +0 -20
  186. package/lib/layout/components/BackTop/index.vue.d.ts +0 -2
  187. package/lib/layout/components/Content/IframeView.vue.d.ts +0 -4
  188. package/lib/layout/components/Content/LinkView.vue.d.ts +0 -2
  189. package/lib/layout/components/Content/index.vue.d.ts +0 -2
  190. package/lib/layout/components/Copyright/index.vue.d.ts +0 -2
  191. package/lib/layout/components/Header/TopMode/More.vue.d.ts +0 -26
  192. package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -25
  193. package/lib/layout/components/Header/TopMode/index.vue.d.ts +0 -4
  194. package/lib/layout/components/Header/TopThinMode.vue.d.ts +0 -4
  195. package/lib/layout/components/Header/index.vue.d.ts +0 -19
  196. package/lib/layout/components/Logo/index.vue.d.ts +0 -26
  197. package/lib/layout/components/Menu/index.vue.d.ts +0 -10
  198. package/lib/layout/components/Menu/item.vue.d.ts +0 -11
  199. package/lib/layout/components/Menu/sub.vue.d.ts +0 -219
  200. package/lib/layout/components/Menu/types.d.ts +0 -42
  201. package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +0 -12
  202. package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -9
  203. package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -2
  204. package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -2
  205. package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -2
  206. package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -2
  207. package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -2
  208. package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -2
  209. package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -2
  210. package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -2
  211. package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -2
  212. package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -2
  213. package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -2
  214. package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -2
  215. package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -2
  216. package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -2
  217. package/lib/layout/components/SettingBar/index.vue.d.ts +0 -2
  218. package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -2
  219. package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -2
  220. package/lib/layout/components/Sidebar/index.vue.d.ts +0 -2
  221. package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -17
  222. package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -25
  223. package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -2
  224. package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -4
  225. package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -2
  226. package/lib/layout/components/Tools/Preferences/index.vue.d.ts +0 -4
  227. package/lib/layout/components/Tools/Search.vue.d.ts +0 -199
  228. package/lib/layout/components/Tools/index.vue.d.ts +0 -233
  229. package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  230. package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -14
  231. package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -4
  232. package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -2
  233. package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -2
  234. package/lib/layout/components/Topbar/index.vue.d.ts +0 -2
  235. package/lib/layout/composables/useContext.d.ts +0 -18
  236. package/lib/layout/composables/useGetComputedStyle.d.ts +0 -15
  237. package/lib/layout/composables/useHotkey.d.ts +0 -5
  238. package/lib/layout/composables/useMainPage.d.ts +0 -14
  239. package/lib/layout/composables/useMenu.d.ts +0 -8
  240. package/lib/layout/composables/useTabbar.d.ts +0 -14
  241. package/lib/layout/composables/useTitle.d.ts +0 -3
  242. package/lib/layout/composables/useViewTransition.d.ts +0 -3
  243. package/lib/layout/composables/useWatermark.d.ts +0 -4
  244. package/lib/layout/index.d.ts +0 -19
  245. package/lib/layout/provider.d.ts +0 -1
  246. package/lib/layout/ui-kit/HBadge.vue.d.ts +0 -20
  247. package/lib/layout/ui-kit/HButton.vue.d.ts +0 -26
  248. package/lib/layout/ui-kit/HCheckList.vue.d.ts +0 -20
  249. package/lib/layout/ui-kit/HDivider.vue.d.ts +0 -20
  250. package/lib/layout/ui-kit/HDropdown.vue.d.ts +0 -18
  251. package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -26
  252. package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +0 -32
  253. package/lib/layout/ui-kit/HInput.vue.d.ts +0 -17
  254. package/lib/layout/ui-kit/HKbd.vue.d.ts +0 -17
  255. package/lib/layout/ui-kit/HSelect.vue.d.ts +0 -17
  256. package/lib/layout/ui-kit/HTabList.vue.d.ts +0 -22
  257. package/lib/layout/ui-kit/HToggle.vue.d.ts +0 -14
  258. package/lib/layout/ui-kit/HTooltip.vue.d.ts +0 -23
  259. package/lib/locales/index.d.ts +0 -301
  260. package/lib/locales/lang/en.json.d.ts +0 -99
  261. package/lib/locales/lang/zh-cn.json.d.ts +0 -100
  262. package/lib/locales/lang/zh-tw.json.d.ts +0 -100
  263. package/lib/locales/ui.d.ts +0 -3
  264. package/lib/modules.d.ts +0 -11
  265. package/lib/notification-IZqPm_OK.cjs +0 -199
  266. package/lib/pages/personal/profile/index.vue.d.ts +0 -2
  267. package/lib/pages/system/[...all].vue.d.ts +0 -2
  268. package/lib/pages/system/change-organization/index.vue.d.ts +0 -2
  269. package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -18
  270. package/lib/pages/system/change-password/index.vue.d.ts +0 -31
  271. package/lib/pages/system/index.vue.d.ts +0 -2
  272. package/lib/pages/system/not-permission/index.vue.d.ts +0 -2
  273. package/lib/pages/system/reload.vue.d.ts +0 -2
  274. package/lib/pick-y2yLda1R.cjs +0 -1
  275. package/lib/question-line-Cd0CU4hr.cjs +0 -1
  276. package/lib/reload-6L7Dzs7h.cjs +0 -1
  277. package/lib/request.cjs +0 -6
  278. package/lib/right-C5JQ_uRB.cjs +0 -1
  279. package/lib/route/async.d.ts +0 -9
  280. package/lib/route/guard/auth.d.ts +0 -3
  281. package/lib/route/guard/basic.d.ts +0 -3
  282. package/lib/route/guard/index.d.ts +0 -3
  283. package/lib/route/guard/setting.d.ts +0 -3
  284. package/lib/route/index.d.ts +0 -7
  285. package/lib/route/routes.d.ts +0 -3
  286. package/lib/stores/enum/index.d.ts +0 -20
  287. package/lib/stores/helper.d.ts +0 -2
  288. package/lib/stores/index.d.ts +0 -5
  289. package/lib/stores/modules/iframe.d.ts +0 -41
  290. package/lib/stores/modules/index.d.ts +0 -9
  291. package/lib/stores/modules/keepAlive.d.ts +0 -23
  292. package/lib/stores/modules/menu.d.ts +0 -32
  293. package/lib/stores/modules/notification.d.ts +0 -18
  294. package/lib/stores/modules/route.d.ts +0 -42
  295. package/lib/stores/modules/user.d.ts +0 -3
  296. package/lib/stores/plugin/persist.d.ts +0 -5
  297. package/lib/stores/plugin/sideEffect/cleanup.d.ts +0 -5
  298. package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -5
  299. package/lib/stores/plugin/sideEffect/iframeCache.d.ts +0 -5
  300. package/lib/stores/plugin/sideEffect/index.d.ts +0 -5
  301. package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -5
  302. package/lib/style.css +0 -9
  303. package/lib/utils/cleanup.d.ts +0 -8
  304. package/lib/utils/crypto.d.ts +0 -4
  305. package/lib/utils/eventBus.d.ts +0 -5
  306. package/lib/utils/index.d.ts +0 -14
  307. package/lib/utils/injectionKeys.d.ts +0 -2
  308. package/lib/utils/storage.d.ts +0 -21
  309. package/lib/utils/utils.d.ts +0 -3
  310. package/lib/utils/watermark.d.ts +0 -51
  311. package/src/assets/icons/add-child.svg +0 -1
  312. package/src/assets/icons/authority.svg +0 -1
  313. package/src/assets/icons/authorize.svg +0 -1
  314. package/src/assets/icons/blacklist-disable.svg +0 -1
  315. package/src/assets/icons/blacklist-enable.svg +0 -1
  316. package/src/assets/icons/browser-360.svg +0 -1
  317. package/src/assets/icons/browser-chrome.svg +0 -1
  318. package/src/assets/icons/browser-edge.svg +0 -1
  319. package/src/assets/icons/browser-ie.svg +0 -1
  320. package/src/assets/icons/browser-other.svg +0 -1
  321. package/src/assets/icons/browser-qq.svg +0 -1
  322. package/src/assets/icons/browser-safari.svg +0 -1
  323. package/src/assets/icons/browser-uc.svg +0 -1
  324. package/src/assets/icons/edit.svg +0 -1
  325. package/src/assets/icons/empty-data.svg +0 -1
  326. package/src/assets/icons/icard.svg +0 -1
  327. package/src/assets/icons/icon_animation.svg +0 -1
  328. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  329. package/src/assets/icons/icon_copyright.svg +0 -1
  330. package/src/assets/icons/icon_jt.svg +0 -1
  331. package/src/assets/icons/icon_layout.svg +0 -1
  332. package/src/assets/icons/icon_mainpage.svg +0 -1
  333. package/src/assets/icons/icon_menu.svg +0 -1
  334. package/src/assets/icons/icon_page_size.svg +0 -1
  335. package/src/assets/icons/icon_position_type.svg +0 -1
  336. package/src/assets/icons/icon_safe_manage.svg +0 -1
  337. package/src/assets/icons/icon_screen_scale.svg +0 -6
  338. package/src/assets/icons/icon_system_manage.svg +0 -1
  339. package/src/assets/icons/icon_tabbar.svg +0 -1
  340. package/src/assets/icons/icon_toolbar.svg +0 -1
  341. package/src/assets/icons/icon_topbar.svg +0 -1
  342. package/src/assets/icons/icon_watermark.svg +0 -1
  343. package/src/assets/icons/image-load-fail.svg +0 -1
  344. package/src/assets/icons/log-center.svg +0 -1
  345. package/src/assets/icons/logo-sig.svg +0 -1
  346. package/src/assets/icons/not-data.svg +0 -1
  347. package/src/assets/icons/org-main.svg +0 -1
  348. package/src/assets/icons/org-unmain.svg +0 -1
  349. package/src/assets/icons/process-management.svg +0 -1
  350. package/src/assets/icons/project-management.svg +0 -1
  351. package/src/assets/icons/rbac.svg +0 -1
  352. package/src/assets/icons/remove.svg +0 -1
  353. package/src/assets/icons/resource-app.svg +0 -1
  354. package/src/assets/icons/resource-btn.svg +0 -1
  355. package/src/assets/icons/resource-index.svg +0 -1
  356. package/src/assets/icons/resource-menu.svg +0 -1
  357. package/src/assets/icons/resource-nonmenu.svg +0 -1
  358. package/src/assets/icons/setting-manage.svg +0 -1
  359. package/src/assets/icons/test.svg +0 -1
  360. package/src/assets/icons/theme-check-mark.svg +0 -1
  361. package/src/assets/icons/theme-title.svg +0 -1
  362. package/src/assets/icons/tree_icon.svg +0 -1
  363. package/src/assets/icons/tree_icon_checked.svg +0 -1
  364. package/src/assets/icons/view.svg +0 -1
  365. package/src/assets/icons/workbench.svg +0 -1
  366. package/src/assets/icons/zddata.svg +0 -1
  367. package/src/assets/icons/zy_checked.svg +0 -1
  368. package/src/assets/icons/zy_default.svg +0 -1
  369. package/src/assets/images/layout/item1.webp +0 -0
  370. package/src/assets/images/layout/item1_dark.webp +0 -0
  371. package/src/assets/images/layout/item2.webp +0 -0
  372. package/src/assets/images/layout/item2_dark.webp +0 -0
  373. package/src/assets/images/layout/item3.webp +0 -0
  374. package/src/assets/images/layout/item3_dark.webp +0 -0
  375. package/src/assets/images/layout/item4.webp +0 -0
  376. package/src/assets/images/layout/item4_dark.webp +0 -0
  377. package/src/assets/images/layout/item5.webp +0 -0
  378. package/src/assets/images/layout/item5_dark.webp +0 -0
  379. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  380. package/src/assets/images/page-width/auto.webp +0 -0
  381. package/src/assets/images/page-width/auto_dark.webp +0 -0
  382. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  383. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  384. package/src/assets/images/page-width/icon_auto.webp +0 -0
  385. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  386. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  387. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  388. package/src/assets/images/page-width/icon_middle.webp +0 -0
  389. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  390. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  391. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  392. package/src/assets/images/page-width/middle.webp +0 -0
  393. package/src/assets/images/page-width/middle_dark.webp +0 -0
  394. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  395. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  396. package/src/layout/components/Tools/Notification.vue +0 -152
  397. package/src/pages/personal/notification.vue +0 -58
  398. package/src/pages/system/index.vue +0 -5
  399. package/src/route/async.ts +0 -18
  400. package/src/stores/modules/notification.ts +0 -34
  401. package/{es → dist}/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -0
  402. package/{es → dist}/HDivider-DgXBhPr0.js +0 -0
  403. package/{es → dist}/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -0
  404. package/{es → dist}/HToggle-Cd71WKvG.js +0 -0
  405. package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  406. package/{es → dist}/api/enum/code.d.ts +0 -0
  407. package/{es → dist}/api/helper.d.ts +0 -0
  408. package/{es → dist}/api/interface.d.ts +0 -0
  409. package/{es → dist}/api/modules/auth/index.d.ts +0 -0
  410. package/{es → dist}/api/modules/auth/renzhengfuwu.d.ts +0 -0
  411. package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  412. package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  413. package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  414. package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  415. package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  416. package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  417. package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  418. package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  419. package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  420. package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  421. package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  422. package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  423. package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  424. package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  425. package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  426. package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  427. package/{es → dist}/api/request.d.ts +0 -0
  428. package/{es → dist}/api/system/app.d.ts +0 -0
  429. package/{es → dist}/api/system/user.d.ts +0 -0
  430. package/{es → dist}/assets/styles/index.d.ts +0 -0
  431. package/{es → dist}/components/NotAllowed/index.vue.d.ts +0 -0
  432. package/{es → dist}/components/PageHeader/index.vue.d.ts +0 -0
  433. package/{es → dist}/components/PageMain/index.vue.d.ts +0 -0
  434. package/{es → dist}/components/PassStrengthValidator/index.vue.d.ts +2 -2
  435. package/{es → dist}/components/PassStrengthValidator/rule.vue.d.ts +0 -0
  436. package/{es → dist}/components/PubinfoApp/index.vue.d.ts +0 -0
  437. package/{es → dist}/components/PubinfoIcon/index.vue.d.ts +0 -0
  438. package/{es → dist}/components/index.d.ts +0 -0
  439. package/{es → dist}/composables/index.d.ts +0 -0
  440. package/{es → dist}/composables/log.d.ts +0 -0
  441. package/{es → dist}/composables/theme.d.ts +0 -0
  442. package/{es → dist}/composables/watchDiff.d.ts +0 -0
  443. package/{es → dist}/config/index.d.ts +0 -0
  444. package/{es → dist}/config/settings.d.ts +0 -0
  445. package/{es → dist}/create.d.ts +0 -0
  446. package/{es → dist}/directives/index.d.ts +0 -0
  447. package/{es → dist}/directives/plugins/permission.d.ts +0 -0
  448. package/{es → dist}/layout/Layout.vue.d.ts +0 -0
  449. package/{es → dist}/layout/components/BackTop/index.vue.d.ts +0 -0
  450. package/{es → dist}/layout/components/Content/IframeView.vue.d.ts +0 -0
  451. package/{es → dist}/layout/components/Content/LinkView.vue.d.ts +0 -0
  452. package/{es → dist}/layout/components/Content/index.vue.d.ts +0 -0
  453. package/{es → dist}/layout/components/Copyright/index.vue.d.ts +0 -0
  454. package/{es → dist}/layout/components/Header/TopMode/More.vue.d.ts +0 -0
  455. package/{es → dist}/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -0
  456. package/{es → dist}/layout/components/Header/TopMode/index.vue.d.ts +0 -0
  457. package/{es → dist}/layout/components/Header/TopThinMode.vue.d.ts +0 -0
  458. package/{es → dist}/layout/components/Header/index.vue.d.ts +0 -0
  459. package/{es → dist}/layout/components/Logo/index.vue.d.ts +0 -0
  460. package/{es → dist}/layout/components/Menu/index.vue.d.ts +0 -0
  461. package/{es → dist}/layout/components/Menu/item.vue.d.ts +0 -0
  462. package/{es → dist}/layout/components/Menu/sub.vue.d.ts +0 -0
  463. package/{es → dist}/layout/components/Menu/types.d.ts +0 -0
  464. package/{es → dist}/layout/components/SettingBar/AppSetting.vue.d.ts +0 -0
  465. package/{es → dist}/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  466. package/{es → dist}/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  467. package/{es → dist}/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  468. package/{es → dist}/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  469. package/{es → dist}/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  470. package/{es → dist}/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  471. package/{es → dist}/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  472. package/{es → dist}/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  473. package/{es → dist}/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  474. package/{es → dist}/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  475. package/{es → dist}/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  476. package/{es → dist}/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  477. package/{es → dist}/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  478. package/{es → dist}/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  479. package/{es → dist}/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  480. package/{es → dist}/layout/components/SettingBar/index.vue.d.ts +0 -0
  481. package/{es → dist}/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  482. package/{es → dist}/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  483. package/{es → dist}/layout/components/Sidebar/index.vue.d.ts +0 -0
  484. package/{es → dist}/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  485. package/{es → dist}/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  486. package/{es → dist}/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  487. package/{es → dist}/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  488. package/{es → dist}/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  489. package/{es → dist}/layout/components/Tools/Preferences/index.vue.d.ts +0 -0
  490. package/{es → dist}/layout/components/Tools/Search.vue.d.ts +0 -0
  491. package/{es → dist}/layout/components/Tools/index.vue.d.ts +0 -0
  492. package/{es → dist}/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -0
  493. package/{es → dist}/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  494. package/{es → dist}/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  495. package/{es → dist}/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  496. package/{es → dist}/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -0
  497. package/{es → dist}/layout/components/Topbar/index.vue.d.ts +0 -0
  498. package/{es → dist}/layout/composables/useGetComputedStyle.d.ts +0 -0
  499. package/{es → dist}/layout/composables/useHotkey.d.ts +0 -0
  500. package/{es → dist}/layout/composables/useMainPage.d.ts +0 -0
  501. package/{es → dist}/layout/composables/useMenu.d.ts +0 -0
  502. package/{es → dist}/layout/composables/useTabbar.d.ts +0 -0
  503. package/{es → dist}/layout/composables/useTitle.d.ts +0 -0
  504. package/{es → dist}/layout/composables/useViewTransition.d.ts +0 -0
  505. package/{es → dist}/layout/composables/useWatermark.d.ts +0 -0
  506. package/{es → dist}/layout/index.d.ts +0 -0
  507. package/{es → dist}/layout/provider.d.ts +0 -0
  508. package/{es → dist}/layout/ui-kit/HBadge.vue.d.ts +0 -0
  509. package/{es → dist}/layout/ui-kit/HButton.vue.d.ts +0 -0
  510. package/{es → dist}/layout/ui-kit/HCheckList.vue.d.ts +2 -2
  511. /package/{es → dist}/layout/ui-kit/HDivider.vue.d.ts +0 -0
  512. /package/{es → dist}/layout/ui-kit/HDropdown.vue.d.ts +0 -0
  513. /package/{es → dist}/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -0
  514. /package/{es → dist}/layout/ui-kit/HDropdownTree.vue.d.ts +0 -0
  515. /package/{es → dist}/layout/ui-kit/HInput.vue.d.ts +0 -0
  516. /package/{es → dist}/layout/ui-kit/HKbd.vue.d.ts +0 -0
  517. /package/{es → dist}/layout/ui-kit/HSelect.vue.d.ts +0 -0
  518. /package/{es → dist}/layout/ui-kit/HToggle.vue.d.ts +0 -0
  519. /package/{es → dist}/layout/ui-kit/HTooltip.vue.d.ts +0 -0
  520. /package/{es → dist}/locales/index.d.ts +0 -0
  521. /package/{es → dist}/locales/lang/en.json.d.ts +0 -0
  522. /package/{es → dist}/locales/lang/zh-cn.json.d.ts +0 -0
  523. /package/{es → dist}/locales/lang/zh-tw.json.d.ts +0 -0
  524. /package/{es → dist}/locales/ui.d.ts +0 -0
  525. /package/{es → dist}/modules.d.ts +0 -0
  526. /package/{es → dist}/pages/personal/profile/index.vue.d.ts +0 -0
  527. /package/{es → dist}/pages/system/[...all].vue.d.ts +0 -0
  528. /package/{es → dist}/pages/system/change-organization/index.vue.d.ts +0 -0
  529. /package/{es → dist}/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  530. /package/{es → dist}/pages/system/change-password/index.vue.d.ts +0 -0
  531. /package/{es/pages/system → dist/pages/system/not-permission}/index.vue.d.ts +0 -0
  532. /package/{es → dist}/pages/system/reload.vue.d.ts +0 -0
  533. /package/{es → dist}/question-line-CfkciTFq.js +0 -0
  534. /package/{es → dist}/reload-CUcPYtl7.js +0 -0
  535. /package/{es → dist}/right-Bfe2p1o0.js +0 -0
  536. /package/{es → dist}/route/guard/auth.d.ts +0 -0
  537. /package/{es → dist}/route/guard/basic.d.ts +0 -0
  538. /package/{es → dist}/route/guard/index.d.ts +0 -0
  539. /package/{es → dist}/route/guard/setting.d.ts +0 -0
  540. /package/{es → dist}/stores/enum/index.d.ts +0 -0
  541. /package/{es → dist}/stores/helper.d.ts +0 -0
  542. /package/{es → dist}/stores/index.d.ts +0 -0
  543. /package/{es → dist}/stores/plugin/persist.d.ts +0 -0
  544. /package/{es → dist}/stores/plugin/sideEffect/cleanup.d.ts +0 -0
  545. /package/{es → dist}/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -0
  546. /package/{es → dist}/stores/plugin/sideEffect/iframeCache.d.ts +0 -0
  547. /package/{es → dist}/stores/plugin/sideEffect/index.d.ts +0 -0
  548. /package/{es → dist}/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -0
  549. /package/{es → dist}/utils/cleanup.d.ts +0 -0
  550. /package/{es → dist}/utils/crypto.d.ts +0 -0
  551. /package/{es → dist}/utils/eventBus.d.ts +0 -0
  552. /package/{es → dist}/utils/index.d.ts +0 -0
  553. /package/{es → dist}/utils/injectionKeys.d.ts +0 -0
  554. /package/{es → dist}/utils/storage.d.ts +0 -0
  555. /package/{es → dist}/utils/utils.d.ts +0 -0
  556. /package/{es → dist}/utils/watermark.d.ts +0 -0
@@ -1,199 +0,0 @@
1
- "use strict";var Vf=Object.defineProperty;var jf=(e,t,n)=>t in e?Vf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ue=(e,t,n)=>jf(e,typeof t!="symbol"?t+"":t,n);const ga=require("pubinfo:project/api/request"),zf=require("pubinfo:project/layouts/index.vue");require("pinia-plugin-persistedstate");const l=require("vue"),Le=require("pinia"),kf=require("vue-m-message"),Uf=require("vue-types");var Pl=typeof global=="object"&&global&&global.Object===Object&&global,Wf=typeof self=="object"&&self&&self.Object===Object&&self,Te=Pl||Wf||Function("return this")(),ve=Te.Symbol,Ol=Object.prototype,Gf=Ol.hasOwnProperty,Kf=Ol.toString,ln=ve?ve.toStringTag:void 0;function qf(e){var t=Gf.call(e,ln),n=e[ln];try{e[ln]=void 0;var r=!0}catch{}var o=Kf.call(e);return r&&(t?e[ln]=n:delete e[ln]),o}var Xf=Object.prototype,Yf=Xf.toString;function Zf(e){return Yf.call(e)}var Qf="[object Null]",Jf="[object Undefined]",ma=ve?ve.toStringTag:void 0;function Re(e){return e==null?e===void 0?Jf:Qf:ma&&ma in Object(e)?qf(e):Zf(e)}function de(e){return e!=null&&typeof e=="object"}var ed="[object Symbol]";function xr(e){return typeof e=="symbol"||de(e)&&Re(e)==ed}function Tr(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var Z=Array.isArray,va=ve?ve.prototype:void 0,ya=va?va.toString:void 0;function Il(e){if(typeof e=="string")return e;if(Z(e))return Tr(e,Il)+"";if(xr(e))return ya?ya.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var td=/\s/;function nd(e){for(var t=e.length;t--&&td.test(e.charAt(t)););return t}var rd=/^\s+/;function od(e){return e&&e.slice(0,nd(e)+1).replace(rd,"")}function J(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ba=NaN,id=/^[-+]0x[0-9a-f]+$/i,ad=/^0b[01]+$/i,sd=/^0o[0-7]+$/i,ld=parseInt;function _l(e){if(typeof e=="number")return e;if(xr(e))return ba;if(J(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=J(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=od(e);var n=ad.test(e);return n||sd.test(e)?ld(e.slice(2),n?2:8):id.test(e)?ba:+e}var cd=1/0,ud=17976931348623157e292;function fd(e){if(!e)return e===0?e:0;if(e=_l(e),e===cd||e===-1/0){var t=e<0?-1:1;return t*ud}return e===e?e:0}function dd(e){var t=fd(e),n=t%1;return t===t?n?t-n:t:0}function yi(e){return e}var hd="[object AsyncFunction]",pd="[object Function]",gd="[object GeneratorFunction]",md="[object Proxy]";function On(e){if(!J(e))return!1;var t=Re(e);return t==pd||t==gd||t==hd||t==md}var to=Te["__core-js_shared__"],Sa=function(){var e=/[^.]+$/.exec(to&&to.keys&&to.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vd(e){return!!Sa&&Sa in e}var yd=Function.prototype,bd=yd.toString;function bt(e){if(e!=null){try{return bd.call(e)}catch{}try{return e+""}catch{}}return""}var Sd=/[\\^$.*+?()[\]{}|]/g,Cd=/^\[object .+?Constructor\]$/,wd=Function.prototype,xd=Object.prototype,Td=wd.toString,$d=xd.hasOwnProperty,Ed=RegExp("^"+Td.call($d).replace(Sd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Pd(e){if(!J(e)||vd(e))return!1;var t=On(e)?Ed:Cd;return t.test(bt(e))}function Od(e,t){return e==null?void 0:e[t]}function St(e,t){var n=Od(e,t);return Pd(n)?n:void 0}var Ao=St(Te,"WeakMap"),Ca=Object.create,Id=function(){function e(){}return function(t){if(!J(t))return{};if(Ca)return Ca(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function bi(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Al(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var _d=800,Ad=16,Rd=Date.now;function Nd(e){var t=0,n=0;return function(){var r=Rd(),o=Ad-(r-n);if(n=r,o>0){if(++t>=_d)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Md(e){return function(){return e}}var ur=function(){try{var e=St(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Dd=ur?function(e,t){return ur(e,"toString",{configurable:!0,enumerable:!1,value:Md(t),writable:!0})}:yi,Rl=Nd(Dd);function Bd(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Nl(e,t,n,r){for(var o=e.length,i=n+-1;++i<o;)if(t(e[i],i,e))return i;return-1}var Fd=9007199254740991,Ld=/^(?:0|[1-9]\d*)$/;function $r(e,t){var n=typeof e;return t=t??Fd,!!t&&(n=="number"||n!="symbol"&&Ld.test(e))&&e>-1&&e%1==0&&e<t}function Si(e,t,n){t=="__proto__"&&ur?ur(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function qt(e,t){return e===t||e!==e&&t!==t}var Hd=Object.prototype,Vd=Hd.hasOwnProperty;function Ci(e,t,n){var r=e[t];(!(Vd.call(e,t)&&qt(r,n))||n===void 0&&!(t in e))&&Si(e,t,n)}function Ct(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],u=r?r(n[s],e[s],s,n,e):void 0;u===void 0&&(u=e[s]),o?Si(n,s,u):Ci(n,s,u)}return n}var wa=Math.max;function Ml(e,t,n){return t=wa(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=wa(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),bi(e,this,s)}}function Er(e,t){return Rl(Ml(e,t,yi),e+"")}var jd=9007199254740991;function wi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jd}function wt(e){return e!=null&&wi(e.length)&&!On(e)}function zd(e,t,n){if(!J(n))return!1;var r=typeof t;return(r=="number"?wt(n)&&$r(t,n.length):r=="string"&&t in n)?qt(n[t],e):!1}function xi(e){return Er(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&zd(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}var kd=Object.prototype;function Pr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||kd;return e===n}function Ud(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Wd="[object Arguments]";function xa(e){return de(e)&&Re(e)==Wd}var Dl=Object.prototype,Gd=Dl.hasOwnProperty,Kd=Dl.propertyIsEnumerable,Lt=xa(function(){return arguments}())?xa:function(e){return de(e)&&Gd.call(e,"callee")&&!Kd.call(e,"callee")};function qd(){return!1}var Bl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ta=Bl&&typeof module=="object"&&module&&!module.nodeType&&module,Xd=Ta&&Ta.exports===Bl,$a=Xd?Te.Buffer:void 0,Yd=$a?$a.isBuffer:void 0,Ht=Yd||qd,Zd="[object Arguments]",Qd="[object Array]",Jd="[object Boolean]",eh="[object Date]",th="[object Error]",nh="[object Function]",rh="[object Map]",oh="[object Number]",ih="[object Object]",ah="[object RegExp]",sh="[object Set]",lh="[object String]",ch="[object WeakMap]",uh="[object ArrayBuffer]",fh="[object DataView]",dh="[object Float32Array]",hh="[object Float64Array]",ph="[object Int8Array]",gh="[object Int16Array]",mh="[object Int32Array]",vh="[object Uint8Array]",yh="[object Uint8ClampedArray]",bh="[object Uint16Array]",Sh="[object Uint32Array]",k={};k[dh]=k[hh]=k[ph]=k[gh]=k[mh]=k[vh]=k[yh]=k[bh]=k[Sh]=!0;k[Zd]=k[Qd]=k[uh]=k[Jd]=k[fh]=k[eh]=k[th]=k[nh]=k[rh]=k[oh]=k[ih]=k[ah]=k[sh]=k[lh]=k[ch]=!1;function Ch(e){return de(e)&&wi(e.length)&&!!k[Re(e)]}function Ti(e){return function(t){return e(t)}}var Fl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dn=Fl&&typeof module=="object"&&module&&!module.nodeType&&module,wh=dn&&dn.exports===Fl,no=wh&&Pl.process,Vt=function(){try{var e=dn&&dn.require&&dn.require("util").types;return e||no&&no.binding&&no.binding("util")}catch{}}(),Ea=Vt&&Vt.isTypedArray,Or=Ea?Ti(Ea):Ch,xh=Object.prototype,Th=xh.hasOwnProperty;function Ll(e,t){var n=Z(e),r=!n&&Lt(e),o=!n&&!r&&Ht(e),i=!n&&!r&&!o&&Or(e),a=n||r||o||i,s=a?Ud(e.length,String):[],u=s.length;for(var f in e)(t||Th.call(e,f))&&!(a&&(f=="length"||o&&(f=="offset"||f=="parent")||i&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||$r(f,u)))&&s.push(f);return s}function Hl(e,t){return function(n){return e(t(n))}}var $h=Hl(Object.keys,Object),Eh=Object.prototype,Ph=Eh.hasOwnProperty;function Vl(e){if(!Pr(e))return $h(e);var t=[];for(var n in Object(e))Ph.call(e,n)&&n!="constructor"&&t.push(n);return t}function xt(e){return wt(e)?Ll(e):Vl(e)}function Oh(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Ih=Object.prototype,_h=Ih.hasOwnProperty;function Ah(e){if(!J(e))return Oh(e);var t=Pr(e),n=[];for(var r in e)r=="constructor"&&(t||!_h.call(e,r))||n.push(r);return n}function Xt(e){return wt(e)?Ll(e,!0):Ah(e)}var Pa=xi(function(e,t,n,r){Ct(t,Xt(t),e,r)}),Rh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nh=/^\w*$/;function $i(e,t){if(Z(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||xr(e)?!0:Nh.test(e)||!Rh.test(e)||t!=null&&e in Object(t)}var vn=St(Object,"create");function Mh(){this.__data__=vn?vn(null):{},this.size=0}function Dh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Bh="__lodash_hash_undefined__",Fh=Object.prototype,Lh=Fh.hasOwnProperty;function Hh(e){var t=this.__data__;if(vn){var n=t[e];return n===Bh?void 0:n}return Lh.call(t,e)?t[e]:void 0}var Vh=Object.prototype,jh=Vh.hasOwnProperty;function zh(e){var t=this.__data__;return vn?t[e]!==void 0:jh.call(t,e)}var kh="__lodash_hash_undefined__";function Uh(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=vn&&t===void 0?kh:t,this}function vt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vt.prototype.clear=Mh;vt.prototype.delete=Dh;vt.prototype.get=Hh;vt.prototype.has=zh;vt.prototype.set=Uh;function Wh(){this.__data__=[],this.size=0}function Ir(e,t){for(var n=e.length;n--;)if(qt(e[n][0],t))return n;return-1}var Gh=Array.prototype,Kh=Gh.splice;function qh(e){var t=this.__data__,n=Ir(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Kh.call(t,n,1),--this.size,!0}function Xh(e){var t=this.__data__,n=Ir(t,e);return n<0?void 0:t[n][1]}function Yh(e){return Ir(this.__data__,e)>-1}function Zh(e,t){var n=this.__data__,r=Ir(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function He(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}He.prototype.clear=Wh;He.prototype.delete=qh;He.prototype.get=Xh;He.prototype.has=Yh;He.prototype.set=Zh;var yn=St(Te,"Map");function Qh(){this.size=0,this.__data__={hash:new vt,map:new(yn||He),string:new vt}}function Jh(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function _r(e,t){var n=e.__data__;return Jh(t)?n[typeof t=="string"?"string":"hash"]:n.map}function ep(e){var t=_r(this,e).delete(e);return this.size-=t?1:0,t}function tp(e){return _r(this,e).get(e)}function np(e){return _r(this,e).has(e)}function rp(e,t){var n=_r(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ve(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ve.prototype.clear=Qh;Ve.prototype.delete=ep;Ve.prototype.get=tp;Ve.prototype.has=np;Ve.prototype.set=rp;var op="Expected a function";function Ei(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(op);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ei.Cache||Ve),n}Ei.Cache=Ve;var ip=500;function ap(e){var t=Ei(e,function(r){return n.size===ip&&n.clear(),r}),n=t.cache;return t}var sp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lp=/\\(\\)?/g,cp=ap(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(sp,function(n,r,o,i){t.push(o?i.replace(lp,"$1"):r||n)}),t});function Pi(e){return e==null?"":Il(e)}function Yt(e,t){return Z(e)?e:$i(e,t)?[e]:cp(Pi(e))}function Zt(e){if(typeof e=="string"||xr(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Ar(e,t){t=Yt(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Zt(t[n++])];return n&&n==r?e:void 0}function Ke(e,t,n){var r=e==null?void 0:Ar(e,t);return r===void 0?n:r}function Oi(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Oa=ve?ve.isConcatSpreadable:void 0;function up(e){return Z(e)||Lt(e)||!!(Oa&&e&&e[Oa])}function fp(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=up),o||(o=[]);++i<a;){var s=e[i];n(s)?Oi(o,s):o[o.length]=s}return o}function dp(e){var t=e==null?0:e.length;return t?fp(e):[]}function jl(e){return Rl(Ml(e,void 0,dp),e+"")}var Ii=Hl(Object.getPrototypeOf,Object),hp="[object Object]",pp=Function.prototype,gp=Object.prototype,zl=pp.toString,mp=gp.hasOwnProperty,vp=zl.call(Object);function Rr(e){if(!de(e)||Re(e)!=hp)return!1;var t=Ii(e);if(t===null)return!0;var n=mp.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&zl.call(n)==vp}var yp="[object DOMException]",bp="[object Error]";function kl(e){if(!de(e))return!1;var t=Re(e);return t==bp||t==yp||typeof e.message=="string"&&typeof e.name=="string"&&!Rr(e)}var Sp=Er(function(e,t){try{return bi(e,void 0,t)}catch(n){return kl(n)?n:new Error(n)}});function Cp(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function wp(e,t,n,r){var o=-1,i=e==null?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function xp(e){return function(t){return e==null?void 0:e[t]}}function Tp(){this.__data__=new He,this.size=0}function $p(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Ep(e){return this.__data__.get(e)}function Pp(e){return this.__data__.has(e)}var Op=200;function Ip(e,t){var n=this.__data__;if(n instanceof He){var r=n.__data__;if(!yn||r.length<Op-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ve(r)}return n.set(e,t),this.size=n.size,this}function we(e){var t=this.__data__=new He(e);this.size=t.size}we.prototype.clear=Tp;we.prototype.delete=$p;we.prototype.get=Ep;we.prototype.has=Pp;we.prototype.set=Ip;function _p(e,t){return e&&Ct(t,xt(t),e)}function Ap(e,t){return e&&Ct(t,Xt(t),e)}var Ul=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ia=Ul&&typeof module=="object"&&module&&!module.nodeType&&module,Rp=Ia&&Ia.exports===Ul,_a=Rp?Te.Buffer:void 0,Aa=_a?_a.allocUnsafe:void 0;function Wl(e,t){if(t)return e.slice();var n=e.length,r=Aa?Aa(n):new e.constructor(n);return e.copy(r),r}function Np(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Gl(){return[]}var Mp=Object.prototype,Dp=Mp.propertyIsEnumerable,Ra=Object.getOwnPropertySymbols,_i=Ra?function(e){return e==null?[]:(e=Object(e),Np(Ra(e),function(t){return Dp.call(e,t)}))}:Gl;function Bp(e,t){return Ct(e,_i(e),t)}var Fp=Object.getOwnPropertySymbols,Kl=Fp?function(e){for(var t=[];e;)Oi(t,_i(e)),e=Ii(e);return t}:Gl;function Lp(e,t){return Ct(e,Kl(e),t)}function ql(e,t,n){var r=t(e);return Z(e)?r:Oi(r,n(e))}function Ro(e){return ql(e,xt,_i)}function Xl(e){return ql(e,Xt,Kl)}var No=St(Te,"DataView"),Mo=St(Te,"Promise"),fr=St(Te,"Set"),Na="[object Map]",Hp="[object Object]",Ma="[object Promise]",Da="[object Set]",Ba="[object WeakMap]",Fa="[object DataView]",Vp=bt(No),jp=bt(yn),zp=bt(Mo),kp=bt(fr),Up=bt(Ao),ge=Re;(No&&ge(new No(new ArrayBuffer(1)))!=Fa||yn&&ge(new yn)!=Na||Mo&&ge(Mo.resolve())!=Ma||fr&&ge(new fr)!=Da||Ao&&ge(new Ao)!=Ba)&&(ge=function(e){var t=Re(e),n=t==Hp?e.constructor:void 0,r=n?bt(n):"";if(r)switch(r){case Vp:return Fa;case jp:return Na;case zp:return Ma;case kp:return Da;case Up:return Ba}return t});var Wp=Object.prototype,Gp=Wp.hasOwnProperty;function Kp(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Gp.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var dr=Te.Uint8Array;function Ai(e){var t=new e.constructor(e.byteLength);return new dr(t).set(new dr(e)),t}function qp(e,t){var n=t?Ai(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Xp=/\w*$/;function Yp(e){var t=new e.constructor(e.source,Xp.exec(e));return t.lastIndex=e.lastIndex,t}var La=ve?ve.prototype:void 0,Ha=La?La.valueOf:void 0;function Zp(e){return Ha?Object(Ha.call(e)):{}}function Yl(e,t){var n=t?Ai(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Qp="[object Boolean]",Jp="[object Date]",eg="[object Map]",tg="[object Number]",ng="[object RegExp]",rg="[object Set]",og="[object String]",ig="[object Symbol]",ag="[object ArrayBuffer]",sg="[object DataView]",lg="[object Float32Array]",cg="[object Float64Array]",ug="[object Int8Array]",fg="[object Int16Array]",dg="[object Int32Array]",hg="[object Uint8Array]",pg="[object Uint8ClampedArray]",gg="[object Uint16Array]",mg="[object Uint32Array]";function vg(e,t,n){var r=e.constructor;switch(t){case ag:return Ai(e);case Qp:case Jp:return new r(+e);case sg:return qp(e,n);case lg:case cg:case ug:case fg:case dg:case hg:case pg:case gg:case mg:return Yl(e,n);case eg:return new r;case tg:case og:return new r(e);case ng:return Yp(e);case rg:return new r;case ig:return Zp(e)}}function Zl(e){return typeof e.constructor=="function"&&!Pr(e)?Id(Ii(e)):{}}var yg="[object Map]";function bg(e){return de(e)&&ge(e)==yg}var Va=Vt&&Vt.isMap,Sg=Va?Ti(Va):bg,Cg="[object Set]";function wg(e){return de(e)&&ge(e)==Cg}var ja=Vt&&Vt.isSet,xg=ja?Ti(ja):wg,Tg=1,$g=2,Eg=4,Ql="[object Arguments]",Pg="[object Array]",Og="[object Boolean]",Ig="[object Date]",_g="[object Error]",Jl="[object Function]",Ag="[object GeneratorFunction]",Rg="[object Map]",Ng="[object Number]",ec="[object Object]",Mg="[object RegExp]",Dg="[object Set]",Bg="[object String]",Fg="[object Symbol]",Lg="[object WeakMap]",Hg="[object ArrayBuffer]",Vg="[object DataView]",jg="[object Float32Array]",zg="[object Float64Array]",kg="[object Int8Array]",Ug="[object Int16Array]",Wg="[object Int32Array]",Gg="[object Uint8Array]",Kg="[object Uint8ClampedArray]",qg="[object Uint16Array]",Xg="[object Uint32Array]",z={};z[Ql]=z[Pg]=z[Hg]=z[Vg]=z[Og]=z[Ig]=z[jg]=z[zg]=z[kg]=z[Ug]=z[Wg]=z[Rg]=z[Ng]=z[ec]=z[Mg]=z[Dg]=z[Bg]=z[Fg]=z[Gg]=z[Kg]=z[qg]=z[Xg]=!0;z[_g]=z[Jl]=z[Lg]=!1;function hn(e,t,n,r,o,i){var a,s=t&Tg,u=t&$g,f=t&Eg;if(n&&(a=o?n(e,r,o,i):n(e)),a!==void 0)return a;if(!J(e))return e;var c=Z(e);if(c){if(a=Kp(e),!s)return Al(e,a)}else{var d=ge(e),h=d==Jl||d==Ag;if(Ht(e))return Wl(e,s);if(d==ec||d==Ql||h&&!o){if(a=u||h?{}:Zl(e),!s)return u?Lp(e,Ap(a,e)):Bp(e,_p(a,e))}else{if(!z[d])return o?e:{};a=vg(e,d,s)}}i||(i=new we);var p=i.get(e);if(p)return p;i.set(e,a),xg(e)?e.forEach(function(y){a.add(hn(y,t,n,y,e,i))}):Sg(e)&&e.forEach(function(y,b){a.set(b,hn(y,t,n,b,e,i))});var g=f?u?Xl:Ro:u?Xt:xt,m=c?void 0:g(e);return Bd(m||e,function(y,b){m&&(b=y,y=e[b]),Ci(a,b,hn(y,t,n,b,e,i))}),a}var Yg=1,Zg=4;function Ie(e){return hn(e,Yg|Zg)}var Qg="__lodash_hash_undefined__";function Jg(e){return this.__data__.set(e,Qg),this}function e0(e){return this.__data__.has(e)}function bn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ve;++t<n;)this.add(e[t])}bn.prototype.add=bn.prototype.push=Jg;bn.prototype.has=e0;function t0(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function tc(e,t){return e.has(t)}var n0=1,r0=2;function nc(e,t,n,r,o,i){var a=n&n0,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var f=i.get(e),c=i.get(t);if(f&&c)return f==t&&c==e;var d=-1,h=!0,p=n&r0?new bn:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var g=e[d],m=t[d];if(r)var y=a?r(m,g,d,t,e,i):r(g,m,d,e,t,i);if(y!==void 0){if(y)continue;h=!1;break}if(p){if(!t0(t,function(b,C){if(!tc(p,C)&&(g===b||o(g,b,n,r,i)))return p.push(C)})){h=!1;break}}else if(!(g===m||o(g,m,n,r,i))){h=!1;break}}return i.delete(e),i.delete(t),h}function o0(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function rc(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var i0=1,a0=2,s0="[object Boolean]",l0="[object Date]",c0="[object Error]",u0="[object Map]",f0="[object Number]",d0="[object RegExp]",h0="[object Set]",p0="[object String]",g0="[object Symbol]",m0="[object ArrayBuffer]",v0="[object DataView]",za=ve?ve.prototype:void 0,ro=za?za.valueOf:void 0;function y0(e,t,n,r,o,i,a){switch(n){case v0:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case m0:return!(e.byteLength!=t.byteLength||!i(new dr(e),new dr(t)));case s0:case l0:case f0:return qt(+e,+t);case c0:return e.name==t.name&&e.message==t.message;case d0:case p0:return e==t+"";case u0:var s=o0;case h0:var u=r&i0;if(s||(s=rc),e.size!=t.size&&!u)return!1;var f=a.get(e);if(f)return f==t;r|=a0,a.set(e,t);var c=nc(s(e),s(t),r,o,i,a);return a.delete(e),c;case g0:if(ro)return ro.call(e)==ro.call(t)}return!1}var b0=1,S0=Object.prototype,C0=S0.hasOwnProperty;function w0(e,t,n,r,o,i){var a=n&b0,s=Ro(e),u=s.length,f=Ro(t),c=f.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var h=s[d];if(!(a?h in t:C0.call(t,h)))return!1}var p=i.get(e),g=i.get(t);if(p&&g)return p==t&&g==e;var m=!0;i.set(e,t),i.set(t,e);for(var y=a;++d<u;){h=s[d];var b=e[h],C=t[h];if(r)var x=a?r(C,b,h,t,e,i):r(b,C,h,e,t,i);if(!(x===void 0?b===C||o(b,C,n,r,i):x)){m=!1;break}y||(y=h=="constructor")}if(m&&!y){var $=e.constructor,S=t.constructor;$!=S&&"constructor"in e&&"constructor"in t&&!(typeof $=="function"&&$ instanceof $&&typeof S=="function"&&S instanceof S)&&(m=!1)}return i.delete(e),i.delete(t),m}var x0=1,ka="[object Arguments]",Ua="[object Array]",Dn="[object Object]",T0=Object.prototype,Wa=T0.hasOwnProperty;function $0(e,t,n,r,o,i){var a=Z(e),s=Z(t),u=a?Ua:ge(e),f=s?Ua:ge(t);u=u==ka?Dn:u,f=f==ka?Dn:f;var c=u==Dn,d=f==Dn,h=u==f;if(h&&Ht(e)){if(!Ht(t))return!1;a=!0,c=!1}if(h&&!c)return i||(i=new we),a||Or(e)?nc(e,t,n,r,o,i):y0(e,t,u,n,r,o,i);if(!(n&x0)){var p=c&&Wa.call(e,"__wrapped__"),g=d&&Wa.call(t,"__wrapped__");if(p||g){var m=p?e.value():e,y=g?t.value():t;return i||(i=new we),o(m,y,n,r,i)}}return h?(i||(i=new we),w0(e,t,n,r,o,i)):!1}function Nr(e,t,n,r,o){return e===t?!0:e==null||t==null||!de(e)&&!de(t)?e!==e&&t!==t:$0(e,t,n,r,Nr,o)}var E0=1,P0=2;function O0(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var s=a[0],u=e[s],f=a[1];if(a[2]){if(u===void 0&&!(s in e))return!1}else{var c=new we,d;if(!(d===void 0?Nr(f,u,E0|P0,r,c):d))return!1}}return!0}function oc(e){return e===e&&!J(e)}function I0(e){for(var t=xt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,oc(o)]}return t}function ic(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function _0(e){var t=I0(e);return t.length==1&&t[0][2]?ic(t[0][0],t[0][1]):function(n){return n===e||O0(n,e,t)}}function A0(e,t){return e!=null&&t in Object(e)}function ac(e,t,n){t=Yt(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=Zt(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&wi(o)&&$r(a,o)&&(Z(e)||Lt(e)))}function sc(e,t){return e!=null&&ac(e,t,A0)}var R0=1,N0=2;function M0(e,t){return $i(e)&&oc(t)?ic(Zt(e),t):function(n){var r=Ke(n,e);return r===void 0&&r===t?sc(n,e):Nr(t,r,R0|N0)}}function D0(e){return function(t){return t==null?void 0:t[e]}}function B0(e){return function(t){return Ar(t,e)}}function F0(e){return $i(e)?D0(Zt(e)):B0(e)}function Ri(e){return typeof e=="function"?e:e==null?yi:typeof e=="object"?Z(e)?M0(e[0],e[1]):_0(e):F0(e)}function L0(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[++o];if(n(i[u],u,i)===!1)break}return t}}var lc=L0();function H0(e,t){return e&&lc(e,t,xt)}function V0(e,t){return function(n,r){if(n==null)return n;if(!wt(n))return e(n,r);for(var o=n.length,i=-1,a=Object(n);++i<o&&r(a[i],i,a)!==!1;);return n}}var j0=V0(H0);function Bn(e,t){return e==null||e!==e?t:e}function Do(e,t,n){(n!==void 0&&!qt(e[t],n)||n===void 0&&!(t in e))&&Si(e,t,n)}function cc(e){return de(e)&&wt(e)}function Bo(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function z0(e){return Ct(e,Xt(e))}function k0(e,t,n,r,o,i,a){var s=Bo(e,n),u=Bo(t,n),f=a.get(u);if(f){Do(e,n,f);return}var c=i?i(s,u,n+"",e,t,a):void 0,d=c===void 0;if(d){var h=Z(u),p=!h&&Ht(u),g=!h&&!p&&Or(u);c=u,h||p||g?Z(s)?c=s:cc(s)?c=Al(s):p?(d=!1,c=Wl(u,!0)):g?(d=!1,c=Yl(u,!0)):c=[]:Rr(u)||Lt(u)?(c=s,Lt(s)?c=z0(s):(!J(s)||On(s))&&(c=Zl(u))):d=!1}d&&(a.set(u,c),o(c,u,r,i,a),a.delete(u)),Do(e,n,c)}function Mr(e,t,n,r,o){e!==t&&lc(t,function(i,a){if(o||(o=new we),J(i))k0(e,t,a,n,Mr,r,o);else{var s=r?r(Bo(e,a),i,a+"",e,t,o):void 0;s===void 0&&(s=i),Do(e,a,s)}},Xt)}function uc(e,t,n,r,o,i){return J(e)&&J(t)&&(i.set(t,e),Mr(e,t,void 0,uc,i),i.delete(t)),e}var U0=xi(function(e,t,n,r){Mr(e,t,n,r)}),Qn=Er(function(e){return e.push(void 0,uc),bi(U0,void 0,e)});function W0(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var G0={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},K0=xp(G0),fc=/[&<>"']/g,q0=RegExp(fc.source);function X0(e){return e=Pi(e),e&&q0.test(e)?e.replace(fc,K0):e}function Y0(e){return function(t,n,r){var o=Object(t);if(!wt(t)){var i=Ri(n);t=xt(t),n=function(s){return i(o[s],s,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}var Z0=Math.max;function dc(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=n==null?0:dd(n);return o<0&&(o=Z0(r+o,0)),Nl(e,Ri(t),o)}var Jn=Y0(dc),Q0=Object.prototype,J0=Q0.hasOwnProperty;function em(e,t){return e!=null&&J0.call(e,t)}function tm(e,t){return e!=null&&ac(e,t,em)}var nm="[object String]";function hr(e){return typeof e=="string"||!Z(e)&&de(e)&&Re(e)==nm}function rm(e,t){return Tr(t,function(n){return e[n]})}function om(e,t){return t.length<2?e:Ar(e,Cp(t,0,-1))}var im="[object Map]",am="[object Set]",sm=Object.prototype,lm=sm.hasOwnProperty;function Dr(e){if(e==null)return!0;if(wt(e)&&(Z(e)||typeof e=="string"||typeof e.splice=="function"||Ht(e)||Or(e)||Lt(e)))return!e.length;var t=ge(e);if(t==im||t==am)return!e.size;if(Pr(e))return!Vl(e).length;for(var n in e)if(lm.call(e,n))return!1;return!0}var cm="[object Number]";function um(e){return typeof e=="number"||de(e)&&Re(e)==cm}function pr(e){return e===void 0}var Fo=xi(function(e,t,n){Mr(e,t,n)});function fm(e,t){return t=Yt(t,e),e=om(e,t),e==null||delete e[Zt(W0(t))]}function dm(e){return Rr(e)?void 0:e}var hm=1,pm=2,gm=4,hc=jl(function(e,t){var n={};if(e==null)return n;var r=!1;t=Tr(t,function(i){return i=Yt(i,e),r||(r=i.length>1),i}),Ct(e,Xl(e),n),r&&(n=hn(n,hm|pm|gm,dm));for(var o=t.length;o--;)fm(n,t[o]);return n});function pc(e,t,n,r){if(!J(e))return e;t=Yt(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var u=Zt(t[o]),f=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(o!=a){var c=s[u];f=void 0,f===void 0&&(f=J(c)?c:$r(t[o+1])?[]:{})}Ci(s,u,f),s=s[u]}return e}function mm(e,t,n,r,o){return o(e,function(i,a,s){n=r?(r=!1,i):t(n,i,a,s)}),n}function vm(e,t,n){var r=Z(e)?wp:mm,o=arguments.length<3;return r(e,Ri(t),n,o,j0)}function ym(e,t,n){return e==null?e:pc(e,t,n)}var gc=Object.prototype,bm=gc.hasOwnProperty;function Ga(e,t,n,r){return e===void 0||qt(e,gc[n])&&!bm.call(r,n)?t:e}var Sm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Cm(e){return"\\"+Sm[e]}var mc=/<%=([\s\S]+?)%>/g,wm=/<%-([\s\S]+?)%>/g,xm=/<%([\s\S]+?)%>/g,Ka={escape:wm,evaluate:xm,interpolate:mc,variable:"",imports:{_:{escape:X0}}},Tm="Invalid `variable` option passed into `_.template`",$m=/\b__p \+= '';/g,Em=/\b(__p \+=) '' \+/g,Pm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Om=/[()=,{}\[\]\/\s]/,Im=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fn=/($^)/,_m=/['\n\r\u2028\u2029\\]/g,Am=Object.prototype,qa=Am.hasOwnProperty;function Rm(e,t,n){var r=Ka.imports._.templateSettings||Ka;e=Pi(e),t=Pa({},t,r,Ga);var o=Pa({},t.imports,r.imports,Ga),i=xt(o),a=rm(o,i),s,u,f=0,c=t.interpolate||Fn,d="__p += '",h=RegExp((t.escape||Fn).source+"|"+c.source+"|"+(c===mc?Im:Fn).source+"|"+(t.evaluate||Fn).source+"|$","g"),p=qa.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
2
- `:"";e.replace(h,function(y,b,C,x,$,S){return C||(C=x),d+=e.slice(f,S).replace(_m,Cm),b&&(s=!0,d+=`' +
3
- __e(`+b+`) +
4
- '`),$&&(u=!0,d+=`';
5
- `+$+`;
6
- __p += '`),C&&(d+=`' +
7
- ((__t = (`+C+`)) == null ? '' : __t) +
8
- '`),f=S+y.length,y}),d+=`';
9
- `;var g=qa.call(t,"variable")&&t.variable;if(!g)d=`with (obj) {
10
- `+d+`
11
- }
12
- `;else if(Om.test(g))throw new Error(Tm);d=(u?d.replace($m,""):d).replace(Em,"$1").replace(Pm,"$1;"),d="function("+(g||"obj")+`) {
13
- `+(g?"":`obj || (obj = {});
14
- `)+"var __t, __p = ''"+(s?", __e = _.escape":"")+(u?`, __j = Array.prototype.join;
15
- function print() { __p += __j.call(arguments, '') }
16
- `:`;
17
- `)+d+`return __p
18
- }`;var m=Sp(function(){return Function(i,p+"return "+d).apply(void 0,a)});if(m.source=d,kl(m))throw m;return m}function Ni(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oo,Xa;function Nm(){if(Xa)return oo;Xa=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,i){for(var a="",s=0,u=-1,f=0,c,d=0;d<=o.length;++d){if(d<o.length)c=o.charCodeAt(d);else{if(c===47)break;c=47}if(c===47){if(!(u===d-1||f===1))if(u!==d-1&&f===2){if(a.length<2||s!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var h=a.lastIndexOf("/");if(h!==a.length-1){h===-1?(a="",s=0):(a=a.slice(0,h),s=a.length-1-a.lastIndexOf("/")),u=d,f=0;continue}}else if(a.length===2||a.length===1){a="",s=0,u=d,f=0;continue}}i&&(a.length>0?a+="/..":a="..",s=2)}else a.length>0?a+="/"+o.slice(u+1,d):a=o.slice(u+1,d),s=d-u-1;u=d,f=0}else c===46&&f!==-1?++f:f=-1}return a}function n(o,i){var a=i.dir||i.root,s=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+s:a+o+s:s}var r={resolve:function(){for(var i="",a=!1,s,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(s===void 0&&(s=process.cwd()),f=s),e(f),f.length!==0&&(i=f+"/"+i,a=f.charCodeAt(0)===47)}return i=t(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,s=i.charCodeAt(i.length-1)===47;return i=t(i,!a),i.length===0&&!a&&(i="."),i.length>0&&s&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var s=arguments[a];e(s),s.length>0&&(i===void 0?i=s:i+="/"+s)}return i===void 0?".":r.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=r.resolve(i),a=r.resolve(a),i===a))return"";for(var s=1;s<i.length&&i.charCodeAt(s)===47;++s);for(var u=i.length,f=u-s,c=1;c<a.length&&a.charCodeAt(c)===47;++c);for(var d=a.length,h=d-c,p=f<h?f:h,g=-1,m=0;m<=p;++m){if(m===p){if(h>p){if(a.charCodeAt(c+m)===47)return a.slice(c+m+1);if(m===0)return a.slice(c+m)}else f>p&&(i.charCodeAt(s+m)===47?g=m:m===0&&(g=0));break}var y=i.charCodeAt(s+m),b=a.charCodeAt(c+m);if(y!==b)break;y===47&&(g=m)}var C="";for(m=s+g+1;m<=u;++m)(m===u||i.charCodeAt(m)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+a.slice(c+g):(c+=g,a.charCodeAt(c)===47&&++c,a.slice(c))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),s=a===47,u=-1,f=!0,c=i.length-1;c>=1;--c)if(a=i.charCodeAt(c),a===47){if(!f){u=c;break}}else f=!1;return u===-1?s?"/":".":s&&u===1?"//":i.slice(0,u)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var s=0,u=-1,f=!0,c;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var d=a.length-1,h=-1;for(c=i.length-1;c>=0;--c){var p=i.charCodeAt(c);if(p===47){if(!f){s=c+1;break}}else h===-1&&(f=!1,h=c+1),d>=0&&(p===a.charCodeAt(d)?--d===-1&&(u=c):(d=-1,u=h))}return s===u?u=h:u===-1&&(u=i.length),i.slice(s,u)}else{for(c=i.length-1;c>=0;--c)if(i.charCodeAt(c)===47){if(!f){s=c+1;break}}else u===-1&&(f=!1,u=c+1);return u===-1?"":i.slice(s,u)}},extname:function(i){e(i);for(var a=-1,s=0,u=-1,f=!0,c=0,d=i.length-1;d>=0;--d){var h=i.charCodeAt(d);if(h===47){if(!f){s=d+1;break}continue}u===-1&&(f=!1,u=d+1),h===46?a===-1?a=d:c!==1&&(c=1):a!==-1&&(c=-1)}return a===-1||u===-1||c===0||c===1&&a===u-1&&a===s+1?"":i.slice(a,u)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var s=i.charCodeAt(0),u=s===47,f;u?(a.root="/",f=1):f=0;for(var c=-1,d=0,h=-1,p=!0,g=i.length-1,m=0;g>=f;--g){if(s=i.charCodeAt(g),s===47){if(!p){d=g+1;break}continue}h===-1&&(p=!1,h=g+1),s===46?c===-1?c=g:m!==1&&(m=1):c!==-1&&(m=-1)}return c===-1||h===-1||m===0||m===1&&c===h-1&&c===d+1?h!==-1&&(d===0&&u?a.base=a.name=i.slice(1,h):a.base=a.name=i.slice(d,h)):(d===0&&u?(a.name=i.slice(1,c),a.base=i.slice(1,h)):(a.name=i.slice(d,c),a.base=i.slice(d,h)),a.ext=i.slice(c,h)),d>0?a.dir=i.slice(0,d-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,oo=r,oo}var Mm=Nm();const Dm=Ni(Mm);function Lo(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Lo(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Bm={run:e=>e()},Fm=()=>Bm,vc=typeof console.createTask<"u"?console.createTask:Fm;function Lm(e,t){const n=t.shift(),r=vc(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Hm(e,t){const n=t.shift(),r=vc(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function io(e,t){for(const n of[...e])n(t)}class Vm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let a=i.message;a||(a=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Lo(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Lo(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Lm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Hm,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&io(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&io(this._after,o)}):(this._after&&o&&io(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function jm(){return new Vm}const zm=jm();let Ho;function km(e){Ho=e}function yc(){if(!Ho)throw new Error("Global context is not defined");return Ho}function In(){return{layout:zf,request:{auth:ga.auth,basic:ga.basic}}}const $e=In().request.basic,Br=In().request.auth;function Um(e,t){return Br.Post("/auth/changeLoginOrg",{},{params:{...e}})}function Wm(e,t){return Br.Post("/auth/login",e,{headers:{"Content-Type":"application/json"}})}function Gm(e){return Br.Get("/auth/login/key",{})}function Km(e,t){return Br.Post("/auth/token/refresh",{},{params:{...e}})}var qm="0123456789abcdefghijklmnopqrstuvwxyz";function De(e){return qm.charAt(e)}function Xm(e,t){return e&t}function Ln(e,t){return e|t}function Ya(e,t){return e^t}function Za(e,t){return e&~t}function Ym(e){if(e==0)return-1;var t=0;return(e&65535)==0&&(e>>=16,t+=16),(e&255)==0&&(e>>=8,t+=8),(e&15)==0&&(e>>=4,t+=4),(e&3)==0&&(e>>=2,t+=2),(e&1)==0&&++t,t}function Zm(e){for(var t=0;e!=0;)e&=e-1,++t;return t}var _t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bc="=";function gr(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=_t.charAt(n>>6)+_t.charAt(n&63);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=_t.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=_t.charAt(n>>2)+_t.charAt((n&3)<<4));(r.length&3)>0;)r+=bc;return r}function Qa(e){var t="",n,r=0,o=0;for(n=0;n<e.length&&e.charAt(n)!=bc;++n){var i=_t.indexOf(e.charAt(n));i<0||(r==0?(t+=De(i>>2),o=i&3,r=1):r==1?(t+=De(o<<2|i>>4),o=i&15,r=2):r==2?(t+=De(o),t+=De(i>>2),o=i&3,r=3):(t+=De(o<<2|i>>4),t+=De(i&15),r=0))}return r==1&&(t+=De(o<<2)),t}var Pt,Qm={decode:function(e){var t;if(Pt===void 0){var n="0123456789ABCDEF",r=` \f
19
- \r  \u2028\u2029`;for(Pt={},t=0;t<16;++t)Pt[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)Pt[n.charAt(t)]=t;for(t=0;t<r.length;++t)Pt[r.charAt(t)]=-1}var o=[],i=0,a=0;for(t=0;t<e.length;++t){var s=e.charAt(t);if(s=="=")break;if(s=Pt[s],s!=-1){if(s===void 0)throw new Error("Illegal character at offset "+t);i|=s,++a>=2?(o[o.length]=i,i=0,a=0):i<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return o}},lt,Vo={decode:function(e){var t;if(lt===void 0){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=`= \f
20
- \r  \u2028\u2029`;for(lt=Object.create(null),t=0;t<64;++t)lt[n.charAt(t)]=t;for(lt["-"]=62,lt._=63,t=0;t<r.length;++t)lt[r.charAt(t)]=-1}var o=[],i=0,a=0;for(t=0;t<e.length;++t){var s=e.charAt(t);if(s=="=")break;if(s=lt[s],s!=-1){if(s===void 0)throw new Error("Illegal character at offset "+t);i|=s,++a>=4?(o[o.length]=i>>16,o[o.length]=i>>8&255,o[o.length]=i&255,i=0,a=0):i<<=6}}switch(a){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:o[o.length]=i>>10;break;case 3:o[o.length]=i>>16,o[o.length]=i>>8&255;break}return o},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=Vo.re.exec(e);if(t)if(t[1])e=t[1];else if(t[2])e=t[2];else throw new Error("RegExp out of sync");return Vo.decode(e)}},Ot=1e13,un=function(){function e(t){this.buf=[+t||0]}return e.prototype.mulAdd=function(t,n){var r=this.buf,o=r.length,i,a;for(i=0;i<o;++i)a=r[i]*t+n,a<Ot?n=0:(n=0|a/Ot,a-=n*Ot),r[i]=a;n>0&&(r[i]=n)},e.prototype.sub=function(t){var n=this.buf,r=n.length,o,i;for(o=0;o<r;++o)i=n[o]-t,i<0?(i+=Ot,t=1):t=0,n[o]=i;for(;n[n.length-1]===0;)n.pop()},e.prototype.toString=function(t){if((t||10)!=10)throw new Error("only base 10 is supported");for(var n=this.buf,r=n[n.length-1].toString(),o=n.length-2;o>=0;--o)r+=(Ot+n[o]).toString().substring(1);return r},e.prototype.valueOf=function(){for(var t=this.buf,n=0,r=t.length-1;r>=0;--r)n=n*Ot+t[r];return n},e.prototype.simplify=function(){var t=this.buf;return t.length==1?t[0]:this},e}(),Sc="…",Jm=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,ev=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function Dt(e,t){return e.length>t&&(e=e.substring(0,t)+Sc),e}var ao=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(t){if(t===void 0&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(t):this.enc[t]},e.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(t&15)},e.prototype.hexDump=function(t,n,r){for(var o="",i=t;i<n;++i)if(o+=this.hexByte(this.get(i)),r!==!0)switch(i&15){case 7:o+=" ";break;case 15:o+=`
21
- `;break;default:o+=" "}return o},e.prototype.isASCII=function(t,n){for(var r=t;r<n;++r){var o=this.get(r);if(o<32||o>176)return!1}return!0},e.prototype.parseStringISO=function(t,n){for(var r="",o=t;o<n;++o)r+=String.fromCharCode(this.get(o));return r},e.prototype.parseStringUTF=function(t,n){for(var r="",o=t;o<n;){var i=this.get(o++);i<128?r+=String.fromCharCode(i):i>191&&i<224?r+=String.fromCharCode((i&31)<<6|this.get(o++)&63):r+=String.fromCharCode((i&15)<<12|(this.get(o++)&63)<<6|this.get(o++)&63)}return r},e.prototype.parseStringBMP=function(t,n){for(var r="",o,i,a=t;a<n;)o=this.get(a++),i=this.get(a++),r+=String.fromCharCode(o<<8|i);return r},e.prototype.parseTime=function(t,n,r){var o=this.parseStringISO(t,n),i=(r?Jm:ev).exec(o);return i?(r&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),o=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(o+=":"+i[5],i[6]&&(o+=":"+i[6],i[7]&&(o+="."+i[7]))),i[8]&&(o+=" UTC",i[8]!="Z"&&(o+=i[8],i[9]&&(o+=":"+i[9]))),o):"Unrecognized time: "+o},e.prototype.parseInteger=function(t,n){for(var r=this.get(t),o=r>127,i=o?255:0,a,s="";r==i&&++t<n;)r=this.get(t);if(a=n-t,a===0)return o?-1:0;if(a>4){for(s=r,a<<=3;((+s^i)&128)==0;)s=+s<<1,--a;s="("+a+` bit)
22
- `}o&&(r=r-256);for(var u=new un(r),f=t+1;f<n;++f)u.mulAdd(256,this.get(f));return s+u.toString()},e.prototype.parseBitString=function(t,n,r){for(var o=this.get(t),i=(n-t-1<<3)-o,a="("+i+` bit)
23
- `,s="",u=t+1;u<n;++u){for(var f=this.get(u),c=u==n-1?o:0,d=7;d>=c;--d)s+=f>>d&1?"1":"0";if(s.length>r)return a+Dt(s,r)}return a+s},e.prototype.parseOctetString=function(t,n,r){if(this.isASCII(t,n))return Dt(this.parseStringISO(t,n),r);var o=n-t,i="("+o+` byte)
24
- `;r/=2,o>r&&(n=t+r);for(var a=t;a<n;++a)i+=this.hexByte(this.get(a));return o>r&&(i+=Sc),i},e.prototype.parseOID=function(t,n,r){for(var o="",i=new un,a=0,s=t;s<n;++s){var u=this.get(s);if(i.mulAdd(128,u&127),a+=7,!(u&128)){if(o==="")if(i=i.simplify(),i instanceof un)i.sub(80),o="2."+i.toString();else{var f=i<80?i<40?0:1:2;o=f+"."+(i-f*40)}else o+="."+i.toString();if(o.length>r)return Dt(o,r);i=new un,a=0}}return a>0&&(o+=".incomplete"),o},e}(),tv=function(){function e(t,n,r,o,i){if(!(o instanceof Ja))throw new Error("Invalid tag value.");this.stream=t,this.header=n,this.length=r,this.tag=o,this.sub=i}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(t){if(this.tag===void 0)return null;t===void 0&&(t=1/0);var n=this.posContent(),r=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(n,n+r,t);switch(this.tag.tagNumber){case 1:return this.stream.get(n)===0?"false":"true";case 2:return this.stream.parseInteger(n,n+r);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(n,n+r,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(n,n+r,t);case 6:return this.stream.parseOID(n,n+r,t);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return Dt(this.stream.parseStringUTF(n,n+r),t);case 18:case 19:case 20:case 21:case 22:case 26:return Dt(this.stream.parseStringISO(n,n+r),t);case 30:return Dt(this.stream.parseStringBMP(n,n+r),t);case 23:case 24:return this.stream.parseTime(n,n+r,this.tag.tagNumber==23)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(t){t===void 0&&(t="");var n=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(n+="+"),n+=this.length,this.tag.tagConstructed?n+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(n+=" (encapsulates)"),n+=`
25
- `,this.sub!==null){t+=" ";for(var r=0,o=this.sub.length;r<o;++r)n+=this.sub[r].toPrettyString(t)}return n},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(t){var n=t.get(),r=n&127;if(r==n)return r;if(r>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(r===0)return null;n=0;for(var o=0;o<r;++o)n=n*256+t.get();return n},e.prototype.getHexStringValue=function(){var t=this.toHexString(),n=this.header*2,r=this.length*2;return t.substr(n,r)},e.decode=function(t){var n;t instanceof ao?n=t:n=new ao(t,0);var r=new ao(n),o=new Ja(n),i=e.decodeLength(n),a=n.pos,s=a-r.pos,u=null,f=function(){var d=[];if(i!==null){for(var h=a+i;n.pos<h;)d[d.length]=e.decode(n);if(n.pos!=h)throw new Error("Content size is not correct for container starting at offset "+a)}else try{for(;;){var p=e.decode(n);if(p.tag.isEOC())break;d[d.length]=p}i=a-n.pos}catch(g){throw new Error("Exception while decoding undefined length content: "+g)}return d};if(o.tagConstructed)u=f();else if(o.isUniversal()&&(o.tagNumber==3||o.tagNumber==4))try{if(o.tagNumber==3&&n.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=f();for(var c=0;c<u.length;++c)if(u[c].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch{u=null}if(u===null){if(i===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+a);n.pos=a+Math.abs(i)}return new e(r,s,i,o,u)},e}(),Ja=function(){function e(t){var n=t.get();if(this.tagClass=n>>6,this.tagConstructed=(n&32)!==0,this.tagNumber=n&31,this.tagNumber==31){var r=new un;do n=t.get(),r.mulAdd(128,n&127);while(n&128);this.tagNumber=r.simplify()}}return e.prototype.isUniversal=function(){return this.tagClass===0},e.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},e}(),Ze,nv=0xdeadbeefcafe,es=(nv&16777215)==15715070,ie=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],rv=(1<<26)/ie[ie.length-1],L=function(){function e(t,n,r){t!=null&&(typeof t=="number"?this.fromNumber(t,n,r):n==null&&typeof t!="string"?this.fromString(t,256):this.fromString(t,n))}return e.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var n;if(t==16)n=4;else if(t==8)n=3;else if(t==2)n=1;else if(t==32)n=5;else if(t==4)n=2;else return this.toRadix(t);var r=(1<<n)-1,o,i=!1,a="",s=this.t,u=this.DB-s*this.DB%n;if(s-- >0)for(u<this.DB&&(o=this[s]>>u)>0&&(i=!0,a=De(o));s>=0;)u<n?(o=(this[s]&(1<<u)-1)<<n-u,o|=this[--s]>>(u+=this.DB-n)):(o=this[s]>>(u-=n)&r,u<=0&&(u+=this.DB,--s)),o>0&&(i=!0),i&&(a+=De(o));return i?a:"0"},e.prototype.negate=function(){var t=V();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(t){var n=this.s-t.s;if(n!=0)return n;var r=this.t;if(n=r-t.t,n!=0)return this.s<0?-n:n;for(;--r>=0;)if((n=this[r]-t[r])!=0)return n;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Hn(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=V();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(t,n){var r;return t<256||n.isEven()?r=new ts(n):r=new ns(n),this.exp(t,r)},e.prototype.clone=function(){var t=V();return this.copyTo(t),t},e.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var t=this.t,n=[];n[0]=this.s;var r=this.DB-t*this.DB%8,o,i=0;if(t-- >0)for(r<this.DB&&(o=this[t]>>r)!=(this.s&this.DM)>>r&&(n[i++]=o|this.s<<this.DB-r);t>=0;)r<8?(o=(this[t]&(1<<r)-1)<<8-r,o|=this[--t]>>(r+=this.DB-8)):(o=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),(o&128)!=0&&(o|=-256),i==0&&(this.s&128)!=(o&128)&&++i,(i>0||o!=this.s)&&(n[i++]=o);return n},e.prototype.equals=function(t){return this.compareTo(t)==0},e.prototype.min=function(t){return this.compareTo(t)<0?this:t},e.prototype.max=function(t){return this.compareTo(t)>0?this:t},e.prototype.and=function(t){var n=V();return this.bitwiseTo(t,Xm,n),n},e.prototype.or=function(t){var n=V();return this.bitwiseTo(t,Ln,n),n},e.prototype.xor=function(t){var n=V();return this.bitwiseTo(t,Ya,n),n},e.prototype.andNot=function(t){var n=V();return this.bitwiseTo(t,Za,n),n},e.prototype.not=function(){for(var t=V(),n=0;n<this.t;++n)t[n]=this.DM&~this[n];return t.t=this.t,t.s=~this.s,t},e.prototype.shiftLeft=function(t){var n=V();return t<0?this.rShiftTo(-t,n):this.lShiftTo(t,n),n},e.prototype.shiftRight=function(t){var n=V();return t<0?this.lShiftTo(-t,n):this.rShiftTo(t,n),n},e.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(this[t]!=0)return t*this.DB+Ym(this[t]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var t=0,n=this.s&this.DM,r=0;r<this.t;++r)t+=Zm(this[r]^n);return t},e.prototype.testBit=function(t){var n=Math.floor(t/this.DB);return n>=this.t?this.s!=0:(this[n]&1<<t%this.DB)!=0},e.prototype.setBit=function(t){return this.changeBit(t,Ln)},e.prototype.clearBit=function(t){return this.changeBit(t,Za)},e.prototype.flipBit=function(t){return this.changeBit(t,Ya)},e.prototype.add=function(t){var n=V();return this.addTo(t,n),n},e.prototype.subtract=function(t){var n=V();return this.subTo(t,n),n},e.prototype.multiply=function(t){var n=V();return this.multiplyTo(t,n),n},e.prototype.divide=function(t){var n=V();return this.divRemTo(t,n,null),n},e.prototype.remainder=function(t){var n=V();return this.divRemTo(t,null,n),n},e.prototype.divideAndRemainder=function(t){var n=V(),r=V();return this.divRemTo(t,n,r),[n,r]},e.prototype.modPow=function(t,n){var r=t.bitLength(),o,i=Ge(1),a;if(r<=0)return i;r<18?o=1:r<48?o=3:r<144?o=4:r<768?o=5:o=6,r<8?a=new ts(n):n.isEven()?a=new iv(n):a=new ns(n);var s=[],u=3,f=o-1,c=(1<<o)-1;if(s[1]=a.convert(this),o>1){var d=V();for(a.sqrTo(s[1],d);u<=c;)s[u]=V(),a.mulTo(d,s[u-2],s[u]),u+=2}var h=t.t-1,p,g=!0,m=V(),y;for(r=Hn(t[h])-1;h>=0;){for(r>=f?p=t[h]>>r-f&c:(p=(t[h]&(1<<r+1)-1)<<f-r,h>0&&(p|=t[h-1]>>this.DB+r-f)),u=o;(p&1)==0;)p>>=1,--u;if((r-=u)<0&&(r+=this.DB,--h),g)s[p].copyTo(i),g=!1;else{for(;u>1;)a.sqrTo(i,m),a.sqrTo(m,i),u-=2;u>0?a.sqrTo(i,m):(y=i,i=m,m=y),a.mulTo(m,s[p],i)}for(;h>=0&&(t[h]&1<<r)==0;)a.sqrTo(i,m),y=i,i=m,m=y,--r<0&&(r=this.DB-1,--h)}return a.revert(i)},e.prototype.modInverse=function(t){var n=t.isEven();if(this.isEven()&&n||t.signum()==0)return e.ZERO;for(var r=t.clone(),o=this.clone(),i=Ge(1),a=Ge(0),s=Ge(0),u=Ge(1);r.signum()!=0;){for(;r.isEven();)r.rShiftTo(1,r),n?((!i.isEven()||!a.isEven())&&(i.addTo(this,i),a.subTo(t,a)),i.rShiftTo(1,i)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;o.isEven();)o.rShiftTo(1,o),n?((!s.isEven()||!u.isEven())&&(s.addTo(this,s),u.subTo(t,u)),s.rShiftTo(1,s)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);r.compareTo(o)>=0?(r.subTo(o,r),n&&i.subTo(s,i),a.subTo(u,a)):(o.subTo(r,o),n&&s.subTo(i,s),u.subTo(a,u))}if(o.compareTo(e.ONE)!=0)return e.ZERO;if(u.compareTo(t)>=0)return u.subtract(t);if(u.signum()<0)u.addTo(t,u);else return u;return u.signum()<0?u.add(t):u},e.prototype.pow=function(t){return this.exp(t,new ov)},e.prototype.gcd=function(t){var n=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(n.compareTo(r)<0){var o=n;n=r,r=o}var i=n.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)return n;for(i<a&&(a=i),a>0&&(n.rShiftTo(a,n),r.rShiftTo(a,r));n.signum()>0;)(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r));return a>0&&r.lShiftTo(a,r),r},e.prototype.isProbablePrime=function(t){var n,r=this.abs();if(r.t==1&&r[0]<=ie[ie.length-1]){for(n=0;n<ie.length;++n)if(r[0]==ie[n])return!0;return!1}if(r.isEven())return!1;for(n=1;n<ie.length;){for(var o=ie[n],i=n+1;i<ie.length&&o<rv;)o*=ie[i++];for(o=r.modInt(o);n<i;)if(o%ie[n++]==0)return!1}return r.millerRabin(t)},e.prototype.copyTo=function(t){for(var n=this.t-1;n>=0;--n)t[n]=this[n];t.t=this.t,t.s=this.s},e.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},e.prototype.fromString=function(t,n){var r;if(n==16)r=4;else if(n==8)r=3;else if(n==256)r=8;else if(n==2)r=1;else if(n==32)r=5;else if(n==4)r=2;else{this.fromRadix(t,n);return}this.t=0,this.s=0;for(var o=t.length,i=!1,a=0;--o>=0;){var s=r==8?+t[o]&255:os(t,o);if(s<0){t.charAt(o)=="-"&&(i=!0);continue}i=!1,a==0?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB)}r==8&&(+t[0]&128)!=0&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},e.prototype.dlShiftTo=function(t,n){var r;for(r=this.t-1;r>=0;--r)n[r+t]=this[r];for(r=t-1;r>=0;--r)n[r]=0;n.t=this.t+t,n.s=this.s},e.prototype.drShiftTo=function(t,n){for(var r=t;r<this.t;++r)n[r-t]=this[r];n.t=Math.max(this.t-t,0),n.s=this.s},e.prototype.lShiftTo=function(t,n){for(var r=t%this.DB,o=this.DB-r,i=(1<<o)-1,a=Math.floor(t/this.DB),s=this.s<<r&this.DM,u=this.t-1;u>=0;--u)n[u+a+1]=this[u]>>o|s,s=(this[u]&i)<<r;for(var u=a-1;u>=0;--u)n[u]=0;n[a]=s,n.t=this.t+a+1,n.s=this.s,n.clamp()},e.prototype.rShiftTo=function(t,n){n.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t){n.t=0;return}var o=t%this.DB,i=this.DB-o,a=(1<<o)-1;n[0]=this[r]>>o;for(var s=r+1;s<this.t;++s)n[s-r-1]|=(this[s]&a)<<i,n[s-r]=this[s]>>o;o>0&&(n[this.t-r-1]|=(this.s&a)<<i),n.t=this.t-r,n.clamp()},e.prototype.subTo=function(t,n){for(var r=0,o=0,i=Math.min(t.t,this.t);r<i;)o+=this[r]-t[r],n[r++]=o&this.DM,o>>=this.DB;if(t.t<this.t){for(o-=t.s;r<this.t;)o+=this[r],n[r++]=o&this.DM,o>>=this.DB;o+=this.s}else{for(o+=this.s;r<t.t;)o-=t[r],n[r++]=o&this.DM,o>>=this.DB;o-=t.s}n.s=o<0?-1:0,o<-1?n[r++]=this.DV+o:o>0&&(n[r++]=o),n.t=r,n.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),o=t.abs(),i=r.t;for(n.t=i+o.t;--i>=0;)n[i]=0;for(i=0;i<o.t;++i)n[i+r.t]=r.am(0,o[i],n,i,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.squareTo=function(t){for(var n=this.abs(),r=t.t=2*n.t;--r>=0;)t[r]=0;for(r=0;r<n.t-1;++r){var o=n.am(r,n[r],t,2*r,0,1);(t[r+n.t]+=n.am(r+1,2*n[r],t,2*r+1,o,n.t-r-1))>=n.DV&&(t[r+n.t]-=n.DV,t[r+n.t+1]=1)}t.t>0&&(t[t.t-1]+=n.am(r,n[r],t,2*r,0,1)),t.s=0,t.clamp()},e.prototype.divRemTo=function(t,n,r){var o=t.abs();if(!(o.t<=0)){var i=this.abs();if(i.t<o.t){n!=null&&n.fromInt(0),r!=null&&this.copyTo(r);return}r==null&&(r=V());var a=V(),s=this.s,u=t.s,f=this.DB-Hn(o[o.t-1]);f>0?(o.lShiftTo(f,a),i.lShiftTo(f,r)):(o.copyTo(a),i.copyTo(r));var c=a.t,d=a[c-1];if(d!=0){var h=d*(1<<this.F1)+(c>1?a[c-2]>>this.F2:0),p=this.FV/h,g=(1<<this.F1)/h,m=1<<this.F2,y=r.t,b=y-c,C=n??V();for(a.dlShiftTo(b,C),r.compareTo(C)>=0&&(r[r.t++]=1,r.subTo(C,r)),e.ONE.dlShiftTo(c,C),C.subTo(a,a);a.t<c;)a[a.t++]=0;for(;--b>=0;){var x=r[--y]==d?this.DM:Math.floor(r[y]*p+(r[y-1]+m)*g);if((r[y]+=a.am(0,x,r,b,0,c))<x)for(a.dlShiftTo(b,C),r.subTo(C,r);r[y]<--x;)r.subTo(C,r)}n!=null&&(r.drShiftTo(c,n),s!=u&&e.ZERO.subTo(n,n)),r.t=c,r.clamp(),f>0&&r.rShiftTo(f,r),s<0&&e.ZERO.subTo(r,r)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if((t&1)==0)return 0;var n=t&3;return n=n*(2-(t&15)*n)&15,n=n*(2-(t&255)*n)&255,n=n*(2-((t&65535)*n&65535))&65535,n=n*(2-t*n%this.DV)%this.DV,n>0?this.DV-n:-n},e.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=V(),o=V(),i=n.convert(this),a=Hn(t)-1;for(i.copyTo(r);--a>=0;)if(n.sqrTo(r,o),(t&1<<a)>0)n.mulTo(o,i,r);else{var s=r;r=o,o=s}return n.revert(r)},e.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},e.prototype.toRadix=function(t){if(t==null&&(t=10),this.signum()==0||t<2||t>36)return"0";var n=this.chunkSize(t),r=Math.pow(t,n),o=Ge(r),i=V(),a=V(),s="";for(this.divRemTo(o,i,a);i.signum()>0;)s=(r+a.intValue()).toString(t).substr(1)+s,i.divRemTo(o,i,a);return a.intValue().toString(t)+s},e.prototype.fromRadix=function(t,n){this.fromInt(0),n==null&&(n=10);for(var r=this.chunkSize(n),o=Math.pow(n,r),i=!1,a=0,s=0,u=0;u<t.length;++u){var f=os(t,u);if(f<0){t.charAt(u)=="-"&&this.signum()==0&&(i=!0);continue}s=n*s+f,++a>=r&&(this.dMultiply(o),this.dAddOffset(s,0),a=0,s=0)}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),i&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if(typeof n=="number")if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Ln,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var o=[],i=t&7;o.length=(t>>3)+1,n.nextBytes(o),i>0?o[0]&=(1<<i)-1:o[0]=0,this.fromString(o,256)}},e.prototype.bitwiseTo=function(t,n,r){var o,i,a=Math.min(t.t,this.t);for(o=0;o<a;++o)r[o]=n(this[o],t[o]);if(t.t<this.t){for(i=t.s&this.DM,o=a;o<this.t;++o)r[o]=n(this[o],i);r.t=this.t}else{for(i=this.s&this.DM,o=a;o<t.t;++o)r[o]=n(i,t[o]);r.t=t.t}r.s=n(this.s,t.s),r.clamp()},e.prototype.changeBit=function(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r},e.prototype.addTo=function(t,n){for(var r=0,o=0,i=Math.min(t.t,this.t);r<i;)o+=this[r]+t[r],n[r++]=o&this.DM,o>>=this.DB;if(t.t<this.t){for(o+=t.s;r<this.t;)o+=this[r],n[r++]=o&this.DM,o>>=this.DB;o+=this.s}else{for(o+=this.s;r<t.t;)o+=t[r],n[r++]=o&this.DM,o>>=this.DB;o+=t.s}n.s=o<0?-1:0,o>0?n[r++]=o:o<-1&&(n[r++]=this.DV+o),n.t=r,n.clamp()},e.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(t,n){if(t!=0){for(;this.t<=n;)this[this.t++]=0;for(this[n]+=t;this[n]>=this.DV;)this[n]-=this.DV,++n>=this.t&&(this[this.t++]=0),++this[n]}},e.prototype.multiplyLowerTo=function(t,n,r){var o=Math.min(this.t+t.t,n);for(r.s=0,r.t=o;o>0;)r[--o]=0;for(var i=r.t-this.t;o<i;++o)r[o+this.t]=this.am(0,t[o],r,o,0,this.t);for(var i=Math.min(t.t,n);o<i;++o)this.am(0,t[o],r,o,0,n-o);r.clamp()},e.prototype.multiplyUpperTo=function(t,n,r){--n;var o=r.t=this.t+t.t-n;for(r.s=0;--o>=0;)r[o]=0;for(o=Math.max(n-this.t,0);o<t.t;++o)r[this.t+o-n]=this.am(n-o,t[o],r,0,0,this.t+o-n);r.clamp(),r.drShiftTo(1,r)},e.prototype.modInt=function(t){if(t<=0)return 0;var n=this.DV%t,r=this.s<0?t-1:0;if(this.t>0)if(n==0)r=this[0]%t;else for(var o=this.t-1;o>=0;--o)r=(n*r+this[o])%t;return r},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var o=n.shiftRight(r);t=t+1>>1,t>ie.length&&(t=ie.length);for(var i=V(),a=0;a<t;++a){i.fromInt(ie[Math.floor(Math.random()*ie.length)]);var s=i.modPow(o,this);if(s.compareTo(e.ONE)!=0&&s.compareTo(n)!=0){for(var u=1;u++<r&&s.compareTo(n)!=0;)if(s=s.modPowInt(2,this),s.compareTo(e.ONE)==0)return!1;if(s.compareTo(n)!=0)return!1}}return!0},e.prototype.square=function(){var t=V();return this.squareTo(t),t},e.prototype.gcda=function(t,n){var r=this.s<0?this.negate():this.clone(),o=t.s<0?t.negate():t.clone();if(r.compareTo(o)<0){var i=r;r=o,o=i}var a=r.getLowestSetBit(),s=o.getLowestSetBit();if(s<0){n(r);return}a<s&&(s=a),s>0&&(r.rShiftTo(s,r),o.rShiftTo(s,o));var u=function(){(a=r.getLowestSetBit())>0&&r.rShiftTo(a,r),(a=o.getLowestSetBit())>0&&o.rShiftTo(a,o),r.compareTo(o)>=0?(r.subTo(o,r),r.rShiftTo(1,r)):(o.subTo(r,o),o.rShiftTo(1,o)),r.signum()>0?setTimeout(u,0):(s>0&&o.lShiftTo(s,o),setTimeout(function(){n(o)},0))};setTimeout(u,10)},e.prototype.fromNumberAsync=function(t,n,r,o){if(typeof n=="number")if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Ln,this),this.isEven()&&this.dAddOffset(1,0);var i=this,a=function(){i.dAddOffset(2,0),i.bitLength()>t&&i.subTo(e.ONE.shiftLeft(t-1),i),i.isProbablePrime(n)?setTimeout(function(){o()},0):setTimeout(a,0)};setTimeout(a,0)}else{var s=[],u=t&7;s.length=(t>>3)+1,n.nextBytes(s),u>0?s[0]&=(1<<u)-1:s[0]=0,this.fromString(s,256)}},e}(),ov=function(){function e(){}return e.prototype.convert=function(t){return t},e.prototype.revert=function(t){return t},e.prototype.mulTo=function(t,n,r){t.multiplyTo(n,r)},e.prototype.sqrTo=function(t,n){t.squareTo(n)},e}(),ts=function(){function e(t){this.m=t}return e.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},e.prototype.revert=function(t){return t},e.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},e.prototype.mulTo=function(t,n,r){t.multiplyTo(n,r),this.reduce(r)},e.prototype.sqrTo=function(t,n){t.squareTo(n),this.reduce(n)},e}(),ns=function(){function e(t){this.m=t,this.mp=t.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return e.prototype.convert=function(t){var n=V();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(L.ZERO)>0&&this.m.subTo(n,n),n},e.prototype.revert=function(t){var n=V();return t.copyTo(n),this.reduce(n),n},e.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var n=0;n<this.m.t;++n){var r=t[n]&32767,o=r*this.mpl+((r*this.mph+(t[n]>>15)*this.mpl&this.um)<<15)&t.DM;for(r=n+this.m.t,t[r]+=this.m.am(0,o,t,n,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},e.prototype.mulTo=function(t,n,r){t.multiplyTo(n,r),this.reduce(r)},e.prototype.sqrTo=function(t,n){t.squareTo(n),this.reduce(n)},e}(),iv=function(){function e(t){this.m=t,this.r2=V(),this.q3=V(),L.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return e.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var n=V();return t.copyTo(n),this.reduce(n),n},e.prototype.revert=function(t){return t},e.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},e.prototype.mulTo=function(t,n,r){t.multiplyTo(n,r),this.reduce(r)},e.prototype.sqrTo=function(t,n){t.squareTo(n),this.reduce(n)},e}();function V(){return new L(null)}function G(e,t){return new L(e,t)}var rs=typeof navigator<"u";rs&&es&&navigator.appName=="Microsoft Internet Explorer"?(L.prototype.am=function(t,n,r,o,i,a){for(var s=n&32767,u=n>>15;--a>=0;){var f=this[t]&32767,c=this[t++]>>15,d=u*f+c*s;f=s*f+((d&32767)<<15)+r[o]+(i&1073741823),i=(f>>>30)+(d>>>15)+u*c+(i>>>30),r[o++]=f&1073741823}return i},Ze=30):rs&&es&&navigator.appName!="Netscape"?(L.prototype.am=function(t,n,r,o,i,a){for(;--a>=0;){var s=n*this[t++]+r[o]+i;i=Math.floor(s/67108864),r[o++]=s&67108863}return i},Ze=26):(L.prototype.am=function(t,n,r,o,i,a){for(var s=n&16383,u=n>>14;--a>=0;){var f=this[t]&16383,c=this[t++]>>14,d=u*f+c*s;f=s*f+((d&16383)<<14)+r[o]+i,i=(f>>28)+(d>>14)+u*c,r[o++]=f&268435455}return i},Ze=28);L.prototype.DB=Ze;L.prototype.DM=(1<<Ze)-1;L.prototype.DV=1<<Ze;var Mi=52;L.prototype.FV=Math.pow(2,Mi);L.prototype.F1=Mi-Ze;L.prototype.F2=2*Ze-Mi;var Fr=[],Qt,me;Qt=48;for(me=0;me<=9;++me)Fr[Qt++]=me;Qt=97;for(me=10;me<36;++me)Fr[Qt++]=me;Qt=65;for(me=10;me<36;++me)Fr[Qt++]=me;function os(e,t){var n=Fr[e.charCodeAt(t)];return n??-1}function Ge(e){var t=V();return t.fromInt(e),t}function Hn(e){var t=1,n;return(n=e>>>16)!=0&&(e=n,t+=16),(n=e>>8)!=0&&(e=n,t+=8),(n=e>>4)!=0&&(e=n,t+=4),(n=e>>2)!=0&&(e=n,t+=2),(n=e>>1)!=0&&(e=n,t+=1),t}L.ZERO=Ge(0);L.ONE=Ge(1);var av=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(t){var n,r,o;for(n=0;n<256;++n)this.S[n]=n;for(r=0,n=0;n<256;++n)r=r+this.S[n]+t[n%t.length]&255,o=this.S[n],this.S[n]=this.S[r],this.S[r]=o;this.i=0,this.j=0},e.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},e}();function sv(){return new av}var Cc=256,Vn,qe=null,Se;if(qe==null){qe=[],Se=0;var jn=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var so=new Uint32Array(256);for(window.crypto.getRandomValues(so),jn=0;jn<so.length;++jn)qe[Se++]=so[jn]&255}var zn=0,kn=function(e){if(zn=zn||0,zn>=256||Se>=Cc){window.removeEventListener?window.removeEventListener("mousemove",kn,!1):window.detachEvent&&window.detachEvent("onmousemove",kn);return}try{var t=e.x+e.y;qe[Se++]=t&255,zn+=1}catch{}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",kn,!1):window.attachEvent&&window.attachEvent("onmousemove",kn))}function lv(){if(Vn==null){for(Vn=sv();Se<Cc;){var e=Math.floor(65536*Math.random());qe[Se++]=e&255}for(Vn.init(qe),Se=0;Se<qe.length;++Se)qe[Se]=0;Se=0}return Vn.next()}var jo=function(){function e(){}return e.prototype.nextBytes=function(t){for(var n=0;n<t.length;++n)t[n]=lv()},e}();function cv(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var n=t-e.length-6,r="",o=0;o<n;o+=2)r+="ff";var i="0001"+r+"00"+e;return G(i,16)}function uv(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;for(var n=[],r=e.length-1;r>=0&&t>0;){var o=e.charCodeAt(r--);o<128?n[--t]=o:o>127&&o<2048?(n[--t]=o&63|128,n[--t]=o>>6|192):(n[--t]=o&63|128,n[--t]=o>>6&63|128,n[--t]=o>>12|224)}n[--t]=0;for(var i=new jo,a=[];t>2;){for(a[0]=0;a[0]==0;)i.nextBytes(a);n[--t]=a[0]}return n[--t]=2,n[--t]=0,new L(n)}var fv=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(t){if(this.p==null||this.q==null)return t.modPow(this.d,this.n);for(var n=t.mod(this.p).modPow(this.dmp1,this.p),r=t.mod(this.q).modPow(this.dmq1,this.q);n.compareTo(r)<0;)n=n.add(this.p);return n.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},e.prototype.setPublic=function(t,n){t!=null&&n!=null&&t.length>0&&n.length>0?(this.n=G(t,16),this.e=parseInt(n,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(t){var n=this.n.bitLength()+7>>3,r=uv(t,n);if(r==null)return null;var o=this.doPublic(r);if(o==null)return null;for(var i=o.toString(16),a=i.length,s=0;s<n*2-a;s++)i="0"+i;return i},e.prototype.setPrivate=function(t,n,r){t!=null&&n!=null&&t.length>0&&n.length>0?(this.n=G(t,16),this.e=parseInt(n,16),this.d=G(r,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(t,n,r,o,i,a,s,u){t!=null&&n!=null&&t.length>0&&n.length>0?(this.n=G(t,16),this.e=parseInt(n,16),this.d=G(r,16),this.p=G(o,16),this.q=G(i,16),this.dmp1=G(a,16),this.dmq1=G(s,16),this.coeff=G(u,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(t,n){var r=new jo,o=t>>1;this.e=parseInt(n,16);for(var i=new L(n,16);;){for(;this.p=new L(t-o,1,r),!(this.p.subtract(L.ONE).gcd(i).compareTo(L.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new L(o,1,r),!(this.q.subtract(L.ONE).gcd(i).compareTo(L.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var a=this.p;this.p=this.q,this.q=a}var s=this.p.subtract(L.ONE),u=this.q.subtract(L.ONE),f=s.multiply(u);if(f.gcd(i).compareTo(L.ONE)==0){this.n=this.p.multiply(this.q),this.d=i.modInverse(f),this.dmp1=this.d.mod(s),this.dmq1=this.d.mod(u),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(t){var n=G(t,16),r=this.doPrivate(n);return r==null?null:dv(r,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(t,n,r){var o=new jo,i=t>>1;this.e=parseInt(n,16);var a=new L(n,16),s=this,u=function(){var f=function(){if(s.p.compareTo(s.q)<=0){var h=s.p;s.p=s.q,s.q=h}var p=s.p.subtract(L.ONE),g=s.q.subtract(L.ONE),m=p.multiply(g);m.gcd(a).compareTo(L.ONE)==0?(s.n=s.p.multiply(s.q),s.d=a.modInverse(m),s.dmp1=s.d.mod(p),s.dmq1=s.d.mod(g),s.coeff=s.q.modInverse(s.p),setTimeout(function(){r()},0)):setTimeout(u,0)},c=function(){s.q=V(),s.q.fromNumberAsync(i,1,o,function(){s.q.subtract(L.ONE).gcda(a,function(h){h.compareTo(L.ONE)==0&&s.q.isProbablePrime(10)?setTimeout(f,0):setTimeout(c,0)})})},d=function(){s.p=V(),s.p.fromNumberAsync(t-i,1,o,function(){s.p.subtract(L.ONE).gcda(a,function(h){h.compareTo(L.ONE)==0&&s.p.isProbablePrime(10)?setTimeout(c,0):setTimeout(d,0)})})};setTimeout(d,0)};setTimeout(u,0)},e.prototype.sign=function(t,n,r){var o=hv(r),i=o+n(t).toString(),a=cv(i,this.n.bitLength()/4);if(a==null)return null;var s=this.doPrivate(a);if(s==null)return null;var u=s.toString(16);return(u.length&1)==0?u:"0"+u},e.prototype.verify=function(t,n,r){var o=G(n,16),i=this.doPublic(o);if(i==null)return null;var a=i.toString(16).replace(/^1f+00/,""),s=pv(a);return s==r(t).toString()},e}();function dv(e,t){for(var n=e.toByteArray(),r=0;r<n.length&&n[r]==0;)++r;if(n.length-r!=t-1||n[r]!=2)return null;for(++r;n[r]!=0;)if(++r>=n.length)return null;for(var o="";++r<n.length;){var i=n[r]&255;i<128?o+=String.fromCharCode(i):i>191&&i<224?(o+=String.fromCharCode((i&31)<<6|n[r+1]&63),++r):(o+=String.fromCharCode((i&15)<<12|(n[r+1]&63)<<6|n[r+2]&63),r+=2)}return o}var er={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function hv(e){return er[e]||""}function pv(e){for(var t in er)if(er.hasOwnProperty(t)){var n=er[t],r=n.length;if(e.substr(0,r)==n)return e.substr(r)}return e}/*!
26
- Copyright (c) 2011, Yahoo! Inc. All rights reserved.
27
- Code licensed under the BSD License:
28
- http://developer.yahoo.com/yui/license.html
29
- version: 2.9.0
30
- */var X={};X.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var o;for(o in n)e.prototype[o]=n[o];var i=function(){},a=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(i=function(s,u){for(o=0;o<a.length;o=o+1){var f=a[o],c=u[f];typeof c=="function"&&c!=Object.prototype[f]&&(s[f]=c)}})}catch{}i(e.prototype,n)}}};/**
31
- * @fileOverview
32
- * @name asn1-1.0.js
33
- * @author Kenji Urushima kenji.urushima@gmail.com
34
- * @version asn1 1.0.13 (2017-Jun-02)
35
- * @since jsrsasign 2.1
36
- * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
37
- */var _={};(typeof _.asn1>"u"||!_.asn1)&&(_.asn1={});_.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if(t.substr(0,1)!="-")t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1),r=n.length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var o="",i=0;i<r;i++)o+="f";var a=new L(o,16),s=a.xor(e).add(L.ONE);t=s.toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=_,n=t.asn1,r=n.DERBoolean,o=n.DERInteger,i=n.DERBitString,a=n.DEROctetString,s=n.DERNull,u=n.DERObjectIdentifier,f=n.DEREnumerated,c=n.DERUTF8String,d=n.DERNumericString,h=n.DERPrintableString,p=n.DERTeletexString,g=n.DERIA5String,m=n.DERUTCTime,y=n.DERGeneralizedTime,b=n.DERSequence,C=n.DERSet,x=n.DERTaggedObject,$=n.ASN1Util.newObject,S=Object.keys(e);if(S.length!=1)throw"key of param shall be only one.";var T=S[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+T+":")==-1)throw"undefined key: "+T;if(T=="bool")return new r(e[T]);if(T=="int")return new o(e[T]);if(T=="bitstr")return new i(e[T]);if(T=="octstr")return new a(e[T]);if(T=="null")return new s(e[T]);if(T=="oid")return new u(e[T]);if(T=="enum")return new f(e[T]);if(T=="utf8str")return new c(e[T]);if(T=="numstr")return new d(e[T]);if(T=="prnstr")return new h(e[T]);if(T=="telstr")return new p(e[T]);if(T=="ia5str")return new g(e[T]);if(T=="utctime")return new m(e[T]);if(T=="gentime")return new y(e[T]);if(T=="seq"){for(var w=e[T],O=[],I=0;I<w.length;I++){var N=$(w[I]);O.push(N)}return new b({array:O})}if(T=="set"){for(var w=e[T],O=[],I=0;I<w.length;I++){var N=$(w[I]);O.push(N)}return new C({array:O})}if(T=="tag"){var M=e[T];if(Object.prototype.toString.call(M)==="[object Array]"&&M.length==3){var R=$(M[2]);return new x({tag:M[0],explicit:M[1],obj:R})}else{var F={};if(M.explicit!==void 0&&(F.explicit=M.explicit),M.tag!==void 0&&(F.tag=M.tag),M.obj===void 0)throw"obj shall be specified for 'tag'.";return F.obj=$(M.obj),new x(F)}}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.getEncodedHex()}};_.asn1.ASN1Util.oidHexToInt=function(e){for(var o="",t=parseInt(e.substr(0,2),16),n=Math.floor(t/40),r=t%40,o=n+"."+r,i="",a=2;a<e.length;a+=2){var s=parseInt(e.substr(a,2),16),u=("00000000"+s.toString(2)).slice(-8);if(i=i+u.substr(1,7),u.substr(0,1)=="0"){var f=new L(i,2);o=o+"."+f.toString(10),i=""}}return o};_.asn1.ASN1Util.oidIntToHex=function(e){var t=function(s){var u=s.toString(16);return u.length==1&&(u="0"+u),u},n=function(s){var u="",f=new L(s,10),c=f.toString(2),d=7-c.length%7;d==7&&(d=0);for(var h="",p=0;p<d;p++)h+="0";c=h+c;for(var p=0;p<c.length-1;p+=7){var g=c.substr(p,7);p!=c.length-7&&(g="1"+g),u+=t(parseInt(g,2))}return u};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",o=e.split("."),i=parseInt(o[0])*40+parseInt(o[1]);r+=t(i),o.splice(0,2);for(var a=0;a<o.length;a++)r+=n(o[a]);return r};_.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var t=this.hV.length/2,n=t.toString(16);if(n.length%2==1&&(n="0"+n),t<128)return n;var r=n.length/2;if(r>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);var o=128+r;return o.toString(16)+n},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}};_.asn1.DERAbstractString=function(e){_.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"?this.setString(e):typeof e.str<"u"?this.setString(e.str):typeof e.hex<"u"&&this.setStringHex(e.hex))};X.lang.extend(_.asn1.DERAbstractString,_.asn1.ASN1Object);_.asn1.DERAbstractTime=function(e){_.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){utc=t.getTime()+t.getTimezoneOffset()*6e4;var n=new Date(utc);return n},this.formatDate=function(t,n,r){var o=this.zeroPadding,i=this.localDateToUTC(t),a=String(i.getFullYear());n=="utc"&&(a=a.substr(2,2));var s=o(String(i.getMonth()+1),2),u=o(String(i.getDate()),2),f=o(String(i.getHours()),2),c=o(String(i.getMinutes()),2),d=o(String(i.getSeconds()),2),h=a+s+u+f+c+d;if(r===!0){var p=i.getMilliseconds();if(p!=0){var g=o(String(p),3);g=g.replace(/[0]+$/,""),h=h+"."+g}}return h+"Z"},this.zeroPadding=function(t,n){return t.length>=n?t:new Array(n-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,n,r,o,i,a){var s=new Date(Date.UTC(t,n-1,r,o,i,a,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}};X.lang.extend(_.asn1.DERAbstractTime,_.asn1.ASN1Object);_.asn1.DERAbstractStructured=function(e){_.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,typeof e<"u"&&typeof e.array<"u"&&(this.asn1Array=e.array)};X.lang.extend(_.asn1.DERAbstractStructured,_.asn1.ASN1Object);_.asn1.DERBoolean=function(){_.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"};X.lang.extend(_.asn1.DERBoolean,_.asn1.ASN1Object);_.asn1.DERInteger=function(e){_.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=_.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var n=new L(String(t),10);this.setByBigInteger(n)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.bigint<"u"?this.setByBigInteger(e.bigint):typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))};X.lang.extend(_.asn1.DERInteger,_.asn1.ASN1Object);_.asn1.DERBitString=function(e){if(e!==void 0&&typeof e.obj<"u"){var t=_.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}_.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(n){this.hTLV=null,this.isModified=!0,this.hV=n},this.setUnusedBitsAndHexValue=function(n,r){if(n<0||7<n)throw"unused bits shall be from 0 to 7: u = "+n;var o="0"+n;this.hTLV=null,this.isModified=!0,this.hV=o+r},this.setByBinaryString=function(n){n=n.replace(/0+$/,"");var r=8-n.length%8;r==8&&(r=0);for(var o=0;o<=r;o++)n+="0";for(var i="",o=0;o<n.length-1;o+=8){var a=n.substr(o,8),s=parseInt(a,2).toString(16);s.length==1&&(s="0"+s),i+=s}this.hTLV=null,this.isModified=!0,this.hV="0"+r+i},this.setByBooleanArray=function(n){for(var r="",o=0;o<n.length;o++)n[o]==!0?r+="1":r+="0";this.setByBinaryString(r)},this.newFalseArray=function(n){for(var r=new Array(n),o=0;o<n;o++)r[o]=!1;return r},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):typeof e.hex<"u"?this.setHexValueIncludingUnusedBits(e.hex):typeof e.bin<"u"?this.setByBinaryString(e.bin):typeof e.array<"u"&&this.setByBooleanArray(e.array))};X.lang.extend(_.asn1.DERBitString,_.asn1.ASN1Object);_.asn1.DEROctetString=function(e){if(e!==void 0&&typeof e.obj<"u"){var t=_.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}_.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"};X.lang.extend(_.asn1.DEROctetString,_.asn1.DERAbstractString);_.asn1.DERNull=function(){_.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"};X.lang.extend(_.asn1.DERNull,_.asn1.ASN1Object);_.asn1.DERObjectIdentifier=function(e){var t=function(r){var o=r.toString(16);return o.length==1&&(o="0"+o),o},n=function(r){var o="",i=new L(r,10),a=i.toString(2),s=7-a.length%7;s==7&&(s=0);for(var u="",f=0;f<s;f++)u+="0";a=u+a;for(var f=0;f<a.length-1;f+=7){var c=a.substr(f,7);f!=a.length-7&&(c="1"+c),o+=t(parseInt(c,2))}return o};_.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(r){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueOidString=function(r){if(!r.match(/^[0-9.]+$/))throw"malformed oid string: "+r;var o="",i=r.split("."),a=parseInt(i[0])*40+parseInt(i[1]);o+=t(a),i.splice(0,2);for(var s=0;s<i.length;s++)o+=n(i[s]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=o},this.setValueName=function(r){var o=_.asn1.x509.OID.name2oid(r);if(o!=="")this.setValueOidString(o);else throw"DERObjectIdentifier oidName undefined: "+r},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e=="string"?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):e.oid!==void 0?this.setValueOidString(e.oid):e.hex!==void 0?this.setValueHex(e.hex):e.name!==void 0&&this.setValueName(e.name))};X.lang.extend(_.asn1.DERObjectIdentifier,_.asn1.ASN1Object);_.asn1.DEREnumerated=function(e){_.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=_.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var n=new L(String(t),10);this.setByBigInteger(n)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))};X.lang.extend(_.asn1.DEREnumerated,_.asn1.ASN1Object);_.asn1.DERUTF8String=function(e){_.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"};X.lang.extend(_.asn1.DERUTF8String,_.asn1.DERAbstractString);_.asn1.DERNumericString=function(e){_.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"};X.lang.extend(_.asn1.DERNumericString,_.asn1.DERAbstractString);_.asn1.DERPrintableString=function(e){_.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"};X.lang.extend(_.asn1.DERPrintableString,_.asn1.DERAbstractString);_.asn1.DERTeletexString=function(e){_.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"};X.lang.extend(_.asn1.DERTeletexString,_.asn1.DERAbstractString);_.asn1.DERIA5String=function(e){_.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"};X.lang.extend(_.asn1.DERIA5String,_.asn1.DERAbstractString);_.asn1.DERUTCTime=function(e){_.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{12}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date))};X.lang.extend(_.asn1.DERUTCTime,_.asn1.DERAbstractTime);_.asn1.DERGeneralizedTime=function(e){_.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{14}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0))};X.lang.extend(_.asn1.DERGeneralizedTime,_.asn1.DERAbstractTime);_.asn1.DERSequence=function(e){_.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var t="",n=0;n<this.asn1Array.length;n++){var r=this.asn1Array[n];t+=r.getEncodedHex()}return this.hV=t,this.hV}};X.lang.extend(_.asn1.DERSequence,_.asn1.DERAbstractStructured);_.asn1.DERSet=function(e){_.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,n=0;n<this.asn1Array.length;n++){var r=this.asn1Array[n];t.push(r.getEncodedHex())}return this.sortFlag==!0&&t.sort(),this.hV=t.join(""),this.hV},typeof e<"u"&&typeof e.sortflag<"u"&&e.sortflag==!1&&(this.sortFlag=!1)};X.lang.extend(_.asn1.DERSet,_.asn1.DERAbstractStructured);_.asn1.DERTaggedObject=function(e){_.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,n,r){this.hT=n,this.isExplicit=t,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,n),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.tag<"u"&&(this.hT=e.tag),typeof e.explicit<"u"&&(this.isExplicit=e.explicit),typeof e.obj<"u"&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))};X.lang.extend(_.asn1.DERTaggedObject,_.asn1.ASN1Object);var gv=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),is=function(e){gv(t,e);function t(n){var r=e.call(this)||this;return n&&(typeof n=="string"?r.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return t.prototype.parseKey=function(n){try{var r=0,o=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,a=i.test(n)?Qm.decode(n):Vo.unarmor(n),s=tv.decode(a);if(s.sub.length===3&&(s=s.sub[2].sub[0]),s.sub.length===9){r=s.sub[1].getHexStringValue(),this.n=G(r,16),o=s.sub[2].getHexStringValue(),this.e=parseInt(o,16);var u=s.sub[3].getHexStringValue();this.d=G(u,16);var f=s.sub[4].getHexStringValue();this.p=G(f,16);var c=s.sub[5].getHexStringValue();this.q=G(c,16);var d=s.sub[6].getHexStringValue();this.dmp1=G(d,16);var h=s.sub[7].getHexStringValue();this.dmq1=G(h,16);var p=s.sub[8].getHexStringValue();this.coeff=G(p,16)}else if(s.sub.length===2)if(s.sub[0].sub){var g=s.sub[1],m=g.sub[0];r=m.sub[0].getHexStringValue(),this.n=G(r,16),o=m.sub[1].getHexStringValue(),this.e=parseInt(o,16)}else r=s.sub[0].getHexStringValue(),this.n=G(r,16),o=s.sub[1].getHexStringValue(),this.e=parseInt(o,16);else return!1;return!0}catch{return!1}},t.prototype.getPrivateBaseKey=function(){var n={array:[new _.asn1.DERInteger({int:0}),new _.asn1.DERInteger({bigint:this.n}),new _.asn1.DERInteger({int:this.e}),new _.asn1.DERInteger({bigint:this.d}),new _.asn1.DERInteger({bigint:this.p}),new _.asn1.DERInteger({bigint:this.q}),new _.asn1.DERInteger({bigint:this.dmp1}),new _.asn1.DERInteger({bigint:this.dmq1}),new _.asn1.DERInteger({bigint:this.coeff})]},r=new _.asn1.DERSequence(n);return r.getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return gr(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var n=new _.asn1.DERSequence({array:[new _.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new _.asn1.DERNull]}),r=new _.asn1.DERSequence({array:[new _.asn1.DERInteger({bigint:this.n}),new _.asn1.DERInteger({int:this.e})]}),o=new _.asn1.DERBitString({hex:"00"+r.getEncodedHex()}),i=new _.asn1.DERSequence({array:[n,o]});return i.getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return gr(this.getPublicBaseKey())},t.wordwrap=function(n,r){if(r=r||64,!n)return n;var o="(.{1,"+r+`})( +|$
38
- ?)|(.{1,`+r+"})";return n.match(RegExp(o,"g")).join(`
39
- `)},t.prototype.getPrivateKey=function(){var n=`-----BEGIN RSA PRIVATE KEY-----
40
- `;return n+=t.wordwrap(this.getPrivateBaseKeyB64())+`
41
- `,n+="-----END RSA PRIVATE KEY-----",n},t.prototype.getPublicKey=function(){var n=`-----BEGIN PUBLIC KEY-----
42
- `;return n+=t.wordwrap(this.getPublicBaseKeyB64())+`
43
- `,n+="-----END PUBLIC KEY-----",n},t.hasPublicKeyProperty=function(n){return n=n||{},n.hasOwnProperty("n")&&n.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(n){return n=n||{},n.hasOwnProperty("n")&&n.hasOwnProperty("e")&&n.hasOwnProperty("d")&&n.hasOwnProperty("p")&&n.hasOwnProperty("q")&&n.hasOwnProperty("dmp1")&&n.hasOwnProperty("dmq1")&&n.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(n){this.n=n.n,this.e=n.e,n.hasOwnProperty("d")&&(this.d=n.d,this.p=n.p,this.q=n.q,this.dmp1=n.dmp1,this.dmq1=n.dmq1,this.coeff=n.coeff)},t}(fv),lo,mv=typeof process<"u"?(lo=process.env)===null||lo===void 0?void 0:lo.npm_package_version:void 0,vv=function(){function e(t){t===void 0&&(t={}),t=t||{},this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null}return e.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new is(t)},e.prototype.setPrivateKey=function(t){this.setKey(t)},e.prototype.setPublicKey=function(t){this.setKey(t)},e.prototype.decrypt=function(t){try{return this.getKey().decrypt(Qa(t))}catch{return!1}},e.prototype.encrypt=function(t){try{return gr(this.getKey().encrypt(t))}catch{return!1}},e.prototype.sign=function(t,n,r){try{return gr(this.getKey().sign(t,n,r))}catch{return!1}},e.prototype.verify=function(t,n,r){try{return this.getKey().verify(t,Qa(n),r)}catch{return!1}},e.prototype.getKey=function(t){if(!this.key){if(this.key=new is,t&&{}.toString.call(t)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=mv,e}();function wc(e){return Rm(`-----BEGIN PUBLIC KEY-----
44
- <%= publickKey %>
45
- -----END PUBLIC KEY-----`)({publickKey:e})}async function xc(){const{data:e}=await Gm();return wc(e)}async function Tc(e,t){const n=new vv;return n.setPublicKey(e),n.encrypt(t)}async function tr(e){const t=await xc();return await Tc(t,e)}function yv(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}const bv=yv();let zo={app:{lightTheme:"classic",darkTheme:"dark",colorScheme:"light",defaultLang:"zh-cn",enablePermission:!0,enableProgress:!0,enableDynamicTitle:!0,storagePrefix:"wsy_rbac",enableErrorLog:!1,routeBaseOn:"frontend",enableUserPreferences:!0,enableSettingPreferences:!0,enableAppSetting:!0},home:{enable:!1,title:"主页"},layout:{widthMode:"adaption",enableMobileAdaptation:!1},menu:{menuMode:"head",isRounded:!0,menuActiveStyle:"",switchMainMenuAndPageJump:!0,subMenuUniqueOpened:!0,subMenuOnlyOneHide:!0,subMenuCollapse:!1,enableSubMenuCollapseButton:!0,enableHotkeys:!1},topbar:{mode:"fixed",switchTabbarAndToolbar:!1},tabbar:{enable:!0,style:"fashion",enableIcon:!0,mergeTabsBy:"activeMenu",enableMemory:!0,enableHotkeys:!0,storageTo:"local"},toolbar:{enableNotification:!0,enableI18n:!0,enableFullscreen:!0,enablePageReload:!0,enableColorScheme:!0},favorites:{enable:!0,storageTo:"local"},breadcrumb:{enable:!0,style:"",enableMainMenu:!0},mainPage:{enableHotkeys:!0,iframeCacheMax:3,enableTransition:!0,transitionMode:"fade"},navSearch:{enable:!0,enableHotkeys:!0},copyright:{enable:!1,dates:"2024-2025",company:"浙江省公众信息产业有限公司",website:"",beian:""},watermark:{enable:!1,text:"PUBINFO",width:150,x:0,y:0,x_space:50,y_space:50,alpha:.1}};function Sv(e){return zo=Qn(e,zo),e}function Di(){return zo}function pe(){var t;const e=Di();return(t=e==null?void 0:e.app)==null?void 0:t.storagePrefix}const ko={local:{has:e=>Object.prototype.hasOwnProperty.call(localStorage,`${pe()}${e}`),get:e=>localStorage.getItem(`${pe()}${e}`),set:(e,t)=>{localStorage.setItem(`${pe()}${e}`,t)},remove:e=>{localStorage.removeItem(`${pe()}${e}`)},clear:()=>{localStorage.clear()},getItem:e=>localStorage.getItem(`${pe()}${e}`),setItem:(e,t)=>{localStorage.setItem(`${pe()}${e}`,t)}},session:{has:e=>Object.prototype.hasOwnProperty.call(sessionStorage,`${pe()}${e}`),get:e=>sessionStorage.getItem(`${pe()}${e}`),set:(e,t)=>{sessionStorage.setItem(`${pe()}${e}`,t)},remove:e=>{sessionStorage.removeItem(`${pe()}${e}`)},clear:()=>{sessionStorage.clear()},getItem:e=>sessionStorage.getItem(`${pe()}${e}`),setItem:(e,t)=>{sessionStorage.setItem(`${pe()}${e}`,t)}}};function _e(e,t){return e?Dm.resolve(e,t??""):t??""}function Cv(e){for(const t in e)if(typeof e[t]!="function"){const n=e[t];e[t]=()=>n}return e}function mr(e,t=""){return vm(e,(n,r,o)=>{const i=t.length?`${t}.${o}`:o;return J(r)&&!Z(r)&&!Dr(r)?n=n.concat(mr(r,i)):n.push(i),n},[])}var Ee=(e=>(e.FAVORITES="favorites",e.IFRAME="iframe",e.KEEP_ALIVE="keepAlive",e.MENU="menu",e.NOTIFICATION="notification",e.ROUTE="route",e.SETTINGS="settings",e.TABBAR="tabbar",e.USER="user",e))(Ee||{}),co={exports:{}},uo={exports:{}},as;function wv(){return as||(as=1,function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(n,r){return n<<r|n>>>32-r},rotr:function(n,r){return n<<32-r|n>>>r},endian:function(n){if(n.constructor==Number)return t.rotl(n,8)&16711935|t.rotl(n,24)&4278255360;for(var r=0;r<n.length;r++)n[r]=t.endian(n[r]);return n},randomBytes:function(n){for(var r=[];n>0;n--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(n){for(var r=[],o=0,i=0;o<n.length;o++,i+=8)r[i>>>5]|=n[o]<<24-i%32;return r},wordsToBytes:function(n){for(var r=[],o=0;o<n.length*32;o+=8)r.push(n[o>>>5]>>>24-o%32&255);return r},bytesToHex:function(n){for(var r=[],o=0;o<n.length;o++)r.push((n[o]>>>4).toString(16)),r.push((n[o]&15).toString(16));return r.join("")},hexToBytes:function(n){for(var r=[],o=0;o<n.length;o+=2)r.push(parseInt(n.substr(o,2),16));return r},bytesToBase64:function(n){for(var r=[],o=0;o<n.length;o+=3)for(var i=n[o]<<16|n[o+1]<<8|n[o+2],a=0;a<4;a++)o*8+a*6<=n.length*8?r.push(e.charAt(i>>>6*(3-a)&63)):r.push("=");return r.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],o=0,i=0;o<n.length;i=++o%4)i!=0&&r.push((e.indexOf(n.charAt(o-1))&Math.pow(2,-2*i+8)-1)<<i*2|e.indexOf(n.charAt(o))>>>6-i*2);return r}};uo.exports=t}()),uo.exports}var fo,ss;function ls(){if(ss)return fo;ss=1;var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],r=0;r<t.length;r++)n.push(t.charCodeAt(r)&255);return n},bytesToString:function(t){for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join("")}}};return fo=e,fo}/*!
46
- * Determine if an object is a Buffer
47
- *
48
- * @author Feross Aboukhadijeh <https://feross.org>
49
- * @license MIT
50
- */var ho,cs;function xv(){if(cs)return ho;cs=1,ho=function(n){return n!=null&&(e(n)||t(n)||!!n._isBuffer)};function e(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}function t(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))}return ho}var us;function Tv(){return us||(us=1,function(){var e=wv(),t=ls().utf8,n=xv(),r=ls().bin,o=function(i,a){i.constructor==String?a&&a.encoding==="binary"?i=r.stringToBytes(i):i=t.stringToBytes(i):n(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var s=e.bytesToWords(i),u=i.length*8,f=1732584193,c=-271733879,d=-1732584194,h=271733878,p=0;p<s.length;p++)s[p]=(s[p]<<8|s[p]>>>24)&16711935|(s[p]<<24|s[p]>>>8)&4278255360;s[u>>>5]|=128<<u%32,s[(u+64>>>9<<4)+14]=u;for(var g=o._ff,m=o._gg,y=o._hh,b=o._ii,p=0;p<s.length;p+=16){var C=f,x=c,$=d,S=h;f=g(f,c,d,h,s[p+0],7,-680876936),h=g(h,f,c,d,s[p+1],12,-389564586),d=g(d,h,f,c,s[p+2],17,606105819),c=g(c,d,h,f,s[p+3],22,-1044525330),f=g(f,c,d,h,s[p+4],7,-176418897),h=g(h,f,c,d,s[p+5],12,1200080426),d=g(d,h,f,c,s[p+6],17,-1473231341),c=g(c,d,h,f,s[p+7],22,-45705983),f=g(f,c,d,h,s[p+8],7,1770035416),h=g(h,f,c,d,s[p+9],12,-1958414417),d=g(d,h,f,c,s[p+10],17,-42063),c=g(c,d,h,f,s[p+11],22,-1990404162),f=g(f,c,d,h,s[p+12],7,1804603682),h=g(h,f,c,d,s[p+13],12,-40341101),d=g(d,h,f,c,s[p+14],17,-1502002290),c=g(c,d,h,f,s[p+15],22,1236535329),f=m(f,c,d,h,s[p+1],5,-165796510),h=m(h,f,c,d,s[p+6],9,-1069501632),d=m(d,h,f,c,s[p+11],14,643717713),c=m(c,d,h,f,s[p+0],20,-373897302),f=m(f,c,d,h,s[p+5],5,-701558691),h=m(h,f,c,d,s[p+10],9,38016083),d=m(d,h,f,c,s[p+15],14,-660478335),c=m(c,d,h,f,s[p+4],20,-405537848),f=m(f,c,d,h,s[p+9],5,568446438),h=m(h,f,c,d,s[p+14],9,-1019803690),d=m(d,h,f,c,s[p+3],14,-187363961),c=m(c,d,h,f,s[p+8],20,1163531501),f=m(f,c,d,h,s[p+13],5,-1444681467),h=m(h,f,c,d,s[p+2],9,-51403784),d=m(d,h,f,c,s[p+7],14,1735328473),c=m(c,d,h,f,s[p+12],20,-1926607734),f=y(f,c,d,h,s[p+5],4,-378558),h=y(h,f,c,d,s[p+8],11,-2022574463),d=y(d,h,f,c,s[p+11],16,1839030562),c=y(c,d,h,f,s[p+14],23,-35309556),f=y(f,c,d,h,s[p+1],4,-1530992060),h=y(h,f,c,d,s[p+4],11,1272893353),d=y(d,h,f,c,s[p+7],16,-155497632),c=y(c,d,h,f,s[p+10],23,-1094730640),f=y(f,c,d,h,s[p+13],4,681279174),h=y(h,f,c,d,s[p+0],11,-358537222),d=y(d,h,f,c,s[p+3],16,-722521979),c=y(c,d,h,f,s[p+6],23,76029189),f=y(f,c,d,h,s[p+9],4,-640364487),h=y(h,f,c,d,s[p+12],11,-421815835),d=y(d,h,f,c,s[p+15],16,530742520),c=y(c,d,h,f,s[p+2],23,-995338651),f=b(f,c,d,h,s[p+0],6,-198630844),h=b(h,f,c,d,s[p+7],10,1126891415),d=b(d,h,f,c,s[p+14],15,-1416354905),c=b(c,d,h,f,s[p+5],21,-57434055),f=b(f,c,d,h,s[p+12],6,1700485571),h=b(h,f,c,d,s[p+3],10,-1894986606),d=b(d,h,f,c,s[p+10],15,-1051523),c=b(c,d,h,f,s[p+1],21,-2054922799),f=b(f,c,d,h,s[p+8],6,1873313359),h=b(h,f,c,d,s[p+15],10,-30611744),d=b(d,h,f,c,s[p+6],15,-1560198380),c=b(c,d,h,f,s[p+13],21,1309151649),f=b(f,c,d,h,s[p+4],6,-145523070),h=b(h,f,c,d,s[p+11],10,-1120210379),d=b(d,h,f,c,s[p+2],15,718787259),c=b(c,d,h,f,s[p+9],21,-343485551),f=f+C>>>0,c=c+x>>>0,d=d+$>>>0,h=h+S>>>0}return e.endian([f,c,d,h])};o._ff=function(i,a,s,u,f,c,d){var h=i+(a&s|~a&u)+(f>>>0)+d;return(h<<c|h>>>32-c)+a},o._gg=function(i,a,s,u,f,c,d){var h=i+(a&u|s&~u)+(f>>>0)+d;return(h<<c|h>>>32-c)+a},o._hh=function(i,a,s,u,f,c,d){var h=i+(a^s^u)+(f>>>0)+d;return(h<<c|h>>>32-c)+a},o._ii=function(i,a,s,u,f,c,d){var h=i+(s^(a|~u))+(f>>>0)+d;return(h<<c|h>>>32-c)+a},o._blocksize=16,o._digestsize=16,co.exports=function(i,a){if(i==null)throw new Error("Illegal argument "+i);var s=e.wordsToBytes(o(i,a));return a&&a.asBytes?s:a&&a.asString?r.bytesToString(s):e.bytesToHex(s)}}()),co.exports}var $v=Tv();const Ev=Ni($v);function Pv(e,t){return $e.Put("/rbac/user/changePassword",{},{params:{...e},...t||{}})}function $c(e){return $e.Get("/rbac/user/userEntireInfo",{})}function Ov(e){return $e.Get("/rbac/resource/grantedResources",{})}const Bi=Le.defineStore(Ee.USER,()=>{const{router:e}=yc(),t=l.reactive({account:"",userId:"",token:"",avatar:"",refreshToken:"",orgList:[],orgId:"",permissions:[],department:""}),n=l.computed(()=>!!t.token),r=l.computed(()=>{let p;if(t.orgId){const g=Jn(t.orgList,["orgId",t.orgId]);p=g==null?void 0:g.orgName}else{const g=Jn(t.orgList,["main",!0]);p=g==null?void 0:g.orgName}return p||""});async function o(p){const{account:g,password:m,captchaHash:y,captchas:b,loginType:C="password"}=p,x=await tr(m),$=await Wm({loginType:C,loginName:g,loginPwd:x,codeHash:y,code:b}),{accessToken:S,refreshToken:T}=$.data;await f(S,T)}async function i(p=e==null?void 0:e.currentRoute.value.fullPath){e==null||e.push({name:"Login"})}function a(){t.account="",t.userId="",t.token="",t.refreshToken="",t.avatar="",t.permissions=[],t.orgId="",t.orgList=[]}async function s(){var m;const g=(await $c()).data;t.account=g.realName||g.loginName,t.avatar=g.userPic,t.userId=g.id,t.orgList=g.userOrgList,(m=g.userOrgList)!=null&&m.length&&!t.orgId&&(t.orgId=Jn(g.userOrgList,["main",!0]).orgId)}async function u(p){const g={};p.token&&(g.authorization=p.token);const m=await tr(p.oldPassword),y=await tr(p.newPassword);return await Pv({oldPassword:m,newPassword:y},{headers:g})}async function f(p,g){t.token=p,t.refreshToken=g}async function c(){const p=await Ov();return t.permissions=p.data,t.permissions}async function d(p){const g=await Um({orgId:p}),{accessToken:m,refreshToken:y}=g.data;await f(m,y),t.orgId=p,e==null||e.push({path:"/"})}async function h(p,g){}return{user:t,isLogin:n,login:o,logout:i,phoneLogin:h,getPermissions:c,changeUserPassword:u,userOrgName:r,changeOrg:d,setToken:f,getUserInfo:s,clean:a,...l.toRefs(t)}},{persist:!0});function Iv(e,t){return $e.Post("/sysconfig/addOrEditUserThemeStyleConfig",e,{headers:{"Content-Type":"application/json"}})}function _v(e){return $e.Get("/sysconfig/getSysThemeStyleConfig",{})}function Av(e){return $e.Get("/sysconfig/getThemeStyleConfig",{})}function Rv(e){return $e.Get("/sysconfig/getUserThemeStyleConfig",{})}function Nv(e){return $e.Post("/sysconfig/resetUserThemeStyleConfig",{},{})}function ne(e,t){Mv(e)&&(e="100%");var n=Dv(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Un(e){return Math.min(1,Math.max(0,e))}function Mv(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Dv(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Ec(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Wn(e){return e<=1?"".concat(Number(e)*100,"%"):e}function dt(e){return e.length===1?"0"+e:String(e)}function Bv(e,t,n){return{r:ne(e,255)*255,g:ne(t,255)*255,b:ne(n,255)*255}}function fs(e,t,n){e=ne(e,255),t=ne(t,255),n=ne(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var u=r-o;switch(a=s>.5?u/(2-r-o):u/(r+o),r){case e:i=(t-n)/u+(t<n?6:0);break;case t:i=(n-e)/u+2;break;case n:i=(e-t)/u+4;break}i/=6}return{h:i,s:a,l:s}}function po(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fv(e,t,n){var r,o,i;if(e=ne(e,360),t=ne(t,100),n=ne(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=po(s,a,e+1/3),o=po(s,a,e),i=po(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function Uo(e,t,n){e=ne(e,255),t=ne(t,255),n=ne(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,u=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:u,v:a}}function Lv(e,t,n){e=ne(e,360)*6,t=ne(t,100),n=ne(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6,f=[n,a,i,i,s,n][u],c=[s,n,n,a,i,i][u],d=[i,i,s,n,n,a][u];return{r:f*255,g:c*255,b:d*255}}function Wo(e,t,n,r){var o=[dt(Math.round(e).toString(16)),dt(Math.round(t).toString(16)),dt(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Hv(e,t,n,r,o){var i=[dt(Math.round(e).toString(16)),dt(Math.round(t).toString(16)),dt(Math.round(n).toString(16)),dt(Vv(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function Vv(e){return Math.round(parseFloat(e)*255).toString(16)}function ds(e){return fe(e)/255}function fe(e){return parseInt(e,16)}function jv(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Go={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function At(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=Uv(e)),typeof e=="object"&&(Ne(e.r)&&Ne(e.g)&&Ne(e.b)?(t=Bv(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ne(e.h)&&Ne(e.s)&&Ne(e.v)?(r=Wn(e.s),o=Wn(e.v),t=Lv(e.h,r,o),a=!0,s="hsv"):Ne(e.h)&&Ne(e.s)&&Ne(e.l)&&(r=Wn(e.s),i=Wn(e.l),t=Fv(e.h,r,i),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Ec(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var zv="[-\\+]?\\d+%?",kv="[-\\+]?\\d*\\.\\d+%?",Xe="(?:".concat(kv,")|(?:").concat(zv,")"),go="[\\s|\\(]+(".concat(Xe,")[,|\\s]+(").concat(Xe,")[,|\\s]+(").concat(Xe,")\\s*\\)?"),mo="[\\s|\\(]+(".concat(Xe,")[,|\\s]+(").concat(Xe,")[,|\\s]+(").concat(Xe,")[,|\\s]+(").concat(Xe,")\\s*\\)?"),be={CSS_UNIT:new RegExp(Xe),rgb:new RegExp("rgb"+go),rgba:new RegExp("rgba"+mo),hsl:new RegExp("hsl"+go),hsla:new RegExp("hsla"+mo),hsv:new RegExp("hsv"+go),hsva:new RegExp("hsva"+mo),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Uv(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Go[e])e=Go[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=be.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=be.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=be.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=be.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=be.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=be.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=be.hex8.exec(e),n?{r:fe(n[1]),g:fe(n[2]),b:fe(n[3]),a:ds(n[4]),format:t?"name":"hex8"}:(n=be.hex6.exec(e),n?{r:fe(n[1]),g:fe(n[2]),b:fe(n[3]),format:t?"name":"hex"}:(n=be.hex4.exec(e),n?{r:fe(n[1]+n[1]),g:fe(n[2]+n[2]),b:fe(n[3]+n[3]),a:ds(n[4]+n[4]),format:t?"name":"hex8"}:(n=be.hex3.exec(e),n?{r:fe(n[1]+n[1]),g:fe(n[2]+n[2]),b:fe(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ne(e){return!!be.CSS_UNIT.exec(String(e))}var ee=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=jv(t)),this.originalInput=t;var o=At(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,a=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Ec(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=Uo(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Uo(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=fs(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=fs(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Wo(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Hv(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(ne(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(ne(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Wo(this.r,this.g,this.b,!1),n=0,r=Object.entries(Go);n<r.length;n++){var o=r[n],i=o[0],a=o[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,o=this.a<1&&this.a>=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Un(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Un(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Un(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Un(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),Gn=2,hs=.16,Wv=.05,Gv=.05,Kv=.15,Pc=5,Oc=4,qv=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function ps(e){var t=e.r,n=e.g,r=e.b,o=Uo(t,n,r);return{h:o.h*360,s:o.s,v:o.v}}function Kn(e){var t=e.r,n=e.g,r=e.b;return"#".concat(Wo(t,n,r,!1))}function Xv(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function gs(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Gn*t:Math.round(e.h)+Gn*t:r=n?Math.round(e.h)+Gn*t:Math.round(e.h)-Gn*t,r<0?r+=360:r>=360&&(r-=360),r}function ms(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-hs*t:t===Oc?r=e.s+hs:r=e.s+Wv*t,r>1&&(r=1),n&&t===Pc&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function vs(e,t,n){var r;return n?r=e.v+Gv*t:r=e.v-Kv*t,r>1&&(r=1),Number(r.toFixed(2))}function yt(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=At(e),o=Pc;o>0;o-=1){var i=ps(r),a=Kn(At({h:gs(i,o,!0),s:ms(i,o,!0),v:vs(i,o,!0)}));n.push(a)}n.push(Kn(r));for(var s=1;s<=Oc;s+=1){var u=ps(r),f=Kn(At({h:gs(u,s),s:ms(u,s),v:vs(u,s)}));n.push(f)}return t.theme==="dark"?qv.map(function(c){var d=c.index,h=c.opacity,p=Kn(Xv(At(t.backgroundColor||"#141414"),At(n[d]),h*100));return p}):n}var vo={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},nr={},yo={};Object.keys(vo).forEach(function(e){nr[e]=yt(vo[e]),nr[e].primary=nr[e][5],yo[e]=yt(vo[e],{theme:"dark",backgroundColor:"#141414"}),yo[e].primary=yo[e][5]});var Yv=nr.blue,Zv=Symbol("iconContext"),Ic=function(){return l.inject(Zv,{prefixCls:l.ref("anticon"),rootClassName:l.ref(""),csp:l.ref()})};function Fi(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Qv(e,t){return e&&e.contains?e.contains(t):!1}var ys="data-vc-order",Jv="vc-icon-key",Ko=new Map;function _c(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Jv}function Li(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function ey(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Ac(e){return Array.from((Ko.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Rc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Fi())return null;var n=t.csp,r=t.prepend,o=document.createElement("style");o.setAttribute(ys,ey(r)),n&&n.nonce&&(o.nonce=n.nonce),o.innerHTML=e;var i=Li(t),a=i.firstChild;if(r){if(r==="queue"){var s=Ac(i).filter(function(u){return["prepend","prependQueue"].includes(u.getAttribute(ys))});if(s.length)return i.insertBefore(o,s[s.length-1].nextSibling),o}i.insertBefore(o,a)}else i.appendChild(o);return o}function ty(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Li(t);return Ac(n).find(function(r){return r.getAttribute(_c(t))===e})}function ny(e,t){var n=Ko.get(e);if(!n||!Qv(document,n)){var r=Rc("",t),o=r.parentNode;Ko.set(e,o),e.removeChild(r)}}function ry(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Li(n);ny(r,n);var o=ty(t,n);if(o)return n.csp&&n.csp.nonce&&o.nonce!==n.csp.nonce&&(o.nonce=n.csp.nonce),o.innerHTML!==e&&(o.innerHTML=e),o;var i=Rc(e,n);return i.setAttribute(_c(n),t),i}function bs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){oy(e,o,n[o])})}return e}function oy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iy(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(t))}function ay(e,t){iy(e,"[@ant-design/icons-vue] ".concat(t))}function Ss(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function qo(e,t,n){return n?l.h(e.tag,bs({key:t},n,e.attrs),(e.children||[]).map(function(r,o){return qo(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):l.h(e.tag,bs({key:t},e.attrs),(e.children||[]).map(function(r,o){return qo(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function Nc(e){return yt(e)[0]}function Mc(e){return e?Array.isArray(e)?e:[e]:[]}var sy=`
51
- .anticon {
52
- display: inline-block;
53
- color: inherit;
54
- font-style: normal;
55
- line-height: 0;
56
- text-align: center;
57
- text-transform: none;
58
- vertical-align: -0.125em;
59
- text-rendering: optimizeLegibility;
60
- -webkit-font-smoothing: antialiased;
61
- -moz-osx-font-smoothing: grayscale;
62
- }
63
-
64
- .anticon > * {
65
- line-height: 1;
66
- }
67
-
68
- .anticon svg {
69
- display: inline-block;
70
- }
71
-
72
- .anticon::before {
73
- display: none;
74
- }
75
-
76
- .anticon .anticon-icon {
77
- display: block;
78
- }
79
-
80
- .anticon[tabindex] {
81
- cursor: pointer;
82
- }
83
-
84
- .anticon-spin::before,
85
- .anticon-spin {
86
- display: inline-block;
87
- -webkit-animation: loadingCircle 1s infinite linear;
88
- animation: loadingCircle 1s infinite linear;
89
- }
90
-
91
- @-webkit-keyframes loadingCircle {
92
- 100% {
93
- -webkit-transform: rotate(360deg);
94
- transform: rotate(360deg);
95
- }
96
- }
97
-
98
- @keyframes loadingCircle {
99
- 100% {
100
- -webkit-transform: rotate(360deg);
101
- transform: rotate(360deg);
102
- }
103
- }
104
- `;function Dc(e){return e&&e.getRootNode&&e.getRootNode()}function ly(e){return Fi()?Dc(e)instanceof ShadowRoot:!1}function cy(e){return ly(e)?Dc(e):null}var uy=function(){var t=Ic(),n=t.prefixCls,r=t.csp,o=l.getCurrentInstance(),i=sy;n&&(i=i.replace(/anticon/g,n.value)),l.nextTick(function(){if(Fi()){var a=o.vnode.el,s=cy(a);ry(i,"@ant-design-vue-icons",{prepend:!0,csp:r.value,attachTo:s})}})},fy=["icon","primaryColor","secondaryColor"];function dy(e,t){if(e==null)return{};var n=hy(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hy(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){py(e,o,n[o])})}return e}function py(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pn=l.reactive({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function gy(e){var t=e.primaryColor,n=e.secondaryColor;pn.primaryColor=t,pn.secondaryColor=n||Nc(t),pn.calculated=!!n}function my(){return rr({},pn)}var tt=function(t,n){var r=rr({},t,n.attrs),o=r.icon,i=r.primaryColor,a=r.secondaryColor,s=dy(r,fy),u=pn;if(i&&(u={primaryColor:i,secondaryColor:a||Nc(i)}),ay(Ss(o),"icon should be icon definiton, but got ".concat(o)),!Ss(o))return null;var f=o;return f&&typeof f.icon=="function"&&(f=rr({},f,{icon:f.icon(u.primaryColor,u.secondaryColor)})),qo(f.icon,"svg-".concat(f.name),rr({},s,{"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};tt.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String};tt.inheritAttrs=!1;tt.displayName="IconBase";tt.getTwoToneColors=my;tt.setTwoToneColors=gy;function vy(e,t){return Cy(e)||Sy(e,t)||by(e,t)||yy()}function yy(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
105
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function by(e,t){if(e){if(typeof e=="string")return Cs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cs(e,t)}}function Cs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sy(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,s=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function Cy(e){if(Array.isArray(e))return e}function Bc(e){var t=Mc(e),n=vy(t,2),r=n[0],o=n[1];return tt.setTwoToneColors({primaryColor:r,secondaryColor:o})}function wy(){var e=tt.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var xy=l.defineComponent({name:"InsertStyles",setup:function(){return uy(),function(){return null}}}),Ty=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function $y(e,t){return Iy(e)||Oy(e,t)||Py(e,t)||Ey()}function Ey(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
106
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Py(e,t){if(e){if(typeof e=="string")return ws(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ws(e,t)}}function ws(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Oy(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,a,s;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,s=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw s}}return r}}function Iy(e){if(Array.isArray(e))return e}function xs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){fn(e,o,n[o])})}return e}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _y(e,t){if(e==null)return{};var n=Ay(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ay(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}Bc(Yv.primary);var oe=function(t,n){var r,o=xs({},t,n.attrs),i=o.class,a=o.icon,s=o.spin,u=o.rotate,f=o.tabindex,c=o.twoToneColor,d=o.onClick,h=_y(o,Ty),p=Ic(),g=p.prefixCls,m=p.rootClassName,y=(r={},fn(r,m.value,!!m.value),fn(r,g.value,!0),fn(r,"".concat(g.value,"-").concat(a.name),!!a.name),fn(r,"".concat(g.value,"-spin"),!!s||a.name==="loading"),r),b=f;b===void 0&&d&&(b=-1);var C=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,x=Mc(c),$=$y(x,2),S=$[0],T=$[1];return l.createVNode("span",xs({role:"img","aria-label":a.name},h,{onClick:d,class:[y,i],tabindex:b}),[l.createVNode(tt,{icon:a,primaryColor:S,secondaryColor:T,style:C},null),l.createVNode(xy,null,null)])};oe.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};oe.displayName="AntdIcon";oe.inheritAttrs=!1;oe.getTwoToneColor=wy;oe.setTwoToneColor=Bc;var Ry={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function Ts(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Ny(e,o,n[o])})}return e}function Ny(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nt=function(t,n){var r=Ts({},t,n.attrs);return l.createVNode(oe,Ts({},r,{icon:Ry}),null)};nt.displayName="CheckCircleFilled";nt.inheritAttrs=!1;var My={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};function $s(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Dy(e,o,n[o])})}return e}function Dy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lr=function(t,n){var r=$s({},t,n.attrs);return l.createVNode(oe,$s({},r,{icon:My}),null)};Lr.displayName="CheckCircleOutlined";Lr.inheritAttrs=!1;var By={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};function Es(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Fy(e,o,n[o])})}return e}function Fy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=function(t,n){var r=Es({},t,n.attrs);return l.createVNode(oe,Es({},r,{icon:By}),null)};rt.displayName="CloseCircleFilled";rt.inheritAttrs=!1;var Ly={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"};function Ps(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Hy(e,o,n[o])})}return e}function Hy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hr=function(t,n){var r=Ps({},t,n.attrs);return l.createVNode(oe,Ps({},r,{icon:Ly}),null)};Hr.displayName="CloseCircleOutlined";Hr.inheritAttrs=!1;var Vy={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};function Os(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){jy(e,o,n[o])})}return e}function jy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tt=function(t,n){var r=Os({},t,n.attrs);return l.createVNode(oe,Os({},r,{icon:Vy}),null)};Tt.displayName="CloseOutlined";Tt.inheritAttrs=!1;var zy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};function Is(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){ky(e,o,n[o])})}return e}function ky(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(t,n){var r=Is({},t,n.attrs);return l.createVNode(oe,Is({},r,{icon:zy}),null)};ot.displayName="ExclamationCircleFilled";ot.inheritAttrs=!1;var Uy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"};function _s(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Wy(e,o,n[o])})}return e}function Wy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vr=function(t,n){var r=_s({},t,n.attrs);return l.createVNode(oe,_s({},r,{icon:Uy}),null)};Vr.displayName="ExclamationCircleOutlined";Vr.inheritAttrs=!1;var Gy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM512 533c-85.5 0-155.6 67.3-160 151.6a8 8 0 008 8.4h48.1c4.2 0 7.8-3.2 8.1-7.4C420 636.1 461.5 597 512 597s92.1 39.1 95.8 88.6c.3 4.2 3.9 7.4 8.1 7.4H664a8 8 0 008-8.4C667.6 600.3 597.5 533 512 533z"}}]},name:"frown",theme:"outlined"};function As(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Ky(e,o,n[o])})}return e}function Ky(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hi=function(t,n){var r=As({},t,n.attrs);return l.createVNode(oe,As({},r,{icon:Gy}),null)};Hi.displayName="FrownOutlined";Hi.inheritAttrs=!1;var qy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};function Rs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Xy(e,o,n[o])})}return e}function Xy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var it=function(t,n){var r=Rs({},t,n.attrs);return l.createVNode(oe,Rs({},r,{icon:qy}),null)};it.displayName="InfoCircleFilled";it.inheritAttrs=!1;var Yy={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};function Ns(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Zy(e,o,n[o])})}return e}function Zy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jr=function(t,n){var r=Ns({},t,n.attrs);return l.createVNode(oe,Ns({},r,{icon:Yy}),null)};jr.displayName="InfoCircleOutlined";jr.inheritAttrs=!1;var Qy={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function Ms(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Jy(e,o,n[o])})}return e}function Jy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=function(t,n){var r=Ms({},t,n.attrs);return l.createVNode(oe,Ms({},r,{icon:Qy}),null)};Je.displayName="LoadingOutlined";Je.inheritAttrs=!1;function Jt(e){return l.getCurrentScope()?(l.onScopeDispose(e),!0):!1}const bo=new WeakMap,e1=(...e)=>{var t;const n=e[0],r=(t=l.getCurrentInstance())==null?void 0:t.proxy;if(r==null&&!l.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&bo.has(r)&&n in bo.get(r)?bo.get(r)[n]:l.inject(...e)},_n=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const t1=e=>e!=null,n1=Object.prototype.toString,r1=e=>n1.call(e)==="[object Object]",Fc=()=>{};function o1(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Ds(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function i1(e){return l.getCurrentInstance()}function gn(e){return Array.isArray(e)?e:[e]}function a1(...e){if(e.length!==1)return l.toRef(...e);const t=e[0];return typeof t=="function"?l.readonly(l.customRef(()=>({get:t,set:Fc}))):l.ref(t)}function s1(e,t=!0,n){i1()?l.onMounted(e,n):t?e():l.nextTick(e)}function Lc(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=l.shallowRef(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function u(){i.value=!1,s()}function f(...c){o&&e(),s(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...c)},l.toValue(t))}return r&&(i.value=!0,_n&&f()),Jt(u),{isPending:l.readonly(i),start:f,stop:u}}function l1(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=l.isRef(e),i=l.ref(e);function a(s){if(arguments.length)return i.value=s,i.value;{const u=l.toValue(n);return i.value=i.value===u?l.toValue(r):u,i.value}}return o?a:[i,a]}function c1(e,t,n){return l.watch(e,t,{...n,immediate:!0})}const $t=_n?window:void 0,u1=_n?window.document:void 0,Hc=_n?window.navigator:void 0;function Ce(e){var t;const n=l.toValue(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Be(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,u,f,c)=>(s.addEventListener(u,f,c),()=>s.removeEventListener(u,f,c)),o=l.computed(()=>{const s=gn(l.toValue(e[0])).filter(u=>u!=null);return s.every(u=>typeof u!="string")?s:void 0}),i=c1(()=>{var s,u;return[(u=(s=o.value)==null?void 0:s.map(f=>Ce(f)))!=null?u:[$t].filter(f=>f!=null),gn(l.toValue(o.value?e[1]:e[0])),gn(l.unref(o.value?e[2]:e[1])),l.toValue(o.value?e[3]:e[2])]},([s,u,f,c])=>{if(n(),!(s!=null&&s.length)||!(u!=null&&u.length)||!(f!=null&&f.length))return;const d=r1(c)?{...c}:c;t.push(...s.flatMap(h=>u.flatMap(p=>f.map(g=>r(h,p,g,d)))))},{flush:"post"}),a=()=>{i(),n()};return Jt(n),a}function f1(){const e=l.shallowRef(!1),t=l.getCurrentInstance();return t&&l.onMounted(()=>{e.value=!0},t),e}function en(e){const t=f1();return l.computed(()=>(t.value,!!e()))}function d1(e,t,n={}){const{window:r=$t,...o}=n;let i;const a=en(()=>r&&"MutationObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},u=l.computed(()=>{const h=l.toValue(e),p=gn(h).map(Ce).filter(t1);return new Set(p)}),f=l.watch(()=>u.value,h=>{s(),a.value&&h.size&&(i=new MutationObserver(t),h.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),d=()=>{f(),s()};return Jt(d),{isSupported:a,stop:d,takeRecords:c}}const h1=Symbol("vueuse-ssr-width");function p1(){const e=l.hasInjectionContext()?e1(h1,null):null;return typeof e=="number"?e:void 0}function g1(e,t={}){const{window:n=$t,ssrWidth:r=p1()}=t,o=en(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=l.ref(typeof r=="number"),a=l.shallowRef(),s=l.shallowRef(!1),u=f=>{s.value=f.matches};return l.watchEffect(()=>{if(i.value){i.value=!o.value;const f=l.toValue(e).split(",");s.value=f.some(c=>{const d=c.includes("not all"),h=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(h||p);return h&&g&&(g=r>=Ds(h[1])),p&&g&&(g=r<=Ds(p[1])),d?!g:g});return}o.value&&(a.value=n.matchMedia(l.toValue(e)),s.value=a.value.matches)}),Be(a,"change",u,{passive:!0}),l.computed(()=>s.value)}function Bs(e,t={}){const{controls:n=!1,navigator:r=Hc}=t,o=en(()=>r&&"permissions"in r),i=l.shallowRef(),a=typeof e=="string"?{name:e}:e,s=l.shallowRef(),u=()=>{var c,d;s.value=(d=(c=i.value)==null?void 0:c.state)!=null?d:"prompt"};Be(i,"change",u,{passive:!0});const f=o1(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(a)}catch{i.value=void 0}finally{u()}if(n)return l.toRaw(i.value)}});return f(),n?{state:s,isSupported:o,query:f}:s}function m1(e={}){const{navigator:t=Hc,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,a=en(()=>t&&"clipboard"in t),s=Bs("clipboard-read"),u=Bs("clipboard-write"),f=l.computed(()=>a.value||i),c=l.shallowRef(""),d=l.shallowRef(!1),h=Lc(()=>d.value=!1,o,{immediate:!1});function p(){let C=!(a.value&&b(s.value));if(!C)try{t.clipboard.readText().then(x=>{c.value=x})}catch{C=!0}C&&(c.value=y())}f.value&&n&&Be(["copy","cut"],p,{passive:!0});async function g(C=l.toValue(r)){if(f.value&&C!=null){let x=!(a.value&&b(u.value));if(!x)try{await t.clipboard.writeText(C)}catch{x=!0}x&&m(C),c.value=C,d.value=!0,h.start()}}function m(C){const x=document.createElement("textarea");x.value=C??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function y(){var C,x,$;return($=(x=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:x.toString())!=null?$:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:f,text:c,copied:d,copy:g}}function v1(e){return g1("(prefers-color-scheme: dark)",e)}function y1(e,t,n={}){const{window:r=$t,initialValue:o,observe:i=!1}=n,a=l.shallowRef(o),s=l.computed(()=>{var f;return Ce(t)||((f=r==null?void 0:r.document)==null?void 0:f.documentElement)});function u(){var f;const c=l.toValue(e),d=l.toValue(s);if(d&&r&&c){const h=(f=r.getComputedStyle(d).getPropertyValue(c))==null?void 0:f.trim();a.value=h||a.value||o}}return i&&d1(s,u,{attributeFilter:["style","class"],window:r}),l.watch([s,()=>l.toValue(e)],(f,c)=>{c[0]&&c[1]&&c[0].style.removeProperty(c[1]),u()}),l.watch([a,s],([f,c])=>{const d=l.toValue(e);c!=null&&c.style&&d&&(f==null?c.style.removeProperty(d):c.style.setProperty(d,f))},{immediate:!0}),a}function b1(e,t,n={}){const{window:r=$t,...o}=n;let i;const a=en(()=>r&&"ResizeObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},u=l.computed(()=>{const d=l.toValue(e);return Array.isArray(d)?d.map(h=>Ce(h)):[Ce(d)]}),f=l.watch(u,d=>{if(s(),a.value&&r){i=new ResizeObserver(t);for(const h of d)h&&i.observe(h,o)}},{immediate:!0,flush:"post"}),c=()=>{s(),f()};return Jt(c),{isSupported:a,stop:c}}function S1(e,t={width:0,height:0},n={}){const{window:r=$t,box:o="content-box"}=n,i=l.computed(()=>{var d,h;return(h=(d=Ce(e))==null?void 0:d.namespaceURI)==null?void 0:h.includes("svg")}),a=l.ref(t.width),s=l.ref(t.height),{stop:u}=b1(e,([d])=>{const h=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&i.value){const p=Ce(e);if(p){const g=p.getBoundingClientRect();a.value=g.width,s.value=g.height}}else if(h){const p=gn(h);a.value=p.reduce((g,{inlineSize:m})=>g+m,0),s.value=p.reduce((g,{blockSize:m})=>g+m,0)}else a.value=d.contentRect.width,s.value=d.contentRect.height},n);s1(()=>{const d=Ce(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:t.width,s.value="offsetHeight"in d?d.offsetHeight:t.height)});const f=l.watch(()=>Ce(e),d=>{a.value=d?t.width:0,s.value=d?t.height:0});function c(){u(),f()}return{width:a,height:s,stop:c}}const Fs=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function C1(e,t={}){const{document:n=u1,autoExit:r=!1}=t,o=l.computed(()=>{var C;return(C=Ce(e))!=null?C:n==null?void 0:n.documentElement}),i=l.shallowRef(!1),a=l.computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(C=>n&&C in n||o.value&&C in o.value)),s=l.computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(C=>n&&C in n||o.value&&C in o.value)),u=l.computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(C=>n&&C in n||o.value&&C in o.value)),f=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(C=>n&&C in n),c=en(()=>o.value&&n&&a.value!==void 0&&s.value!==void 0&&u.value!==void 0),d=()=>f?(n==null?void 0:n[f])===o.value:!1,h=()=>{if(u.value){if(n&&n[u.value]!=null)return n[u.value];{const C=o.value;if((C==null?void 0:C[u.value])!=null)return!!C[u.value]}}return!1};async function p(){if(!(!c.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const C=o.value;(C==null?void 0:C[s.value])!=null&&await C[s.value]()}i.value=!1}}async function g(){if(!c.value||i.value)return;h()&&await p();const C=o.value;a.value&&(C==null?void 0:C[a.value])!=null&&(await C[a.value](),i.value=!0)}async function m(){await(i.value?p():g())}const y=()=>{const C=h();(!C||C&&d())&&(i.value=C)},b={capture:!1,passive:!0};return Be(n,Fs,y,b),Be(()=>Ce(o),Fs,y,b),r&&Jt(p),{isSupported:c,isFullscreen:i,enter:g,exit:p,toggle:m}}const w1={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function x1(e={}){const{reactive:t=!1,target:n=$t,aliasMap:r=w1,passive:o=!0,onEventFired:i=Fc}=e,a=l.reactive(new Set),s={toJSON(){return{}},current:a},u=t?l.reactive(s):s,f=new Set,c=new Set;function d(m,y){m in u&&(t?u[m]=y:u[m].value=y)}function h(){a.clear();for(const m of c)d(m,!1)}function p(m,y){var b,C;const x=(b=m.key)==null?void 0:b.toLowerCase(),S=[(C=m.code)==null?void 0:C.toLowerCase(),x].filter(Boolean);x&&(y?a.add(x):a.delete(x));for(const T of S)c.add(T),d(T,y);x==="meta"&&!y?(f.forEach(T=>{a.delete(T),d(T,!1)}),f.clear()):typeof m.getModifierState=="function"&&m.getModifierState("Meta")&&y&&[...a,...S].forEach(T=>f.add(T))}Be(n,"keydown",m=>(p(m,!0),i(m)),{passive:o}),Be(n,"keyup",m=>(p(m,!1),i(m)),{passive:o}),Be("blur",h,{passive:o}),Be("focus",h,{passive:o});const g=new Proxy(u,{get(m,y,b){if(typeof y!="string")return Reflect.get(m,y,b);if(y=y.toLowerCase(),y in r&&(y=r[y]),!(y in u))if(/[+_-]/.test(y)){const x=y.split(/[+_-]/g).map($=>$.trim());u[y]=l.computed(()=>x.map($=>l.toValue(g[$])).every(Boolean))}else u[y]=l.shallowRef(!1);const C=Reflect.get(m,y,b);return t?l.toValue(C):C}});return g}function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}function T1(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $1(e){var t=T1(e,"string");return Sn(t)=="symbol"?t:t+""}function E1(e,t,n){return(t=$1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ls(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ls(Object(n),!0).forEach(function(r){E1(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ls(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(null,arguments)}const P1=e=>typeof e=="function",O1=Array.isArray,I1=e=>typeof e=="string",_1=e=>e!==null&&typeof e=="object",A1=/^on[^a-z]/,R1=e=>A1.test(e),Vi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N1=/-(\w)/g,ji=Vi(e=>e.replace(N1,(t,n)=>n?n.toUpperCase():"")),M1=/\B([A-Z])/g,D1=Vi(e=>e.replace(M1,"-$1").toLowerCase()),B1=Vi(e=>e.charAt(0).toUpperCase()+e.slice(1)),F1=Object.prototype.hasOwnProperty,Hs=(e,t)=>F1.call(e,t);function L1(e,t,n,r){const o=e[n];if(o!=null){const i=Hs(o,"default");if(i&&r===void 0){const a=o.default;r=o.type!==Function&&P1(a)?a():a}o.type===Boolean&&(!Hs(t,n)&&!i?r=!1:r===""&&(r=!0))}return r}function H1(e){return typeof e=="number"?`${e}px`:e}function Nt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function V1(e){let t;const n=new Promise(o=>{t=e(()=>{o(!0)})}),r=()=>{t==null||t()};return r.then=(o,i)=>n.then(o,i),r.promise=n,r}function W(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(I1(n))e.push(n);else if(O1(n))for(let r=0;r<n.length;r++){const o=W(n[r]);o&&e.push(o)}else if(_1(n))for(const r in n)n[r]&&e.push(r)}}return e.join(" ")}const Vc=e=>e!=null&&e!=="",tn=(e,t)=>{const n=v({},e);return Object.keys(t).forEach(r=>{const o=n[r];if(o)o.type||o.default?o.default=t[r]:o.def?o.def(t[r]):n[r]={type:o,default:t[r]};else throw new Error(`not have ${r} prop`)}),n},jc=e=>{const t=Object.keys(e),n={},r={},o={};for(let i=0,a=t.length;i<a;i++){const s=t[i];R1(s)?(n[s[2].toLowerCase()+s.slice(3)]=e[s],r[s]=e[s]):o[s]=e[s]}return{onEvents:r,events:n,extraAttrs:o}},j1=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},r=/;(?![^(]*\))/g,o=/:(.+)/;return typeof e=="object"?e:(e.split(r).forEach(function(i){if(i){const a=i.split(o);if(a.length>1){const s=t?ji(a[0].trim()):a[0].trim();n[s]=a[1].trim()}}}),n)},z1=(e,t)=>e[t]!==void 0,zc=Symbol("skipFlatten"),Ae=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],r=[];return n.forEach(o=>{Array.isArray(o)?r.push(...Ae(o,t)):o&&o.type===l.Fragment?o.key===zc?r.push(o):r.push(...Ae(o.children,t)):o&&l.isVNode(o)?t&&!zi(o)?r.push(o):t||r.push(o):Vc(o)&&r.push(o)}),r},k1=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(l.isVNode(e))return e.type===l.Fragment?t==="default"?Ae(e.children):[]:e.children&&e.children[t]?Ae(e.children[t](n)):[];{const r=e.$slots[t]&&e.$slots[t](n);return Ae(r)}},Cn=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},U1=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(r=>{const o=e.$props[r],i=D1(r);(o!==void 0||i in n)&&(t[r]=o)})}else if(l.isVNode(e)&&typeof e.type=="object"){const n=e.props||{},r={};Object.keys(n).forEach(i=>{r[ji(i)]=n[i]});const o=e.type.props||{};Object.keys(o).forEach(i=>{const a=L1(o,r,i,r[i]);(a!==void 0||i in r)&&(t[i]=a)})}return t},W1=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,o;if(e.$){const i=e[t];if(i!==void 0)return typeof i=="function"&&r?i(n):i;o=e.$slots[t],o=r&&o?o(n):o}else if(l.isVNode(e)){const i=e.props&&e.props[t];if(i!==void 0&&e.props!==null)return typeof i=="function"&&r?i(n):i;e.type===l.Fragment?o=e.children:e.children&&e.children[t]&&(o=e.children[t],o=r&&o?o(n):o)}return Array.isArray(o)&&(o=Ae(o),o=o.length===1?o[0]:o,o=o.length===0?void 0:o),o};function G1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=v(v({},n),e.$attrs):n=v(v({},n),e.props),jc(n)[t?"onEvents":"events"]}function K1(e,t){let r=((l.isVNode(e)?e.props:e.$attrs)||{}).style||{};return typeof r=="string"&&(r=j1(r,t)),r}function q1(e){return e.length===1&&e[0].type===l.Fragment}function zi(e){return e&&(e.type===l.Comment||e.type===l.Fragment&&e.children.length===0||e.type===l.Text&&e.children.trim()==="")}function An(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===l.Fragment?t.push(...An(n.children)):t.push(n)}),t.filter(n=>!zi(n))}function X1(e){if(e){const t=An(e);return t.length?t:void 0}else return e}function Y1(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function Z1(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var r,o;return(r=t[n])!==null&&r!==void 0?r:(o=e[n])===null||o===void 0?void 0:o.call(e)}let kc=e=>setTimeout(e,16),Uc=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(kc=e=>window.requestAnimationFrame(e),Uc=e=>window.cancelAnimationFrame(e));let Vs=0;const ki=new Map;function Wc(e){ki.delete(e)}function jt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Vs+=1;const n=Vs;function r(o){if(o===0)Wc(n),e();else{const i=kc(()=>{r(o-1)});ki.set(n,i)}}return r(t),n}jt.cancel=e=>{const t=ki.get(e);return Wc(t),Uc(t)};const wn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},zr=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Xo(){return{type:[Function,Array]}}function q(e){return{type:Object,default:e}}function pt(e){return{type:Boolean,default:e}}function Q1(e){return{type:Function,default:e}}function vr(e,t){const n={validator:()=>!0,default:e};return n}function J1(){return{validator:()=>!0}}function Yo(e){return{type:Array,default:e}}function Zo(e){return{type:String,default:e}}function Gc(e,t){return e?{type:e,default:t}:vr(t)}exports.supportsPassive=!1;try{const e=Object.defineProperty({},"passive",{get(){exports.supportsPassive=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Kc(e,t,n,r){if(e&&e.addEventListener){let o=r;o===void 0&&exports.supportsPassive&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(o={passive:!1}),e.addEventListener(t,n,o)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const Ui="anticon",qc=Symbol("GlobalFormContextKey"),eb=e=>{l.provide(qc,e)},tb=()=>l.inject(qc,{validateMessages:l.computed(()=>{})}),nb=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:q(),input:q(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:q(),pageHeader:q(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:q(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:q(),pagination:q(),theme:q(),select:q(),wave:q()}),Wi=Symbol("configProvider"),Xc={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:l.computed(()=>Ui),getPopupContainer:l.computed(()=>()=>document.body),direction:l.computed(()=>"ltr")},kr=()=>l.inject(Wi,Xc),rb=e=>l.provide(Wi,e),Yc=Symbol("DisabledContextKey"),Ur=()=>l.inject(Yc,l.ref(void 0)),Zc=e=>{const t=Ur();return l.provide(Yc,l.computed(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},Qc={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},ob={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},Jc={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Qo={lang:v({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},ob),timePickerLocale:v({},Jc)},ce="${label} is not a valid ${type}",et={locale:"en",Pagination:Qc,DatePicker:Qo,TimePicker:Jc,Calendar:Qo,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ce,method:ce,array:ce,object:ce,number:ce,date:ce,boolean:ce,integer:ce,float:ce,regexp:ce,email:ce,url:ce,hex:ce},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},eu=l.defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const r=l.inject("localeData",{}),o=l.computed(()=>{const{componentName:a="global",defaultLocale:s}=e,u=s||et[a||"global"],{antLocale:f}=r,c=a&&f?f[a]:{};return v(v({},typeof u=="function"?u():u),c||{})}),i=l.computed(()=>{const{antLocale:a}=r,s=a&&a.locale;return a&&a.exist&&!s?et.locale:s});return()=>{const a=e.children||n.default,{antLocale:s}=r;return a==null?void 0:a(o.value,i.value,s)}}});function Wr(e,t,n){const r=l.inject("localeData",{});return[l.computed(()=>{const{antLocale:i}=r,a=l.unref(t)||et[e||"global"],s=e&&i?i[e]:{};return v(v(v({},typeof a=="function"?a():a),s||{}),l.unref(n)||{})})]}function Gi(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const js="%";class ib{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(js):t)||null}update(t,n){const r=Array.isArray(t)?t.join(js):t,o=this.cache.get(r),i=n(o);i===null?this.cache.delete(r):this.cache.set(r,i)}}const tu="data-token-hash",gt="data-css-hash",ab="data-cache-path",Mt="__cssinjs_instance__";function xn(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${gt}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(o=>{o[Mt]=o[Mt]||e,o[Mt]===e&&document.head.insertBefore(o,n)});const r={};Array.from(document.querySelectorAll(`style[${gt}]`)).forEach(o=>{var i;const a=o.getAttribute(gt);r[a]?o[Mt]===e&&((i=o.parentNode)===null||i===void 0||i.removeChild(o)):r[a]=!0})}return new ib(e)}const nu=Symbol("StyleContextKey"),sb=()=>{var e,t,n;const r=l.getCurrentInstance();let o;if(r&&r.appContext){const i=(n=(t=(e=r.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;i?o=i:(o=xn(),r.appContext.config.globalProperties&&(r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=o))}else o=xn();return o},ru={cache:xn(),defaultCache:!0,hashPriority:"low"},Gr=()=>{const e=sb();return l.inject(nu,l.shallowRef(v(v({},ru),{cache:e})))},lb=e=>{const t=Gr(),n=l.shallowRef(v(v({},ru),{cache:xn()}));return l.watch([()=>l.unref(e),t],()=>{const r=v({},t.value),o=l.unref(e);Object.keys(o).forEach(a=>{const s=o[a];o[a]!==void 0&&(r[a]=s)});const{cache:i}=o;r.cache=r.cache||xn(),r.defaultCache=!i&&t.value.defaultCache,n.value=r},{immediate:!0}),l.provide(nu,n),n},cb=()=>({autoClear:pt(),mock:Zo(),cache:q(),defaultCache:pt(),hashPriority:Zo(),container:Gc(),ssrInline:pt(),transformers:Yo(),linters:Yo()});zr(l.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:cb(),setup(e,t){let{slots:n}=t;return lb(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}));function ub(){return!1}let Jo=!1;function fb(){return Jo}const db=process.env.NODE_ENV==="production"?ub:fb;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){const e=window;if(typeof e.webpackHotUpdate=="function"){const t=e.webpackHotUpdate;e.webpackHotUpdate=function(){return Jo=!0,setTimeout(()=>{Jo=!1},0),t(...arguments)}}}function ou(e,t,n,r){const o=Gr(),i=l.shallowRef(""),a=l.shallowRef();l.watchEffect(()=>{i.value=[e,...t.value].join("%")});const s=db(),u=f=>{o.value.cache.update(f,c=>{const[d=0,h]=c||[];return d-1===0?(r==null||r(h,!1),null):[d-1,h]})};return l.watch(i,(f,c)=>{c&&u(c),o.value.cache.update(f,d=>{const[h=0,p]=d||[];let g=p;process.env.NODE_ENV!=="production"&&p&&s&&(r==null||r(g,s),g=null);const m=g||n();return[h+1,m]}),a.value=o.value.cache.get(i.value)[1]},{immediate:!0}),l.onBeforeUnmount(()=>{u(i.value)}),a}function he(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ki(e,t){return e&&e.contains?e.contains(t):!1}const zs="data-vc-order",hb="vc-util-key",ei=new Map;function iu(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:hb}function Kr(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function pb(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function au(e){return Array.from((ei.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function su(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!he())return null;const{csp:n,prepend:r}=t,o=document.createElement("style");o.setAttribute(zs,pb(r)),n!=null&&n.nonce&&(o.nonce=n==null?void 0:n.nonce),o.innerHTML=e;const i=Kr(t),{firstChild:a}=i;if(r){if(r==="queue"){const s=au(i).filter(u=>["prepend","prependQueue"].includes(u.getAttribute(zs)));if(s.length)return i.insertBefore(o,s[s.length-1].nextSibling),o}i.insertBefore(o,a)}else i.appendChild(o);return o}function lu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Kr(t);return au(n).find(r=>r.getAttribute(iu(t))===e)}function yr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=lu(e,t);n&&Kr(t).removeChild(n)}function gb(e,t){const n=ei.get(e);if(!n||!Ki(document,n)){const r=su("",t),{parentNode:o}=r;ei.set(e,o),e.removeChild(r)}}function Tn(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r,o,i;const a=Kr(n);gb(a,n);const s=lu(t,n);if(s)return!((r=n.csp)===null||r===void 0)&&r.nonce&&s.nonce!==((o=n.csp)===null||o===void 0?void 0:o.nonce)&&(s.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;const u=su(e,n);return u.setAttribute(iu(n),t),u}function mb(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}class zt{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r={map:this.cache};return t.forEach(o=>{var i;r?r=(i=r==null?void 0:r.map)===null||i===void 0?void 0:i.get(o):r=void 0}),r!=null&&r.value&&n&&(r.value[1]=this.cacheCallTimes++),r==null?void 0:r.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>zt.MAX_CACHE_SIZE+zt.MAX_CACHE_OFFSET){const[o]=this.keys.reduce((i,a)=>{const[,s]=i;return this.internalGet(a)[1]<s?[a,this.internalGet(a)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(o)}this.keys.push(t)}let r=this.cache;t.forEach((o,i)=>{if(i===t.length-1)r.set(o,{value:[n,this.cacheCallTimes++]});else{const a=r.get(o);a?a.map||(a.map=new Map):r.set(o,{map:new Map}),r=r.get(o).map}})}deleteByPath(t,n){var r;const o=t.get(n[0]);if(n.length===1)return o.map?t.set(n[0],{map:o.map}):t.delete(n[0]),(r=o.value)===null||r===void 0?void 0:r[0];const i=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!mb(n,t)),this.deleteByPath(this.cache,t)}}zt.MAX_CACHE_SIZE=20;zt.MAX_CACHE_OFFSET=5;let ti={};function cu(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function uu(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.warn(`Note: ${t}`)}function vb(){ti={}}function fu(e,t,n){!t&&!ti[n]&&(e(!1,n),ti[n]=!0)}function qr(e,t){fu(cu,e,t)}function yb(e,t){fu(uu,e,t)}function bb(){}exports.warning$1=bb;process.env.NODE_ENV!=="production"&&(exports.warning$1=(e,t,n)=>{qr(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&vb()});let ks=0;class du{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=ks,t.length===0&&exports.warning$1(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),ks+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}const So=new zt;function hu(e){const t=Array.isArray(e)?e:[e];return So.has(t)||So.set(t,new du(t)),So.get(t)}const Us=new WeakMap;function br(e){let t=Us.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof du?t+=r.id:r&&typeof r=="object"?t+=br(r):t+=r}),Us.set(e,t)),t}function Sb(e,t){return Gi(`${t}_${br(e)}`)}const mn=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),pu="_bAmBoO_";function Cb(e,t,n){var r,o;if(he()){Tn(e,mn);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");const a=n?n(i):(r=getComputedStyle(i).content)===null||r===void 0?void 0:r.includes(pu);return(o=i.parentNode)===null||o===void 0||o.removeChild(i),yr(mn),a}return!1}let Co;function wb(){return Co===void 0&&(Co=Cb(`@layer ${mn} { .${mn} { content: "${pu}"!important; } }`,e=>{e.className=mn})),Co}const Ws={},xb=process.env.NODE_ENV==="production",Tb=process.env.NODE_ENV==="prerender",$b=!xb&&!Tb?"css-dev-only-do-not-override":"css",ut=new Map;function Eb(e){ut.set(e,(ut.get(e)||0)+1)}function Pb(e,t){typeof document<"u"&&document.querySelectorAll(`style[${tu}="${e}"]`).forEach(r=>{var o;r[Mt]===t&&((o=r.parentNode)===null||o===void 0||o.removeChild(r))})}const Ob=0;function Ib(e,t){ut.set(e,(ut.get(e)||0)-1);const n=Array.from(ut.keys()),r=n.filter(o=>(ut.get(o)||0)<=0);n.length-r.length>Ob&&r.forEach(o=>{Pb(o,t),ut.delete(o)})}const _b=(e,t,n,r)=>{const o=n.getDerivativeToken(e);let i=v(v({},o),t);return r&&(i=r(i)),i};function Ab(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.ref({});const r=Gr(),o=l.computed(()=>v({},...t.value)),i=l.computed(()=>br(o.value)),a=l.computed(()=>br(n.value.override||Ws));return ou("token",l.computed(()=>[n.value.salt||"",e.value.id,i.value,a.value]),()=>{const{salt:u="",override:f=Ws,formatToken:c,getComputedToken:d}=n.value,h=d?d(o.value,f,e.value):_b(o.value,f,e.value,c),p=Sb(h,u);h._tokenKey=p,Eb(p);const g=`${$b}-${Gi(p)}`;return h._hashId=g,[h,g]},u=>{var f;Ib(u[0]._tokenKey,(f=r.value)===null||f===void 0?void 0:f.cache.instanceId)})}var Rb={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gu="comm",mu="rule",vu="decl",Nb="@import",Mb="@keyframes",Db="@layer",yu=Math.abs,qi=String.fromCharCode;function bu(e){return e.trim()}function or(e,t,n){return e.replace(t,n)}function Bb(e,t,n){return e.indexOf(t,n)}function $n(e,t){return e.charCodeAt(t)|0}function kt(e,t,n){return e.slice(t,n)}function Oe(e){return e.length}function Fb(e){return e.length}function qn(e,t){return t.push(e),e}var Xr=1,Ut=1,Su=0,ye=0,Y=0,nn="";function Xi(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Xr,column:Ut,length:a,return:"",siblings:s}}function Lb(){return Y}function Hb(){return Y=ye>0?$n(nn,--ye):0,Ut--,Y===10&&(Ut=1,Xr--),Y}function xe(){return Y=ye<Su?$n(nn,ye++):0,Ut++,Y===10&&(Ut=1,Xr++),Y}function Ye(){return $n(nn,ye)}function ir(){return ye}function Yr(e,t){return kt(nn,e,t)}function En(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Vb(e){return Xr=Ut=1,Su=Oe(nn=e),ye=0,[]}function jb(e){return nn="",e}function wo(e){return bu(Yr(ye-1,ni(e===91?e+2:e===40?e+1:e)))}function zb(e){for(;(Y=Ye())&&Y<33;)xe();return En(e)>2||En(Y)>3?"":" "}function kb(e,t){for(;--t&&xe()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Yr(e,ir()+(t<6&&Ye()==32&&xe()==32))}function ni(e){for(;xe();)switch(Y){case e:return ye;case 34:case 39:e!==34&&e!==39&&ni(Y);break;case 40:e===41&&ni(e);break;case 92:xe();break}return ye}function Ub(e,t){for(;xe()&&e+Y!==57;)if(e+Y===84&&Ye()===47)break;return"/*"+Yr(t,ye-1)+"*"+qi(e===47?e:xe())}function Wb(e){for(;!En(Ye());)xe();return Yr(e,ye)}function Gb(e){return jb(ar("",null,null,null,[""],e=Vb(e),0,[0],e))}function ar(e,t,n,r,o,i,a,s,u){for(var f=0,c=0,d=a,h=0,p=0,g=0,m=1,y=1,b=1,C=0,x="",$=o,S=i,T=r,w=x;y;)switch(g=C,C=xe()){case 40:if(g!=108&&$n(w,d-1)==58){Bb(w+=or(wo(C),"&","&\f"),"&\f",yu(f?s[f-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:w+=wo(C);break;case 9:case 10:case 13:case 32:w+=zb(g);break;case 92:w+=kb(ir()-1,7);continue;case 47:switch(Ye()){case 42:case 47:qn(Kb(Ub(xe(),ir()),t,n,u),u),(En(g||1)==5||En(Ye()||1)==5)&&Oe(w)&&kt(w,-1,void 0)!==" "&&(w+=" ");break;default:w+="/"}break;case 123*m:s[f++]=Oe(w)*b;case 125*m:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+c:b==-1&&(w=or(w,/\f/g,"")),p>0&&(Oe(w)-d||m===0&&g===47)&&qn(p>32?Ks(w+";",r,n,d-1,u):Ks(or(w," ","")+";",r,n,d-2,u),u);break;case 59:w+=";";default:if(qn(T=Gs(w,t,n,f,c,o,s,x,$=[],S=[],d,i),i),C===123)if(c===0)ar(w,t,T,T,$,i,d,s,S);else switch(h===99&&$n(w,3)===110?100:h){case 100:case 108:case 109:case 115:ar(e,T,T,r&&qn(Gs(e,T,T,0,0,o,s,x,o,$=[],d,S),S),o,S,d,s,r?$:S);break;default:ar(w,T,T,T,[""],S,0,s,S)}}f=c=p=0,m=b=1,x=w="",d=a;break;case 58:d=1+Oe(w),p=g;default:if(m<1){if(C==123)--m;else if(C==125&&m++==0&&Hb()==125)continue}switch(w+=qi(C),C*m){case 38:b=c>0?1:(w+="\f",-1);break;case 44:s[f++]=(Oe(w)-1)*b,b=1;break;case 64:Ye()===45&&(w+=wo(xe())),h=Ye(),c=d=Oe(x=w+=Wb(ir())),C++;break;case 45:g===45&&Oe(w)==2&&(m=0)}}return i}function Gs(e,t,n,r,o,i,a,s,u,f,c,d){for(var h=o-1,p=o===0?i:[""],g=Fb(p),m=0,y=0,b=0;m<r;++m)for(var C=0,x=kt(e,h+1,h=yu(y=a[m])),$=e;C<g;++C)($=bu(y>0?p[C]+" "+x:or(x,/&\f/g,p[C])))&&(u[b++]=$);return Xi(e,t,n,o===0?mu:s,u,f,c,d)}function Kb(e,t,n,r){return Xi(e,t,n,gu,qi(Lb()),kt(e,2,-2),0,r)}function Ks(e,t,n,r,o){return Xi(e,t,n,vu,kt(e,0,r),kt(e,r+1,-1),r,o)}function ri(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function qb(e,t,n,r){switch(e.type){case Db:if(e.children.length)break;case Nb:case vu:return e.return=e.return||e.value;case gu:return"";case Mb:return e.return=e.value+"{"+ri(e.children,r)+"}";case mu:if(!Oe(e.value=e.props.join(",")))return""}return Oe(n=ri(e.children,r))?e.return=e.value+"{"+n+"}":""}function Cu(e,t){const{path:n,parentSelectors:r}=t;qr(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${r.length?` Selector info: ${r.join(" -> ")}`:""}`)}const Xb=(e,t,n)=>{if(e==="content"){const r=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!r.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&Cu(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},Yb=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&Cu(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},qs="data-ant-cssinjs-cache-path",Zb="_FILE_STYLE__";let mt,wu=!0;function Qb(){var e;if(!mt&&(mt={},he())){const t=document.createElement("div");t.className=qs,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(o=>{const[i,a]=o.split(":");mt[i]=a});const r=document.querySelector(`style[${qs}]`);r&&(wu=!1,(e=r.parentNode)===null||e===void 0||e.removeChild(r)),document.body.removeChild(t)}}function Jb(e){return Qb(),!!mt[e]}function eS(e){const t=mt[e];let n=null;if(t&&he())if(wu)n=Zb;else{const r=document.querySelector(`style[${gt}="${mt[e]}"]`);r?n=r.innerHTML:delete mt[e]}return[n,t]}const Xs=he(),xu="_skip_check_",Tu="_multi_value_";function Ys(e){return ri(Gb(e),qb).replace(/\{%%%\:[^;];}/g,";")}function tS(e){return typeof e=="object"&&e&&(xu in e||Tu in e)}function nS(e,t,n){if(!t)return e;const r=`.${t}`,o=n==="low"?`:where(${r})`:r;return e.split(",").map(a=>{var s;const u=a.trim().split(/\s+/);let f=u[0]||"";const c=((s=f.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return f=`${c}${o}${f.slice(c.length)}`,[f,...u.slice(1)].join(" ")}).join(",")}const oi=new Set;process.env.NODE_ENV;const ii=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:r,parentSelectors:o}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:a,path:s,hashPriority:u,transformers:f=[],linters:c=[]}=t;let d="",h={};function p(y){const b=y.getName(i);if(!h[b]){const[C]=ii(y.style,t,{root:!1,parentSelectors:o});h[b]=`@keyframes ${y.getName(i)}${C}`}}function g(y){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(C=>{Array.isArray(C)?g(C,b):C&&b.push(C)}),b}if(g(Array.isArray(e)?e:[e]).forEach(y=>{const b=typeof y=="string"&&!n?{}:y;if(typeof b=="string")d+=`${b}
107
- `;else if(b._keyframe)p(b);else{const C=f.reduce((x,$)=>{var S;return((S=$==null?void 0:$.visit)===null||S===void 0?void 0:S.call($,x))||x},b);Object.keys(C).forEach(x=>{var $;const S=C[x];if(typeof S=="object"&&S&&(x!=="animationName"||!S._keyframe)&&!tS(S)){let T=!1,w=x.trim(),O=!1;(n||r)&&i?w.startsWith("@")?T=!0:w=nS(x,i,u):n&&!i&&(w==="&"||w==="")&&(w="",O=!0);const[I,N]=ii(S,t,{root:O,injectHash:T,parentSelectors:[...o,w]});h=v(v({},h),N),d+=`${w}${I}`}else{let T=function(O,I){process.env.NODE_ENV!=="production"&&(typeof S!="object"||!(S!=null&&S[xu]))&&[Xb,Yb,...c].forEach(R=>R(O,I,{path:s,hashId:i,parentSelectors:o}));const N=O.replace(/[A-Z]/g,R=>`-${R.toLowerCase()}`);let M=I;!Rb[O]&&typeof M=="number"&&M!==0&&(M=`${M}px`),O==="animationName"&&(I!=null&&I._keyframe)&&(p(I),M=I.getName(i)),d+=`${N}:${M};`};const w=($=S==null?void 0:S.value)!==null&&$!==void 0?$:S;typeof S=="object"&&(S!=null&&S[Tu])&&Array.isArray(w)?w.forEach(O=>{T(x,O)}):T(x,w)}})}}),!n)d=`{${d}}`;else if(a&&wb()){const y=a.split(",");d=`@layer ${y[y.length-1].trim()} {${d}}`,y.length>1&&(d=`@layer ${a}{%%%:%}${d}`)}return[d,h]};function rS(e,t){return Gi(`${e.join("%")}${t}`)}function ai(e,t){const n=Gr(),r=l.computed(()=>e.value.token._tokenKey),o=l.computed(()=>[r.value,...e.value.path]);let i=Xs;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(i=n.value.mock==="client"),ou("style",o,()=>{const{path:a,hashId:s,layer:u,nonce:f,clientOnly:c,order:d=0}=e.value,h=o.value.join("|");if(Jb(h)){const[w,O]=eS(h);if(w)return[w,r.value,O,{},c,d]}const p=t(),{hashPriority:g,container:m,transformers:y,linters:b,cache:C}=n.value,[x,$]=ii(p,{hashId:s,hashPriority:g,layer:u,path:a.join("-"),transformers:y,linters:b}),S=Ys(x),T=rS(o.value,S);if(i){const w={mark:gt,prepend:"queue",attachTo:m,priority:d},O=typeof f=="function"?f():f;O&&(w.csp={nonce:O});const I=Tn(S,T,w);I[Mt]=C.instanceId,I.setAttribute(tu,r.value),process.env.NODE_ENV!=="production"&&I.setAttribute(ab,o.value.join("|")),Object.keys($).forEach(N=>{oi.has(N)||(oi.add(N),Tn(Ys($[N]),`_effect-${N}`,{mark:gt,prepend:"queue",attachTo:m}))})}return[S,r.value,T,$,c,d]},(a,s)=>{let[,,u]=a;(s||n.value.autoClear)&&Xs&&yr(u,{mark:gt})}),a=>a}class K{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const oS="4.2.6",iS=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function aS(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const $u={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Zr=v(v({},$u),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
108
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
109
- 'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function sS(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:u,colorBgBase:f,colorTextBase:c}=e,d=n(u),h=n(o),p=n(i),g=n(a),m=n(s),y=r(f,c);return v(v({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:h[1],colorSuccessBgHover:h[2],colorSuccessBorder:h[3],colorSuccessBorderHover:h[4],colorSuccessHover:h[4],colorSuccess:h[6],colorSuccessActive:h[7],colorSuccessTextHover:h[8],colorSuccessText:h[9],colorSuccessTextActive:h[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorBgMask:new ee("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const lS=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function cS(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return v({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},lS(r))}const Me=(e,t)=>new ee(e).setAlpha(t).toRgbString(),cn=(e,t)=>new ee(e).darken(t).toHexString(),uS=e=>{const t=yt(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},fS=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Me(r,.88),colorTextSecondary:Me(r,.65),colorTextTertiary:Me(r,.45),colorTextQuaternary:Me(r,.25),colorFill:Me(r,.15),colorFillSecondary:Me(r,.06),colorFillTertiary:Me(r,.04),colorFillQuaternary:Me(r,.02),colorBgLayout:cn(n,4),colorBgContainer:cn(n,0),colorBgElevated:cn(n,0),colorBgSpotlight:Me(r,.85),colorBorder:cn(n,15),colorBorderSecondary:cn(n,6)}};function dS(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const hS=e=>{const t=dS(e),n=t.map(o=>o.size),r=t.map(o=>o.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function pS(e){const t=Object.keys($u).map(n=>{const r=yt(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=v(v({},n),r),n),{});return v(v(v(v(v(v(v({},e),t),sS(e,{generateColorPalettes:uS,generateNeutralColorPalettes:fS})),hS(e.fontSize)),aS(e)),iS(e)),cS(e))}function xo(e){return e>=0&&e<=255}function Xn(e,t){const{r:n,g:r,b:o,a:i}=new ee(e).toRgb();if(i<1)return e;const{r:a,g:s,b:u}=new ee(t).toRgb();for(let f=.01;f<=1;f+=.01){const c=Math.round((n-a*(1-f))/f),d=Math.round((r-s*(1-f))/f),h=Math.round((o-u*(1-f))/f);if(xo(c)&&xo(d)&&xo(h))return new ee({r:c,g:d,b:h,a:Math.round(f*100)/100}).toRgbString()}return new ee({r:n,g:r,b:o,a:1}).toRgbString()}var gS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function mS(e){const{override:t}=e,n=gS(e,["override"]),r=v({},t);Object.keys(Zr).forEach(p=>{delete r[p]});const o=v(v({},n),r),i=480,a=576,s=768,u=992,f=1200,c=1600,d=2e3;return v(v(v({},o),{colorLink:o.colorInfoText,colorLinkHover:o.colorInfoHover,colorLinkActive:o.colorInfoActive,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Xn(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Xn(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Xn(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Xn(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
110
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
111
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
112
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
113
- `,boxShadowSecondary:`
114
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
115
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
116
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
117
- `,boxShadowTertiary:`
118
- 0 1px 2px 0 rgba(0, 0, 0, 0.03),
119
- 0 1px 6px -1px rgba(0, 0, 0, 0.02),
120
- 0 2px 4px 0 rgba(0, 0, 0, 0.02)
121
- `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:u-1,screenLG:u,screenLGMin:u,screenLGMax:f-1,screenXL:f,screenXLMin:f,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,screenXXLMax:d-1,screenXXXL:d,screenXXXLMin:d,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:`
122
- 0 1px 2px -2px ${new ee("rgba(0, 0, 0, 0.16)").toRgbString()},
123
- 0 3px 6px 0 ${new ee("rgba(0, 0, 0, 0.12)").toRgbString()},
124
- 0 5px 12px 4px ${new ee("rgba(0, 0, 0, 0.09)").toRgbString()}
125
- `,boxShadowDrawerRight:`
126
- -6px 0 16px 0 rgba(0, 0, 0, 0.08),
127
- -3px 0 6px -4px rgba(0, 0, 0, 0.12),
128
- -9px 0 28px 8px rgba(0, 0, 0, 0.05)
129
- `,boxShadowDrawerLeft:`
130
- 6px 0 16px 0 rgba(0, 0, 0, 0.08),
131
- 3px 0 6px -4px rgba(0, 0, 0, 0.12),
132
- 9px 0 28px 8px rgba(0, 0, 0, 0.05)
133
- `,boxShadowDrawerUp:`
134
- 0 6px 16px 0 rgba(0, 0, 0, 0.08),
135
- 0 3px 6px -4px rgba(0, 0, 0, 0.12),
136
- 0 9px 28px 8px rgba(0, 0, 0, 0.05)
137
- `,boxShadowDrawerDown:`
138
- 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
139
- 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
140
- 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
141
- `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}const vS={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Qr=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Eu=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Pu=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),yS=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),bS=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Ou=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Yi=e=>({"&:focus-visible":v({},Ou(e))});function at(e,t,n){return r=>{const o=l.computed(()=>r==null?void 0:r.value),[i,a,s]=rn(),{getPrefixCls:u,iconPrefixCls:f}=kr(),c=l.computed(()=>u()),d=l.computed(()=>({theme:i.value,token:a.value,hashId:s.value,path:["Shared",c.value]}));ai(d,()=>[{"&":yS(a.value)}]);const h=l.computed(()=>({theme:i.value,token:a.value,hashId:s.value,path:[e,o.value,f.value]}));return[ai(h,()=>{const{token:p,flush:g}=CS(a.value),m=typeof n=="function"?n(p):n,y=v(v({},m),a.value[e]),b=`.${o.value}`,C=je(p,{componentCls:b,prefixCls:o.value,iconCls:`.${f.value}`,antCls:`.${c.value}`},y),x=t(C,{hashId:s.value,prefixCls:o.value,rootPrefixCls:c.value,iconPrefixCls:f.value,overrideComponentToken:a.value[e]});return g(e,y),[bS(a.value,o.value),x]}),s]}}const Iu=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u";let si=!0;function je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Iu)return v({},...t);si=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),si=!0,r}function SS(){}function CS(e){let t,n=e,r=SS;return Iu&&(t=new Set,n=new Proxy(e,{get(o,i){return si&&t.add(i),o[i]}}),r=(o,i)=>{Array.from(t)}),{token:n,keys:t,flush:r}}const wS=hu(pS),_u={token:Zr,hashed:!0},Au=Symbol("DesignTokenContext"),li=l.shallowRef(),xS=e=>{l.provide(Au,e),l.watch(e,()=>{li.value=l.unref(e),l.triggerRef(li)},{immediate:!0,deep:!0})},TS=l.defineComponent({props:{value:q()},setup(e,t){let{slots:n}=t;return xS(l.computed(()=>e.value)),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});function rn(){const e=l.inject(Au,l.computed(()=>li.value||_u)),t=l.computed(()=>`${oS}-${e.value.hashed||""}`),n=l.computed(()=>e.value.theme||wS),r=Ab(n,l.computed(()=>[Zr,e.value.token]),l.computed(()=>({salt:t.value,override:v({override:e.value.token},e.value.components),formatToken:mS})));return[n,l.computed(()=>r.value[0]),l.computed(()=>e.value.hashed?r.value[1]:"")]}const Zi=l.defineComponent({compatConfig:{MODE:3},setup(){const[,e]=rn(),t=l.computed(()=>new ee(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>l.createVNode("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[l.createVNode("g",{fill:"none","fill-rule":"evenodd"},[l.createVNode("g",{transform:"translate(24 31.67)"},[l.createVNode("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),l.createVNode("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),l.createVNode("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),l.createVNode("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),l.createVNode("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),l.createVNode("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),l.createVNode("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[l.createVNode("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),l.createVNode("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});Zi.PRESENTED_IMAGE_DEFAULT=!0;const Ru=l.defineComponent({compatConfig:{MODE:3},setup(){const[,e]=rn(),t=l.computed(()=>{const{colorFill:n,colorFillTertiary:r,colorFillQuaternary:o,colorBgContainer:i}=e.value;return{borderColor:new ee(n).onBackground(i).toHexString(),shadowColor:new ee(r).onBackground(i).toHexString(),contentColor:new ee(o).onBackground(i).toHexString()}});return()=>l.createVNode("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[l.createVNode("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[l.createVNode("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),l.createVNode("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[l.createVNode("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),l.createVNode("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});Ru.PRESENTED_IMAGE_SIMPLE=!0;const $S=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},ES=at("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,r=je(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[$S(r)]});var PS=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const OS=()=>({prefixCls:String,imageStyle:q(),image:vr(),description:vr()}),Qi=l.defineComponent({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:OS(),setup(e,t){let{slots:n={},attrs:r}=t;const{direction:o,prefixCls:i}=Pe("empty",e),[a,s]=ES(i);return()=>{var u,f;const c=i.value,d=v(v({},e),r),{image:h=((u=n.image)===null||u===void 0?void 0:u.call(n))||l.h(Zi),description:p=((f=n.description)===null||f===void 0?void 0:f.call(n))||void 0,imageStyle:g,class:m=""}=d,y=PS(d,["image","description","imageStyle","class"]),b=typeof h=="function"?h():h,C=typeof b=="object"&&"type"in b&&b.type.PRESENTED_IMAGE_SIMPLE;return a(l.createVNode(eu,{componentName:"Empty",children:x=>{const $=typeof p<"u"?p:x.description,S=typeof $=="string"?$:"empty";let T=null;return typeof b=="string"?T=l.createVNode("img",{alt:S,src:b},null):T=b,l.createVNode("div",B({class:W(c,m,s.value,{[`${c}-normal`]:C,[`${c}-rtl`]:o.value==="rtl"})},y),[l.createVNode("div",{class:`${c}-image`,style:g},[T]),$&&l.createVNode("p",{class:`${c}-description`},[$]),n.default&&l.createVNode("div",{class:`${c}-footer`},[An(n.default())])])}},null))}}});Qi.PRESENTED_IMAGE_DEFAULT=()=>l.h(Zi);Qi.PRESENTED_IMAGE_SIMPLE=()=>l.h(Ru);const Rt=zr(Qi),Ji=e=>{const{prefixCls:t}=Pe("empty",e);return(r=>{switch(r){case"Table":case"List":return l.createVNode(Rt,{image:Rt.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return l.createVNode(Rt,{image:Rt.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return l.createVNode(Rt,null,null)}})(e.componentName)};function IS(e){return l.createVNode(Ji,{componentName:e},null)}const Nu=Symbol("SizeContextKey"),Mu=()=>l.inject(Nu,l.ref(void 0)),Du=e=>{const t=Mu();return l.provide(Nu,l.computed(()=>e.value||t.value)),e},Pe=(e,t)=>{const n=Mu(),r=Ur(),o=l.inject(Wi,v(v({},Xc),{renderEmpty:w=>l.h(Ji,{componentName:w})})),i=l.computed(()=>o.getPrefixCls(e,t.prefixCls)),a=l.computed(()=>{var w,O;return(w=t.direction)!==null&&w!==void 0?w:(O=o.direction)===null||O===void 0?void 0:O.value}),s=l.computed(()=>{var w;return(w=t.iconPrefixCls)!==null&&w!==void 0?w:o.iconPrefixCls.value}),u=l.computed(()=>o.getPrefixCls()),f=l.computed(()=>{var w;return(w=o.autoInsertSpaceInButton)===null||w===void 0?void 0:w.value}),c=o.renderEmpty,d=o.space,h=o.pageHeader,p=o.form,g=l.computed(()=>{var w,O;return(w=t.getTargetContainer)!==null&&w!==void 0?w:(O=o.getTargetContainer)===null||O===void 0?void 0:O.value}),m=l.computed(()=>{var w,O,I;return(O=(w=t.getContainer)!==null&&w!==void 0?w:t.getPopupContainer)!==null&&O!==void 0?O:(I=o.getPopupContainer)===null||I===void 0?void 0:I.value}),y=l.computed(()=>{var w,O;return(w=t.dropdownMatchSelectWidth)!==null&&w!==void 0?w:(O=o.dropdownMatchSelectWidth)===null||O===void 0?void 0:O.value}),b=l.computed(()=>{var w;return(t.virtual===void 0?((w=o.virtual)===null||w===void 0?void 0:w.value)!==!1:t.virtual!==!1)&&y.value!==!1}),C=l.computed(()=>t.size||n.value),x=l.computed(()=>{var w,O,I;return(w=t.autocomplete)!==null&&w!==void 0?w:(I=(O=o.input)===null||O===void 0?void 0:O.value)===null||I===void 0?void 0:I.autocomplete}),$=l.computed(()=>{var w;return(w=t.disabled)!==null&&w!==void 0?w:r.value}),S=l.computed(()=>{var w;return(w=t.csp)!==null&&w!==void 0?w:o.csp}),T=l.computed(()=>{var w,O;return(w=t.wave)!==null&&w!==void 0?w:(O=o.wave)===null||O===void 0?void 0:O.value});return{configProvider:o,prefixCls:i,direction:a,size:C,getTargetContainer:g,getPopupContainer:m,space:d,pageHeader:h,form:p,autoInsertSpaceInButton:f,renderEmpty:c,virtual:b,dropdownMatchSelectWidth:y,rootPrefixCls:u,getPrefixCls:o.getPrefixCls,autocomplete:x,csp:S,iconPrefixCls:s,disabled:$,select:o.select,wave:T}};function ea(e,t){const n=v({},e);for(let r=0;r<t.length;r+=1){const o=t[r];delete n[o]}return n}const U=Uf.createTypes({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});U.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);function _S(e){return e.default=void 0,e}const ta=(e,t,n)=>{qr(e,`[ant-design-vue: ${t}] ${n}`)};function Bu(e){let{prefixCls:t,animation:n,transitionName:r}=e;return n?{name:`${t}-${n}`}:r?{name:r}:{}}function AS(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=e;if(Array.isArray(e)&&(o=An(e)[0]),!o)return null;const i=l.cloneVNode(o,t,r);return i.props=n?v(v({},i.props),t):i.props,exports.warning$1(typeof i.props.class!="object","class must be string"),i}function RS(e,t,n){l.render(l.cloneVNode(e,v({},t)),n)}const Fu=e=>(e||[]).some(t=>l.isVNode(t)?!(t.type===l.Comment||t.type===l.Fragment&&!Fu(t.children)):!0)?e:null;function NS(e,t,n,r){var o;const i=(o=e[t])===null||o===void 0?void 0:o.call(e,n);return Fu(i)?i:r==null?void 0:r()}const Lu=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};wn("bottomLeft","bottomRight","topLeft","topRight");const MS=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",na=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return v(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},ra=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return v(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},Pn=(e,t,n)=>n!==void 0?n:`${e}-${t}`,Hu=Symbol("PortalContextKey"),oa=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};l.provide(Hu,{inTriggerContext:t.inTriggerContext,shouldRender:l.computed(()=>{const{sPopupVisible:n,popupRef:r,forceRender:o,autoDestroy:i}=e||{};let a=!1;return(n||r||o)&&(a=!0),!n&&i&&(a=!1),a})})},DS=()=>{oa({},{inTriggerContext:!1});const e=l.inject(Hu,{shouldRender:l.computed(()=>!1),inTriggerContext:!1});return{shouldRender:l.computed(()=>e.shouldRender.value||e.inTriggerContext===!1)}},Vu=l.defineComponent({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:U.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,r=!0,o;const{shouldRender:i}=DS();function a(){i.value&&(o=e.getContainer())}l.onBeforeMount(()=>{r=!1,a()}),l.onMounted(()=>{o||a()});const s=l.watch(i,()=>{i.value&&!o&&(o=e.getContainer()),o&&s()});return l.onUpdated(()=>{l.nextTick(()=>{var u;i.value&&((u=e.didUpdate)===null||u===void 0||u.call(e,e))})}),()=>{var u;return i.value?r?(u=n.default)===null||u===void 0?void 0:u.call(n):o?l.createVNode(l.Teleport,{to:o},n):null:null}}});let To;function ia(e){if(typeof document>"u")return 0;if(To===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const o=t.offsetWidth;n.style.overflow="scroll";let i=t.offsetWidth;o===i&&(i=n.clientWidth),document.body.removeChild(n),To=o-i}return To}function Zs(e){const t=e.match(/^(.*)px$/),n=Number(t==null?void 0:t[1]);return Number.isNaN(n)?ia():n}function BS(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};const{width:t,height:n}=getComputedStyle(e,"::-webkit-scrollbar");return{width:Zs(t),height:Zs(n)}}const FS=`vc-util-locker-${Date.now()}`;let Qs=0;function LS(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function HS(e){const t=l.computed(()=>!!e&&!!e.value);Qs+=1;const n=`${FS}_${Qs}`;l.watchEffect(r=>{if(he()){if(t.value){const o=ia(),i=LS();Tn(`
142
- html body {
143
- overflow-y: hidden;
144
- ${i?`width: calc(100% - ${o}px);`:""}
145
- }`,n)}else yr(n);r(()=>{yr(n)})}},{flush:"post"})}let ct=0;const sr=he(),Js=e=>{if(!sr)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},ju=l.defineComponent({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:U.any,visible:{type:Boolean,default:void 0},autoLock:pt(),didUpdate:Function},setup(e,t){let{slots:n}=t;const r=l.shallowRef(),o=l.shallowRef(),i=l.shallowRef(),a=l.shallowRef(1),s=he()&&document.createElement("div"),u=()=>{var p,g;r.value===s&&((g=(p=r.value)===null||p===void 0?void 0:p.parentNode)===null||g===void 0||g.removeChild(r.value)),r.value=null};let f=null;const c=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||r.value&&!r.value.parentNode?(f=Js(e.getContainer),f?(f.appendChild(r.value),!0):!1):!0},d=()=>sr?(r.value||(r.value=s,c(!0)),h(),r.value):null,h=()=>{const{wrapperClassName:p}=e;r.value&&p&&p!==r.value.className&&(r.value.className=p)};return l.onUpdated(()=>{h(),c()}),HS(l.computed(()=>e.autoLock&&e.visible&&he()&&(r.value===document.body||r.value===s))),l.onMounted(()=>{let p=!1;l.watch([()=>e.visible,()=>e.getContainer],(g,m)=>{let[y,b]=g,[C,x]=m;sr&&(f=Js(e.getContainer),f===document.body&&(y&&!C?ct+=1:p&&(ct-=1))),p&&(typeof b=="function"&&typeof x=="function"?b.toString()!==x.toString():b!==x)&&u(),p=!0},{immediate:!0,flush:"post"}),l.nextTick(()=>{c()||(i.value=jt(()=>{a.value+=1}))})}),l.onBeforeUnmount(()=>{const{visible:p}=e;sr&&f===document.body&&(ct=p&&ct?ct-1:ct),u(),jt.cancel(i.value)}),()=>{const{forceRender:p,visible:g}=e;let m=null;const y={getOpenCount:()=>ct,getContainer:d};return a.value&&(p||g||o.value)&&(m=l.createVNode(Vu,{getContainer:d,ref:o,didUpdate:e.didUpdate},{default:()=>{var b;return(b=n.default)===null||b===void 0?void 0:b.call(n,y)}})),m}}}),ci={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,N:78,P:80,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,SEMICOLON:186,EQUALS:187,WIN_KEY:224},VS=`accept acceptcharset accesskey action allowfullscreen allowtransparency
146
- alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
147
- charset checked classid classname colspan cols content contenteditable contextmenu
148
- controls coords crossorigin data datetime default defer dir disabled download draggable
149
- enctype form formaction formenctype formmethod formnovalidate formtarget frameborder
150
- headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity
151
- is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media
152
- mediagroup method min minlength multiple muted name novalidate nonce open
153
- optimum pattern placeholder poster preload radiogroup readonly rel required
154
- reversed role rowspan rows sandbox scope scoped scrolling seamless selected
155
- shape size sizes span spellcheck src srcdoc srclang srcset start step style
156
- summary tabindex target title type usemap value width wmode wrap`,jS=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
157
- onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
158
- onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
159
- onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
160
- onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
161
- onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
162
- onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,el=`${VS} ${jS}`.split(/[\s\n]+/),zS="aria-",kS="data-";function tl(e,t){return e.indexOf(t)===0}function zu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=v({},t);const r={};return Object.keys(e).forEach(o=>{(n.aria&&(o==="role"||tl(o,zS))||n.data&&tl(o,kS)||n.attr&&(el.includes(o)||el.includes(o.toLowerCase())))&&(r[o]=e[o])}),r}function We(e){const t=typeof e=="function"?e():e,n=l.ref(t);function r(o){n.value=o}return[n,r]}function aa(e){const t=Symbol("contextKey");return{useProvide:(o,i)=>{const a=l.reactive({});return l.provide(t,a),l.watchEffect(()=>{v(a,o,i||{})}),a},useInject:()=>l.inject(t,e)||{}}}const US=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},WS=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},ku=at("Space",e=>[WS(e),US(e)]),GS=()=>({compactSize:String,compactDirection:U.oneOf(wn("horizontal","vertical")).def("horizontal"),isFirstItem:pt(),isLastItem:pt()}),Jr=aa(null),Uu=(e,t)=>{const n=Jr.useInject(),r=l.computed(()=>{if(!n||Dr(n))return"";const{compactDirection:o,isFirstItem:i,isLastItem:a}=n,s=o==="vertical"?"-vertical-":"-";return W({[`${e.value}-compact${s}item`]:!0,[`${e.value}-compact${s}first-item`]:i,[`${e.value}-compact${s}last-item`]:a,[`${e.value}-compact${s}item-rtl`]:t.value==="rtl"})});return{compactSize:l.computed(()=>n==null?void 0:n.compactSize),compactDirection:l.computed(()=>n==null?void 0:n.compactDirection),compactItemClassnames:r}},KS=l.defineComponent({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return Jr.useProvide(null),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),qS=()=>({prefixCls:String,size:{type:String},direction:U.oneOf(wn("horizontal","vertical")).def("horizontal"),align:U.oneOf(wn("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),XS=l.defineComponent({name:"CompactItem",props:GS(),setup(e,t){let{slots:n}=t;return Jr.useProvide(e),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}}),YS=l.defineComponent({name:"ASpaceCompact",inheritAttrs:!1,props:qS(),setup(e,t){let{attrs:n,slots:r}=t;const{prefixCls:o,direction:i}=Pe("space-compact",e),a=Jr.useInject(),[s,u]=ku(o),f=l.computed(()=>W(o.value,u.value,{[`${o.value}-rtl`]:i.value==="rtl",[`${o.value}-block`]:e.block,[`${o.value}-vertical`]:e.direction==="vertical"}));return()=>{var c;const d=Ae(((c=r.default)===null||c===void 0?void 0:c.call(r))||[]);return d.length===0?null:s(l.createVNode("div",B(B({},n),{},{class:[f.value,n.class]}),[d.map((h,p)=>{var g;const m=h&&h.key||`${o.value}-item-${p}`,y=!a||Dr(a);return l.createVNode(XS,{key:m,compactSize:(g=e.size)!==null&&g!==void 0?g:"middle",compactDirection:e.direction,isFirstItem:p===0&&(y||(a==null?void 0:a.isFirstItem)),isLastItem:p===d.length-1&&(y||(a==null?void 0:a.isLastItem))},{default:()=>[h]})})]))}}}),ZS=e=>({animationDuration:e,animationFillMode:"both"}),QS=e=>({animationDuration:e,animationFillMode:"both"}),sa=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
163
- ${i}${e}-enter,
164
- ${i}${e}-appear
165
- `]:v(v({},ZS(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:v(v({},QS(r)),{animationPlayState:"paused"}),[`
166
- ${i}${e}-enter${e}-enter-active,
167
- ${i}${e}-appear${e}-appear-active
168
- `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},JS=new K("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),eC=new K("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),tC=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[sa(r,JS,eC,e.motionDurationMid,t),{[`
169
- ${o}${r}-enter,
170
- ${o}${r}-appear
171
- `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},Wu=new K("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),nC=new K("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),nl=new K("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),rl=new K("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),rC=new K("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),oC=new K("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),iC=new K("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),aC=new K("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),sC=new K("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),lC=new K("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),cC=new K("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),uC=new K("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),fC={zoom:{inKeyframes:Wu,outKeyframes:nC},"zoom-big":{inKeyframes:nl,outKeyframes:rl},"zoom-big-fast":{inKeyframes:nl,outKeyframes:rl},"zoom-left":{inKeyframes:iC,outKeyframes:aC},"zoom-right":{inKeyframes:sC,outKeyframes:lC},"zoom-up":{inKeyframes:rC,outKeyframes:oC},"zoom-down":{inKeyframes:cC,outKeyframes:uC}},Gu=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=fC[t];return[sa(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
172
- ${r}-enter,
173
- ${r}-appear
174
- `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function dC(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map(u=>`&:${u} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":v(v({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function hC(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Ku(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:v(v({},dC(e,r,t)),hC(n,r,t))}}const pC=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},gC=at("Wave",e=>[pC(e)]);function mC(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function $o(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&mC(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function vC(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return $o(t)?t:$o(n)?n:$o(r)?r:null}function Eo(e){return Number.isNaN(e)?0:e}const yC=l.defineComponent({props:{target:q(),className:String},setup(e){const t=l.shallowRef(null),[n,r]=We(null),[o,i]=We([]),[a,s]=We(0),[u,f]=We(0),[c,d]=We(0),[h,p]=We(0),[g,m]=We(!1);function y(){const{target:w}=e,O=getComputedStyle(w);r(vC(w));const I=O.position==="static",{borderLeftWidth:N,borderTopWidth:M}=O;s(I?w.offsetLeft:Eo(-parseFloat(N))),f(I?w.offsetTop:Eo(-parseFloat(M))),d(w.offsetWidth),p(w.offsetHeight);const{borderTopLeftRadius:R,borderTopRightRadius:F,borderBottomLeftRadius:H,borderBottomRightRadius:P}=O;i([R,F,P,H].map(E=>Eo(parseFloat(E))))}let b,C,x;const $=()=>{clearTimeout(x),jt.cancel(C),b==null||b.disconnect()},S=()=>{var w;const O=(w=t.value)===null||w===void 0?void 0:w.parentElement;O&&(l.render(null,O),O.parentElement&&O.parentElement.removeChild(O))};l.onMounted(()=>{$(),x=setTimeout(()=>{S()},5e3);const{target:w}=e;w&&(C=jt(()=>{y(),m(!0)}),typeof ResizeObserver<"u"&&(b=new ResizeObserver(y),b.observe(w)))}),l.onBeforeUnmount(()=>{$()});const T=w=>{w.propertyName==="opacity"&&S()};return()=>{if(!g.value)return null;const w={left:`${a.value}px`,top:`${u.value}px`,width:`${c.value}px`,height:`${h.value}px`,borderRadius:o.value.map(O=>`${O}px`).join(" ")};return n&&(w["--wave-color"]=n.value),l.createVNode(l.Transition,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[l.createVNode("div",{ref:t,class:e.className,style:w,onTransitionend:T},null)]})}}});function bC(e,t){const n=document.createElement("div");return n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),l.render(l.createVNode(yC,{target:e,className:t},null),n),()=>{l.render(null,n),n.parentElement&&n.parentElement.removeChild(n)}}function SC(e,t){const n=l.getCurrentInstance();let r;function o(){var i;const a=Cn(n);r==null||r(),!(!((i=t==null?void 0:t.value)===null||i===void 0)&&i.disabled||!a)&&(r=bC(a,e.value))}return l.onBeforeUnmount(()=>{r==null||r()}),o}const qu=l.defineComponent({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const r=l.getCurrentInstance(),{prefixCls:o,wave:i}=Pe("wave",e),[,a]=gC(o),s=SC(l.computed(()=>W(o.value,a.value)),i);let u;const f=()=>{Cn(r).removeEventListener("click",u,!0)};return l.onMounted(()=>{l.watch(()=>e.disabled,()=>{f(),l.nextTick(()=>{const c=Cn(r);c==null||c.removeEventListener("click",u,!0),!(!c||c.nodeType!==1||e.disabled)&&(u=d=>{d.target.tagName==="INPUT"||!Lu(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s()},c.addEventListener("click",u,!0))})},{immediate:!0,flush:"post"})}),l.onBeforeUnmount(()=>{f()}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});function Xu(e){return e==="danger"?{danger:!0}:{type:e}}const Yu=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:U.any,href:String,target:String,title:String,onClick:Xo(),onMousedown:Xo()}),ol=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},il=e=>{l.nextTick(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},al=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},CC=l.defineComponent({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:r}=e;if(t)return l.createVNode("span",{class:`${n}-loading-icon`},[l.createVNode(Je,null,null)]);const o=!!r;return l.createVNode(l.Transition,{name:`${n}-loading-icon-motion`,onBeforeEnter:ol,onEnter:il,onAfterEnter:al,onBeforeLeave:il,onLeave:i=>{setTimeout(()=>{ol(i)})},onAfterLeave:al},{default:()=>[o?l.createVNode("span",{class:`${n}-loading-icon`},[l.createVNode(Je,null,null)]):null]})}}}),sl=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),wC=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},sl(`${t}-primary`,o),sl(`${t}-danger`,i)]}};function xC(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function TC(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function $C(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:v(v({},xC(e,t)),TC(e.componentCls,t))}}const EC=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":v({},Yi(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Fe=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),PC=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),OC=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),ui=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),Sr=(e,t,n,r,o,i,a)=>({[`&${e}-background-ghost`]:v(v({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Fe(v({backgroundColor:"transparent"},i),v({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),la=e=>({"&:disabled":v({},ui(e))}),Zu=e=>v({},la(e)),Cr=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),Qu=e=>v(v(v(v(v({},Zu(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Fe({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Sr(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:v(v(v({color:e.colorError,borderColor:e.colorError},Fe({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Sr(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),la(e))}),IC=e=>v(v(v(v(v({},Zu(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Fe({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Sr(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:v(v(v({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Fe({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Sr(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),la(e))}),_C=e=>v(v({},Qu(e)),{borderStyle:"dashed"}),AC=e=>v(v(v({color:e.colorLink},Fe({color:e.colorLinkHover},{color:e.colorLinkActive})),Cr(e)),{[`&${e.componentCls}-dangerous`]:v(v({color:e.colorError},Fe({color:e.colorErrorHover},{color:e.colorErrorActive})),Cr(e))}),RC=e=>v(v(v({},Fe({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),Cr(e)),{[`&${e.componentCls}-dangerous`]:v(v({color:e.colorError},Cr(e)),Fe({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),NC=e=>v(v({},ui(e)),{[`&${e.componentCls}:hover`]:v({},ui(e))}),MC=e=>{const{componentCls:t}=e;return{[`${t}-default`]:Qu(e),[`${t}-primary`]:IC(e),[`${t}-dashed`]:_C(e),[`${t}-link`]:AC(e),[`${t}-text`]:RC(e),[`${t}-disabled`]:NC(e)}},ca=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:r,controlHeight:o,fontSize:i,lineHeight:a,lineWidth:s,borderRadius:u,buttonPaddingHorizontal:f}=e,c=Math.max(0,(o-i*a)/2-s),d=f-s,h=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:i,height:o,padding:`${c}px ${d}px`,borderRadius:u,[`&${h}`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${h}) ${n}-loading-icon > ${r}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:PC(e)},{[`${n}${n}-round${t}`]:OC(e)}]},DC=e=>ca(e),BC=e=>{const t=je(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return ca(t,`${e.componentCls}-sm`)},FC=e=>{const t=je(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return ca(t,`${e.componentCls}-lg`)},LC=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},HC=at("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=je(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[EC(r),BC(r),DC(r),FC(r),LC(r),MC(r),wC(r),Ku(e,{focus:!1}),$C(e)]}),VC=()=>({prefixCls:String,size:{type:String}}),Ju=aa(),fi=l.defineComponent({compatConfig:{MODE:3},name:"AButtonGroup",props:VC(),setup(e,t){let{slots:n}=t;const{prefixCls:r,direction:o}=Pe("btn-group",e),[,,i]=rn();Ju.useProvide(l.reactive({size:l.computed(()=>e.size)}));const a=l.computed(()=>{const{size:s}=e;let u="";switch(s){case"large":u="lg";break;case"small":u="sm";break;case"middle":case void 0:break;default:ta(!s,"Button.Group","Invalid prop `size`.")}return{[`${r.value}`]:!0,[`${r.value}-${u}`]:u,[`${r.value}-rtl`]:o.value==="rtl",[i.value]:!0}});return()=>{var s;return l.createVNode("div",{class:a.value},[Ae((s=n.default)===null||s===void 0?void 0:s.call(n))])}}}),ll=/^[\u4e00-\u9fa5]{2}$/,cl=ll.test.bind(ll);function Yn(e){return e==="text"||e==="link"}const Qe=l.defineComponent({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:tn(Yu(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:r,emit:o,expose:i}=t;const{prefixCls:a,autoInsertSpaceInButton:s,direction:u,size:f}=Pe("btn",e),[c,d]=HC(a),h=Ju.useInject(),p=Ur(),g=l.computed(()=>{var P;return(P=e.disabled)!==null&&P!==void 0?P:p.value}),m=l.shallowRef(null),y=l.shallowRef(void 0);let b=!1;const C=l.shallowRef(!1),x=l.shallowRef(!1),$=l.computed(()=>s.value!==!1),{compactSize:S,compactItemClassnames:T}=Uu(a,u),w=l.computed(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);l.watch(w,P=>{clearTimeout(y.value),typeof w.value=="number"?y.value=setTimeout(()=>{C.value=P},w.value):C.value=P},{immediate:!0});const O=l.computed(()=>{const{type:P,shape:E="default",ghost:A,block:D,danger:Q}=e,j=a.value,se={large:"lg",small:"sm",middle:void 0},ze=S.value||(h==null?void 0:h.size)||f.value,st=ze&&se[ze]||"";return[T.value,{[d.value]:!0,[`${j}`]:!0,[`${j}-${E}`]:E!=="default"&&E,[`${j}-${P}`]:P,[`${j}-${st}`]:st,[`${j}-loading`]:C.value,[`${j}-background-ghost`]:A&&!Yn(P),[`${j}-two-chinese-chars`]:x.value&&$.value,[`${j}-block`]:D,[`${j}-dangerous`]:!!Q,[`${j}-rtl`]:u.value==="rtl"}]}),I=()=>{const P=m.value;if(!P||s.value===!1)return;const E=P.textContent;b&&cl(E)?x.value||(x.value=!0):x.value&&(x.value=!1)},N=P=>{if(C.value||g.value){P.preventDefault();return}o("click",P)},M=P=>{o("mousedown",P)},R=(P,E)=>{const A=E?" ":"";if(P.type===l.Text){let D=P.children.trim();return cl(D)&&(D=D.split("").join(A)),l.createVNode("span",null,[D])}return P};return l.watchEffect(()=>{ta(!(e.ghost&&Yn(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),l.onMounted(I),l.onUpdated(I),l.onBeforeUnmount(()=>{y.value&&clearTimeout(y.value)}),i({focus:()=>{var P;(P=m.value)===null||P===void 0||P.focus()},blur:()=>{var P;(P=m.value)===null||P===void 0||P.blur()}}),()=>{var P,E;const{icon:A=(P=n.icon)===null||P===void 0?void 0:P.call(n)}=e,D=Ae((E=n.default)===null||E===void 0?void 0:E.call(n));b=D.length===1&&!A&&!Yn(e.type);const{type:Q,htmlType:j,href:se,title:ze,target:st}=e,Nn=C.value?"loading":A,ke=v(v({},r),{title:ze,disabled:g.value,class:[O.value,r.class,{[`${a.value}-icon-only`]:D.length===0&&!!Nn}],onClick:N,onMousedown:M});g.value||delete ke.disabled;const Mn=A&&!C.value?A:l.createVNode(CC,{existIcon:!!A,prefixCls:a.value,loading:!!C.value},null),Et=D.map(sn=>R(sn,b&&$.value));if(se!==void 0)return c(l.createVNode("a",B(B({},ke),{},{href:se,target:st,ref:m}),[Mn,Et]));let an=l.createVNode("button",B(B({},ke),{},{ref:m,type:j}),[Mn,Et]);if(!Yn(Q)){const sn=function(){return an}();an=l.createVNode(qu,{ref:"wave",disabled:!!C.value},{default:()=>[sn]})}return c(an)}}});Qe.Group=fi;Qe.install=function(e){return e.component(Qe.name,Qe),e.component(fi.name,fi),e};const ef=()=>he()&&window.document.documentElement,tf=e=>{if(he()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(r=>r in n.style)}return!1},jC=(e,t)=>{if(!tf(e))return!1;const n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function zC(e,t){return!Array.isArray(e)&&t!==void 0?jC(e,t):tf(e)}let Zn;const kC=()=>{if(!ef())return!1;if(Zn!==void 0)return Zn;const e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),Zn=e.scrollHeight===1,document.body.removeChild(e),Zn};let lr=v({},et.Modal);function UC(e){e?lr=v(v({},lr),e):lr=v({},et.Modal)}function WC(){return lr}const di="internalMark",cr=l.defineComponent({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;exports.warning$1(e.ANT_MARK__===di,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");const r=l.reactive({antLocale:v(v({},e.locale),{exist:!0}),ANT_MARK__:di});return l.provide("localeData",r),l.watch(()=>e.locale,o=>{UC(o&&o.Modal),r.antLocale=v(v({},o),{exist:!0})},{immediate:!0}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});cr.install=function(e){return e.component(cr.name,cr),e};const GC=zr(cr),eo=l.defineComponent({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:r}=t,o,i=!1;const a=l.computed(()=>e.duration===void 0?4.5:e.duration),s=()=>{a.value&&!i&&(o=setTimeout(()=>{f()},a.value*1e3))},u=()=>{o&&(clearTimeout(o),o=null)},f=d=>{d&&d.stopPropagation(),u();const{onClose:h,noticeKey:p}=e;h&&h(p)},c=()=>{u(),s()};return l.onMounted(()=>{s()}),l.onUnmounted(()=>{i=!0,u()}),l.watch([a,()=>e.updateMark,()=>e.visible],(d,h)=>{let[p,g,m]=d,[y,b,C]=h;(p!==y||g!==b||m!==C&&C)&&c()},{flush:"post"}),()=>{var d,h;const{prefixCls:p,closable:g,closeIcon:m=(d=r.closeIcon)===null||d===void 0?void 0:d.call(r),onClick:y,holder:b}=e,{class:C,style:x}=n,$=`${p}-notice`,S=Object.keys(n).reduce((w,O)=>((O.startsWith("data-")||O.startsWith("aria-")||O==="role")&&(w[O]=n[O]),w),{}),T=l.createVNode("div",B({class:W($,C,{[`${$}-closable`]:g}),style:x,onMouseenter:u,onMouseleave:s,onClick:y},S),[l.createVNode("div",{class:`${$}-content`},[(h=r.default)===null||h===void 0?void 0:h.call(r)]),g?l.createVNode("a",{tabindex:0,onClick:f,class:`${$}-close`},[m||l.createVNode("span",{class:`${$}-close-x`},null)]):null]);return b?l.createVNode(l.Teleport,{to:b},{default:()=>T}):T}}});var KC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let ul=0;const qC=Date.now();function fl(){const e=ul;return ul+=1,`rcNotification_${qC}_${e}`}const wr=l.defineComponent({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId"],setup(e,t){let{attrs:n,expose:r,slots:o}=t;const i=new Map,a=l.ref([]),s=l.computed(()=>{const{prefixCls:c,animation:d="fade"}=e;let h=e.transitionName;return!h&&d&&(h=`${c}-${d}`),ra(h)}),u=(c,d)=>{const h=c.key||fl(),p=v(v({},c),{key:h}),{maxCount:g}=e,m=a.value.map(b=>b.notice.key).indexOf(h),y=a.value.concat();m!==-1?y.splice(m,1,{notice:p,holderCallback:d}):(g&&a.value.length>=g&&(p.key=y[0].notice.key,p.updateMark=fl(),p.userPassKey=h,y.shift()),y.push({notice:p,holderCallback:d})),a.value=y},f=c=>{a.value=l.toRaw(a.value).filter(d=>{let{notice:{key:h,userPassKey:p}}=d;return(p||h)!==c})};return r({add:u,remove:f,notices:a}),()=>{var c;const{prefixCls:d,closeIcon:h=(c=o.closeIcon)===null||c===void 0?void 0:c.call(o,{prefixCls:d})}=e,p=a.value.map((m,y)=>{let{notice:b,holderCallback:C}=m;const x=y===a.value.length-1?b.updateMark:void 0,{key:$,userPassKey:S}=b,{content:T}=b,w=v(v(v({prefixCls:d,closeIcon:typeof h=="function"?h({prefixCls:d}):h},b),b.props),{key:$,noticeKey:S||$,updateMark:x,onClose:O=>{var I;f(O),(I=b.onClose)===null||I===void 0||I.call(b)},onClick:b.onClick});return C?l.createVNode("div",{key:$,class:`${d}-hook-holder`,ref:O=>{typeof $>"u"||(O?(i.set($,O),C(O,w)):i.delete($))}},null):l.createVNode(eo,B(B({},w),{},{class:W(w.class,e.hashId)}),{default:()=>[typeof T=="function"?T({prefixCls:d}):T]})}),g={[d]:1,[n.class]:!!n.class,[e.hashId]:!0};return l.createVNode("div",{class:g,style:n.style||{top:"65px",left:"50%"}},[l.createVNode(l.TransitionGroup,B({tag:"div"},s.value),{default:()=>[p]})])}}});wr.newInstance=function(t,n){const r=t||{},{name:o="notification",getContainer:i,appContext:a,prefixCls:s,rootPrefixCls:u,transitionName:f,hasTransitionName:c,useStyle:d}=r,h=KC(r,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),p=document.createElement("div");i?i().appendChild(p):document.body.appendChild(p);const g=l.defineComponent({compatConfig:{MODE:3},name:"NotificationWrapper",setup(y,b){let{attrs:C}=b;const x=l.shallowRef(),$=l.computed(()=>te.getPrefixCls(o,s)),[,S]=d($);return l.onMounted(()=>{n({notice(T){var w;(w=x.value)===null||w===void 0||w.add(T)},removeNotice(T){var w;(w=x.value)===null||w===void 0||w.remove(T)},destroy(){l.render(null,p),p.parentNode&&p.parentNode.removeChild(p)},component:x})}),()=>{const T=te,w=T.getRootPrefixCls(u,$.value),O=c?f:`${$.value}-${f}`;return l.createVNode(Ft,B(B({},T),{},{prefixCls:w}),{default:()=>[l.createVNode(wr,B(B({ref:x},C),{},{prefixCls:$.value,transitionName:O,hashId:S.value}),null)]})}}}),m=l.createVNode(g,h);m.appContext=a||m.appContext,l.render(m,p)};let dl=0;const XC=Date.now();function hl(){const e=dl;return dl+=1,`rcNotification_${XC}_${e}`}const YC=l.defineComponent({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:r}=t;const o=new Map,i=l.computed(()=>e.notices),a=l.computed(()=>{let c=e.transitionName;if(!c&&e.animation)switch(typeof e.animation){case"string":c=e.animation;break;case"function":c=e.animation().name;break;case"object":c=e.animation.name;break;default:c=`${e.prefixCls}-fade`;break}return ra(c)}),s=c=>e.remove(c),u=l.ref({});l.watch(i,()=>{const c={};Object.keys(u.value).forEach(d=>{c[d]=[]}),e.notices.forEach(d=>{const{placement:h="topRight"}=d.notice;h&&(c[h]=c[h]||[],c[h].push(d))}),u.value=c});const f=l.computed(()=>Object.keys(u.value));return()=>{var c;const{prefixCls:d,closeIcon:h=(c=r.closeIcon)===null||c===void 0?void 0:c.call(r,{prefixCls:d})}=e,p=f.value.map(g=>{var m,y;const b=u.value[g],C=(m=e.getClassName)===null||m===void 0?void 0:m.call(e,g),x=(y=e.getStyles)===null||y===void 0?void 0:y.call(e,g),$=b.map((w,O)=>{let{notice:I,holderCallback:N}=w;const M=O===i.value.length-1?I.updateMark:void 0,{key:R,userPassKey:F}=I,{content:H}=I,P=v(v(v({prefixCls:d,closeIcon:typeof h=="function"?h({prefixCls:d}):h},I),I.props),{key:R,noticeKey:F||R,updateMark:M,onClose:E=>{var A;s(E),(A=I.onClose)===null||A===void 0||A.call(I)},onClick:I.onClick});return N?l.createVNode("div",{key:R,class:`${d}-hook-holder`,ref:E=>{typeof R>"u"||(E?(o.set(R,E),N(E,P)):o.delete(R))}},null):l.createVNode(eo,B(B({},P),{},{class:W(P.class,e.hashId)}),{default:()=>[typeof H=="function"?H({prefixCls:d}):H]})}),S={[d]:1,[`${d}-${g}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[C]:!!C};function T(){var w;b.length>0||(Reflect.deleteProperty(u.value,g),(w=e.onAllRemoved)===null||w===void 0||w.call(e))}return l.createVNode("div",{key:g,class:S,style:n.style||x||{top:"65px",left:"50%"}},[l.createVNode(l.TransitionGroup,B(B({tag:"div"},a.value),{},{onAfterLeave:T}),{default:()=>[$]})])});return l.createVNode(Vu,{getContainer:e.getContainer},{default:()=>[p]})}}});var ZC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const QC=()=>document.body;let pl=0;function JC(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(o=>{o&&Object.keys(o).forEach(i=>{const a=o[i];a!==void 0&&(e[i]=a)})}),e}function nf(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=QC,motion:n,prefixCls:r,maxCount:o,getClassName:i,getStyles:a,onAllRemoved:s}=e,u=ZC(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),f=l.shallowRef([]),c=l.shallowRef(),d=(b,C)=>{const x=b.key||hl(),$=v(v({},b),{key:x}),S=f.value.map(w=>w.notice.key).indexOf(x),T=f.value.concat();S!==-1?T.splice(S,1,{notice:$,holderCallback:C}):(o&&f.value.length>=o&&($.key=T[0].notice.key,$.updateMark=hl(),$.userPassKey=x,T.shift()),T.push({notice:$,holderCallback:C})),f.value=T},h=b=>{f.value=f.value.filter(C=>{let{notice:{key:x,userPassKey:$}}=C;return($||x)!==b})},p=()=>{f.value=[]},g=()=>l.createVNode(YC,{ref:c,prefixCls:r,maxCount:o,notices:f.value,remove:h,getClassName:i,getStyles:a,animation:n,hashId:e.hashId,onAllRemoved:s,getContainer:t},null),m=l.shallowRef([]),y={open:b=>{const C=JC(u,b);(C.key===null||C.key===void 0)&&(C.key=`vc-notification-${pl}`,pl+=1),m.value=[...m.value,{type:"open",config:C}]},close:b=>{m.value=[...m.value,{type:"close",key:b}]},destroy:()=>{m.value=[...m.value,{type:"destroy"}]}};return l.watch(m,()=>{m.value.length&&(m.value.forEach(b=>{switch(b.type){case"open":d(b.config);break;case"close":h(b.key);break;case"destroy":p();break}}),m.value=[])}),[y,g]}const e2=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:r,colorBgElevated:o,colorSuccess:i,colorError:a,colorWarning:s,colorInfo:u,fontSizeLG:f,motionEaseInOutCirc:c,motionDurationSlow:d,marginXS:h,paddingXS:p,borderRadiusLG:g,zIndexPopup:m,messageNoticeContentPadding:y}=e,b=new K("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),C=new K("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:v(v({},Qr(e)),{position:"fixed",top:h,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
175
- ${t}-move-up-appear,
176
- ${t}-move-up-enter
177
- `]:{animationName:b,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},[`
178
- ${t}-move-up-appear${t}-move-up-appear-active,
179
- ${t}-move-up-enter${t}-move-up-enter-active
180
- `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:p,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:h,fontSize:f},[`${t}-notice-content`]:{display:"inline-block",padding:y,background:o,borderRadius:g,boxShadow:r,pointerEvents:"all"},[`${t}-success ${n}`]:{color:i},[`${t}-error ${n}`]:{color:a},[`${t}-warning ${n}`]:{color:s},[`
181
- ${t}-info ${n},
182
- ${t}-loading ${n}`]:{color:u}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},ua=at("Message",e=>{const t=je(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[e2(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),t2={info:l.createVNode(it,null,null),success:l.createVNode(nt,null,null),error:l.createVNode(rt,null,null),warning:l.createVNode(ot,null,null),loading:l.createVNode(Je,null,null)},rf=l.defineComponent({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var r;return l.createVNode("div",{class:W(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||t2[e.type],l.createVNode("span",null,[(r=n.default)===null||r===void 0?void 0:r.call(n)])])}}});l.defineComponent({name:"PurePanel",inheritAttrs:!1,props:["prefixCls","class","type","icon","content"],setup(e,t){let{slots:n,attrs:r}=t;var o;const{getPrefixCls:i}=kr(),a=l.computed(()=>e.prefixCls||i("message")),[,s]=ua(a);return l.createVNode(eo,B(B({},r),{},{prefixCls:a.value,class:W(s.value,`${a.value}-notice-pure-panel`),noticeKey:"pure",duration:null}),{default:()=>[l.createVNode(rf,{prefixCls:a.value,type:e.type,icon:e.icon},{default:()=>[(o=n.default)===null||o===void 0?void 0:o.call(n)]})]})}});var n2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const r2=8,o2=3,i2=l.defineComponent({name:"Holder",inheritAttrs:!1,props:["top","prefixCls","getContainer","maxCount","duration","rtl","transitionName","onAllRemoved","animation","staticGetContainer"],setup(e,t){let{expose:n}=t;var r,o;const{getPrefixCls:i,getPopupContainer:a}=Pe("message",e),s=l.computed(()=>i("message",e.prefixCls)),[,u]=ua(s),f=()=>{var m;const y=(m=e.top)!==null&&m!==void 0?m:r2;return{left:"50%",transform:"translateX(-50%)",top:typeof y=="number"?`${y}px`:y}},c=()=>W(u.value,e.rtl?`${s.value}-rtl`:""),d=()=>{var m;return Bu({prefixCls:s.value,animation:(m=e.animation)!==null&&m!==void 0?m:"move-up",transitionName:e.transitionName})},h=l.createVNode("span",{class:`${s.value}-close-x`},[l.createVNode(Tt,{class:`${s.value}-close-icon`},null)]),[p,g]=nf({getStyles:f,prefixCls:s.value,getClassName:c,motion:d,closable:!1,closeIcon:h,duration:(r=e.duration)!==null&&r!==void 0?r:o2,getContainer:(o=e.staticGetContainer)!==null&&o!==void 0?o:a.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(v(v({},p),{prefixCls:s,hashId:u})),g}});let gl=0;function a2(e){const t=l.shallowRef(null),n=Symbol("messageHolderKey"),r=u=>{var f;(f=t.value)===null||f===void 0||f.close(u)},o=u=>{if(!t.value){const S=()=>{};return S.then=()=>{},S}const{open:f,prefixCls:c,hashId:d}=t.value,h=`${c}-notice`,{content:p,icon:g,type:m,key:y,class:b,onClose:C}=u,x=n2(u,["content","icon","type","key","class","onClose"]);let $=y;return $==null&&(gl+=1,$=`antd-message-${gl}`),V1(S=>(f(v(v({},x),{key:$,content:()=>l.createVNode(rf,{prefixCls:c,type:m,icon:typeof g=="function"?g():g},{default:()=>[typeof p=="function"?p():p]}),placement:"top",class:W(m&&`${h}-${m}`,d,b),onClose:()=>{C==null||C(),S()}})),()=>{r($)}))},a={open:o,destroy:u=>{var f;u!==void 0?r(u):(f=t.value)===null||f===void 0||f.destroy()}};return["info","success","warning","error","loading"].forEach(u=>{const f=(c,d,h)=>{let p;c&&typeof c=="object"&&"content"in c?p=c:p={content:c};let g,m;typeof d=="function"?m=d:(g=d,m=h);const y=v(v({onClose:m,duration:g},p),{type:u});return o(y)};a[u]=f}),[a,()=>l.createVNode(i2,B(B({key:n},e),{},{ref:t}),null)]}function s2(e){return a2(e)}let of=3,af,ae,l2=1,sf="",lf="move-up",cf=!1,uf=()=>document.body,ff,df=!1;function c2(){return l2++}function u2(e){e.top!==void 0&&(af=e.top,ae=null),e.duration!==void 0&&(of=e.duration),e.prefixCls!==void 0&&(sf=e.prefixCls),e.getContainer!==void 0&&(uf=e.getContainer,ae=null),e.transitionName!==void 0&&(lf=e.transitionName,ae=null,cf=!0),e.maxCount!==void 0&&(ff=e.maxCount,ae=null),e.rtl!==void 0&&(df=e.rtl)}function f2(e,t){if(ae){t(ae);return}wr.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||sf,rootPrefixCls:e.rootPrefixCls,transitionName:lf,hasTransitionName:cf,style:{top:af},getContainer:uf||e.getPopupContainer,maxCount:ff,name:"message",useStyle:ua},n=>{if(ae){t(ae);return}ae=n,t(n)})}const hf={info:it,success:nt,error:rt,warning:ot,loading:Je},d2=Object.keys(hf);function h2(e){const t=e.duration!==void 0?e.duration:of,n=e.key||c2(),r=new Promise(i=>{const a=()=>(typeof e.onClose=="function"&&e.onClose(),i(!0));f2(e,s=>{s.notice({key:n,duration:t,style:e.style||{},class:e.class,content:u=>{let{prefixCls:f}=u;const c=hf[e.type],d=c?l.createVNode(c,null,null):"",h=W(`${f}-custom-content`,{[`${f}-${e.type}`]:e.type,[`${f}-rtl`]:df===!0});return l.createVNode("div",{class:h},[typeof e.icon=="function"?e.icon():e.icon||d,l.createVNode("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:a,onClick:e.onClick})})}),o=()=>{ae&&ae.removeNotice(n)};return o.then=(i,a)=>r.then(i,a),o.promise=r,o}function p2(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const Wt={open:h2,config:u2,destroy(e){if(ae)if(e){const{removeNotice:t}=ae;t(e)}else{const{destroy:t}=ae;t(),ae=null}}};function g2(e,t){e[t]=(n,r,o)=>p2(n)?e.open(v(v({},n),{type:t})):(typeof r=="function"&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}d2.forEach(e=>g2(Wt,e));Wt.warn=Wt.warning;Wt.useMessage=s2;const m2=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e,o=new K("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),i=new K("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new K("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}},v2=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:s,colorInfo:u,colorWarning:f,colorError:c,colorTextHeading:d,notificationBg:h,notificationPadding:p,notificationMarginEdge:g,motionDurationMid:m,motionEaseInOut:y,fontSize:b,lineHeight:C,width:x,notificationIconSize:$}=e,S=`${n}-notice`,T=new K("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:x},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),w=new K("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:v(v(v(v({},Qr(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:g,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:y,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:y,animationFillMode:"both",animationDuration:m,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:T,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:w,animationPlayState:"running"}}),m2(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[S]:{position:"relative",width:x,maxWidth:`calc(100vw - ${g*2}px)`,marginBottom:i,marginInlineStart:"auto",padding:p,overflow:"hidden",lineHeight:C,wordWrap:"break-word",background:h,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:b,cursor:"pointer"},[`${S}-message`]:{marginBottom:e.marginXS,color:d,fontSize:o,lineHeight:e.lineHeightLG},[`${S}-description`]:{fontSize:b},[`&${S}-closable ${S}-message`]:{paddingInlineEnd:e.paddingLG},[`${S}-with-icon ${S}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+$,fontSize:o},[`${S}-with-icon ${S}-description`]:{marginInlineStart:e.marginSM+$,fontSize:b},[`${S}-icon`]:{position:"absolute",fontSize:$,lineHeight:0,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:u},[`&-warning${t}`]:{color:f},[`&-error${t}`]:{color:c}},[`${S}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${S}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${S}-pure-panel`]:{margin:0}}]},fa=at("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,r=je(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[v2(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function pf(e,t){return t||l.createVNode("span",{class:`${e}-close-x`},[l.createVNode(Tt,{class:`${e}-close-icon`},null)])}l.createVNode(it,null,null),l.createVNode(nt,null,null),l.createVNode(rt,null,null),l.createVNode(ot,null,null),l.createVNode(Je,null,null);const y2={success:nt,info:it,error:rt,warning:ot};function gf(e){let{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a}=e,s=null;if(n)s=l.createVNode("span",{class:`${t}-icon`},[Nt(n)]);else if(r){const u=y2[r];s=l.createVNode(u,{class:`${t}-icon ${t}-icon-${r}`},null)}return l.createVNode("div",{class:W({[`${t}-with-icon`]:s}),role:"alert"},[s,l.createVNode("div",{class:`${t}-message`},[o]),l.createVNode("div",{class:`${t}-description`},[i]),a&&l.createVNode("div",{class:`${t}-btn`},[a])])}l.defineComponent({name:"PurePanel",inheritAttrs:!1,props:["prefixCls","icon","type","message","description","btn","closeIcon"],setup(e){const{getPrefixCls:t}=Pe("notification",e),n=l.computed(()=>e.prefixCls||t("notification")),r=l.computed(()=>`${n.value}-notice`),[,o]=fa(n);return()=>l.createVNode(eo,B(B({},e),{},{prefixCls:n.value,class:W(o.value,`${r.value}-pure-panel`),noticeKey:"pure",duration:null,closable:e.closable,closeIcon:pf(n.value,e.closeIcon)}),{default:()=>[l.createVNode(gf,{prefixCls:r.value,icon:e.icon,type:e.type,message:e.message,description:e.description,btn:e.btn},null)]})}});function mf(e,t,n){let r;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function b2(e){return{name:`${e}-fade`}}var S2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const ml=24,C2=4.5,w2=l.defineComponent({name:"Holder",inheritAttrs:!1,props:["prefixCls","class","type","icon","content","onAllRemoved"],setup(e,t){let{expose:n}=t;const{getPrefixCls:r,getPopupContainer:o}=Pe("notification",e),i=l.computed(()=>e.prefixCls||r("notification")),a=h=>{var p,g;return mf(h,(p=e.top)!==null&&p!==void 0?p:ml,(g=e.bottom)!==null&&g!==void 0?g:ml)},[,s]=fa(i),u=()=>W(s.value,{[`${i.value}-rtl`]:e.rtl}),f=()=>b2(i.value),[c,d]=nf({prefixCls:i.value,getStyles:a,getClassName:u,motion:f,closable:!0,closeIcon:pf(i.value),duration:C2,getContainer:()=>{var h,p;return((h=e.getPopupContainer)===null||h===void 0?void 0:h.call(e))||((p=o.value)===null||p===void 0?void 0:p.call(o))||document.body},maxCount:e.maxCount,hashId:s.value,onAllRemoved:e.onAllRemoved});return n(v(v({},c),{prefixCls:i.value,hashId:s})),d}});function x2(e){const t=l.shallowRef(null),n=Symbol("notificationHolderKey"),r=s=>{if(!t.value)return;const{open:u,prefixCls:f,hashId:c}=t.value,d=`${f}-notice`,{message:h,description:p,icon:g,type:m,btn:y,class:b}=s,C=S2(s,["message","description","icon","type","btn","class"]);return u(v(v({placement:"topRight"},C),{content:()=>l.createVNode(gf,{prefixCls:d,icon:typeof g=="function"?g():g,type:m,message:typeof h=="function"?h():h,description:typeof p=="function"?p():p,btn:typeof y=="function"?y():y},null),class:W(m&&`${d}-${m}`,c,b)}))},i={open:r,destroy:s=>{var u,f;s!==void 0?(u=t.value)===null||u===void 0||u.close(s):(f=t.value)===null||f===void 0||f.destroy()}};return["success","info","warning","error"].forEach(s=>{i[s]=u=>r(v(v({},u),{type:s}))}),[i,()=>l.createVNode(w2,B(B({key:n},e),{},{ref:t}),null)]}function T2(e){return x2(e)}const ft={};let vf=4.5,yf="24px",bf="24px",hi="",Sf="topRight",Cf=()=>document.body,wf=null,pi=!1,xf;function $2(e){const{duration:t,placement:n,bottom:r,top:o,getContainer:i,closeIcon:a,prefixCls:s}=e;s!==void 0&&(hi=s),t!==void 0&&(vf=t),n!==void 0&&(Sf=n),r!==void 0&&(bf=typeof r=="number"?`${r}px`:r),o!==void 0&&(yf=typeof o=="number"?`${o}px`:o),i!==void 0&&(Cf=i),a!==void 0&&(wf=a),e.rtl!==void 0&&(pi=e.rtl),e.maxCount!==void 0&&(xf=e.maxCount)}function E2(e,t){let{prefixCls:n,placement:r=Sf,getContainer:o=Cf,top:i,bottom:a,closeIcon:s=wf,appContext:u}=e;const{getPrefixCls:f}=L2(),c=f("notification",n||hi),d=`${c}-${r}-${pi}`,h=ft[d];if(h){Promise.resolve(h).then(g=>{t(g)});return}const p=W(`${c}-${r}`,{[`${c}-rtl`]:pi===!0});wr.newInstance({name:"notification",prefixCls:n||hi,useStyle:fa,class:p,style:mf(r,i??yf,a??bf),appContext:u,getContainer:o,closeIcon:g=>{let{prefixCls:m}=g;return l.createVNode("span",{class:`${m}-close-x`},[Nt(s,{},l.createVNode(Tt,{class:`${m}-close-icon`},null))])},maxCount:xf,hasTransitionName:!0},g=>{ft[d]=g,t(g)})}const P2={success:Lr,info:jr,error:Hr,warning:Vr};function O2(e){const{icon:t,type:n,description:r,message:o,btn:i}=e,a=e.duration===void 0?vf:e.duration;E2(e,s=>{s.notice({content:u=>{let{prefixCls:f}=u;const c=`${f}-notice`;let d=null;if(t)d=()=>l.createVNode("span",{class:`${c}-icon`},[Nt(t)]);else if(n){const h=P2[n];d=()=>l.createVNode(h,{class:`${c}-icon ${c}-icon-${n}`},null)}return l.createVNode("div",{class:d?`${c}-with-icon`:""},[d&&d(),l.createVNode("div",{class:`${c}-message`},[!r&&d?l.createVNode("span",{class:`${c}-message-single-line-auto-margin`},null):null,Nt(o)]),l.createVNode("div",{class:`${c}-description`},[Nt(r)]),i?l.createVNode("span",{class:`${c}-btn`},[Nt(i)]):null])},duration:a,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Gt={open:O2,close(e){Object.keys(ft).forEach(t=>Promise.resolve(ft[t]).then(n=>{n.removeNotice(e)}))},config:$2,destroy(){Object.keys(ft).forEach(e=>{Promise.resolve(ft[e]).then(t=>{t.destroy()}),delete ft[e]})}},I2=["success","info","warning","error"];I2.forEach(e=>{Gt[e]=t=>Gt.open(v(v({},t),{type:e}))});Gt.warn=Gt.warning;Gt.useNotification=T2;const _2=`-ant-${Date.now()}-${Math.random()}`;function A2(e,t){const n={},r=(a,s)=>{let u=a.clone();return u=(s==null?void 0:s(u))||u,u.toRgbString()},o=(a,s)=>{const u=new ee(a),f=yt(u.toRgbString());n[`${s}-color`]=r(u),n[`${s}-color-disabled`]=f[1],n[`${s}-color-hover`]=f[4],n[`${s}-color-active`]=f[6],n[`${s}-color-outline`]=u.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=f[0],n[`${s}-color-deprecated-border`]=f[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new ee(t.primaryColor),s=yt(a.toRgbString());s.forEach((f,c)=>{n[`primary-${c+1}`]=f}),n["primary-color-deprecated-l-35"]=r(a,f=>f.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,f=>f.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,f=>f.tint(20)),n["primary-color-deprecated-t-50"]=r(a,f=>f.tint(50)),n["primary-color-deprecated-f-12"]=r(a,f=>f.setAlpha(f.getAlpha()*.12));const u=new ee(s[0]);n["primary-color-active-deprecated-f-30"]=r(u,f=>f.setAlpha(f.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(u,f=>f.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
183
- :root {
184
- ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
185
- `)}
186
- }
187
- `.trim()}function R2(e,t){const n=A2(e,t);he()?Tn(n,`${_2}-dynamic-theme`):exports.warning$1(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const N2=e=>{const[t,n]=rn();return ai(l.computed(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:v(v({},Eu()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function M2(e,t){const n=l.computed(()=>(e==null?void 0:e.value)||{}),r=l.computed(()=>n.value.inherit===!1||!(t!=null&&t.value)?_u:t.value);return l.computed(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const i=v({},r.value.components);return Object.keys(e.value.components||{}).forEach(a=>{i[a]=v(v({},i[a]),e.value.components[a])}),v(v(v({},r.value),n.value),{token:v(v({},r.value.token),n.value.token),components:i})})}var D2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const B2="ant";function Bt(){return te.prefixCls||B2}function Tf(){return te.iconPrefixCls||Ui}const da=l.reactive({}),te=l.reactive({});l.watchEffect(()=>{v(te,da),te.prefixCls=Bt(),te.iconPrefixCls=Tf(),te.getPrefixCls=(e,t)=>t||(e?`${te.prefixCls}-${e}`:te.prefixCls),te.getRootPrefixCls=()=>te.prefixCls?te.prefixCls:Bt()});let Po;const F2=e=>{Po&&Po(),Po=l.watchEffect(()=>{v(da,l.reactive(e)),v(te,l.reactive(e))}),e.theme&&R2(Bt(),e.theme)},L2=()=>({getPrefixCls:(e,t)=>t||(e?`${Bt()}-${e}`:Bt()),getIconPrefixCls:Tf,getRootPrefixCls:()=>te.prefixCls?te.prefixCls:Bt()}),Ft=l.defineComponent({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:nb(),setup(e,t){let{slots:n}=t;const r=kr(),o=(P,E)=>{const{prefixCls:A="ant"}=e;if(E)return E;const D=A||r.getPrefixCls("");return P?`${D}-${P}`:D},i=l.computed(()=>e.iconPrefixCls||r.iconPrefixCls.value||Ui),a=l.computed(()=>i.value!==r.iconPrefixCls.value),s=l.computed(()=>{var P;return e.csp||((P=r.csp)===null||P===void 0?void 0:P.value)}),u=N2(i),f=M2(l.computed(()=>e.theme),l.computed(()=>{var P;return(P=r.theme)===null||P===void 0?void 0:P.value})),c=P=>(e.renderEmpty||n.renderEmpty||r.renderEmpty||IS)(P),d=l.computed(()=>{var P,E;return(P=e.autoInsertSpaceInButton)!==null&&P!==void 0?P:(E=r.autoInsertSpaceInButton)===null||E===void 0?void 0:E.value}),h=l.computed(()=>{var P;return e.locale||((P=r.locale)===null||P===void 0?void 0:P.value)});l.watch(h,()=>{da.locale=h.value},{immediate:!0});const p=l.computed(()=>{var P;return e.direction||((P=r.direction)===null||P===void 0?void 0:P.value)}),g=l.computed(()=>{var P,E;return(P=e.space)!==null&&P!==void 0?P:(E=r.space)===null||E===void 0?void 0:E.value}),m=l.computed(()=>{var P,E;return(P=e.virtual)!==null&&P!==void 0?P:(E=r.virtual)===null||E===void 0?void 0:E.value}),y=l.computed(()=>{var P,E;return(P=e.dropdownMatchSelectWidth)!==null&&P!==void 0?P:(E=r.dropdownMatchSelectWidth)===null||E===void 0?void 0:E.value}),b=l.computed(()=>{var P;return e.getTargetContainer!==void 0?e.getTargetContainer:(P=r.getTargetContainer)===null||P===void 0?void 0:P.value}),C=l.computed(()=>{var P;return e.getPopupContainer!==void 0?e.getPopupContainer:(P=r.getPopupContainer)===null||P===void 0?void 0:P.value}),x=l.computed(()=>{var P;return e.pageHeader!==void 0?e.pageHeader:(P=r.pageHeader)===null||P===void 0?void 0:P.value}),$=l.computed(()=>{var P;return e.input!==void 0?e.input:(P=r.input)===null||P===void 0?void 0:P.value}),S=l.computed(()=>{var P;return e.pagination!==void 0?e.pagination:(P=r.pagination)===null||P===void 0?void 0:P.value}),T=l.computed(()=>{var P;return e.form!==void 0?e.form:(P=r.form)===null||P===void 0?void 0:P.value}),w=l.computed(()=>{var P;return e.select!==void 0?e.select:(P=r.select)===null||P===void 0?void 0:P.value}),O=l.computed(()=>e.componentSize),I=l.computed(()=>e.componentDisabled),N=l.computed(()=>{var P,E;return(P=e.wave)!==null&&P!==void 0?P:(E=r.wave)===null||E===void 0?void 0:E.value}),M={csp:s,autoInsertSpaceInButton:d,locale:h,direction:p,space:g,virtual:m,dropdownMatchSelectWidth:y,getPrefixCls:o,iconPrefixCls:i,theme:l.computed(()=>{var P,E;return(P=f.value)!==null&&P!==void 0?P:(E=r.theme)===null||E===void 0?void 0:E.value}),renderEmpty:c,getTargetContainer:b,getPopupContainer:C,pageHeader:x,input:$,pagination:S,form:T,select:w,componentSize:O,componentDisabled:I,transformCellText:l.computed(()=>e.transformCellText),wave:N},R=l.computed(()=>{const P=f.value||{},{algorithm:E,token:A}=P,D=D2(P,["algorithm","token"]),Q=E&&(!Array.isArray(E)||E.length>0)?hu(E):void 0;return v(v({},D),{theme:Q,token:v(v({},Zr),A)})}),F=l.computed(()=>{var P,E;let A={};return h.value&&(A=((P=h.value.Form)===null||P===void 0?void 0:P.defaultValidateMessages)||((E=et.Form)===null||E===void 0?void 0:E.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(A=v(v({},A),e.form.validateMessages)),A});rb(M),eb({validateMessages:F}),Du(O),Zc(I);const H=P=>{var E,A;let D=a.value?u((E=n.default)===null||E===void 0?void 0:E.call(n)):(A=n.default)===null||A===void 0?void 0:A.call(n);if(e.theme){const Q=function(){return D}();D=l.createVNode(TS,{value:R.value},{default:()=>[Q]})}return l.createVNode(GC,{locale:h.value||P,ANT_MARK__:di},{default:()=>[D]})};return l.watchEffect(()=>{p.value&&(Wt.config({rtl:p.value==="rtl"}),Gt.config({rtl:p.value==="rtl"}))}),()=>l.createVNode(eu,{children:(P,E,A)=>H(A)},null)}});Ft.config=F2;Ft.install=function(e){e.component(Ft.name,Ft)};function ha(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:U.shape({x:Number,y:Number}).loose,title:U.any,footer:U.any,transitionName:String,maskTransitionName:String,animation:U.any,maskAnimation:U.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:U.any,maskProps:U.any,wrapProps:U.any,getContainer:U.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:U.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function vl(e,t,n){let r=t;return!r&&n&&(r=`${e}-${n}`),r}let yl=-1;function H2(){return yl+=1,yl}function bl(e,t){let n=e[`page${t?"Y":"X"}Offset`];const r=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function V2(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=bl(o),n.top+=bl(o,!0),n}const j2={width:0,height:0,overflow:"hidden",outline:"none"},z2={outline:"none"},k2=l.defineComponent({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:v(v({},ha()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:r,attrs:o}=t;const i=l.ref(),a=l.ref(),s=l.ref();n({focus:()=>{var h;(h=i.value)===null||h===void 0||h.focus({preventScroll:!0})},changeActive:h=>{const{activeElement:p}=document;h&&p===a.value?i.value.focus({preventScroll:!0}):!h&&p===i.value&&a.value.focus({preventScroll:!0})}});const u=l.ref(),f=l.computed(()=>{const{width:h,height:p}=e,g={};return h!==void 0&&(g.width=typeof h=="number"?`${h}px`:h),p!==void 0&&(g.height=typeof p=="number"?`${p}px`:p),u.value&&(g.transformOrigin=u.value),g}),c=()=>{l.nextTick(()=>{if(s.value){const h=V2(s.value);u.value=e.mousePosition?`${e.mousePosition.x-h.left}px ${e.mousePosition.y-h.top}px`:""}})},d=h=>{e.onVisibleChanged(h)};return()=>{var h,p,g,m;const{prefixCls:y,footer:b=(h=r.footer)===null||h===void 0?void 0:h.call(r),title:C=(p=r.title)===null||p===void 0?void 0:p.call(r),ariaId:x,closable:$,closeIcon:S=(g=r.closeIcon)===null||g===void 0?void 0:g.call(r),onClose:T,bodyStyle:w,bodyProps:O,onMousedown:I,onMouseup:N,visible:M,modalRender:R=r.modalRender,destroyOnClose:F,motionName:H}=e;let P;b&&(P=l.createVNode("div",{class:`${y}-footer`},[b]));let E;C&&(E=l.createVNode("div",{class:`${y}-header`},[l.createVNode("div",{class:`${y}-title`,id:x},[C])]));let A;$&&(A=l.createVNode("button",{type:"button",onClick:T,"aria-label":"Close",class:`${y}-close`},[S||l.createVNode("span",{class:`${y}-close-x`},null)]));const D=l.createVNode("div",{class:`${y}-content`},[A,E,l.createVNode("div",B({class:`${y}-body`,style:w},O),[(m=r.default)===null||m===void 0?void 0:m.call(r)]),P]),Q=na(H);return l.createVNode(l.Transition,B(B({},Q),{},{onBeforeEnter:c,onAfterEnter:()=>d(!0),onAfterLeave:()=>d(!1)}),{default:()=>[M||!F?l.withDirectives(l.createVNode("div",B(B({},o),{},{ref:s,key:"dialog-element",role:"document",style:[f.value,o.style],class:[y,o.class],onMousedown:I,onMouseup:N}),[l.createVNode("div",{tabindex:0,ref:i,style:z2},[R?R({originVNode:D}):D]),l.createVNode("div",{tabindex:0,ref:a,style:j2},null)]),[[l.vShow,M]]):null]})}}}),U2=l.defineComponent({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:r,maskProps:o,motionName:i}=e,a=na(i);return l.createVNode(l.Transition,a,{default:()=>[l.withDirectives(l.createVNode("div",B({class:`${n}-mask`},o),null),[[l.vShow,r]])]})}}}),Sl=l.defineComponent({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:tn(v(v({},ha()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:r}=t;const o=l.shallowRef(),i=l.shallowRef(),a=l.shallowRef(),s=l.shallowRef(e.visible),u=l.shallowRef(`vcDialogTitle${H2()}`),f=b=>{var C,x;if(b)Ki(i.value,document.activeElement)||(o.value=document.activeElement,(C=a.value)===null||C===void 0||C.focus());else{const $=s.value;if(s.value=!1,e.mask&&o.value&&e.focusTriggerAfterClose){try{o.value.focus({preventScroll:!0})}catch{}o.value=null}$&&((x=e.afterClose)===null||x===void 0||x.call(e))}},c=b=>{var C;(C=e.onClose)===null||C===void 0||C.call(e,b)},d=l.shallowRef(!1),h=l.shallowRef(),p=()=>{clearTimeout(h.value),d.value=!0},g=()=>{h.value=setTimeout(()=>{d.value=!1})},m=b=>{if(!e.maskClosable)return null;d.value?d.value=!1:i.value===b.target&&c(b)},y=b=>{if(e.keyboard&&b.keyCode===ci.ESC){b.stopPropagation(),c(b);return}e.visible&&b.keyCode===ci.TAB&&a.value.changeActive(!b.shiftKey)};return l.watch(()=>e.visible,()=>{e.visible&&(s.value=!0)},{flush:"post"}),l.onBeforeUnmount(()=>{var b;clearTimeout(h.value),(b=e.scrollLocker)===null||b===void 0||b.unLock()}),l.watchEffect(()=>{var b,C;(b=e.scrollLocker)===null||b===void 0||b.unLock(),s.value&&((C=e.scrollLocker)===null||C===void 0||C.lock())}),()=>{const{prefixCls:b,mask:C,visible:x,maskTransitionName:$,maskAnimation:S,zIndex:T,wrapClassName:w,rootClassName:O,wrapStyle:I,closable:N,maskProps:M,maskStyle:R,transitionName:F,animation:H,wrapProps:P,title:E=r.title}=e,{style:A,class:D}=n;return l.createVNode("div",B({class:[`${b}-root`,O]},zu(e,{data:!0})),[l.createVNode(U2,{prefixCls:b,visible:C&&x,motionName:vl(b,$,S),style:v({zIndex:T},R),maskProps:M},null),l.createVNode("div",B({tabIndex:-1,onKeydown:y,class:W(`${b}-wrap`,w),ref:i,onClick:m,role:"dialog","aria-labelledby":E?u.value:null,style:v(v({zIndex:T},I),{display:s.value?null:"none"})},P),[l.createVNode(k2,B(B({},ea(e,["scrollLocker"])),{},{style:A,class:D,onMousedown:p,onMouseup:g,ref:a,closable:N,ariaId:u.value,prefixCls:b,visible:x,onClose:c,onVisibleChanged:f,motionName:vl(b,F,H)}),r)])])}}}),W2=ha(),G2=l.defineComponent({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:tn(W2,{visible:!1}),setup(e,t){let{attrs:n,slots:r}=t;const o=l.ref(e.visible);return oa({},{inTriggerContext:!1}),l.watch(()=>e.visible,()=>{e.visible&&(o.value=!0)},{flush:"post"}),()=>{const{visible:i,getContainer:a,forceRender:s,destroyOnClose:u=!1,afterClose:f}=e;let c=v(v(v({},e),n),{ref:"_component",key:"dialog"});return a===!1?l.createVNode(Sl,B(B({},c),{},{getOpenCount:()=>2}),r):!s&&u&&!o.value?null:l.createVNode(ju,{autoLock:!0,visible:i,forceRender:s,getContainer:a},{default:d=>(c=v(v(v({},c),d),{afterClose:()=>{f==null||f(),o.value=!1}}),l.createVNode(Sl,c,r))})}}});function Cl(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const K2=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:v(v({},Cl("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:v(v({},Cl("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:tC(e)}]},q2=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:v(v({},Qr(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:v({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Yi(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
188
- ${t}-body,
189
- ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},X2=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:v({},Pu()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},
190
- ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},Y2=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Z2=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},Q2=at("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,o=je(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:r,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:r*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[q2(o),X2(o),Y2(o),K2(o),e.wireframe&&Z2(o),Gu(o,"zoom")]});var J2=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let gi;const ew=e=>{gi={x:e.pageX,y:e.pageY},setTimeout(()=>gi=null,100)};ef()&&Kc(document.documentElement,"click",ew,!0);const tw=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:U.any,closable:{type:Boolean,default:void 0},closeIcon:U.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:U.any,okText:U.any,okType:String,cancelText:U.any,icon:U.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:q(),cancelButtonProps:q(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:q(),maskStyle:q(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:q()}),le=l.defineComponent({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:tn(tw(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:r,attrs:o}=t;const[i]=Wr("Modal"),{prefixCls:a,rootPrefixCls:s,direction:u,getPopupContainer:f}=Pe("modal",e),[c,d]=Q2(a);exports.warning$1(e.visible===void 0,"Modal","`visible` will be removed in next major version, please use `open` instead.");const h=m=>{n("update:visible",!1),n("update:open",!1),n("cancel",m),n("change",!1)},p=m=>{n("ok",m)},g=()=>{var m,y;const{okText:b=(m=r.okText)===null||m===void 0?void 0:m.call(r),okType:C,cancelText:x=(y=r.cancelText)===null||y===void 0?void 0:y.call(r),confirmLoading:$}=e;return l.createVNode(l.Fragment,null,[l.createVNode(Qe,B({onClick:h},e.cancelButtonProps),{default:()=>[x||i.value.cancelText]}),l.createVNode(Qe,B(B({},Xu(C)),{},{loading:$,onClick:p},e.okButtonProps),{default:()=>[b||i.value.okText]})])};return()=>{var m,y;const{prefixCls:b,visible:C,open:x,wrapClassName:$,centered:S,getContainer:T,closeIcon:w=(m=r.closeIcon)===null||m===void 0?void 0:m.call(r),focusTriggerAfterClose:O=!0}=e,I=J2(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),N=W($,{[`${a.value}-centered`]:!!S,[`${a.value}-wrap-rtl`]:u.value==="rtl"});return c(l.createVNode(G2,B(B(B({},I),o),{},{rootClassName:d.value,class:W(d.value,o.class),getContainer:T||(f==null?void 0:f.value),prefixCls:a.value,wrapClassName:N,visible:x??C,onClose:h,focusTriggerAfterClose:O,transitionName:Pn(s.value,"zoom",e.transitionName),maskTransitionName:Pn(s.value,"fade",e.maskTransitionName),mousePosition:(y=I.mousePosition)!==null&&y!==void 0?y:gi}),v(v({},r),{footer:r.footer||g,closeIcon:()=>l.createVNode("span",{class:`${a.value}-close-x`},[w||l.createVNode(Tt,{class:`${a.value}-close-icon`},null)])})))}}}),nw=()=>{const e=l.shallowRef(!1);return l.onBeforeUnmount(()=>{e.value=!0}),e},rw={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:q(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function wl(e){return!!(e&&e.then)}const xl=l.defineComponent({compatConfig:{MODE:3},name:"ActionButton",props:rw,setup(e,t){let{slots:n}=t;const r=l.shallowRef(!1),o=l.shallowRef(),i=l.shallowRef(!1);let a;const s=nw();l.onMounted(()=>{e.autofocus&&(a=setTimeout(()=>{var d,h;return(h=(d=Cn(o.value))===null||d===void 0?void 0:d.focus)===null||h===void 0?void 0:h.call(d)}))}),l.onBeforeUnmount(()=>{clearTimeout(a)});const u=function(){for(var d,h=arguments.length,p=new Array(h),g=0;g<h;g++)p[g]=arguments[g];(d=e.close)===null||d===void 0||d.call(e,...p)},f=d=>{wl(d)&&(i.value=!0,d.then(function(){s.value||(i.value=!1),u(...arguments),r.value=!1},h=>(s.value||(i.value=!1),r.value=!1,Promise.reject(h))))},c=d=>{const{actionFn:h}=e;if(r.value)return;if(r.value=!0,!h){u();return}let p;if(e.emitEvent){if(p=h(d),e.quitOnNullishReturnValue&&!wl(p)){r.value=!1,u(d);return}}else if(h.length)p=h(e.close),r.value=!1;else if(p=h(),!p){u();return}f(p)};return()=>{const{type:d,prefixCls:h,buttonProps:p}=e;return l.createVNode(Qe,B(B(B({},Xu(d)),{},{onClick:c,loading:i.value,prefixCls:h},p),{},{ref:o}),n)}}});function It(e){return typeof e=="function"?e():e}const $f=l.defineComponent({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[r]=Wr("Modal");return process.env.NODE_ENV!=="production"&&exports.warning$1(e.visible===void 0,"Modal","`visible` is deprecated, please use `open` instead."),()=>{const{icon:o,onCancel:i,onOk:a,close:s,okText:u,closable:f=!1,zIndex:c,afterClose:d,keyboard:h,centered:p,getContainer:g,maskStyle:m,okButtonProps:y,cancelButtonProps:b,okCancel:C,width:x=416,mask:$=!0,maskClosable:S=!1,type:T,open:w,title:O,content:I,direction:N,closeIcon:M,modalRender:R,focusTriggerAfterClose:F,rootPrefixCls:H,bodyStyle:P,wrapClassName:E,footer:A}=e;let D=o;if(!o&&o!==null)switch(T){case"info":D=l.createVNode(it,null,null);break;case"success":D=l.createVNode(nt,null,null);break;case"error":D=l.createVNode(rt,null,null);break;default:D=l.createVNode(ot,null,null)}const Q=e.okType||"primary",j=e.prefixCls||"ant-modal",se=`${j}-confirm`,ze=n.style||{},st=C??T==="confirm",Nn=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",ke=`${j}-confirm`,Mn=W(ke,`${ke}-${e.type}`,{[`${ke}-rtl`]:N==="rtl"},n.class),Et=r.value,an=st&&l.createVNode(xl,{actionFn:i,close:s,autofocus:Nn==="cancel",buttonProps:b,prefixCls:`${H}-btn`},{default:()=>[It(e.cancelText)||Et.cancelText]});return l.createVNode(le,{prefixCls:j,class:Mn,wrapClassName:W({[`${ke}-centered`]:!!p},E),onCancel:sn=>s==null?void 0:s({triggerCancel:!0},sn),open:w,title:"",footer:"",transitionName:Pn(H,"zoom",e.transitionName),maskTransitionName:Pn(H,"fade",e.maskTransitionName),mask:$,maskClosable:S,maskStyle:m,style:ze,bodyStyle:P,width:x,zIndex:c,afterClose:d,keyboard:h,centered:p,getContainer:g,closable:f,closeIcon:M,modalRender:R,focusTriggerAfterClose:F},{default:()=>[l.createVNode("div",{class:`${se}-body-wrapper`},[l.createVNode("div",{class:`${se}-body`},[It(D),O===void 0?null:l.createVNode("span",{class:`${se}-title`},[It(O)]),l.createVNode("div",{class:`${se}-content`},[It(I)])]),A!==void 0?It(A):l.createVNode("div",{class:`${se}-btns`},[an,l.createVNode(xl,{type:Q,actionFn:a,close:s,autofocus:Nn==="ok",buttonProps:y,prefixCls:`${H}-btn`},{default:()=>[It(u)||(st?Et.okText:Et.justOkText)]})])])]})}}}),ht=[],Rn=e=>{const t=document.createDocumentFragment();let n=v(v({},ea(e,["parentContext","appContext"])),{close:i,open:!0}),r=null;function o(){r&&(l.render(null,t),r=null);for(var f=arguments.length,c=new Array(f),d=0;d<f;d++)c[d]=arguments[d];const h=c.some(p=>p&&p.triggerCancel);e.onCancel&&h&&e.onCancel(()=>{},...c.slice(1));for(let p=0;p<ht.length;p++)if(ht[p]===i){ht.splice(p,1);break}}function i(){for(var f=arguments.length,c=new Array(f),d=0;d<f;d++)c[d]=arguments[d];n=v(v({},n),{open:!1,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),o.apply(this,c)}}),n.visible&&delete n.visible,a(n)}function a(f){typeof f=="function"?n=f(n):n=v(v({},n),f),r&&RS(r,n,t)}const s=f=>{const c=te,d=c.prefixCls,h=f.prefixCls||`${d}-modal`,p=c.iconPrefixCls,g=WC();return l.createVNode(Ft,B(B({},c),{},{prefixCls:d}),{default:()=>[l.createVNode($f,B(B({},f),{},{rootPrefixCls:d,prefixCls:h,iconPrefixCls:p,locale:g,cancelText:f.cancelText||g.cancelText}),null)]})};function u(f){const c=l.createVNode(s,v({},f));return c.appContext=e.parentContext||e.appContext||c.appContext,l.render(c,t),c}return r=u(n),ht.push(i),{destroy:i,update:a}};function Ef(e){return v(v({},e),{type:"warning"})}function Pf(e){return v(v({},e),{type:"info"})}function Of(e){return v(v({},e),{type:"success"})}function If(e){return v(v({},e),{type:"error"})}function _f(e){return v(v({},e),{type:"confirm"})}const ow=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),iw=l.defineComponent({name:"HookModal",inheritAttrs:!1,props:tn(ow(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var r;const o=l.computed(()=>e.open),i=l.computed(()=>e.config),{direction:a,getPrefixCls:s}=kr(),u=s("modal"),f=s(),c=()=>{var g,m;e==null||e.afterClose(),(m=(g=i.value).afterClose)===null||m===void 0||m.call(g)},d=function(){e.destroyAction(...arguments)};n({destroy:d});const h=(r=i.value.okCancel)!==null&&r!==void 0?r:i.value.type==="confirm",[p]=Wr("Modal",et.Modal);return()=>l.createVNode($f,B(B({prefixCls:u,rootPrefixCls:f},i.value),{},{close:d,open:o.value,afterClose:c,okText:i.value.okText||(h?p==null?void 0:p.value.okText:p==null?void 0:p.value.justOkText),direction:i.value.direction||a.value,cancelText:i.value.cancelText||(p==null?void 0:p.value.cancelText)}),null)}});let Tl=0;const aw=l.defineComponent({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const r=l.shallowRef([]);return n({addModal:i=>(r.value.push(i),r.value=r.value.slice(),()=>{r.value=r.value.filter(a=>a!==i)})}),()=>r.value.map(i=>i())}});function sw(){const e=l.shallowRef(null),t=l.shallowRef([]);l.watch(t,()=>{t.value.length&&([...t.value].forEach(a=>{a()}),t.value=[])},{immediate:!0});const n=i=>function(s){var u;Tl+=1;const f=l.shallowRef(!0),c=l.shallowRef(null),d=l.shallowRef(l.unref(s)),h=l.shallowRef({});l.watch(()=>s,x=>{y(v(v({},l.isRef(x)?x.value:x),h.value))});const p=function(){f.value=!1;for(var x=arguments.length,$=new Array(x),S=0;S<x;S++)$[S]=arguments[S];const T=$.some(w=>w&&w.triggerCancel);d.value.onCancel&&T&&d.value.onCancel(()=>{},...$.slice(1))};let g;const m=()=>l.createVNode(iw,{key:`modal-${Tl}`,config:i(d.value),ref:c,open:f.value,destroyAction:p,afterClose:()=>{g==null||g()}},null);g=(u=e.value)===null||u===void 0?void 0:u.addModal(m),g&&ht.push(g);const y=x=>{d.value=v(v({},d.value),x)};return{destroy:()=>{c.value?p():t.value=[...t.value,p]},update:x=>{h.value=x,c.value?y(x):t.value=[...t.value,()=>y(x)]}}},r=l.computed(()=>({info:n(Pf),success:n(Of),error:n(If),warning:n(Ef),confirm:n(_f)})),o=Symbol("modalHolderKey");return[r.value,()=>l.createVNode(aw,{key:o,ref:e},null)]}function Af(e){return Rn(Ef(e))}le.useModal=sw;le.info=function(t){return Rn(Pf(t))};le.success=function(t){return Rn(Of(t))};le.error=function(t){return Rn(If(t))};le.warning=Af;le.warn=Af;le.confirm=function(t){return Rn(_f(t))};le.destroyAll=function(){for(;ht.length;){const t=ht.pop();t&&t()}};le.install=function(e){return e.component(le.name,le),e};function Rf(e,t){let n=!1;const r=Object.create(null);return new Set([...Object.keys(e),...Object.keys(t)]).forEach(i=>{const a=e[i],s=t[i];if(J(a)&&J(s)){const u=Rf(a,s);Object.keys(u).length>0&&(r[i]=u,n=!0)}else a!==s&&(r[i]=s,n=!0)}),n?r:{}}function Nf(e,t,n){let r=n!=null&&n.immediate?{}:Ie(e instanceof Function?e():e);return l.watch(e,(o,i)=>{const a=Rf(r,o);Dr(a)||t(a,r),r=Ie(o)},{...n,deep:!0})}const ue={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},$l={silent:{level:-1},fatal:{level:ue.fatal},error:{level:ue.error},warn:{level:ue.warn},log:{level:ue.log},info:{level:ue.info},success:{level:ue.success},fail:{level:ue.fail},ready:{level:ue.info},start:{level:ue.info},box:{level:ue.info},debug:{level:ue.debug},trace:{level:ue.trace},verbose:{level:ue.verbose}};function Oo(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function mi(e,t,n=".",r){if(!Oo(t))return mi(e,{},n);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(Array.isArray(a)&&Array.isArray(o[i])?o[i]=[...a,...o[i]]:Oo(a)&&Oo(o[i])?o[i]=mi(a,o[i],(n?`${n}.`:"")+i.toString()):o[i]=a)}return o}function lw(e){return(...t)=>t.reduce((n,r)=>mi(n,r,""),{})}const cw=lw();function uw(e){return Object.prototype.toString.call(e)==="[object Object]"}function fw(e){return!(!uw(e)||!e.message&&!e.args||e.stack)}let Io=!1;const El=[];class re{constructor(t={}){Ue(this,"options");Ue(this,"_lastLog");Ue(this,"_mockFn");const n=t.types||$l;this.options=cw({...t,defaults:{...t.defaults},level:_o(t.level,n),reporters:[...t.reporters||[]]},{types:$l,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(const r in n){const o={type:r,...this.options.defaults,...n[r]};this[r]=this._wrapLogFn(o),this[r].raw=this._wrapLogFn(o,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(t){this.options.level=_o(t,this.options.types,this.options.level)}prompt(t,n){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(t,n)}create(t){const n=new re({...this.options,...t});return this._mockFn&&n.mockTypes(this._mockFn),n}withDefaults(t){return this.create({...this.options,defaults:{...this.options.defaults,...t}})}withTag(t){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+t:t})}addReporter(t){return this.options.reporters.push(t),this}removeReporter(t){if(t){const n=this.options.reporters.indexOf(t);if(n!==-1)return this.options.reporters.splice(n,1)}else this.options.reporters.splice(0);return this}setReporters(t){return this.options.reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this.options.types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this.options.types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(t,n){t&&(t.__write||(t.__write=t.write),t.write=r=>{this[n].raw(String(r).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){Io=!0}resumeLogs(){Io=!1;const t=El.splice(0);for(const n of t)n[0]._logFn(n[1],n[2])}mockTypes(t){const n=t||this.options.mockFn;if(this._mockFn=n,typeof n=="function")for(const r in this.options.types)this[r]=n(r,this.options.types[r])||this[r],this[r].raw=this[r]}_wrapLogFn(t,n){return(...r)=>{if(Io){El.push([this,t,r,n]);return}return this._logFn(t,r,n)}}_logFn(t,n,r){if((t.level||0)>this.level)return!1;const o={date:new Date,args:[],...t,level:_o(t.level,this.options.types)};!r&&n.length===1&&fw(n[0])?Object.assign(o,n[0]):o.args=[...n],o.message&&(o.args.unshift(o.message),delete o.message),o.additional&&(Array.isArray(o.additional)||(o.additional=o.additional.split(`
191
- `)),o.args.push(`
192
- `+o.additional.join(`
193
- `)),delete o.additional),o.type=typeof o.type=="string"?o.type.toLowerCase():"log",o.tag=typeof o.tag=="string"?o.tag:"";const i=(s=!1)=>{const u=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&u>0){const f=[...this._lastLog.object.args];u>1&&f.push(`(repeated ${u} times)`),this._log({...this._lastLog.object,args:f}),this._lastLog.count=1}s&&(this._lastLog.object=o,this._log(o))};clearTimeout(this._lastLog.timeout);const a=this._lastLog.time&&o.date?o.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=o.date,a<this.options.throttle)try{const s=JSON.stringify([o.type,o.tag,o.args]),u=this._lastLog.serialized===s;if(this._lastLog.serialized=s,u&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(i,this.options.throttle);return}}catch{}i(!0)}_log(t){for(const n of this.options.reporters)n.log(t,{options:this.options})}}function _o(e,t={},n=3){return e===void 0?n:typeof e=="number"?e:t[e]&&t[e].level!==void 0?t[e].level:n}re.prototype.add=re.prototype.addReporter;re.prototype.remove=re.prototype.removeReporter;re.prototype.clear=re.prototype.removeReporter;re.prototype.withScope=re.prototype.withTag;re.prototype.mock=re.prototype.mockTypes;re.prototype.pause=re.prototype.pauseLogs;re.prototype.resume=re.prototype.resumeLogs;function dw(e={}){return new re(e)}class hw{constructor(t){Ue(this,"options");Ue(this,"defaultColor");Ue(this,"levelColorMap");Ue(this,"typeColorMap");this.options={...t},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(t){return t<1?console.__error||console.error:t===1?console.__warn||console.warn:console.__log||console.log}log(t){const n=this._getLogFn(t.level),r=t.type==="log"?"":t.type,o=t.tag||"",a=`
194
- background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};
195
- border-radius: 0.5em;
196
- color: white;
197
- font-weight: bold;
198
- padding: 2px 0.5em;
199
- `,s=`%c${[o,r].filter(Boolean).join(":")}`;typeof t.args[0]=="string"?n(`${s}%c ${t.args[0]}`,a,"",...t.args.slice(1)):n(s,a,...t.args)}}function pw(e={}){return dw({reporters:e.reporters||[new hw({})],prompt(n,r={}){return r.type==="confirm"?Promise.resolve(confirm(n)):Promise.resolve(prompt(n))},...e})}const gw=pw();gw.withTag("腾龙开发底座");function on(e,t){return n=>{}}const mw=on(),vw=on(),Mf=on(),yw=on(),bw=on(),Sw=on(),Kt=Le.defineStore(Ee.SETTINGS,()=>{const e=Di(),t=l.ref(e),n=l.ref({}),r=l.ref(e),o=l.ref(!1);Nf(r,E=>{if(!o.value)return;const A=mr(E);if(mr(n.value).includes(A.at(0))){if(ko.session.has("userSettingIsGod"))return;le.confirm({title:"系统设置提示",icon:l.createVNode(Hi),content:"当前设置被个人设置覆盖无法预览当前全局系统配置,是否需要恢复个人设置为系统默认设置",okText:"重置个人配置",cancelText:"不在提示",onOk(){P()},onCancel(){ko.session.set("userSettingIsGod","")}})}else{const Q=Ke(E,A.at(0));ym(t.value,A.at(0),Q)}},{flush:"post"}),l.watch([()=>t.value.app.colorScheme,()=>t.value.app.lightTheme,()=>t.value.app.darkTheme],([E,A,D])=>{switch(E===""&&(E=v1()?"dark":"light"),E){case"light":document.documentElement.classList.remove("dark"),document.body.setAttribute("data-theme",A);break;case"dark":document.documentElement.classList.add("dark"),document.body.setAttribute("data-theme",D);break}},{immediate:!0}),l.watch(()=>t.value.layout.widthMode,E=>{document.body.setAttribute("data-app-width-mode",E)},{immediate:!0}),l.watch(()=>t.value.menu.menuMode,E=>{document.body.setAttribute("data-menu-mode",E)},{immediate:!0});const i=l.ref("other"),a=navigator.userAgent.toLowerCase();switch(!0){case a.includes("mac os"):i.value="mac";break;case a.includes("windows"):i.value="windows";break;case a.includes("linux"):i.value="linux";break}const s=l.ref();function u(E){Array.isArray(E)?s.value=E[0]||"":s.value=E}const f=l.ref();function c(E){f.value=E}const d=l.ref([]);function h(E,A){const D=d.value.findIndex(Q=>Q.fullPath===E);D>-1?d.value[D].title=A:d.value.push({fullPath:E,title:A})}function p(E){const A=d.value.findIndex(D=>D.fullPath===E);A>-1&&d.value.splice(A,1)}const g=l.ref("pc");function m(E){t.value.layout.enableMobileAdaptation?/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?g.value="mobile":g.value=E<992?"mobile":"pc":g.value="pc"}const y=l.ref(e.menu.subMenuCollapse);function b(){t.value.menu.subMenuCollapse=!t.value.menu.subMenuCollapse,g.value==="pc"&&(y.value=!y.value)}l.watch(g,E=>{switch(E){case"pc":t.value.menu.subMenuCollapse=y.value;break;case"mobile":t.value.menu.subMenuCollapse=!0;break}document.body.setAttribute("data-mode",E)},{immediate:!0});function C(E){t.value.app.defaultLang=E}function x(E){t.value.app.colorScheme=E}const $=l.ref(!1);function S(E){$.value=E??!$.value}function T(E,A=!1){t.value=Qn(E,A?e:t.value)}function w(E){r.value=Qn(E,e)}function O(E){Object.keys(E).length>0?n.value=Qn(E,Ie(n.value)):n.value={}}function I(E=!0){o.value=E}async function N(){var D;const E=await Av(),A=(D=E==null?void 0:E.data)==null?void 0:D.content;A&&T(JSON.parse(A||"{}"),!0)}async function M(){var D;const E=await Rv(),A=(D=E==null?void 0:E.data)==null?void 0:D.content;A&&O(JSON.parse(A||"{}"))}async function R(){var D;const E=await _v(),A=(D=E==null?void 0:E.data)==null?void 0:D.content;A&&w(JSON.parse(A||"{}"))}async function F(){await Promise.all([N(),R(),M()]),I(!0)}async function H(E){await Iv({content:JSON.stringify(E)}),O(E)}async function P(){await Nv(),await N(),await M(),kf.success("已还原系统设置")}return{settings:t,os:i,auth:s,setAuth:u,title:f,setTitle:c,customTitleList:d,setCustomTitle:h,resetCustomTitle:p,mode:g,setMode:m,subMenuCollapseLastStatus:y,toggleSidebarCollapse:b,setDefaultLang:C,setColorScheme:x,mainPageMaximizeStatus:$,setMainPageMaximize:S,updateSettings:T,globalSettings:r,updateGlobalSettings:w,userSettings:n,updateUserSettings:O,setGlobaleSettingsFlag:I,getPreferencesAll:F,setPreferencesSetting:H,resetSettings:P}}),Cw=Le.defineStore(Ee.FAVORITES,()=>{const e=l.ref([]);function t(f){var d;let c=!0;return(d=f.children)!=null&&d.every(h=>{var p;return((p=h.meta)==null?void 0:p.sidebar)===!1})&&(c=!1),c}function n(f,c){var h;const d=[];for(const p of f)((h=p.meta)==null?void 0:h.sidebar)!==!1&&(p.children&&t(p)?d.push(...n(p.children,_e(c,p.path))):d.push(p.redirect??_e(c,p.path)));return d}function r(f=[]){const c=[];return f.forEach(d=>{if(d.children){const h=n(d.children);c.push(...h)}}),c}function o(f,c=[]){return r(c).includes(f)}function i(f){return e.value.some(c=>c.fullPath===f)}function a(f){var d,h,p;const c=(d=f.matched.at(-1))==null?void 0:d.meta;e.value.find(g=>g.fullPath===f.fullPath)||e.value.push({fullPath:f.fullPath,title:c==null?void 0:c.title,i18n:c==null?void 0:c.i18n,icon:(c==null?void 0:c.icon)??((p=(h=c==null?void 0:c.breadcrumbNeste)==null?void 0:h.findLast(g=>g.icon))==null?void 0:p.icon)})}function s(f){e.value=e.value.filter(c=>c.fullPath!==f)}function u(f,c){e.value.splice(f,0,e.value.splice(c,1)[0])}return{list:e,canAdd:o,isAdd:i,add:a,remove:s,sort:u}}),Df=Le.defineStore(Ee.IFRAME,()=>{const e=l.ref(!1),t=l.ref([]),n=l.ref([]),r=l.computed(()=>t.value.filter(u=>u.isOpen));async function o(u,f){for(const c of u)c.meta.iframe&&!c.meta.link&&(On(c.meta.iframe)&&(c.meta.iframe=await c.meta.iframe(l.toRaw(f))),t.value.push({path:c.path,src:c.meta.iframe,isOpen:!1,isLoading:!0}));e.value=!0}function i(u){const f=t.value.findIndex(c=>c.path===u);t.value[f].isLoading=!~f}function a(u){const f=t.value.find(c=>c.path===u);if(f){f.isOpen=!0;const c=n.value.findIndex(d=>d===u);~c?(n.value.splice(0,0,n.value[c]),n.value.splice(c)):n.value.unshift(u)}}function s(u){function f(c){const d=t.value.findIndex(h=>h.path===c);~d&&(t.value[d].isOpen=!1,t.value[d].isLoading=!0),n.value=n.value.filter(h=>h!==c)}hr(u)?f(u):u.forEach(f)}return{isGenerate:e,openedList:r,generateList:o,closeLoading:i,open:a,close:s,recentPathList:n,list:t}}),Bf=Le.defineStore(Ee.KEEP_ALIVE,()=>{const e=l.ref([]);function t(o){if(hr(o))return!e.value.includes(o)&&e.value.push(o);Z(o)&&o.forEach(i=>{t(i)})}function n(o){hr(o)?e.value=e.value.filter(i=>i!==o):Z(o)&&(e.value=e.value.filter(i=>!o.includes(i)))}function r(){e.value=[]}return{list:e,add:t,remove:n,clean:r}});function ww(e){return $e.Get("app/route/list",{baseURL:"/mock"})}function xw(){return $e.Post("/validateIp")}let vi=[];function Tw(e){return vi=[...vi,...e],e}function Ff(){return vi}const $w=[{path:"/change-password/:changePassWordToken",name:"ChangePassword",component:()=>Promise.resolve().then(()=>require("./index-WMo0GAa6.cjs")),beforeEnter:e=>pr(e.params.changePassWordToken)?{name:"Login"}:!0,meta:{whiteList:!0,title:"修改密码"}},{path:"/change-organization/:orgId",name:"ChangeOrganization",component:()=>Promise.resolve().then(()=>require("./index-zvGq9tSu.cjs")),beforeEnter:e=>{const t=Bi();return pr(e.params.orgId)||e.params.orgId!==t.orgId?{name:"Login"}:!0},meta:{whiteList:!0,title:"切换组织"}},{path:"/not-permission",name:"NotPermission",component:()=>Promise.resolve().then(()=>require("./index-BqHsuJkr.cjs")),meta:{whiteList:!0,title:"无权限访问"}},{path:"/:all(.*)*",name:"NotFound",component:()=>Promise.resolve().then(()=>require("./_...all_-C4CXjAo9.cjs")),meta:{title:"找不到页面"}}],Lf=[{path:"/",component:In().layout,meta:{title:()=>Kt().settings.home.title,breadcrumb:!1},children:[{path:"",name:"Home",component:()=>Promise.resolve().then(()=>require("./index-38bsQrho.cjs")),meta:{title:()=>Kt().settings.home.title,i18n:"route.home",icon:"i-ant-design:home-twotone",breadcrumb:!1}},{path:"reload",name:"Reload",component:()=>Promise.resolve().then(()=>require("./reload-6L7Dzs7h.cjs")),meta:{title:"重新加载",breadcrumb:!1}},{path:"personal/profile",name:"Profile",component:()=>Promise.resolve().then(()=>require("./index-VGR0Mt4q.cjs")),meta:{title:"个人中心",i18n:"route.personal.profile",icon:"i-iconamoon-profile-duotone"}}]}],Hf=Le.defineStore(Ee.TABBAR,()=>{const e=Kt(),t=pa(),n=Bf(),r=Df(),o=l.ref([]),i=l.ref(-1);function a(){const x=[];function $(S){S.children&&S.children.forEach(T=>{var w,O,I,N,M,R,F,H,P,E,A;if((w=T.meta)!=null&&w.permanent&&((O=T.meta)!=null&&O.breadcrumbNeste)){const D=(I=T.meta.breadcrumbNeste.at(-1))==null?void 0:I.path,Q=e.settings.tabbar.mergeTabsBy==="activeMenu"&&T.meta.activeMenu||D;x.push({tabId:Q,fullPath:D,routeName:T.name,activeMenu:T.meta.activeMenu,title:typeof T.meta.title=="function"?T.meta.title():T.meta.title,i18n:T.meta.i18n,iframe:T.meta.iframe,icon:((N=T.meta)==null?void 0:N.icon)??((F=(R=(M=T.meta)==null?void 0:M.breadcrumbNeste)==null?void 0:R.findLast(j=>j.icon))==null?void 0:F.icon),activeIcon:((H=T.meta)==null?void 0:H.activeIcon)??((A=(E=(P=T.meta)==null?void 0:P.breadcrumbNeste)==null?void 0:E.findLast(j=>j.activeIcon))==null?void 0:A.activeIcon),name:T.name?[T.name]:[],customTitleList:[],isPin:!1,isPermanent:!0})}})}t.flatSystemRoutes.forEach($),t.flatRoutes.forEach($),x.length&&o.value.unshift(...x)}async function s(x){var w,O,I,N,M,R,F,H,P;const $=[];x.matched.forEach((E,A)=>{var D;A>0&&(D=E.components)!=null&&D.default.name&&$.push(E.components.default.name)});const S=(w=x.matched.at(-1))==null?void 0:w.meta,T=e.settings.tabbar.mergeTabsBy==="activeMenu"?(S==null?void 0:S.activeMenu)??x.fullPath:x.fullPath;if(x.name!=="Reload"){const E=o.value.find(A=>e.settings.tabbar.mergeTabsBy==="routeName"&&A.routeName?A.routeName===x.name:A.tabId===T);if(E)e.settings.tabbar.mergeTabsBy!==""&&(E.tabId=T,E.fullPath=x.fullPath,E.routeName=x.name,E.activeMenu=S==null?void 0:S.activeMenu,E.title=typeof(S==null?void 0:S.title)=="function"?S.title():S==null?void 0:S.title,E.i18n=S==null?void 0:S.i18n,E.iframe=S==null?void 0:S.iframe,E.icon=(S==null?void 0:S.icon)??((F=(R=S==null?void 0:S.breadcrumbNeste)==null?void 0:R.findLast(A=>A.icon))==null?void 0:F.icon),E.activeIcon=(S==null?void 0:S.activeIcon)??((P=(H=S==null?void 0:S.breadcrumbNeste)==null?void 0:H.findLast(A=>A.activeIcon))==null?void 0:P.activeIcon));else{const A={tabId:T,fullPath:x.fullPath,routeName:x.name,activeMenu:S==null?void 0:S.activeMenu,title:typeof(S==null?void 0:S.title)=="function"?S.title():S==null?void 0:S.title,i18n:S==null?void 0:S.i18n,iframe:S==null?void 0:S.iframe,icon:(S==null?void 0:S.icon)??((I=(O=S==null?void 0:S.breadcrumbNeste)==null?void 0:O.findLast(D=>D.icon))==null?void 0:I.icon),activeIcon:(S==null?void 0:S.activeIcon)??((M=(N=S==null?void 0:S.breadcrumbNeste)==null?void 0:N.findLast(D=>D.activeIcon))==null?void 0:M.activeIcon),name:$,customTitleList:[],isPin:!1,isPermanent:!1};i.value>=0?(o.value.splice(i.value+1,0,A),i.value=-1):o.value.push(A)}}}function u(x){const $=[],S=[],T=[];o.value.forEach((w,O)=>{x(w,O)?w.iframe?T.push(w.tabId):S.push(...w.name):$.push(...w.name)}),n.remove(S.filter(w=>!$.includes(w))),r.close(T)}function f(x){u($=>$.tabId===x),o.value=o.value.filter($=>$.tabId!==x)}function c(x){u($=>$.tabId!==x&&!$.isPermanent&&!$.isPin),o.value=o.value.filter($=>$.tabId===x||$.isPermanent||$.isPin)}function d(x){const $=o.value.findIndex(S=>S.tabId===x);u((S,T)=>T<$&&!S.isPermanent&&!S.isPin),o.value=o.value.filter((S,T)=>T>=$||S.isPermanent||S.isPin)}function h(x){const $=o.value.findIndex(S=>S.tabId===x);u((S,T)=>T>$&&!S.isPermanent&&!S.isPin),o.value=o.value.filter((S,T)=>T<=$||S.isPermanent||S.isPin)}function p(x){const $=o.value.findIndex(T=>T.tabId===x);let S=-1;o.value.forEach((T,w)=>{(T.isPermanent||T.isPin)&&(S=w)}),$>S&&(o.value.splice(S+1,0,o.value[$]),o.value.splice($+1,1)),o.value.forEach(T=>{T.tabId===x&&(T.isPin=!0)})}function g(x){const $=o.value.findIndex(T=>T.tabId===x);let S=-1;o.value.forEach((T,w)=>{(T.isPermanent||T.isPin)&&(S=w)}),o.value.splice(S+1,0,o.value[$]),o.value.splice($,1),o.value.forEach(T=>{T.tabId===x&&(T.isPin=!1)})}function m(){o.value=[]}function y(x,$){o.value.splice(x,0,o.value.splice($,1)[0])}function b({tabId:x,title:$}){o.value.forEach(S=>{if(S.tabId===x){const T=S.customTitleList.find(w=>w.fullPath===S.fullPath);T?T.title=$:S.customTitleList.push({fullPath:S.fullPath,title:$})}})}function C(x){o.value.forEach($=>{if($.tabId===x){const S=$.customTitleList.findIndex(T=>T.fullPath===$.fullPath);S>-1&&$.customTitleList.splice(S,1)}})}return{list:o,leaveIndex:i,initPermanentTab:a,add:s,remove:f,removeOtherSide:c,removeLeftSide:d,removeRightSide:h,pin:p,unPin:g,clean:m,sort:y,setCustomTitle:b,resetCustomTitle:C}}),pa=Le.defineStore(Ee.ROUTE,()=>{const e=Ff(),t=Kt(),n=Bi(),r=Hf(),o=l.ref(!1),i=l.ref([]),a=l.ref([]),s=l.ref([]);function u(O,I){const{title:N,i18n:M,icon:R,activeIcon:F,breadcrumb:H=!0}=Bn(O.meta,{});return{path:Bn(I,O.path),title:N,i18n:M,icon:R,activeIcon:F,hide:!H}}function f(O,I,N,M){const R=Ie(M),F=u(O,I);R.push(F);function H(j){return tm(j,"children")?hc(j,"children"):j}const P={path:I,meta:{auth:N,breadcrumbNeste:R}},E=l.toRaw(O),A=Ie(E),D=H(A);return Fo(D,P)}function c(O){var I;return O.children&&(O.children=d(O.children,[u(O)],O.path,(I=O.meta)==null?void 0:I.auth)),O}function d(O,I=[],N="",M){return l.toRaw(O).reduce((R,F)=>{var A,D;const H=_e(N,F.path),P=Bn((A=F.meta)==null?void 0:A.auth,M),E=f(F,H,P,I);return R.push(E),F.children&&d(F.children,(D=E==null?void 0:E.meta)==null?void 0:D.breadcrumbNeste,H,P).forEach(j=>{R.some(se=>se.path===j.path)?R.forEach((se,ze)=>{se.path===j.path&&(R[ze]=j)}):R.push(j)}),R},[])}const h=l.computed(()=>{const O=[];return i.value.length&&(i.value.forEach(I=>{var N;if((N=I.children)!=null&&N.length){let M=Ie(I.children);M=M.map(R=>{var F,H;return Fo(R,{meta:{auth:Bn((F=R.meta)==null?void 0:F.auth,(H=I.meta)==null?void 0:H.auth)}})}),O.push(...M)}}),O.forEach(I=>c(I))),O}),p=l.computed(()=>{const O=[...Lf];return O.forEach(I=>c(I)),O});function g(O,I){var M;if(pr((M=I.meta)==null?void 0:M.auth))return!0;const N=I.meta.auth;return l.toRaw(O).some(R=>hr(N)?N!==""?N===R:!0:Z(N)?N.length!==0?N.includes(R):!0:!1)}function m(O,I){const N=[];return O.forEach(M=>{if(g(I,M)){const R=Ie(M);R.children?(R.children=m(R.children,I),(R.children.length||Ke(R,"meta.isDev",!1))&&N.push(R)):(Ke(R,"meta.isDev",!1)&&(R.children=[]),N.push(R))}}),N}const y=l.computed(()=>{let O;return t.settings.app.enablePermission?O=m(i.value,n.permissions):O=Ie(i.value),O});async function b(O){const{layout:I}=In();return O.map(N=>(N.children&&N.children.forEach((M,R,F)=>{var H;if((H=M.meta)!=null&&H.singleMenu){const{name:P,...E}=M;F[R]={...E,component:I,children:[{path:"",name:P,component:M.component,meta:{title:M.meta.title,i18n:M.meta.i18n,sidebar:!1,breadcrumb:!1}}]},delete F[R].meta.singleMenu}F[R].component||(F[R].component=I)}),N)),O}function C(O){return O.length?O.filter(I=>{var N;return I.children&&I.children.length>0&&(I.children=C(I.children)),((N=I==null?void 0:I.meta)==null?void 0:N.enabled)!==!1}):[]}async function x(){i.value=await b(C(Ie(e))),t.settings.app.enablePermission&&await n.getPermissions(),o.value=!0,t.settings.tabbar.enable&&r.initPermanentTab()}function $(O){return O.map(I=>{switch(I.component){case"Layout":break;default:I.component||delete I.component}return I.children&&(I.children=$(I.children)),I})}async function S(){await ww().then(async O=>{i.value=await b($(O.data)),t.settings.app.enablePermission&&await n.getPermissions(),o.value=!0,t.settings.tabbar.enable&&r.initPermanentTab()}).catch(()=>{})}function T(O){s.value=O}function w(O=!1){o.value=!1,i.value=[],a.value=[],s.value.forEach(I=>{O||I()}),s.value=O?s.value.filter(I=>I.system):[]}return{isGenerate:o,routes:y,currentRemoveRoutes:s,flatRoutes:h,flatSystemRoutes:p,generateRoutesAtFront:x,generateRoutesAtBack:S,setCurrentRemoveRoutes:T,removeRoutes:w}}),Ew=Le.defineStore(Ee.MENU,()=>{const e=Kt(),t=pa(),n=l.ref([{meta:{},children:[]}]),r=l.ref(0);function o(h,p=""){return h.map(g=>(g.path=_e(p,g.path),g.children&&(g.children=o(g.children,g.path)),g))}const i=l.computed(()=>{let h=[{meta:{},children:[]}];return e.settings.menu.menuMode==="single"?(h[0].children=[],t.routes.forEach(p=>{var g;Ke(p,"meta.isDev",!1)?Mf(`侧边栏模式(不含主导航)下省略${p.meta.title}的子集菜单,因为该菜单开启了isDev属性。`):(g=h[0].children)==null||g.push(...p.children)})):h=t.routes,h.map(p=>o(p.children)),h}),a=l.computed(()=>{const h=i.value.filter(p=>!Ke(p,"meta.isDev",!1));if(h.length>0)if(h.length>1){for(;Ke(i.value[r.value],"meta.isDev",!1)&&r.value<i.value.length-1;)r.value++;return i.value[r.value].children}else return Ke(i.value[0],"meta.isDev",!1)?[]:i.value[0].children;else return[]}),s=l.computed(()=>a.value.length>0?u(a.value[0]):"/");function u(h,p=""){let g="";if(h.children){const m=h.children.find(y=>{var b;return((b=y.meta)==null?void 0:b.sidebar)!==!1});m?g=u(m,_e(p,h.path)):g=u(h.children[0],_e(p,h.path))}else g=_e(p,h.path);return g}const f=l.computed(()=>{const h=[];return i.value.forEach(p=>{h.push(...c(p.children))}),h});function c(h,p=""){const g=[];return h.forEach(m=>{var y;if((y=m.meta)!=null&&y.defaultOpened&&m.children){g.push(_e(p,m.path));const b=c(m.children,_e(p,m.path));b.length>0&&g.push(...b)}}),g}function d(h){if(um(h))r.value=h;else{const p=i.value.findIndex(g=>g.children.some(m=>h.indexOf(`${m.path}/`)===0||h===m.path));p>=0&&(r.value=p)}}return{menus:n,actived:r,allMenus:i,sidebarMenus:a,sidebarMenusFirstDeepestPath:s,defaultOpenedPaths:f,setActived:d}}),Pw=Le.defineStore(Ee.NOTIFICATION,()=>{const e=l.ref(0),t=l.ref(0),n=l.computed(()=>e.value+t.value);function r(){o(),i()}function o(){e.value=9}function i(){t.value=0}return{message:e,todo:t,total:n,init:r}});exports.Button=Qe;exports.CheckCircleFilled=nt;exports.CheckCircleOutlined=Lr;exports.CloseCircleFilled=rt;exports.CloseCircleOutlined=Hr;exports.CloseOutlined=Tt;exports.Compact=YS;exports.DefaultRenderEmpty=Ji;exports.Empty=Rt;exports.ExclamationCircleFilled=ot;exports.ExclamationCircleOutlined=Vr;exports.GetAPIValidateIp=xw;exports.Icon=oe;exports.InfoCircleFilled=it;exports.InfoCircleOutlined=jr;exports.KeyCode=ci;exports.Keyframe=K;exports.LoadingOutlined=Je;exports.Modal=le;exports.NoCompactStyle=KS;exports.Portal=ju;exports.PropTypes=U;exports.STORE_NAME=Ee;exports.Set=fr;exports.SetCache=bn;exports.TinyColor=ee;exports.Wave=qu;exports._extends=v;exports._objectSpread2=B;exports.addEventListenerWrap=Kc;exports.anyType=vr;exports.api=Wt;exports.arrayMap=Tr;exports.arrayType=Yo;exports.baseFindIndex=Nl;exports.baseGet=Ar;exports.baseIsEqual=Nr;exports.baseRest=Er;exports.baseSet=pc;exports.basic=$e;exports.booleanType=pt;exports.buttonProps=Yu;exports.cacheHas=tc;exports.camelize=ji;exports.canUseDom=he;exports.capitalize=B1;exports.castPath=Yt;exports.classNames=W;exports.clearFix=Pu;exports.cloneDeep=Ie;exports.cloneElement=AS;exports.compilePublicKey=wc;exports.constantRoutes=$w;exports.contains=Ki;exports.createContext=aa;exports.createPubinfoContext=km;exports.customRenderSlot=NS;exports.defineAsyncRoutes=Tw;exports.defineSettings=Sv;exports.detectFlexGapSupported=kC;exports.devWarning=ta;exports.enUS=Qc;exports.encryptWithPublicKey=Tc;exports.eventBus=bv;exports.eventType=Xo;exports.filterEmpty=An;exports.filterEmptyWithUndefined=X1;exports.find=Jn;exports.findDOMNode=Cn;exports.findIndex=dc;exports.flatRest=jl;exports.flattenChildren=Ae;exports.functionType=Q1;exports.genCompactItemStyle=Ku;exports.genComponentStyleHook=at;exports.genFocusOutline=Ou;exports.genFocusStyle=Yi;exports.getAsyncRoutes=Ff;exports.getComponent=W1;exports.getDefaultExportFromCjs=Ni;exports.getEncryptedData=tr;exports.getEvents=G1;exports.getMotion=Bu;exports.getOptionProps=U1;exports.getPem=xc;exports.getPropsSlot=Z1;exports.getRbacUserUserEntireInfo=$c;exports.getScrollBarSize=ia;exports.getSettings=Di;exports.getSlot=k1;exports.getStyle=K1;exports.getTargetScrollBarSize=BS;exports.getTransitionDirection=MS;exports.getTransitionGroupProps=ra;exports.getTransitionName=Pn;exports.getTransitionProps=na;exports.hasIn=sc;exports.hasProp=z1;exports.hooks=zm;exports.initDefaultProps=tn;exports.initMotion=sa;exports.initZoomMotion=Gu;exports.isArrayLikeObject=cc;exports.isClient=_n;exports.isEmptyElement=zi;exports.isFragment=q1;exports.isFunction=On;exports.isObject=J;exports.isPlainObject=Rr;exports.isStyleSupport=zC;exports.isUndefined=pr;exports.isValid=Vc;exports.isValidElement=Y1;exports.isVisible=Lu;exports.locale=Qo;exports.localeValues=et;exports.md5=Ev;exports.merge=je;exports.merge$1=Fo;exports.normalizePrimitiveToFunction=Cv;exports.note=uu;exports.noteOnce=yb;exports.objectToPaths=mr;exports.objectType=q;exports.omit=ea;exports.omit$1=hc;exports.pickAttrs=zu;exports.postAuthTokenRefresh=Km;exports.readProject=In;exports.resetComponent=Qr;exports.resetIcon=Eu;exports.resolveRoutePath=_e;exports.root=Te;exports.setToArray=rc;exports.skipFlattenKey=zc;exports.someType=Gc;exports.splitAttrs=jc;exports.storage=ko;exports.stringType=Zo;exports.systemRoutes=Lf;exports.textEllipsis=vS;exports.toNumber=_l;exports.toPx=H1;exports.toRef=a1;exports.tryOnScopeDispose=Jt;exports.tuple=wn;exports.useBox=Sw;exports.useClipboard=m1;exports.useCompactItemContext=Uu;exports.useConfigInject=Pe;exports.useCssVar=y1;exports.useElementSize=S1;exports.useError=mw;exports.useFavoritesStore=Cw;exports.useFullscreen=C1;exports.useIframeStore=Df;exports.useInfo=yw;exports.useInjectDisabled=Ur;exports.useInjectGlobalForm=tb;exports.useKeepAliveStore=Bf;exports.useLocaleReceiver=Wr;exports.useMagicKeys=x1;exports.useMenuStore=Ew;exports.useNotificationStore=Pw;exports.useProvidePortal=oa;exports.useProviderDisabled=Zc;exports.useProviderSize=Du;exports.usePubinfoContext=yc;exports.useRouteStore=pa;exports.useSettingsStore=Kt;exports.useStart=bw;exports.useState=We;exports.useStyle=ku;exports.useSuccess=vw;exports.useTabbarStore=Hf;exports.useTimeoutFn=Lc;exports.useToggle=l1;exports.useToken=rn;exports.useUserStore=Bi;exports.useWarn=Mf;exports.vNodeType=J1;exports.warning=cu;exports.warningOnce=qr;exports.watchDiffObject=Nf;exports.withInstall=zr;exports.withUndefined=_S;exports.wrapperRaf=jt;exports.zoomIn=Wu;