@abtnode/blocklet-services 1.16.52-beta-20250928-042319-ff3f0e04 → 1.16.52-beta-20251002-030549-0f91dab2

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 (251) hide show
  1. package/api/middlewares/launcher-login.js +3 -2
  2. package/api/routes/access-key.js +13 -1
  3. package/api/routes/csp-proxy.js +7 -7
  4. package/dist/assets/{AdapterDayjs-Ch1GqpK7.js → AdapterDayjs-CAaLcejt.js} +1 -1
  5. package/dist/assets/{Google-CZPwmMCG.js → Google-BMeng9mn.js} +2 -2
  6. package/dist/assets/{access-control-MtITiDMT.js → access-control-Cw0_MVFj.js} +1 -1
  7. package/dist/assets/{actions-CL4xTGOh.js → actions-DbBJOD0d.js} +1 -1
  8. package/dist/assets/{add-component-core-DT871JXs.js → add-component-core-B4fftW3o.js} +7 -7
  9. package/dist/assets/add-resource-CZfTjlD0.js +1 -0
  10. package/dist/assets/{addon-CAvqw8mm.js → addon-CBAld8jW.js} +2 -2
  11. package/dist/assets/{advanced-BeEKQmus.js → advanced-DPeAQM5T.js} +2 -2
  12. package/dist/assets/{aigne-DepLc7CZ.js → aigne-DD21HBlT.js} +1 -1
  13. package/dist/assets/api-BUbloWod.js +1 -0
  14. package/dist/assets/{appearance-CQM-3LPu.js → appearance-CwcRjBdx.js} +1 -1
  15. package/dist/assets/{ar-DrftSIv3.js → ar-7nBHeQPa.js} +1 -1
  16. package/dist/assets/{ar-DGfbWcRb.js → ar-DDKSNNIB.js} +2 -2
  17. package/dist/assets/{arrow-down.svg-VIKI4IBd.js → arrow-down.svg-B1ffj_Bi.js} +1 -1
  18. package/dist/assets/{audit-logs-B4nW0HQW.js → audit-logs-CIL7B8dX.js} +2 -2
  19. package/dist/assets/authorize-DPXeAf_q.js +1 -0
  20. package/dist/assets/{base-chart-BntWHeFy.js → base-chart-BbbiwJIa.js} +1 -1
  21. package/dist/assets/base32-CgLd9kUN.js +1 -0
  22. package/dist/assets/bind-account-Ci1GnBqL.js +1 -0
  23. package/dist/assets/{branding-DIltHBq0.js → branding-CGCnGFEE.js} +2 -2
  24. package/dist/assets/branding-IhXI5Wue.js +1 -0
  25. package/dist/assets/{branding-BxI7VSjI.js → branding-Y62inJ9A.js} +5 -5
  26. package/dist/assets/{bundle-avatar-BvwlMY-v.js → bundle-avatar-BrBIjq4r.js} +1 -1
  27. package/dist/assets/button-BG8yGG9e.js +1 -0
  28. package/dist/assets/{click-to-copy-Dqmzk5Lh.js → click-to-copy-CVHuu877.js} +1 -1
  29. package/dist/assets/{cloneDeep-sSKmkjV3.js → cloneDeep-E2Pxqpbv.js} +1 -1
  30. package/dist/assets/{collapse-GMtfQlRs.js → collapse-DhGi244c.js} +1 -1
  31. package/dist/assets/{complete-BiA0H-F-.js → complete-DNXvjWOj.js} +3 -3
  32. package/dist/assets/{component-CcDcQA4R.js → component-M75sOZuG.js} +3 -3
  33. package/dist/assets/{config-BDmrqxia.js → config-BASOtMEK.js} +7 -7
  34. package/dist/assets/{config-7aDpCy1J.js → config-BOttfQk3.js} +1 -1
  35. package/dist/assets/{config-CegNHv38.js → config-Bshk_mlq.js} +2 -2
  36. package/dist/assets/{config-navigation-DeVpCAhC.js → config-navigation-C_Stnyxb.js} +13 -13
  37. package/dist/assets/{config-space-D3NLSAOS.js → config-space-Bh_yLAj-.js} +1 -1
  38. package/dist/assets/confirm-LpOyjg-M.js +7 -0
  39. package/dist/assets/{connect-NiZcQvBT.js → connect-A31Nzurl.js} +1 -1
  40. package/dist/assets/{connect-3UzkXBvk.js → connect-DEe_baYC.js} +1 -1
  41. package/dist/assets/connect-to-Cco6-qou.js +1 -0
  42. package/dist/assets/{content-layout-DYZYIlLo.js → content-layout-CaGd-JXO.js} +1 -1
  43. package/dist/assets/createClass-BuhPvJV8.js +1 -0
  44. package/dist/assets/{dashboard-C_xJDuQY.js → dashboard-B757yKbJ.js} +3 -3
  45. package/dist/assets/{de-DGZI-Bsh.js → de-C5jW-Aco.js} +2 -2
  46. package/dist/assets/{de-CzR7Usym.js → de-Dn7PhTZq.js} +1 -1
  47. package/dist/assets/{delete-confirm-ZcwDcAcQ.js → delete-confirm-V3_sRk8l.js} +1 -1
  48. package/dist/assets/{did-address-CNnw4_bl.js → did-address-CeTjTMC4.js} +1 -1
  49. package/dist/assets/{domain-oUFlaLKy.js → domain-B9OATbrX.js} +1 -1
  50. package/dist/assets/{domain-action-card-t81ZH6IT.js → domain-action-card-D-_-tvd3.js} +2 -2
  51. package/dist/assets/domains-CHjbOYj6.js +1 -0
  52. package/dist/assets/{email-BfBsaQZc.js → email-BpimKMdd.js} +3 -3
  53. package/dist/assets/{empty-spinner-DCC7mgEb.js → empty-spinner-CkCqfxFX.js} +1 -1
  54. package/dist/assets/engine-DyhSNCpN.js +1 -0
  55. package/dist/assets/{es-BHI4ILsC.js → es-B_X5HHiA.js} +1 -1
  56. package/dist/assets/{es-CMwFpp7C.js → es-DnE5Se03.js} +2 -2
  57. package/dist/assets/{exchange-passport-DHCCHO-N.js → exchange-passport-XYv5fxqy.js} +1 -1
  58. package/dist/assets/{form-Csfi6zyX.js → form-CHueGgAz.js} +2 -2
  59. package/dist/assets/{form-text-input-xNlMjrH6.js → form-text-input-CqoNK3mi.js} +1 -1
  60. package/dist/assets/{form-wrapper-BCRhnWhi.js → form-wrapper-DNqXvSru.js} +1 -1
  61. package/dist/assets/{fr-BqKCXdV2.js → fr-BIAMVkwl.js} +1 -1
  62. package/dist/assets/{fr-eKsI9Vcp.js → fr-BpXortYf.js} +2 -2
  63. package/dist/assets/{fuel-CUlDLjak.js → fuel-CfnN-Pjf.js} +1 -1
  64. package/dist/assets/gen-access-key-ku3cDonU.js +1 -0
  65. package/dist/assets/gen-simple-access-key-EujuCaoZ.js +1 -0
  66. package/dist/assets/get-safe-url-CbJcsvAc.js +1 -0
  67. package/dist/assets/{hi-DlvVN0mm.js → hi-4-0lpKbp.js} +1 -1
  68. package/dist/assets/{hi-C0JqybmN.js → hi-CeUu25BW.js} +1 -1
  69. package/dist/assets/{home-BwyzLr74.js → home-CSzo40aP.js} +1 -1
  70. package/dist/assets/{id-DHF6PX-M.js → id-BugYMmLN.js} +2 -2
  71. package/dist/assets/{id-YNynvxGd.js → id-Dw1-p0GY.js} +1 -1
  72. package/dist/assets/iframe-eYdxV3eX.js +1 -0
  73. package/dist/assets/{index-kiLQKwVa.js → index-3xeMR-Qg.js} +1 -1
  74. package/dist/assets/{index-Ck6n4b0a.js → index-6IwthDxj.js} +1 -1
  75. package/dist/assets/index-82gv-l2w.js +283 -0
  76. package/dist/assets/{index-CfHItWba.js → index-B0JZLMkR.js} +4 -4
  77. package/dist/assets/index-BA8N8sek.js +150 -0
  78. package/dist/assets/{index-uH_9YgA0.js → index-BC0KaiLK.js} +1 -1
  79. package/dist/assets/index-BFZ5LKID.js +62 -0
  80. package/dist/assets/{index-gcYTlYEZ.js → index-BVRSxJRS.js} +1 -1
  81. package/dist/assets/{index-B06oP6vd.js → index-BjcHj49D.js} +1 -1
  82. package/dist/assets/index-Br6A9_4o.js +124 -0
  83. package/dist/assets/{index-CJWwSLdB.js → index-C-QPG4ba.js} +19 -19
  84. package/dist/assets/index-C0n4exuY.js +1 -0
  85. package/dist/assets/index-COFNyzYu.js +29 -0
  86. package/dist/assets/index-CX0nBp11.js +1 -0
  87. package/dist/assets/index-C_YGTMJ4.js +1 -0
  88. package/dist/assets/index-CjATIX5e.js +1039 -0
  89. package/dist/assets/{index-D7zqBJdA.js → index-CmkQ05MW.js} +12 -12
  90. package/dist/assets/{index-DS-40ZVK.js → index-Cs6DTc99.js} +5 -5
  91. package/dist/assets/index-Cza28Ou-.js +7 -0
  92. package/dist/assets/{index-Cn5TXl_L.js → index-D04UESXe.js} +1 -1
  93. package/dist/assets/{index-CKpQd8db.js → index-DOo8QRm-.js} +14 -14
  94. package/dist/assets/{index-v50gyNUL.js → index-DRhj0EDS.js} +9 -9
  95. package/dist/assets/{index-DH4W6unN.js → index-DZkt7K0r.js} +1 -1
  96. package/dist/assets/{index-DzI9kX_C.js → index-DbXxI_D0.js} +1 -1
  97. package/dist/assets/index-Dn2eai8S.js +113 -0
  98. package/dist/assets/{index-DO9UDa6G.js → index-Dr9NaKfR.js} +1 -1
  99. package/dist/assets/{index-D-puzkw-.js → index-DxuK3aPg.js} +1 -1
  100. package/dist/assets/{index-BPJUfDZY.js → index-IN8OKZ_V.js} +2 -2
  101. package/dist/assets/index-ZXxjnrfz.js +55 -0
  102. package/dist/assets/{index-BwMsFaIR.js → index-ZYd4RNU_.js} +1 -1
  103. package/dist/assets/{index-BUiG3mKw.js → index-iIT2_Y_I.js} +1 -1
  104. package/dist/assets/{invitation-GzoS6QSS.js → invitation-Bud5mQS8.js} +2 -2
  105. package/dist/assets/{invite-DDdJj6co.js → invite-BnTsj399.js} +1 -1
  106. package/dist/assets/{isURL-CCV0esLR.js → isURL-BkRG9xZw.js} +2 -2
  107. package/dist/assets/{issue-passport-PUK3HiX7.js → issue-passport-sL6P-Jy0.js} +1 -1
  108. package/dist/assets/{item-DAL9Dho-.js → item-CZxO50cp.js} +1 -1
  109. package/dist/assets/{ja-DEmGhfzG.js → ja-C6gbn0J8.js} +1 -1
  110. package/dist/assets/{ja-c-6MaUg1.js → ja-DaREJWmX.js} +2 -2
  111. package/dist/assets/{ko-CTFi4Ndk.js → ko-DGXdpX64.js} +2 -2
  112. package/dist/assets/{ko-CfYoSPs0.js → ko-av2FKXII.js} +1 -1
  113. package/dist/assets/{landing-page-CL9L_8lE.js → landing-page-Co0EA4cx.js} +1 -1
  114. package/dist/assets/{launch-result-message-DN12F68Q.js → launch-result-message-B0--4ubW.js} +1 -1
  115. package/dist/assets/{layout-CWE2T-JY.js → layout-CiBZwE8j.js} +1 -1
  116. package/dist/assets/list-CgUqi7mZ.js +2 -0
  117. package/dist/assets/list-CoRNWpJL.js +103 -0
  118. package/dist/assets/{list-header-CoFZp82R.js → list-header-DlrmpNef.js} +1 -1
  119. package/dist/assets/localization-DAfm9MKy.js +1 -0
  120. package/dist/assets/{log-CH5xMfwF.js → log-BLtV-mr3.js} +1 -1
  121. package/dist/assets/logger-CsgnUk8i.js +1 -0
  122. package/dist/assets/login-0UJlN7iP.js +1 -0
  123. package/dist/assets/{login-oauth-callback-yy8oOs-S.js → login-oauth-callback-BhX1vXuH.js} +1 -1
  124. package/dist/assets/{logo-uploader-BbYoAyD-.js → logo-uploader-x03Hv0sw.js} +2 -2
  125. package/dist/assets/{lost-passport-CnWY_gqA.js → lost-passport-DuQjRy5y.js} +2 -2
  126. package/dist/assets/{observability-oDc3dKFA.js → observability-3BjnzXRV.js} +1 -1
  127. package/dist/assets/{omit-C2ouGG7F.js → omit-r-0RLWOV.js} +1 -1
  128. package/dist/assets/{open-window-2gqXwgFW.js → open-window-C2521tBf.js} +1 -1
  129. package/dist/assets/{over-due-invoice-payment-D2yclQzx.js → over-due-invoice-payment-CeMW933U.js} +1 -1
  130. package/dist/assets/{overview-B4sE3XPK.js → overview-C-11gh2u.js} +2 -2
  131. package/dist/assets/{page-header-8LlFejLk.js → page-header-DP0csqkR.js} +1 -1
  132. package/dist/assets/passport-item-CBQOM3AQ.js +1 -0
  133. package/dist/assets/{permission-CSIyJtvw.js → permission-BeuMG3nG.js} +1 -1
  134. package/dist/assets/{playground-Dk2enS21.js → playground-BEhnKrD-.js} +1 -1
  135. package/dist/assets/preferences-DvVN_OF0.js +1 -0
  136. package/dist/assets/profile-embed-BdpgwY58.js +1 -0
  137. package/dist/assets/{pt-DTd68aWZ.js → pt-C5SxM_jO.js} +1 -1
  138. package/dist/assets/{pt-QkdDdQuw.js → pt-CIqefLTL.js} +1 -1
  139. package/dist/assets/publish-resource-CERp8nCz.js +1 -0
  140. package/dist/assets/{react-beautiful-dnd.esm-DPZZJVHP.js → react-beautiful-dnd.esm-9QLg1KOC.js} +1 -1
  141. package/dist/assets/{react-stripe.esm-DXXjh9xE.js → react-stripe.esm-DWiCVD55.js} +1 -1
  142. package/dist/assets/{required-B2SKELXR.js → required-BUAaYcMZ.js} +1 -1
  143. package/dist/assets/{ru-swMH4bvc.js → ru-B4h3WudR.js} +1 -1
  144. package/dist/assets/{ru-BHPYrefb.js → ru-BWd-_jpY.js} +1 -1
  145. package/dist/assets/runtime-CC0b3IOS.js +1 -0
  146. package/dist/assets/sanitize-mRppk1lK.js +2 -0
  147. package/dist/assets/sdk-Dfotb8VE.js +1 -0
  148. package/dist/assets/{section-CndbjVtx.js → section-CCfmWVdK.js} +1 -1
  149. package/dist/assets/{security-g0CzShNx.js → security-DAv6SG0v.js} +3 -3
  150. package/dist/assets/session-p360wpOR.js +1 -0
  151. package/dist/assets/{setup-D_impIE6.js → setup-CWKcr-SA.js} +1 -1
  152. package/dist/assets/{shorten-label-Cbu8wo9m.js → shorten-label-DAXPWCI6.js} +1 -1
  153. package/dist/assets/{simple-select-BqhbnnqN.js → simple-select-BHPmFba3.js} +1 -1
  154. package/dist/assets/{spaces-p4zKSeyp.js → spaces-DdStEDKL.js} +1 -1
  155. package/dist/assets/{start-BD7Kr8U-.js → start-gQWc3jOT.js} +1 -1
  156. package/dist/assets/{starting-progress-C6OFR0oi.js → starting-progress-CxdsmebW.js} +1 -1
  157. package/dist/assets/status-jCRFV0de.js +1 -0
  158. package/dist/assets/{step-actions-RYL0A520.js → step-actions-DV76BAlD.js} +1 -1
  159. package/dist/assets/{studio-Bp-XDrgR.js → studio-D9ArZgZT.js} +1 -1
  160. package/dist/assets/{switch-control-XooTt-i6.js → switch-control-Bs2D4JNi.js} +1 -1
  161. package/dist/assets/{table-tips-CgCabdgD.js → table-tips-B1dFVdej.js} +1 -1
  162. package/dist/assets/team-CxJqHuEA.js +146 -0
  163. package/dist/assets/{th-DuqieD90.js → th-BjttL5p9.js} +1 -1
  164. package/dist/assets/{th-Bk3GO_e5.js → th-CRUlNqtq.js} +1 -1
  165. package/dist/assets/traffic-BuZd517Z.js +1 -0
  166. package/dist/assets/{transfer-Z_9W88aQ.js → transfer-Dh7kcNdX.js} +1 -1
  167. package/dist/assets/{unsubscribe-B07Ogw5q.js → unsubscribe-DzDiAt1Q.js} +1 -1
  168. package/dist/assets/{use-app-logo-D_gO-Dio.js → use-app-logo-BiGG8tCg.js} +1 -1
  169. package/dist/assets/{use-mobile-CQ7Tw4aD.js → use-mobile-BW9mTiYC.js} +1 -1
  170. package/dist/assets/{use-mobile-D93Bk2Ru.js → use-mobile-B_fpUHD7.js} +1 -1
  171. package/dist/assets/{use-server-logo-BJM5bxfh.js → use-server-logo-R848M-JH.js} +1 -1
  172. package/dist/assets/{use-window-close-toR_SRTv.js → use-window-close-Dk0lXOqo.js} +1 -1
  173. package/dist/assets/{useAsync-CNAYLnLm.js → useAsync-DkQHu4t4.js} +1 -1
  174. package/dist/assets/{useAsync-DZevTxbv.js → useAsync-DoI7Qt9M.js} +1 -1
  175. package/dist/assets/{useAsyncRetry-6TjWJyO6.js → useAsyncRetry-DNTidBXG.js} +1 -1
  176. package/dist/assets/useLocalStorage-BzRs3x-K.js +1 -0
  177. package/dist/assets/user-center-Gvk90n3A.js +126 -0
  178. package/dist/assets/{user-follower-DWn8bXG-.js → user-follower-D7rNbdJC.js} +1 -1
  179. package/dist/assets/user-sessions-BXusVv21.js +1 -0
  180. package/dist/assets/{util-Bravn321.js → util-BKRDkFNf.js} +1 -1
  181. package/dist/assets/{util-BYg7Nb7Z.js → util-DQbvJ9cJ.js} +1 -1
  182. package/dist/assets/{vendor-arcblock-DEa0A9MF.js → vendor-arcblock-BhtOu00C.js} +144 -141
  183. package/dist/assets/vendor-hooks-BtDnIwBH.js +7 -0
  184. package/dist/assets/{vendor-mui-core-CmD-NPnl.js → vendor-mui-core-BIZOanxj.js} +18 -18
  185. package/dist/assets/{vendor-mui-x--K2rEM1j.js → vendor-mui-x-DWX99wt-.js} +1 -1
  186. package/dist/assets/vendor-utils-CVwaKsP9.js +213 -0
  187. package/dist/assets/{vendor-ux-pYOhjQLA.js → vendor-ux-Cfhaj-oj.js} +13 -13
  188. package/dist/assets/{vi-xPRidQ_j.js → vi-5AzowaJ4.js} +1 -1
  189. package/dist/assets/{vi-42QzvOuM.js → vi-C-IhikR1.js} +1 -1
  190. package/dist/assets/{wait-connect-CgBXxzyb.js → wait-connect-CPHamZhf.js} +1 -1
  191. package/dist/assets/{wizard-BEs2v6uI.js → wizard-DXT-RVCl.js} +1 -1
  192. package/dist/assets/{wizard-components-5FNqoPRf.js → wizard-components-CkjeNOkS.js} +3 -3
  193. package/dist/assets/wrap-locale-DQUa7V1E.js +1 -0
  194. package/dist/assets/{zh-Blu7Gys0.js → zh-1ARDBzTp.js} +1 -1
  195. package/dist/assets/{zh-NsxeedJj.js → zh-BQXiLbg6.js} +1 -1
  196. package/dist/assets/{zh-C-k4DKK-.js → zh-CWvcoHsp.js} +2 -2
  197. package/dist/assets/{zh-tw-BLENKI0o.js → zh-tw-DAvBOrfW.js} +1 -1
  198. package/dist/assets/{zh-tw-Dxa4oubT.js → zh-tw-D_73qm-O.js} +2 -2
  199. package/dist/index.html +6 -6
  200. package/dist/service-worker.js +1 -1
  201. package/package.json +50 -50
  202. package/dist/assets/add-resource-BnQPv53-.js +0 -1
  203. package/dist/assets/api-sewNv0AE.js +0 -1
  204. package/dist/assets/authorize-DtR2q4pL.js +0 -1
  205. package/dist/assets/base32-dGIGRTeZ.js +0 -1
  206. package/dist/assets/bind-account-DKu95GI-.js +0 -1
  207. package/dist/assets/branding-DI8S4rKX.js +0 -1
  208. package/dist/assets/button-D5GaRQPz.js +0 -1
  209. package/dist/assets/confirm-BbY8YGyk.js +0 -7
  210. package/dist/assets/connect-to-QQ3T-HpF.js +0 -1
  211. package/dist/assets/createClass-CDs8uNCX.js +0 -1
  212. package/dist/assets/domains-CMbykSQm.js +0 -1
  213. package/dist/assets/engine-BNoG81bE.js +0 -1
  214. package/dist/assets/gen-access-key-C3uuo9SI.js +0 -1
  215. package/dist/assets/gen-simple-access-key-CX90y0zh.js +0 -1
  216. package/dist/assets/get-safe-url-DKg8JLr1.js +0 -1
  217. package/dist/assets/hdkey-BgsbeAhG.js +0 -62
  218. package/dist/assets/iframe-SCM7rlz3.js +0 -1
  219. package/dist/assets/index-BJbNz5vx.js +0 -1027
  220. package/dist/assets/index-BWAu1pEw.js +0 -1
  221. package/dist/assets/index-CB__aq5L.js +0 -7
  222. package/dist/assets/index-CKOznUni.js +0 -110
  223. package/dist/assets/index-CNvRrWdA.js +0 -1
  224. package/dist/assets/index-DTU7_GN0.js +0 -124
  225. package/dist/assets/index-Qx6e57-u.js +0 -55
  226. package/dist/assets/index-VARWquqH.js +0 -1
  227. package/dist/assets/index-c7w7Lgaw.js +0 -113
  228. package/dist/assets/index-g5_ozUJZ.js +0 -30
  229. package/dist/assets/index-sQzZNoGx.js +0 -271
  230. package/dist/assets/list-B1IF52f7.js +0 -103
  231. package/dist/assets/list-DNkyeHs7.js +0 -4
  232. package/dist/assets/localization-DWmiu7jH.js +0 -1
  233. package/dist/assets/logger-Cror7fb1.js +0 -1
  234. package/dist/assets/login-C0H7ScpD.js +0 -1
  235. package/dist/assets/passport-item-CK1Zj4rm.js +0 -1
  236. package/dist/assets/preferences-BBghzBy7.js +0 -1
  237. package/dist/assets/profile-embed-B2uhPkoV.js +0 -1
  238. package/dist/assets/publish-resource-DhuBgzO7.js +0 -1
  239. package/dist/assets/runtime-B3mVl8w2.js +0 -1
  240. package/dist/assets/sanitize-BwaMGjTb.js +0 -2
  241. package/dist/assets/sdk-B4j47QQf.js +0 -1
  242. package/dist/assets/session-m3orzHBa.js +0 -1
  243. package/dist/assets/status-D1-G3QED.js +0 -1
  244. package/dist/assets/team-B-jk7E5_.js +0 -146
  245. package/dist/assets/traffic-CInL395-.js +0 -1
  246. package/dist/assets/useLocalStorage-CiLfInVV.js +0 -1
  247. package/dist/assets/user-center-DzijYiyQ.js +0 -126
  248. package/dist/assets/user-sessions-CuXtk29w.js +0 -1
  249. package/dist/assets/vendor-hooks-DLNZ8kxG.js +0 -7
  250. package/dist/assets/vendor-utils-DQK0pEML.js +0 -213
  251. package/dist/assets/wrap-locale-B5OsZl6Q.js +0 -1
@@ -1 +0,0 @@
1
- import{r as te,g as Fe}from"./vendor-react-Dvs43sk9.js";import{j as r,ak as j,am as we,T as R,U as De,J as We,Q as Re,bp as He,b6 as ue,bq as pe,a6 as Ve}from"./vendor-mui-core-CmD-NPnl.js";import{$ as Ge,a0 as Ye,T as Ie,a5 as Ze,C as Ce,J as Xe,a6 as Ee,ac as Je}from"./vendor-ux-pYOhjQLA.js";import{a as V,g as me,b as ae,h as Qe,k as Ke}from"./vendor-hooks-DLNZ8kxG.js";import{aY as $e,aZ as ei,a_ as Oe,a$ as ii}from"./index-BJbNz5vx.js";const hi=f=>te.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...f},te.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10C3.25 6.27208 6.27208 3.25 10 3.25C13.7279 3.25 16.75 6.27208 16.75 10C16.75 13.7279 13.7279 16.75 10 16.75C6.27208 16.75 3.25 13.7279 3.25 10ZM10 1.75C5.44365 1.75 1.75 5.44365 1.75 10C1.75 14.5564 5.44365 18.25 10 18.25C14.5563 18.25 18.25 14.5564 18.25 10C18.25 5.44365 14.5563 1.75 10 1.75ZM8.03033 6.96967C7.73744 6.67678 7.26256 6.67678 6.96967 6.96967C6.67678 7.26256 6.67678 7.73744 6.96967 8.03033L11.9697 13.0303C12.2626 13.3232 12.7374 13.3232 13.0303 13.0303C13.3232 12.7374 13.3232 12.2626 13.0303 11.9697L8.03033 6.96967Z"}));var G={exports:{}},oi=G.exports,_e;function ai(){return _e||(_e=1,function(f,x){(function(u,c){var Y="1.0.40",M="",h="?",S="function",z="undefined",P="object",A="string",Z="major",i="model",t="name",e="type",o="vendor",a="version",y="architecture",I="console",s="mobile",p="tablet",k="smarttv",T="wearable",U="embedded",q=500,l="Amazon",b="Apple",E="ASUS",X="BlackBerry",J="Browser",Q="Chrome",Le="Edge",K="Firefox",F="Google",ge="Huawei",re="LG",se="Microsoft",he="Motorola",D="Opera",W="Samsung",fe="Sharp",$="Sony",ne="Xiaomi",le="Zebra",xe="Facebook",ve="Chromium OS",ye="Mac OS",ke=" Browser",Ne=function(w,m){var d={};for(var v in w)m[v]&&m[v].length%2===0?d[v]=m[v].concat(w[v]):d[v]=w[v];return d},ee=function(w){for(var m={},d=0;d<w.length;d++)m[w[d].toUpperCase()]=w[d];return m},Se=function(w,m){return typeof w===A?L(m).indexOf(L(w))!==-1:!1},L=function(w){return w.toLowerCase()},Ue=function(w){return typeof w===A?w.replace(/[^\d\.]/g,M).split(".")[0]:c},ce=function(w,m){if(typeof w===A)return w=w.replace(/^\s\s*/,M),typeof m===z?w:w.substring(0,q)},H=function(w,m){for(var d=0,v,B,O,g,n,_;d<m.length&&!n;){var de=m[d],je=m[d+1];for(v=B=0;v<de.length&&!n&&de[v];)if(n=de[v++].exec(w),n)for(O=0;O<je.length;O++)_=n[++B],g=je[O],typeof g===P&&g.length>0?g.length===2?typeof g[1]==S?this[g[0]]=g[1].call(this,_):this[g[0]]=g[1]:g.length===3?typeof g[1]===S&&!(g[1].exec&&g[1].test)?this[g[0]]=_?g[1].call(this,_,g[2]):c:this[g[0]]=_?_.replace(g[1],g[2]):c:g.length===4&&(this[g[0]]=_?g[3].call(this,_.replace(g[1],g[2])):c):this[g]=_||c;d+=2}},ie=function(w,m){for(var d in m)if(typeof m[d]===P&&m[d].length>0){for(var v=0;v<m[d].length;v++)if(Se(m[d][v],w))return d===h?c:d}else if(Se(m[d],w))return d===h?c:d;return m.hasOwnProperty("*")?m["*"]:w},qe={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Ae={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Te={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[a,[t,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[a,[t,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[t,a],[/opios[\/ ]+([\w\.]+)/i],[a,[t,D+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[a,[t,D+" GX"]],[/\bopr\/([\w\.]+)/i],[a,[t,D]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[a,[t,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[a,[t,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[t,a],[/quark(?:pc)?\/([-\w\.]+)/i],[a,[t,"Quark"]],[/\bddg\/([\w\.]+)/i],[a,[t,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[a,[t,"UC"+J]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[a,[t,"WeChat"]],[/konqueror\/([\w\.]+)/i],[a,[t,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[a,[t,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[a,[t,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[a,[t,"Smart Lenovo "+J]],[/(avast|avg)\/([\w\.]+)/i],[[t,/(.+)/,"$1 Secure "+J],a],[/\bfocus\/([\w\.]+)/i],[a,[t,K+" Focus"]],[/\bopt\/([\w\.]+)/i],[a,[t,D+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[a,[t,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[a,[t,"Dolphin"]],[/coast\/([\w\.]+)/i],[a,[t,D+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[a,[t,"MIUI"+ke]],[/fxios\/([\w\.-]+)/i],[a,[t,K]],[/\bqihoobrowser\/?([\w\.]*)/i],[a,[t,"360"]],[/\b(qq)\/([\w\.]+)/i],[[t,/(.+)/,"$1Browser"],a],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[t,/(.+)/,"$1"+ke],a],[/samsungbrowser\/([\w\.]+)/i],[a,[t,W+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[a,[t,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[t,"Sogou Mobile"],a],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[t,a],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[t],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[a,t],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[t,xe],a],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[t,a],[/\bgsa\/([\w\.]+) .*safari\//i],[a,[t,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[a,[t,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[a,[t,Q+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[t,Q+" WebView"],a],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[a,[t,"Android "+J]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[t,a],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[a,[t,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[a,t],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[t,[a,ie,qe]],[/(webkit|khtml)\/([\w\.]+)/i],[t,a],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[t,"Netscape"],a],[/(wolvic|librewolf)\/([\w\.]+)/i],[t,a],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[a,[t,K+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[t,[a,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[t,[a,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,L]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,M,L]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,L]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[i,[o,W],[e,p]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[i,[o,W],[e,s]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[i,[o,b],[e,s]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[i,[o,b],[e,p]],[/(macintosh);/i],[i,[o,b]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[i,[o,fe],[e,s]],[/(?:honor)([-\w ]+)[;\)]/i],[i,[o,"Honor"],[e,s]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[i,[o,ge],[e,p]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[i,[o,ge],[e,s]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[i,/_/g," "],[o,ne],[e,s]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[i,/_/g," "],[o,ne],[e,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[i,[o,"OPPO"],[e,s]],[/\b(opd2\d{3}a?) bui/i],[i,[o,"OPPO"],[e,p]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[i,[o,"Vivo"],[e,s]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[i,[o,"Realme"],[e,s]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[i,[o,he],[e,s]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[i,[o,he],[e,p]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[i,[o,re],[e,p]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[i,[o,re],[e,s]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[i,[o,"Lenovo"],[e,p]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[i,/_/g," "],[o,"Nokia"],[e,s]],[/(pixel c)\b/i],[i,[o,F],[e,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[i,[o,F],[e,s]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[i,[o,$],[e,s]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[i,"Xperia Tablet"],[o,$],[e,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[i,[o,"OnePlus"],[e,s]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[i,[o,l],[e,p]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[i,/(.+)/g,"Fire Phone $1"],[o,l],[e,s]],[/(playbook);[-\w\),; ]+(rim)/i],[i,o,[e,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[i,[o,X],[e,s]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[i,[o,E],[e,p]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[i,[o,E],[e,s]],[/(nexus 9)/i],[i,[o,"HTC"],[e,p]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[o,[i,/_/g," "],[e,s]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[i,[o,"TCL"],[e,p]],[/(itel) ((\w+))/i],[[o,L],i,[e,ie,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[i,[o,"Acer"],[e,p]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[i,[o,"Meizu"],[e,s]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[i,[o,"Ulefone"],[e,s]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[i,[o,"Energizer"],[e,s]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[i,[o,"Cat"],[e,s]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[i,[o,"Smartfren"],[e,s]],[/droid.+; (a(?:015|06[35]|142p?))/i],[i,[o,"Nothing"],[e,s]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[o,i,[e,s]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[o,i,[e,p]],[/(surface duo)/i],[i,[o,se],[e,p]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[i,[o,"Fairphone"],[e,s]],[/(u304aa)/i],[i,[o,"AT&T"],[e,s]],[/\bsie-(\w*)/i],[i,[o,"Siemens"],[e,s]],[/\b(rct\w+) b/i],[i,[o,"RCA"],[e,p]],[/\b(venue[\d ]{2,7}) b/i],[i,[o,"Dell"],[e,p]],[/\b(q(?:mv|ta)\w+) b/i],[i,[o,"Verizon"],[e,p]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[i,[o,"Barnes & Noble"],[e,p]],[/\b(tm\d{3}\w+) b/i],[i,[o,"NuVision"],[e,p]],[/\b(k88) b/i],[i,[o,"ZTE"],[e,p]],[/\b(nx\d{3}j) b/i],[i,[o,"ZTE"],[e,s]],[/\b(gen\d{3}) b.+49h/i],[i,[o,"Swiss"],[e,s]],[/\b(zur\d{3}) b/i],[i,[o,"Swiss"],[e,p]],[/\b((zeki)?tb.*\b) b/i],[i,[o,"Zeki"],[e,p]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[o,"Dragon Touch"],i,[e,p]],[/\b(ns-?\w{0,9}) b/i],[i,[o,"Insignia"],[e,p]],[/\b((nxa|next)-?\w{0,9}) b/i],[i,[o,"NextBook"],[e,p]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[o,"Voice"],i,[e,s]],[/\b(lvtel\-)?(v1[12]) b/i],[[o,"LvTel"],i,[e,s]],[/\b(ph-1) /i],[i,[o,"Essential"],[e,s]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[i,[o,"Envizen"],[e,p]],[/\b(trio[-\w\. ]+) b/i],[i,[o,"MachSpeed"],[e,p]],[/\btu_(1491) b/i],[i,[o,"Rotor"],[e,p]],[/(shield[\w ]+) b/i],[i,[o,"Nvidia"],[e,p]],[/(sprint) (\w+)/i],[o,i,[e,s]],[/(kin\.[onetw]{3})/i],[[i,/\./g," "],[o,se],[e,s]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[i,[o,le],[e,p]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[i,[o,le],[e,s]],[/smart-tv.+(samsung)/i],[o,[e,k]],[/hbbtv.+maple;(\d+)/i],[[i,/^/,"SmartTV"],[o,W],[e,k]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[o,re],[e,k]],[/(apple) ?tv/i],[o,[i,b+" TV"],[e,k]],[/crkey/i],[[i,Q+"cast"],[o,F],[e,k]],[/droid.+aft(\w+)( bui|\))/i],[i,[o,l],[e,k]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[i,[o,fe],[e,k]],[/(bravia[\w ]+)( bui|\))/i],[i,[o,$],[e,k]],[/(mitv-\w{5}) bui/i],[i,[o,ne],[e,k]],[/Hbbtv.*(technisat) (.*);/i],[o,i,[e,k]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[o,ce],[i,ce],[e,k]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[e,k]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[o,i,[e,I]],[/droid.+; (shield) bui/i],[i,[o,"Nvidia"],[e,I]],[/(playstation [345portablevi]+)/i],[i,[o,$],[e,I]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[i,[o,se],[e,I]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[i,[o,W],[e,T]],[/((pebble))app/i],[o,i,[e,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[i,[o,b],[e,T]],[/droid.+; (glass) \d/i],[i,[o,F],[e,T]],[/droid.+; (wt63?0{2,3})\)/i],[i,[o,le],[e,T]],[/droid.+; (glass) \d/i],[i,[o,F],[e,T]],[/(pico) (4|neo3(?: link|pro)?)/i],[o,i,[e,T]],[/; (quest( \d| pro)?)/i],[i,[o,xe],[e,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[o,[e,U]],[/(aeobc)\b/i],[i,[o,l],[e,U]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[i,[e,s]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[i,[e,p]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[e,p]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[e,s]],[/(android[-\w\. ]{0,9});.+buil/i],[i,[o,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[a,[t,Le+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[t,a],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[a,[t,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[t,a],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[a,t]],os:[[/microsoft (windows) (vista|xp)/i],[t,a],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[t,[a,ie,Ae]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[a,ie,Ae],[t,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[a,/_/g,"."],[t,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[t,ye],[a,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[a,t],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[t,a],[/\(bb(10);/i],[a,[t,X]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[a,[t,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[a,[t,K+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[a,[t,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[a,[t,"watchOS"]],[/crkey\/([\d\.]+)/i],[a,[t,Q+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[t,ve],a],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[t,a],[/(sunos) ?([\w\.\d]*)/i],[[t,"Solaris"],a],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[t,a]]},C=function(w,m){if(typeof w===P&&(m=w,w=c),!(this instanceof C))return new C(w,m).getResult();var d=typeof u!==z&&u.navigator?u.navigator:c,v=w||(d&&d.userAgent?d.userAgent:M),B=d&&d.userAgentData?d.userAgentData:c,O=m?Ne(Te,m):Te,g=d&&d.userAgent==v;return this.getBrowser=function(){var n={};return n[t]=c,n[a]=c,H.call(n,v,O.browser),n[Z]=Ue(n[a]),g&&d&&d.brave&&typeof d.brave.isBrave==S&&(n[t]="Brave"),n},this.getCPU=function(){var n={};return n[y]=c,H.call(n,v,O.cpu),n},this.getDevice=function(){var n={};return n[o]=c,n[i]=c,n[e]=c,H.call(n,v,O.device),g&&!n[e]&&B&&B.mobile&&(n[e]=s),g&&n[i]=="Macintosh"&&d&&typeof d.standalone!==z&&d.maxTouchPoints&&d.maxTouchPoints>2&&(n[i]="iPad",n[e]=p),n},this.getEngine=function(){var n={};return n[t]=c,n[a]=c,H.call(n,v,O.engine),n},this.getOS=function(){var n={};return n[t]=c,n[a]=c,H.call(n,v,O.os),g&&!n[t]&&B&&B.platform&&B.platform!="Unknown"&&(n[t]=B.platform.replace(/chrome os/i,ve).replace(/macos/i,ye)),n},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(n){return v=typeof n===A&&n.length>q?ce(n,q):n,this},this.setUA(v),this};C.VERSION=Y,C.BROWSER=ee([t,a,Z]),C.CPU=ee([y]),C.DEVICE=ee([i,o,e,I,s,k,p,T,U]),C.ENGINE=C.OS=ee([t,a]),f.exports&&(x=f.exports=C),x.UAParser=C;var N=typeof u!==z&&(u.jQuery||u.Zepto);if(N&&!N.ua){var oe=new C;N.ua=oe.getResult(),N.ua.get=function(){return oe.getUA()},N.ua.set=function(w){oe.setUA(w);var m=oe.getResult();for(var d in m)N.ua[d]=m[d]}}})(typeof window=="object"?window:oi)}(G,G.exports)),G.exports}var ti=ai();const be=Fe(ti);function ri({user:f,sessionUser:x}){const u=V(()=>(f?.passports||[])?.find(c=>c.name===x.role),[f?.passports,x?.role]);return r.jsxs(j,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(Ge,{size:40,variant:"circle",shape:"circle",src:x.avatar,did:x.did,sx:{flexShrink:0}}),r.jsxs(j,{sx:{flex:1,overflow:"hidden"},children:[r.jsxs(j,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(we,{title:x.fullName,children:r.jsx(R,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:x.fullName})}),r.jsx(De,{label:u?.title||u?.name||"Guest",size:"small",variant:"outlined",sx:{flexShrink:0,fontWeight:"bold",fontSize:"12px",color:"text.primary",borderColor:"grey.300",backgroundColor:"transparent",textTransform:"capitalize",pr:.5,pl:0,height:"auto"}})]}),r.jsx(we,{title:x.email,children:r.jsx(R,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:x.email})})]})]})}const si={zh:{confirm:"确认",cancel:"取消",visitorId:"设备标识",deviceType:"设备类型",platform:"操作系统",walletOS:"钱包类型",role:"角色",fullname:"姓名",email:"邮箱",avatar:"头像",user:"用户",createdAt:"首次活动时间",updatedAt:"最近活动时间",lastLoginIp:"最近活动地址",actions:"操作",logoutAll:"注销所有{type}会话",logoutAllTips:"不会注销当前会话",logout:"注销",currentSession:"当前会话",unknown:"未知",expired:"已过期",remove:"删除",logoutThisSession:"注销指定会话",logoutThisSessionConfirm:"确定要注销此会话吗?",logoutAllSession:"注销所有{type}会话",logoutAllSessionConfirm:"确定要注销所有{type}会话吗?",online:"活跃"},en:{confirm:"Confirm",cancel:"Cancel",visitorId:"Device ID",deviceType:"Device Type",platform:"Platform",walletOS:"Wallet OS",role:"Role",fullname:"Fullname",email:"Email",avatar:"Avatar",user:"User",createdAt:"First Active Time",updatedAt:"Last Active Time",actions:"Actions",lastLoginIp:"Last Login IP",logoutAll:"Logout all {type} sessions",logoutAllTips:"Will not logout current session",logout:"Logout",currentSession:"Current Session",unknown:"Unknown",expired:"Expired",remove:"Remove",logoutThisSession:"Logout this session",logoutThisSessionConfirm:"Are you sure to logout this session?",logoutAllSession:"Logout all {type} sessions",logoutAllSessionConfirm:"Are you sure to logout all {type} sessions?",online:"Active"}},Me="Reserved IP",ze="ip-region-cache";async function ni(f){const x=`https://ipapi.co/${f}/json/`,u=await(await fetch(x)).json();let c="";return u.error?u.reserved&&(c=Me):c=[u.country_name,u.region,u.city].filter(Boolean).join("/"),c}async function li(f){const x=`https://api.ip.sb/geoip/${f}`,u=await(await fetch(x)).json();let c="";return u.error?u.reserved&&(c=Me):c=[u.country,u.region,u.city].filter(Boolean).join("/"),c}async function ci(f){let x="",u={};try{const c=localStorage.getItem(ze);c&&(u=JSON.parse(c))}catch{u={}}if(u[f])x=u[f];else{try{x=await li(f)}catch{console.warn("Fail to get ip region from ip.sb")}if(!x)try{x=await ni(f)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(x){const c=Object.keys(u);c.length>100&&delete u[c[0]],u[f]&&delete u[f],u[f]=x,localStorage.setItem(ze,JSON.stringify(u))}return x}const Be=f=>new be(f,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[be.BROWSER.NAME,be.BROWSER.VERSION]]}).getResult(),Pe={display:"flex",justifyContent:"flex-end",textAlign:"right"},di=new ii({concurrency:1}),ui=te.memo(({userSession:f,isMobile:x=!1})=>{const u=me({loading:!0,ipRegion:""}),{t:c}=Ie();return te.useEffect(()=>{di.add(async()=>{try{u.ipRegion=await ci(f.lastLoginIp)}finally{u.loading=!1}})},[u,f.lastLoginIp]),r.jsx(j,{...x&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:u.ipRegion?r.jsxs(r.Fragment,{children:[r.jsx(R,{variant:"body2",children:u.ipRegion}),r.jsx(R,{variant:"body2",color:"grey",children:f.lastLoginIp||c("unknown")})]}):r.jsxs(r.Fragment,{children:[r.jsx(R,{children:f.lastLoginIp||c("unknown")}),u.loading?r.jsx(R,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:r.jsx(Ve,{size:12,color:"inherit"})}):null]})})});function fi({user:f,showAction:x=!0,showUser:u=!0,getUserSessions:c,showOffline:Y=!1,showAppPid:M=!1}){const h=me({status:"online",page:1,pageSize:10}),S=me({online:0,expired:0,offline:0}),z=Ye(),{locale:P}=Ie(),A=$e({key:"md"}),Z=We(l=>l.breakpoints.down("lg")),{confirmApi:i,confirmHolder:t}=ei(),e=ae((l,b={})=>Ze(si,l,P,"en",b)),o=ae(async()=>{const l=await c({page:h.page,pageSize:h.pageSize,status:h.status}),b=l?.paging?.total||0;return S[h.status]=b,{total:b,list:l?.list||[]}});Qe(async()=>{const l=await c({page:1,pageSize:1,status:"expired"});S.expired=l?.paging?.total||0;const b=await c({page:1,pageSize:1,status:"offline"});S.offline=b?.paging?.total||0});const a=Ke(o,{refreshDeps:[h.status,h.page,h.pageSize]}),y=V(()=>a.data?.list||[],[a.data?.list]),I=V(()=>{const l=h.status;return l==="online"?S[l]<=1:S[l]===0},[y,z]),s=V(()=>Ce({},A?Pe:{}),[A]),p=ae(({visitorId:l})=>{i.open({title:e("logoutThisSession"),content:e("logoutThisSessionConfirm"),confirmButtonText:e("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:e("cancel"),onConfirm:async()=>{await Oe.user.logout({visitorId:l,includeFederated:!0});const{page:b=0}=h,{list:E=[]}=a.data||{},X=E.length||0;b>1&&X===1&&(h.page=Math.max(b-1,1)),a.refresh(),i.close()}})}),k=ae(()=>{i.open({title:e("logoutAllSession",{type:e(h.status)}),content:e("logoutAllSessionConfirm",{type:e(h.status)}),confirmButtonText:e("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:e("cancel"),onConfirm:async()=>{await Oe.user.logout({status:h.status,visitorId:z,includeFederated:!0}),h.page=1,a.refresh(),i.close()}})}),T=[];x&&T.push(r.jsx(we,{title:e("logoutAllTips",{type:e(h.status)}),children:r.jsx(Re,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:k,disabled:I,children:e("logoutAll",{type:e(h.status)})})},"logoutAll"));const U=V(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:h.page-1,rowsPerPage:h.pageSize,count:a.data?.total||0}),[a.data?.total,h.page,h.pageSize]),q=[{label:e("platform"),name:"platform",options:{customBodyRenderLite:l=>{const b=y[l],E=Be(b?.ua);return r.jsx(j,{sx:s,children:[E.os?.name,E.os?.version].filter(Boolean).join("/")||e("unknown")})}}},{label:e("deviceType"),name:"deviceType",options:{customBodyRenderLite:l=>{const b=y[l],E=Be(b?.ua);return r.jsx(j,{sx:s,children:[E.browser?.name,E.browser?.version].filter(Boolean).join("/")||e("unknown")})}}},{label:e("walletOS"),name:"walletOS",options:{customBodyRenderLite:l=>{const b=y[l];return r.jsx(j,{sx:s,children:b.extra?.walletOS||e("unknown")})}}},M&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:l=>{const b=y[l];return b.appPid?r.jsx(Xe,{size:14,responsive:!1,compact:!0,did:b.appPid}):null}}},u&&{label:e("user"),name:"user",options:{customBodyRenderLite:l=>{const b=y[l];return r.jsx(j,{sx:Ce({minWidth:150,maxWidth:250},A?Pe:{}),children:r.jsx(ri,{sessionUser:b.user,user:f})})}}},{label:e("createdAt"),name:"createdAt",options:{customBodyRenderLite:l=>{const b=y[l];return r.jsx(j,{sx:s,children:b.createdAt?r.jsx(Ee,{value:b.createdAt,relativeRange:3*86400*1e3,locale:P}):e("unknown")})}}},!Y&&{label:e("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:l=>{const b=y[l];return r.jsx(j,{sx:s,children:b.status==="expired"?e("expired"):r.jsx(Ee,{value:b.updatedAt,relativeRange:3*86400*1e3,locale:P})})}}},{label:e("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:l=>{const b=y[l];return r.jsx(ui,{userSession:b,isMobile:A})}}},x&&{label:e("actions"),name:"actions",options:{customBodyRenderLite:l=>{const b=y[l];return r.jsx(j,{sx:s,children:r.jsx(Re,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:z===b.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>p({visitorId:b.visitorId}),children:b.status==="expired"?e("remove"):z===b.visitorId?e("currentSession"):e("logout")})})}}}].filter(Boolean);return r.jsxs(j,{className:"pc-user-sessions",sx:{maxWidth:A?"unset":Z?"calc(100vw - 300px)":"100%",...A&&{".pc-user-sessions-table > div:nth-child(2)":{border:"1px solid",borderColor:"divider",borderRadius:1}},".MuiTableCell-head":{whiteSpace:"nowrap",fontWeight:"bold"},".MuiTableRow-root":{border:"unset","&:nth-child(even)":{backgroundColor:"grey.50","&:hover":{backgroundColor:l=>`${l.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...A&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[t,r.jsx(Je,{count:a.data?.total||0,locale:P,data:y,columns:q,customButtons:T,options:U,loading:a.loading,className:"pc-user-sessions-table",title:r.jsxs(He,{row:!0,sx:{lineHeight:1,ml:1},onChange:l=>{h.status=l.target.value},children:[r.jsx(ue,{value:"online",control:r.jsx(pe,{size:"small",sx:{lineHeight:1,fontSize:0},checked:h.status==="online"}),label:r.jsxs(R,{sx:{display:"flex",alignItems:"center"},children:[e("online"),r.jsxs(R,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",S.online,")"]})]})}),r.jsx(ue,{value:"expired",control:r.jsx(pe,{size:"small",sx:{lineHeight:1,fontSize:0},checked:h.status==="expired"}),label:r.jsxs(R,{sx:{display:"flex",alignItems:"center"},children:[e("expired"),r.jsxs(R,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",S.expired,")"]})]})}),Y?r.jsx(ue,{value:"offline",control:r.jsx(pe,{size:"small",sx:{lineHeight:1,fontSize:0},checked:h.status==="offline"}),label:r.jsxs(R,{sx:{display:"flex",alignItems:"center"},children:[e("offline"),r.jsxs(R,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",S.offline,")"]})]})}):null]}),onChange:l=>{h.page=l.page+1,h.pageSize=l.rowsPerPage}})]})}export{hi as C,fi as P,be as U};
@@ -1,7 +0,0 @@
1
- import{g as se,r as y,e as Mt}from"./vendor-react-Dvs43sk9.js";import{r as At,d as Ue,t as ke,g as B,i as Dt}from"./vendor-utils-DQK0pEML.js";var he={exports:{}};/*!
2
- * JavaScript Cookie v2.2.1
3
- * https://github.com/js-cookie/js-cookie
4
- *
5
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6
- * Released under the MIT license
7
- */var Ae;function Pt(){return Ae||(Ae=1,function(e,t){(function(r){var n;if(e.exports=r(),n=!0,!n){var i=window.Cookies,o=window.Cookies=r();o.noConflict=function(){return window.Cookies=i,o}}})(function(){function r(){for(var o=0,a={};o<arguments.length;o++){var u=arguments[o];for(var s in u)a[s]=u[s]}return a}function n(o){return o.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(o){function a(){}function u(c,h,d){if(!(typeof document>"u")){d=r({path:"/"},a.defaults,d),typeof d.expires=="number"&&(d.expires=new Date(new Date*1+d.expires*864e5)),d.expires=d.expires?d.expires.toUTCString():"";try{var m=JSON.stringify(h);/^[\{\[]/.test(m)&&(h=m)}catch{}h=o.write?o.write(h,c):encodeURIComponent(String(h)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var p="";for(var g in d)d[g]&&(p+="; "+g,d[g]!==!0&&(p+="="+d[g].split(";")[0]));return document.cookie=c+"="+h+p}}function s(c,h){if(!(typeof document>"u")){for(var d={},m=document.cookie?document.cookie.split("; "):[],p=0;p<m.length;p++){var g=m[p].split("="),b=g.slice(1).join("=");!h&&b.charAt(0)==='"'&&(b=b.slice(1,-1));try{var E=n(g[0]);if(b=(o.read||o)(b,E)||n(b),h)try{b=JSON.parse(b)}catch{}if(d[E]=b,c===E)break}catch{}}return c?d[c]:d}}return a.set=u,a.get=function(c){return s(c,!1)},a.getJSON=function(c){return s(c,!0)},a.remove=function(c,h){u(c,"",r(h,{expires:-1}))},a.defaults={},a.withConverter=i,a}return i(function(){})})}(he)),he.exports}var jt=Pt();const nn=se(jt);var It=At();const Lt=se(It);var Ft=function(e){return function(t,r){var n=y.useRef(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(!n.current)n.current=!0;else return t()},r)}},we=function(e,t){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},we(e,t)};function Ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");we(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var M=function(){return M=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},M.apply(this,arguments)};function Q(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Ge(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function Ke(e,t){return function(r,n){t(r,n,e)}}function $e(e,t,r,n,i,o){function a(C){if(C!==void 0&&typeof C!="function")throw new TypeError("Function expected");return C}for(var u=n.kind,s=u==="getter"?"get":u==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,h=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),d,m=!1,p=r.length-1;p>=0;p--){var g={};for(var b in n)g[b]=b==="access"?{}:n[b];for(var b in n.access)g.access[b]=n.access[b];g.addInitializer=function(C){if(m)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(C||null))};var E=(0,r[p])(u==="accessor"?{get:h.get,set:h.set}:h[s],g);if(u==="accessor"){if(E===void 0)continue;if(E===null||typeof E!="object")throw new TypeError("Object expected");(d=a(E.get))&&(h.get=d),(d=a(E.set))&&(h.set=d),(d=a(E.init))&&i.unshift(d)}else(d=a(E))&&(u==="field"?i.unshift(d):h[s]=d)}c&&Object.defineProperty(c,n.name,h),m=!0}function Je(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function Ye(e){return typeof e=="symbol"?e:"".concat(e)}function Xe(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ze(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function ee(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function u(h){try{c(n.next(h))}catch(d){a(d)}}function s(h){try{c(n.throw(h))}catch(d){a(d)}}function c(h){h.done?o(h.value):i(h.value).then(u,s)}c((n=n.apply(e,t||[])).next())})}function te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1],o=c;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(c);break}o[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(h){c=[6,h],i=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ce=Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};function Qe(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&ce(t,e,r)}function N(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(u){a={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function et(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e}function oe(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)n[i]=o[a];return n}function x(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function G(e){return this instanceof G?(this.v=e,this):new G(e)}function tt(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(g){return Promise.resolve(g).then(p,d)}}function u(p,g){n[p]&&(i[p]=function(b){return new Promise(function(E,C){o.push([p,b,E,C])>1||s(p,b)})},g&&(i[p]=g(i[p])))}function s(p,g){try{c(n[p](g))}catch(b){m(o[0][3],b)}}function c(p){p.value instanceof G?Promise.resolve(p.value.v).then(h,d):m(o[0][2],p)}function h(p){s("next",p)}function d(p){s("throw",p)}function m(p,g){p(g),o.shift(),o.length&&s(o[0][0],o[0][1])}}function rt(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(a){return(r=!r)?{value:G(e[i](a)),done:!1}:o?o(a):a}:o}}function nt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof N=="function"?N(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(a){return new Promise(function(u,s){a=e[o](a),i(u,s,a.done,a.value)})}}function i(o,a,u,s){Promise.resolve(s).then(function(c){o({value:c,done:u})},a)}}function it(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Bt=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},_e=function(e){return _e=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},_e(e)};function ot(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=_e(e),n=0;n<r.length;n++)r[n]!=="default"&&ce(t,e,r[n]);return Bt(t,e),t}function at(e){return e&&e.__esModule?e:{default:e}}function ut(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function st(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function ct(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function ft(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var zt=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function lt(e){function t(o){e.error=e.hasError?new zt(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(a){return t(a),i()})}else n|=1}catch(a){t(a)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function dt(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,a){return n?t?".jsx":".js":i&&(!o||!a)?r:i+o+"."+a.toLowerCase()+"js"}):e}const Ht={__extends:Ve,__assign:M,__rest:Q,__decorate:Ge,__param:Ke,__esDecorate:$e,__runInitializers:Je,__propKey:Ye,__setFunctionName:Xe,__metadata:Ze,__awaiter:ee,__generator:te,__createBinding:ce,__exportStar:Qe,__values:N,__read:O,__spread:et,__spreadArrays:oe,__spreadArray:x,__await:G,__asyncGenerator:tt,__asyncDelegator:rt,__asyncValues:nt,__makeTemplateObject:it,__importStar:ot,__importDefault:at,__classPrivateFieldGet:ut,__classPrivateFieldSet:st,__classPrivateFieldIn:ct,__addDisposableResource:ft,__disposeResources:lt,__rewriteRelativeImportExtension:dt},Nt=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:ft,get __assign(){return M},__asyncDelegator:rt,__asyncGenerator:tt,__asyncValues:nt,__await:G,__awaiter:ee,__classPrivateFieldGet:ut,__classPrivateFieldIn:ct,__classPrivateFieldSet:st,__createBinding:ce,__decorate:Ge,__disposeResources:lt,__esDecorate:$e,__exportStar:Qe,__extends:Ve,__generator:te,__importDefault:at,__importStar:ot,__makeTemplateObject:it,__metadata:Ze,__param:Ke,__propKey:Ye,__read:O,__rest:Q,__rewriteRelativeImportExtension:dt,__runInitializers:Je,__setFunctionName:Xe,__spread:et,__spreadArray:x,__spreadArrays:oe,__values:N,default:Ht},Symbol.toStringTag,{value:"Module"}));var U=function(e){return typeof e=="function"},Wt=function(e){return typeof e=="string"},fe=function(e){return typeof e=="number"},qt=function(e){return typeof e>"u"};function L(e){var t=y.useRef(e);t.current=y.useMemo(function(){return e},[e]);var r=y.useRef(void 0);return r.current||(r.current=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.current.apply(this,n)}),r.current}const Z=Ft(y.useEffect);var vt=function(e,t){var r=t.manual,n=t.ready,i=n===void 0?!0:n,o=t.defaultParams,a=o===void 0?[]:o,u=t.refreshDeps,s=u===void 0?[]:u,c=t.refreshDepsAction,h=y.useRef(!1);return h.current=!1,Z(function(){!r&&i&&(h.current=!0,e.run.apply(e,x([],O(a),!1)))},[i]),Z(function(){h.current||r||(h.current=!0,c?c():e.refresh())},x([],O(s),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};vt.onInit=function(e){var t=e.ready,r=t===void 0?!0:t,n=e.manual;return{loading:!n&&r}};function Ee(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}var Te=function(e,t){var r=y.useRef({deps:t,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!Ee(r.deps,t))&&(r.deps=t,r.obj=e(),r.initialized=!0),r.obj};function z(e){var t=y.useRef(e);return t.current=e,t}var k=function(e){var t=z(e);y.useEffect(function(){return function(){t.current()}},[])},ne=new Map,Ut=function(e,t,r){var n=ne.get(e);n?.timer&&clearTimeout(n.timer);var i=void 0;t>-1&&(i=setTimeout(function(){ne.delete(e)},t)),ne.set(e,M(M({},r),{timer:i}))},kt=function(e){return ne.get(e)},ie=new Map,Vt=function(e){return ie.get(e)},Gt=function(e,t){ie.set(e,t),t.then(function(r){return ie.delete(e),r}).catch(function(){ie.delete(e)})},q={},Kt=function(e,t){q[e]&&q[e].forEach(function(r){return r(t)})},pe=function(e,t){return q[e]||(q[e]=[]),q[e].push(t),function(){var n=q[e].indexOf(t);q[e].splice(n,1)}},$t=function(e,t){var r=t.cacheKey,n=t.cacheTime,i=n===void 0?5*60*1e3:n,o=t.staleTime,a=o===void 0?0:o,u=t.setCache,s=t.getCache,c=y.useRef(void 0),h=y.useRef(void 0),d=function(p,g){u?u(g):Ut(p,i,g),Kt(p,g.data)},m=function(p,g){return g===void 0&&(g=[]),s?s(g):kt(p)};return Te(function(){if(r){var p=m(r);p&&Object.hasOwnProperty.call(p,"data")&&(e.state.data=p.data,e.state.params=p.params,(a===-1||Date.now()-p.time<=a)&&(e.state.loading=!1)),c.current=pe(r,function(g){e.setState({data:g})})}},[]),k(function(){var p;(p=c.current)===null||p===void 0||p.call(c)}),r?{onBefore:function(p){var g=m(r,p);return!g||!Object.hasOwnProperty.call(g,"data")?{}:a===-1||Date.now()-g.time<=a?{loading:!1,data:g?.data,error:void 0,returnNow:!0}:{data:g?.data,error:void 0}},onRequest:function(p,g){var b=Vt(r);return b&&b!==h.current?{servicePromise:b}:(b=p.apply(void 0,x([],O(g),!1)),h.current=b,Gt(r,b),{servicePromise:b})},onSuccess:function(p,g){var b;r&&((b=c.current)===null||b===void 0||b.call(c),d(r,{data:p,params:g,time:Date.now()}),c.current=pe(r,function(E){e.setState({data:E})}))},onMutate:function(p){var g;r&&((g=c.current)===null||g===void 0||g.call(c),d(r,{data:p,params:e.state.params,time:Date.now()}),c.current=pe(r,function(b){e.setState({data:b})}))}}:{}},Jt=function(e,t){var r=t.debounceWait,n=t.debounceLeading,i=t.debounceTrailing,o=t.debounceMaxWait,a=y.useRef(void 0),u=y.useMemo(function(){var s={};return n!==void 0&&(s.leading=n),i!==void 0&&(s.trailing=i),o!==void 0&&(s.maxWait=o),s},[n,i,o]);return y.useEffect(function(){if(r){var s=e.runAsync.bind(e);return a.current=Ue(function(c){c()},r,u),e.runAsync=function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];return new Promise(function(d,m){var p;(p=a.current)===null||p===void 0||p.call(a,function(){s.apply(void 0,x([],O(c),!1)).then(d).catch(m)})})},function(){var c;(c=a.current)===null||c===void 0||c.cancel(),e.runAsync=s}}},[r,u]),r?{onCancel:function(){var s;(s=a.current)===null||s===void 0||s.cancel()}}:{}},Yt=function(e,t){var r=t.loadingDelay,n=t.ready,i=y.useRef(void 0);if(!r)return{};var o=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return o(),n!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){o()},onCancel:function(){o()}}},W=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ce(){return W?document.visibilityState!=="hidden":!0}var Y=[];function Xt(e){return Y.push(e),function(){var r=Y.indexOf(e);Y.splice(r,1)}}if(W){var Zt=function(){if(Ce())for(var e=0;e<Y.length;e++){var t=Y[e];t()}};window.addEventListener("visibilitychange",Zt,!1)}var Qt=function(e,t){var r=t.pollingInterval,n=t.pollingWhenHidden,i=n===void 0?!0:n,o=t.pollingErrorRetryCount,a=o===void 0?-1:o,u=y.useRef(void 0),s=y.useRef(void 0),c=y.useRef(0),h=function(){var d;u.current&&clearTimeout(u.current),(d=s.current)===null||d===void 0||d.call(s)};return Z(function(){r||h()},[r]),r?{onBefore:function(){h()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){a===-1||a!==-1&&c.current<=a?u.current=setTimeout(function(){!i&&!Ce()?s.current=Xt(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){h()}}:{}};function er(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r||(r=!0,e.apply(void 0,x([],O(n),!1)),setTimeout(function(){r=!1},t))}}var tr=function(){return W&&typeof navigator.onLine<"u"?navigator.onLine:!0},X=[];function rr(e){return X.push(e),function(){var r=X.indexOf(e);r>-1&&X.splice(r,1)}}if(W){var De=function(){if(!(!Ce()||!tr()))for(var e=0;e<X.length;e++){var t=X[e];t()}};window.addEventListener("visibilitychange",De,!1),window.addEventListener("focus",De,!1)}var nr=function(e,t){var r=t.refreshOnWindowFocus,n=t.focusTimespan,i=n===void 0?5e3:n,o=y.useRef(void 0),a=function(){var u;(u=o.current)===null||u===void 0||u.call(o)};return y.useEffect(function(){if(r){var u=er(e.refresh.bind(e),i);o.current=rr(function(){u()})}return function(){a()}},[r,i]),k(function(){a()}),{}},ir=function(e,t){var r=t.retryInterval,n=t.retryCount,i=y.useRef(void 0),o=y.useRef(0),a=y.useRef(!1);return n?{onBefore:function(){a.current||(o.current=0),a.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){o.current=0},onError:function(){if(o.current+=1,n===-1||o.current<=n){var u=r??Math.min(1e3*Math.pow(2,o.current),3e4);i.current=setTimeout(function(){a.current=!0,e.refresh()},u)}else o.current=0},onCancel:function(){o.current=0,i.current&&clearTimeout(i.current)}}:{}},or=function(e,t){var r=t.throttleWait,n=t.throttleLeading,i=t.throttleTrailing,o=y.useRef(void 0),a={};return n!==void 0&&(a.leading=n),i!==void 0&&(a.trailing=i),y.useEffect(function(){if(r){var u=e.runAsync.bind(e);return o.current=ke(function(s){s()},r,a),e.runAsync=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return new Promise(function(h,d){var m;(m=o.current)===null||m===void 0||m.call(o,function(){u.apply(void 0,x([],O(s),!1)).then(h).catch(d)})})},function(){var s;e.runAsync=u,(s=o.current)===null||s===void 0||s.cancel()}}},[r,n,i]),r?{onCancel:function(){var u;(u=o.current)===null||u===void 0||u.cancel()}}:{}},ar=function(e){y.useEffect(function(){e?.()},[])},ht=function(){var e=O(y.useState({}),2),t=e[1];return y.useCallback(function(){return t({})},[])},ur=function(){function e(t,r,n,i){i===void 0&&(i={}),this.serviceRef=t,this.options=r,this.subscribe=n,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=M(M(M({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(t){t===void 0&&(t={}),this.state=M(M({},this.state),t),this.subscribe()},e.prototype.runPluginHandler=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=this.pluginImpls.map(function(o){var a;return(a=o[t])===null||a===void 0?void 0:a.call.apply(a,x([o],O(r),!1))}).filter(Boolean);return Object.assign.apply(Object,x([{}],O(i),!1))},e.prototype.runAsync=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ee(this,void 0,void 0,function(){var n,i,o,a,u,s,c,h,d,m,p,g,b,E,C,R,f,l,v,w,_;return te(this,function(S){switch(S.label){case 0:if(this.count+=1,n=this.count,i=this.runPluginHandler("onBefore",t),o=i.stopNow,a=o===void 0?!1:o,u=i.returnNow,s=u===void 0?!1:u,c=Q(i,["stopNow","returnNow"]),a)return[2,new Promise(function(){})];if(this.setState(M({loading:!0,params:t},c)),s)return[2,Promise.resolve(c.data)];(b=(g=this.options).onBefore)===null||b===void 0||b.call(g,t),S.label=1;case 1:return S.trys.push([1,3,,4]),h=this.runPluginHandler("onRequest",this.serviceRef.current,t).servicePromise,h||(h=(p=this.serviceRef).current.apply(p,x([],O(t),!1))),[4,h];case 2:return d=S.sent(),n!==this.count?[2,new Promise(function(){})]:(this.setState({data:d,error:void 0,loading:!1}),(C=(E=this.options).onSuccess)===null||C===void 0||C.call(E,d,t),this.runPluginHandler("onSuccess",d,t),(f=(R=this.options).onFinally)===null||f===void 0||f.call(R,t,d,void 0),n===this.count&&this.runPluginHandler("onFinally",t,d,void 0),[2,d]);case 3:if(m=S.sent(),n!==this.count)return[2,new Promise(function(){})];throw this.setState({error:m,loading:!1}),(v=(l=this.options).onError)===null||v===void 0||v.call(l,m,t),this.runPluginHandler("onError",m,t),(_=(w=this.options).onFinally)===null||_===void 0||_.call(w,t,void 0,m),n===this.count&&this.runPluginHandler("onFinally",t,void 0,m),m;case 4:return[2]}})})},e.prototype.run=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.runAsync.apply(this,x([],O(r),!1)).catch(function(i){t.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,x([],O(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,x([],O(this.state.params||[]),!1))},e.prototype.mutate=function(t){var r=U(t)?t(this.state.data):t;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function sr(e,t,r){t===void 0&&(t={}),r===void 0&&(r=[]);var n=t.manual,i=n===void 0?!1:n,o=t.ready,a=o===void 0?!0:o,u=Q(t,["manual","ready"]),s=M({manual:i,ready:a},u),c=z(e),h=ht(),d=Te(function(){var m=r.map(function(p){var g;return(g=p?.onInit)===null||g===void 0?void 0:g.call(p,s)}).filter(Boolean);return new ur(c,s,h,Object.assign.apply(Object,x([{}],O(m),!1)))},[]);return d.options=s,d.pluginImpls=r.map(function(m){return m(d,s)}),ar(function(){if(!i&&a){var m=d.state.params||t.defaultParams||[];d.run.apply(d,x([],O(m),!1))}}),k(function(){d.cancel()}),{loading:d.state.loading,data:d.state.data,error:d.state.error,params:d.state.params||[],cancel:L(d.cancel.bind(d)),refresh:L(d.refresh.bind(d)),refreshAsync:L(d.refreshAsync.bind(d)),run:L(d.run.bind(d)),runAsync:L(d.runAsync.bind(d)),mutate:L(d.mutate.bind(d))}}function cr(e,t,r){return sr(e,t,x(x([],O([]),!1),[Jt,Yt,Qt,nr,or,vt,$t,ir],!1))}function fr(e){return U(e[Symbol.asyncIterator])}function on(e,t){y.useEffect(function(){var r=e(),n=!1;function i(){return ee(this,void 0,void 0,function(){var o;return te(this,function(a){switch(a.label){case 0:if(!fr(r))return[3,4];a.label=1;case 1:return[4,r.next()];case 2:return o=a.sent(),o.done||n?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,r];case 5:a.sent(),a.label=6;case 6:return[2]}})})}return i(),function(){n=!0}},t)}function lr(e,t){var r=O(y.useState(e),2),n=r[0],i=r[1],o=y.useMemo(function(){var a=!e,u=function(){return i(function(d){return d===e?a:e})},s=function(d){return i(d)},c=function(){return i(e)},h=function(){return i(a)};return{toggle:u,set:s,setLeft:c,setRight:h}},[]);return[n,o]}function an(e){var t=O(lr(!1),2),r=t[0],n=t[1],i=n.toggle,o=n.set,a=y.useMemo(function(){var u=function(){return o(!0)},s=function(){return o(!1)};return{toggle:i,set:function(c){return o(!!c)},setTrue:u,setFalse:s}},[]);return[r,a]}function H(e,t){if(W){if(!e)return t;var r;return U(e)?r=e():"current"in e?r=e.current:r=e,r}}var pt=function(e){var t=function(r,n,i){var o=y.useRef(!1),a=y.useRef([]),u=y.useRef([]),s=y.useRef(void 0);e(function(){var c,h=Array.isArray(i)?i:[i],d=h.map(function(m){return H(m)});if(!o.current){o.current=!0,a.current=d,u.current=n,s.current=r();return}(d.length!==a.current.length||!Ee(a.current,d)||!Ee(u.current,n))&&((c=s.current)===null||c===void 0||c.call(s),a.current=d,u.current=n,s.current=r())}),k(function(){var c;(c=s.current)===null||c===void 0||c.call(s),o.current=!1})};return t},le=pt(y.useEffect),me=function(e){if(!e)return 0;var t=Lt(e).valueOf()-Date.now();return t<0?0:t},dr=function(e){return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5)%24,minutes:Math.floor(e/6e4)%60,seconds:Math.floor(e/1e3)%60,milliseconds:Math.floor(e)%1e3}},un=function(e){e===void 0&&(e={});var t=e||{},r=t.leftTime,n=t.targetDate,i=t.interval,o=i===void 0?1e3:i,a=t.onEnd,u=y.useMemo(function(){return fe(r)&&r>0?Date.now()+r:void 0},[r]),s="leftTime"in e?u:n,c=O(y.useState(function(){return me(s)}),2),h=c[0],d=c[1],m=z(a);y.useEffect(function(){if(!s){d(0);return}d(me(s));var g=setInterval(function(){var b,E=me(s);d(E),E===0&&(clearInterval(g),(b=m.current)===null||b===void 0||b.call(m))},o);return function(){return clearInterval(g)}},[s,o]);var p=y.useMemo(function(){return dr(h)},[h]);return[h,p]};function vr(){var e=(typeof B>"u"?"undefined":typeof B)=="object"&&B&&B.Object===Object&&B,t=typeof self=="object"&&self&&self.Object===Object&&self;return e||t}vr()||(B.Date=Date);function hr(e,t){var r,n=z(e),i=(r=t?.wait)!==null&&r!==void 0?r:1e3,o=y.useMemo(function(){return Ue(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return n.current.apply(n,x([],O(a),!1))},i,t)},[]);return k(function(){o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function sn(e,t){var r=O(y.useState(e),2),n=r[0],i=r[1],o=hr(function(){i(e)},t).run;return y.useEffect(function(){o()},[e]),n}var ge,Pe;function pr(){if(Pe)return ge;Pe=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){if(o.constructor!==a.constructor)return!1;var u,s,c;if(Array.isArray(o)){if(u=o.length,u!=a.length)return!1;for(s=u;s--!==0;)if(!i(o[s],a[s]))return!1;return!0}var h;if(t&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(h=o.entries();!(s=h.next()).done;)if(!a.has(s.value[0]))return!1;for(h=o.entries();!(s=h.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(h=o.entries();!(s=h.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if(u=o.length,u!=a.length)return!1;for(s=u;s--!==0;)if(o[s]!==a[s])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&typeof o.valueOf=="function"&&typeof a.valueOf=="function")return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&typeof o.toString=="function"&&typeof a.toString=="function")return o.toString()===a.toString();if(c=Object.keys(o),u=c.length,u!==Object.keys(a).length)return!1;for(s=u;s--!==0;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(e&&o instanceof Element)return!1;for(s=u;s--!==0;)if(!((c[s]==="_owner"||c[s]==="__v"||c[s]==="__o")&&o.$$typeof)&&!i(o[c[s]],a[c[s]]))return!1;return!0}return o!==o&&a!==a}return ge=function(a,u){try{return i(a,u)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}},ge}var mr=pr();const gr=se(mr);var mt=function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=[]),gr(e,t)},yr=function(e){return function(t,r){var n=y.useRef(void 0),i=y.useRef(0);(r===void 0||!mt(r,n.current))&&(i.current+=1),n.current=r,e(t,[i.current])}};const cn=yr(y.useEffect);function Re(e,t,r){r===void 0&&(r={});var n=r.enable,i=n===void 0?!0:n,o=z(t);le(function(){if(i){var a=H(r.target,window);if(a?.addEventListener){var u=function(c){return o.current(c)},s=Array.isArray(e)?e:[e];return s.forEach(function(c){a.addEventListener(c,u,{capture:r.capture,once:r.once,passive:r.passive})}),function(){s.forEach(function(c){a.removeEventListener(c,u,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,i],r.target)}function fn(e){var t=O(y.useState(e),2),r=t[0],n=t[1],i=z(r),o=y.useCallback(function(){return i.current},[]);return[r,n,o]}var br=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},je=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},wr=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},ln=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,o=i===void 0?100:i,a=t.direction,u=a===void 0?"bottom":a,s=t.reloadDeps,c=s===void 0?[]:s,h=t.manual,d=t.onBefore,m=t.onSuccess,p=t.onError,g=t.onFinally,b=O(y.useState(),2),E=b[0],C=b[1],R=O(y.useState(!1),2),f=R[0],l=R[1],v=u==="top",w=y.useRef(void 0),_=y.useRef(0),S=y.useMemo(function(){return n?n(E):!1},[E]),T=cr(function(j){return ee(void 0,void 0,void 0,function(){var D,I,V,J;return te(this,function(Me){switch(Me.label){case 0:return[4,e(j)];case 1:return D=Me.sent(),C(j?M(M({},D),{list:v?x(x([],O(D.list),!1),O((V=j.list)!==null&&V!==void 0?V:[]),!1):x(x([],O((J=j.list)!==null&&J!==void 0?J:[]),!1),O(D.list),!1)}):M(M({},D),{list:x([],O((I=D.list)!==null&&I!==void 0?I:[]),!1)})),[2,D]}})})},{manual:h,onFinally:function(j,D,I){l(!1),g?.(D,I)},onBefore:function(){return d?.()},onSuccess:function(j){setTimeout(function(){if(v){var D=H(r);if(D=D===document?document.documentElement:D,D){var I=je(D);D.scrollTo(0,I-_.current)}}else xe()}),m?.(j)},onError:function(j){return p?.(j)}}),A=T.loading,P=T.error,F=T.run,$=T.runAsync,re=T.cancel,ve=L(function(){S||(l(!0),F(E))}),Tt=L(function(){return S?Promise.reject():(l(!0),$(E))}),Ct=function(){return l(!1),F()},xt=function(){return l(!1),$()},xe=function(){var j=H(r);if(j){var D=j===document?document.documentElement:j,I=br(D),V=je(D),J=wr(D);v?(w.current!==void 0&&w.current>I&&I<=o&&ve(),w.current=I,_.current=V-I):V-I<=J+o&&ve()}};return Re("scroll",function(){A||f||xe()},{target:r}),Z(function(){F()},x([],O(c),!1)),{data:E,loading:!f&&A,error:P,loadingMore:f,noMore:S,loadMore:ve,loadMoreAsync:Tt,reload:L(Ct),reloadAsync:L(xt),mutate:C,cancel:re}},dn=function(e,t,r){r===void 0&&(r={});var n=L(e),i=y.useRef(null),o=y.useCallback(function(){i.current&&clearInterval(i.current)},[]);return y.useEffect(function(){if(!(!fe(t)||t<0))return r.immediate&&n(),i.current=setInterval(n,t),o},[t,r.immediate]),o},Ie={},Le;function _r(){return Le||(Le=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch{return null}}var t=function(f){for(var l=f,v=e(l);v;)l=v.ownerDocument,v=e(l);return l}(window.document),r=[],n=null,i=null;function o(f){this.time=f.time,this.target=f.target,this.rootBounds=g(f.rootBounds),this.boundingClientRect=g(f.boundingClientRect),this.intersectionRect=g(f.intersectionRect||p()),this.isIntersecting=!!f.intersectionRect;var l=this.boundingClientRect,v=l.width*l.height,w=this.intersectionRect,_=w.width*w.height;v?this.intersectionRatio=Number((_/v).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function a(f,l){var v=l||{};if(typeof f!="function")throw new Error("callback must be a function");if(v.root&&v.root.nodeType!=1&&v.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=s(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(v.rootMargin),this.thresholds=this._initThresholds(v.threshold),this.root=v.root||null,this.rootMargin=this._rootMarginValues.map(function(w){return w.value+w.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(f,l){!f||!l?i=p():i=b(f,l),r.forEach(function(v){v._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,i=null},a.prototype.observe=function(f){var l=this._observationTargets.some(function(v){return v.element==f});if(!l){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(l){return l.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},a.prototype._initThresholds=function(f){var l=f||[0];return Array.isArray(l)||(l=[l]),l.sort().filter(function(v,w,_){if(typeof v!="number"||isNaN(v)||v<0||v>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return v!==_[w-1]})},a.prototype._parseRootMargin=function(f){var l=f||"0px",v=l.split(/\s+/).map(function(w){var _=/^(-?\d*\.?\d+)(px|%)$/.exec(w);if(!_)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(_[1]),unit:_[2]}});return v[1]=v[1]||v[0],v[2]=v[2]||v[0],v[3]=v[3]||v[1],v},a.prototype._monitorIntersections=function(f){var l=f.defaultView;if(l&&this._monitoringDocuments.indexOf(f)==-1){var v=this._checkForIntersections,w=null,_=null;this.POLL_INTERVAL?w=l.setInterval(v,this.POLL_INTERVAL):(c(l,"resize",v,!0),c(f,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in l&&(_=new l.MutationObserver(v),_.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var A=f.defaultView;A&&(w&&A.clearInterval(w),h(A,"resize",v,!0)),h(f,"scroll",v,!0),_&&_.disconnect()});var S=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=S){var T=e(f);T&&this._monitorIntersections(T.ownerDocument)}}},a.prototype._unmonitorIntersections=function(f){var l=this._monitoringDocuments.indexOf(f);if(l!=-1){var v=this.root&&(this.root.ownerDocument||this.root)||t,w=this._observationTargets.some(function(T){var A=T.element.ownerDocument;if(A==f)return!0;for(;A&&A!=v;){var P=e(A);if(A=P&&P.ownerDocument,A==f)return!0}return!1});if(!w){var _=this._monitoringUnsubscribes[l];if(this._monitoringDocuments.splice(l,1),this._monitoringUnsubscribes.splice(l,1),_(),f!=v){var S=e(f);S&&this._unmonitorIntersections(S.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var l=0;l<f.length;l++)f[l]()},a.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!i)){var f=this._rootIsInDom(),l=f?this._getRootRect():p();this._observationTargets.forEach(function(v){var w=v.element,_=m(w),S=this._rootContainsTarget(w),T=v.entry,A=f&&S&&this._computeTargetAndRootIntersection(w,_,l),P=null;this._rootContainsTarget(w)?(!n||this.root)&&(P=l):P=p();var F=v.entry=new o({time:u(),target:w,boundingClientRect:_,rootBounds:P,intersectionRect:A});T?f&&S?this._hasCrossedThreshold(T,F)&&this._queuedEntries.push(F):T&&T.isIntersecting&&this._queuedEntries.push(F):this._queuedEntries.push(F)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(f,l,v){if(window.getComputedStyle(f).display!="none"){for(var w=l,_=C(f),S=!1;!S&&_;){var T=null,A=_.nodeType==1?window.getComputedStyle(_):{};if(A.display=="none")return null;if(_==this.root||_.nodeType==9)if(S=!0,_==this.root||_==t)n&&!this.root?!i||i.width==0&&i.height==0?(_=null,T=null,w=null):T=i:T=v;else{var P=C(_),F=P&&m(P),$=P&&this._computeTargetAndRootIntersection(P,F,v);F&&$?(_=P,T=b(F,$)):(_=null,w=null)}else{var re=_.ownerDocument;_!=re.body&&_!=re.documentElement&&A.overflow!="visible"&&(T=m(_))}if(T&&(w=d(T,w)),!w)break;_=_&&C(_)}return w}},a.prototype._getRootRect=function(){var f;if(this.root&&!R(this.root))f=m(this.root);else{var l=R(this.root)?this.root:t,v=l.documentElement,w=l.body;f={top:0,left:0,right:v.clientWidth||w.clientWidth,width:v.clientWidth||w.clientWidth,bottom:v.clientHeight||w.clientHeight,height:v.clientHeight||w.clientHeight}}return this._expandRectByRootMargin(f)},a.prototype._expandRectByRootMargin=function(f){var l=this._rootMarginValues.map(function(w,_){return w.unit=="px"?w.value:w.value*(_%2?f.width:f.height)/100}),v={top:f.top-l[0],right:f.right+l[1],bottom:f.bottom+l[2],left:f.left-l[3]};return v.width=v.right-v.left,v.height=v.bottom-v.top,v},a.prototype._hasCrossedThreshold=function(f,l){var v=f&&f.isIntersecting?f.intersectionRatio||0:-1,w=l.isIntersecting?l.intersectionRatio||0:-1;if(v!==w)for(var _=0;_<this.thresholds.length;_++){var S=this.thresholds[_];if(S==v||S==w||S<v!=S<w)return!0}},a.prototype._rootIsInDom=function(){return!this.root||E(t,this.root)},a.prototype._rootContainsTarget=function(f){var l=this.root&&(this.root.ownerDocument||this.root)||t;return E(l,f)&&(!this.root||l==f.ownerDocument)},a.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},a.prototype._unregisterInstance=function(){var f=r.indexOf(this);f!=-1&&r.splice(f,1)};function u(){return window.performance&&performance.now&&performance.now()}function s(f,l){var v=null;return function(){v||(v=setTimeout(function(){f(),v=null},l))}}function c(f,l,v,w){typeof f.addEventListener=="function"?f.addEventListener(l,v,w):typeof f.attachEvent=="function"&&f.attachEvent("on"+l,v)}function h(f,l,v,w){typeof f.removeEventListener=="function"?f.removeEventListener(l,v,w):typeof f.detachEvent=="function"&&f.detachEvent("on"+l,v)}function d(f,l){var v=Math.max(f.top,l.top),w=Math.min(f.bottom,l.bottom),_=Math.max(f.left,l.left),S=Math.min(f.right,l.right),T=S-_,A=w-v;return T>=0&&A>=0&&{top:v,bottom:w,left:_,right:S,width:T,height:A}||null}function m(f){var l;try{l=f.getBoundingClientRect()}catch{}return l?(l.width&&l.height||(l={top:l.top,right:l.right,bottom:l.bottom,left:l.left,width:l.right-l.left,height:l.bottom-l.top}),l):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function g(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function b(f,l){var v=l.top-f.top,w=l.left-f.left;return{top:v,left:w,height:l.height,width:l.width,bottom:v+l.height,right:w+l.width}}function E(f,l){for(var v=l;v;){if(v==f)return!0;v=C(v)}return!1}function C(f){var l=f.parentNode;return f.nodeType==9&&f!=t?e(f):(l&&l.assignedSlot&&(l=l.assignedSlot.parentNode),l&&l.nodeType==11&&l.host?l.host:l)}function R(f){return f&&f.nodeType===9}window.IntersectionObserver=a,window.IntersectionObserverEntry=o}()),Ie}_r();function vn(e,t){var r={},n=r.callback,i=Q(r,["callback"]),o=O(y.useState(),2),a=o[0],u=o[1],s=O(y.useState(),2),c=s[0],h=s[1];return le(function(){var d=Array.isArray(e)?e:[e],m=d.map(function(g){return H(g)}).filter(Boolean);if(m.length){var p=new IntersectionObserver(function(g){var b,E;try{for(var C=N(g),R=C.next();!R.done;R=C.next()){var f=R.value;h(f.intersectionRatio),u(f.isIntersecting),n?.(f)}}catch(l){b={error:l}}finally{try{R&&!R.done&&(E=C.return)&&E.call(C)}finally{if(b)throw b.error}}},M(M({},i),{root:H(void 0)}));return m.forEach(function(g){return p.observe(g)}),function(){p.disconnect()}}},[void 0,void 0,n],e),[a,c]}var Er=function(e,t,r){var n=y.useRef(void 0),i=y.useRef(0);mt(t,n.current)||(i.current+=1),n.current=t,le(e,[i.current],r)},Rr=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator?.platform:""),gt={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:Rr?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},Oe={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return e.type==="keyup"?gt.meta.includes(e.keyCode):e.metaKey}};function yt(e){return Wt(e)||fe(e)}function Or(e){var t=Object.keys(Oe).reduce(function(r,n){return Oe[n](e)?r+1:r},0);return[16,17,18,91,92].includes(e.keyCode)?t:t+1}function Fe(e,t,r){var n,i;if(!e.key)return!1;if(fe(t))return e.keyCode===t?t:!1;var o=t.split("."),a=0;try{for(var u=N(o),s=u.next();!s.done;s=u.next()){var c=s.value,h=Oe[c],d=gt[c.toLowerCase()];(h&&h(e)||d&&d===e.keyCode)&&a++}}catch(m){n={error:m}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return r?a===o.length&&Or(e)===o.length?t:!1:a===o.length?t:!1}function Sr(e,t){return U(e)?e:yt(e)?function(r){return Fe(r,e,t)}:Array.isArray(e)?function(r){return e.find(function(n){return Fe(r,n,t)})}:function(){return!!e}}var Tr=["keydown"];function hn(e,t,r){var n=r||{},i=n.events,o=i===void 0?Tr:i,a=n.target,u=n.exactMatch,s=u===void 0?!1:u,c=n.useCapture,h=c===void 0?!1:c,d=z(t),m=z(e);Er(function(){var p,g,b,E=H(a,window);if(E){var C=function(v){var w,_=Sr(m.current,s),S=_(v),T=yt(S)?S:v.key;if(S)return(w=d.current)===null||w===void 0?void 0:w.call(d,v,T)};try{for(var R=N(o),f=R.next();!f.done;f=R.next()){var l=f.value;(b=E?.addEventListener)===null||b===void 0||b.call(E,l,C,h)}}catch(v){p={error:v}}finally{try{f&&!f.done&&(g=R.return)&&g.call(R)}finally{if(p)throw p.error}}return function(){var v,w,_;try{for(var S=N(o),T=S.next();!T.done;T=S.next()){var A=T.value;(_=E?.removeEventListener)===null||_===void 0||_.call(E,A,C,h)}}catch(P){v={error:P}}finally{try{T&&!T.done&&(w=S.return)&&w.call(S)}finally{if(v)throw v.error}}}}},[o],a)}var Be="AHOOKS_SYNC_STORAGE_EVENT_NAME";function bt(e){function t(r,n){n===void 0&&(n={});var i,o=n.listenStorageChange,a=o===void 0?!1:o,u=n.onError,s=u===void 0?function(R){console.error(R)}:u;try{i=e()}catch(R){s(R)}var c=function(R){return n.serializer?n.serializer(R):JSON.stringify(R)},h=function(R){return n.deserializer?n.deserializer(R):JSON.parse(R)};function d(){try{var R=i?.getItem(r);if(R)return h(R)}catch(f){s(f)}return U(n.defaultValue)?n.defaultValue():n.defaultValue}var m=O(y.useState(d),2),p=m[0],g=m[1];Z(function(){g(d())},[r]);var b=function(R){var f=U(R)?R(p):R;a||g(f);try{var l=void 0,v=i?.getItem(r);qt(f)?(l=null,i?.removeItem(r)):(l=c(f),i?.setItem(r,l)),dispatchEvent(new CustomEvent(Be,{detail:{key:r,newValue:l,oldValue:v,storageArea:i}}))}catch(w){s(w)}},E=function(R){R.key!==r||R.storageArea!==i||g(d())},C=function(R){E(R.detail)};return Re("storage",E,{enable:a}),Re(Be,C,{enable:a}),[p,L(b)]}return t}var pn=bt(function(){return W?localStorage:void 0});function Cr(e){var t=y.useRef(0),r=O(y.useState(e),2),n=r[0],i=r[1],o=y.useCallback(function(a){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(a)})},[]);return k(function(){cancelAnimationFrame(t.current)}),[n,o]}var xr=function(e,t){return!Object.is(e,t)};function mn(e,t){t===void 0&&(t=xr);var r=y.useRef(void 0),n=y.useRef(void 0);return t(n.current,e)&&(r.current=n.current,n.current=e),r.current}var ze=new WeakMap,He=new WeakMap;function wt(e,t){var r=ze.get(e);if(r)return r;if(He.has(e))return e;var n=new Proxy(e,{get:function(i,o,a){var u=Reflect.get(i,o,a),s=Reflect.getOwnPropertyDescriptor(i,o);return!s?.configurable&&!s?.writable?u:Dt(u)||Array.isArray(u)?wt(u,t):u},set:function(i,o,a){var u=Reflect.set(i,o,a);return t(),u},deleteProperty:function(i,o){var a=Reflect.deleteProperty(i,o);return t(),a}});return ze.set(e,n),He.set(n,e),n}function gn(e){var t=ht(),r=y.useRef(e),n=Te(function(){return wt(r.current,function(){t()})},[]);return n}var yn=bt(function(){return W?sessionStorage:void 0}),bn=function(e){var t=O(y.useState(e),2),r=t[0],n=t[1],i=L(function(o){n(function(a){var u=U(o)?o(a):o;return u?M(M({},a),u):a})});return[r,i]},_t=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,o){return i[0]===r?(n=o,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,o=this.__entries__;i<o.length;i++){var a=o[i];r.call(n,a[1],a[0])}},t}()}(),Se=typeof window<"u"&&typeof document<"u"&&window.document===document,ae=function(){return typeof B<"u"&&B.Math===Math?B:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Mr=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ae):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Ar=2;function Dr(e,t){var r=!1,n=!1,i=0;function o(){r&&(r=!1,e()),n&&u()}function a(){Mr(o)}function u(){var s=Date.now();if(r){if(s-i<Ar)return;n=!0}else r=!0,n=!1,setTimeout(a,t);i=s}return u}var Pr=20,jr=["top","right","bottom","left","width","height","size","weight"],Ir=typeof MutationObserver<"u",Lr=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Dr(this.refresh.bind(this),Pr)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Se||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ir?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Se||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=jr.some(function(o){return!!~n.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Et=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},K=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ae},Rt=de(0,0,0,0);function ue(e){return parseFloat(e)||0}function Ne(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var o=e["border-"+i+"-width"];return n+ue(o)},0)}function Fr(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var o=i[n],a=e["padding-"+o];r[o]=ue(a)}return r}function Br(e){var t=e.getBBox();return de(0,0,t.width,t.height)}function zr(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Rt;var n=K(e).getComputedStyle(e),i=Fr(n),o=i.left+i.right,a=i.top+i.bottom,u=ue(n.width),s=ue(n.height);if(n.boxSizing==="border-box"&&(Math.round(u+o)!==t&&(u-=Ne(n,"left","right")+o),Math.round(s+a)!==r&&(s-=Ne(n,"top","bottom")+a)),!Nr(e)){var c=Math.round(u+o)-t,h=Math.round(s+a)-r;Math.abs(c)!==1&&(u-=c),Math.abs(h)!==1&&(s-=h)}return de(i.left,i.top,u,s)}var Hr=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof K(e).SVGGraphicsElement}:function(e){return e instanceof K(e).SVGElement&&typeof e.getBBox=="function"}}();function Nr(e){return e===K(e).document.documentElement}function Wr(e){return Se?Hr(e)?Br(e):zr(e):Rt}function qr(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(o.prototype);return Et(a,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),a}function de(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Ur=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=de(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Wr(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),kr=function(){function e(t,r){var n=qr(r);Et(this,{target:t,contentRect:n})}return e}(),Vr=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new _t,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof K(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Ur(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof K(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new kr(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Ot=typeof WeakMap<"u"?new WeakMap:new _t,St=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Lr.getInstance(),n=new Vr(t,r,this);Ot.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){St.prototype[e]=function(){var t;return(t=Ot.get(this))[e].apply(t,arguments)}});var Gr=function(){return typeof ae.ResizeObserver<"u"?ae.ResizeObserver:St}(),Kr=pt(y.useLayoutEffect),$r=W?Kr:le;function wn(e){var t=O(Cr(function(){var i=H(e);return i?{width:i.clientWidth,height:i.clientHeight}:void 0}),2),r=t[0],n=t[1];return $r(function(){var i=H(e);if(i){var o=new Gr(function(a){a.forEach(function(u){var s=u.target,c=s.clientWidth,h=s.clientHeight;n({width:c,height:h})})});return o.observe(i),function(){o.disconnect()}}},[],e),r}function _n(e,t){var r,n=z(e),i=(r=t?.wait)!==null&&r!==void 0?r:1e3,o=y.useMemo(function(){return ke(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return n.current.apply(n,x([],O(a),!1))},i,t)},[]);return k(function(){o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}var ye,We;function Jr(){return We||(We=1,ye=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),ye}var be,qe;function Yr(){if(qe)return be;qe=1;var e=Jr(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(o){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,a)}function i(o,a){var u,s,c,h,d,m,p=!1;a||(a={}),u=a.debug||!1;try{c=e(),h=document.createRange(),d=document.getSelection(),m=document.createElement("span"),m.textContent=o,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(b){if(b.stopPropagation(),a.format)if(b.preventDefault(),typeof b.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var E=t[a.format]||t.default;window.clipboardData.setData(E,o)}else b.clipboardData.clearData(),b.clipboardData.setData(a.format,o);a.onCopy&&(b.preventDefault(),a.onCopy(b.clipboardData))}),document.body.appendChild(m),h.selectNodeContents(m),d.addRange(h);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");p=!0}catch(b){u&&console.error("unable to copy using execCommand: ",b),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),p=!0}catch(E){u&&console.error("unable to copy using clipboardData: ",E),u&&console.error("falling back to prompt"),s=n("message"in a?a.message:r),window.prompt(s,o)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(h):d.removeAllRanges()),m&&document.body.removeChild(m),c()}return p}return be=i,be}var Xr=Yr();const En=se(Xr),Rn=Mt(Nt);function Zr(){var e=y.useRef(!1),t=y.useCallback(function(){return e.current},[]);return y.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function Qr(e,t,r){t===void 0&&(t=[]),r===void 0&&(r={loading:!1});var n=y.useRef(0),i=Zr(),o=y.useState(r),a=o[0],u=o[1],s=y.useCallback(function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];var d=++n.current;return a.loading||u(function(m){return M(M({},m),{loading:!0})}),e.apply(void 0,c).then(function(m){return i()&&d===n.current&&u({value:m,loading:!1}),m},function(m){return i()&&d===n.current&&u({error:m,loading:!1}),m})},t);return[a,s]}function en(e,t){t===void 0&&(t=[]);var r=Qr(e,t,{loading:!0}),n=r[0],i=r[1];return y.useEffect(function(){i()},[i]),n}var On=function(e,t){t===void 0&&(t=[]);var r=y.useState(0),n=r[0],i=r[1],o=en(e,oe(t,[n])),a=o.loading,u=y.useCallback(function(){a||i(function(s){return s+1})},oe(t,[a]));return M(M({},o),{retry:u})};export{an as A,Ve as B,nn as C,ee as D,te as E,M as F,gr as G,_n as H,sn as I,mn as J,Z as K,Ge as _,Te as a,L as b,En as c,Lt as d,wn as e,z as f,gn as g,ar as h,cn as i,on as j,cr as k,bn as l,k as m,vn as n,ln as o,un as p,yn as q,Rn as r,On as s,pn as t,hr as u,en as v,fn as w,ht as x,dn as y,hn as z};