@abtnode/webapp 1.16.49-beta-20250821-102221-1b7283d6 → 1.16.49-beta-20250822-070545-6d3344cc

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 (205) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-BbT4EXkS.js → AdapterDayjs-D4Zkiick.js} +1 -1
  4. package/dist/assets/{Add-BjgJStpH.js → Add-CRYWmyuR.js} +1 -1
  5. package/dist/assets/ArrowDropDown-Bf4GVn4d.js +1 -0
  6. package/dist/assets/{Autocomplete-Dp402S6q.js → Autocomplete-rHUqzZCi.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-D25xvDwH.js → Breadcrumbs-LFDW-if0.js} +1 -1
  8. package/dist/assets/{ButtonGroup-BJJMUa5C.js → ButtonGroup-Cm76cRE-.js} +1 -1
  9. package/dist/assets/{CSSTransition-DoP2sjA4.js → CSSTransition-DpizwGU-.js} +1 -1
  10. package/dist/assets/{CallMerge-BcMUWo1q.js → CallMerge-DzPrq_5n.js} +1 -1
  11. package/dist/assets/{CardContent-BM2KtzjC.js → CardContent-P0Sthx00.js} +1 -1
  12. package/dist/assets/{ChevronLeft-DwCtqinN.js → ChevronLeft-BlEgXNcG.js} +1 -1
  13. package/dist/assets/{ChevronRight-kbJt7gtd.js → ChevronRight-BgHVOCJf.js} +1 -1
  14. package/dist/assets/{Clear-fkSe1BQ5.js → Clear-Bd6lrR3r.js} +1 -1
  15. package/dist/assets/{DeleteOutline-QcWnkTtX.js → DeleteOutline-CPeLbfI7.js} +1 -1
  16. package/dist/assets/{Done-DUu43LDm.js → Done-Df9XwPFo.js} +1 -1
  17. package/dist/assets/{Edit-C-sJa5uj.js → Edit-CCuCWwa1.js} +1 -1
  18. package/dist/assets/{ErrorOutline-qyQE7Oa-.js → ErrorOutline-CTO0yYkX.js} +1 -1
  19. package/dist/assets/{FilterList-DB3vvbr3.js → FilterList-MQmC3xoC.js} +1 -1
  20. package/dist/assets/{Google-DcD1pJVK.js → Google-cOwyYdVa.js} +1 -1
  21. package/dist/assets/{HelpOutline-BgoG1GPn.js → HelpOutline-BoJ2fHVJ.js} +1 -1
  22. package/dist/assets/{Launch-D0Nm_drS.js → Launch-DXthpdPY.js} +1 -1
  23. package/dist/assets/{Link-F8ailKcW.js → Link-z_O1747L.js} +1 -1
  24. package/dist/assets/{ListItemButton-DpIRicPp.js → ListItemButton-eESx04MD.js} +1 -1
  25. package/dist/assets/{ListSubheader-C5PLmoys.js → ListSubheader-Bq38Ghps.js} +1 -1
  26. package/dist/assets/{LoadingButton-BMyjySY9.js → LoadingButton-CjHleU21.js} +1 -1
  27. package/dist/assets/{MoreVert-CcaizWju.js → MoreVert-DSc6xysS.js} +1 -1
  28. package/dist/assets/{OpenInNew-HJpnTd_H.js → OpenInNew-ymbf4EkY.js} +1 -1
  29. package/dist/assets/{Refresh-BN9bnQko.js → Refresh-0f0uuphQ.js} +1 -1
  30. package/dist/assets/{Search-7Pw1ev44.js → Search-DiToZzru.js} +1 -1
  31. package/dist/assets/{Slider-s-3T3O0E.js → Slider-m4FegYsq.js} +1 -1
  32. package/dist/assets/{Stepper-BdQdQL75.js → Stepper-DYyqqEBN.js} +1 -1
  33. package/dist/assets/{Switch-CIpFMcAY.js → Switch-DAXTqD-y.js} +1 -1
  34. package/dist/assets/{TableSearch-CbI3u7v4.js → TableSearch-CdSVywW7.js} +1 -1
  35. package/dist/assets/{ToggleButtonGroup-nl8Fm0Rg.js → ToggleButtonGroup-D4daO9-j.js} +1 -1
  36. package/dist/assets/{Verified-D_qZdRw8.js → Verified-Cq7YQDPe.js} +1 -1
  37. package/dist/assets/{VerifiedUser-DzsFyb6A.js → VerifiedUser-Cs5fUx5X.js} +1 -1
  38. package/dist/assets/{ViewList-parLhgb2.js → ViewList-CkvKU3wV.js} +1 -1
  39. package/dist/assets/{_createAggregator-BpRJXgnh.js → _createAggregator-_cO9HeDJ.js} +1 -1
  40. package/dist/assets/{actions-DAdg3TCf.js → actions-CPb9Moks.js} +1 -1
  41. package/dist/assets/{actions-BAuWri3w.js → actions-lE2MOCrv.js} +1 -1
  42. package/dist/assets/{agreement-Dxora922.js → agreement-CD-r8Zz7.js} +1 -1
  43. package/dist/assets/api-Tp2L7lqP.js +1 -0
  44. package/dist/assets/{appearance-CrNHhAdU.js → appearance-BdV9Dxo0.js} +1 -1
  45. package/dist/assets/{ar-BvKie2ZN.js → ar-fE5SSTrt.js} +1 -1
  46. package/dist/assets/{audit-logs-Cs_QrGev.js → audit-logs-BBiK6SmO.js} +1 -1
  47. package/dist/assets/{base-chart-C6THBW-k.js → base-chart-De6hlB0Y.js} +1 -1
  48. package/dist/assets/{blocklet-ECxXqY9c.js → blocklet-DNoyp9Cs.js} +1 -1
  49. package/dist/assets/{chain-nfqKLrKB.js → chain-7n5dbbhy.js} +1 -1
  50. package/dist/assets/{click-to-copy-CksDRdqm.js → click-to-copy-BZtVQnJA.js} +1 -1
  51. package/dist/assets/client-B-c7ei8g.js +1 -0
  52. package/dist/assets/cloneDeep-DFvfgOvy.js +1 -0
  53. package/dist/assets/{collapse-D6diB4if.js → collapse-cDBjiwvh.js} +1 -1
  54. package/dist/assets/{config-navigation-_Qoe7f9z.js → config-navigation-DSbad9ei.js} +3 -3
  55. package/dist/assets/{connect-to-AnYJDZYw.js → connect-to-BBSjaMuR.js} +1 -1
  56. package/dist/assets/{cssMode-CZvkTEmI.js → cssMode-CFxmr_Wl.js} +1 -1
  57. package/dist/assets/{de-C9BQPFcm.js → de-Byq6SyWJ.js} +1 -1
  58. package/dist/assets/{delete-confirm-gaBotr9j.js → delete-confirm-C7gXjzI-.js} +1 -1
  59. package/dist/assets/{depsEqual-BOxgPVK8.js → depsEqual-zH57QwJk.js} +1 -1
  60. package/dist/assets/{detail-Dm0IjCvu.js → detail-DlGbaDAE.js} +3 -3
  61. package/dist/assets/{domains-BKA4UlWI.js → domains-CF_ymNdp.js} +1 -1
  62. package/dist/assets/{download-DBFUazOD.js → download-DOTVZfH3.js} +1 -1
  63. package/dist/assets/{edit.svg-lJCEFAKX.js → edit.svg-B0rqqdvq.js} +1 -1
  64. package/dist/assets/emotion-cache.browser.esm-C83OYG6J.js +1 -0
  65. package/dist/assets/engine-CWXUBgNq.js +1 -0
  66. package/dist/assets/{es-DPjcV6cX.js → es-Q8J1CCMS.js} +1 -1
  67. package/dist/assets/{fr-ButkVdgL.js → fr-8njRrvuV.js} +1 -1
  68. package/dist/assets/{freemarker2-OjtvTZOr.js → freemarker2-CmWfeNQb.js} +1 -1
  69. package/dist/assets/{get-safe-url-CN3kjswr.js → get-safe-url-ThSpI0WV.js} +1 -1
  70. package/dist/assets/getValidReactChildren-Mx_dW0Jp.js +1 -0
  71. package/dist/assets/{graphqlMode-yd41msMl.js → graphqlMode-DZBAKrNb.js} +2 -2
  72. package/dist/assets/{handlebars-DIJ9ll1i.js → handlebars-CaDDAGYz.js} +1 -1
  73. package/dist/assets/hi-JUTdfcRr.js +5 -0
  74. package/dist/assets/{html-Cc_eopVD.js → html-CnYhr4F7.js} +1 -1
  75. package/dist/assets/{html-title-B9VJeaWm.js → html-title-BNM7JHcp.js} +1 -1
  76. package/dist/assets/{htmlMode-C9ASD6J_.js → htmlMode-DN9pAdbL.js} +1 -1
  77. package/dist/assets/{id-B6zyYCjr.js → id-CrtgRPeX.js} +1 -1
  78. package/dist/assets/{iframe-BhSnRMb2.js → iframe-BjZQ3xw0.js} +1 -1
  79. package/dist/assets/{index-DtqtNQh5.js → index-0T824Y_m.js} +1 -1
  80. package/dist/assets/{index-S6oDtsha.js → index-2lfF1_vy.js} +1 -1
  81. package/dist/assets/{index-CChjegNJ.js → index-B1zHcUns.js} +1 -1
  82. package/dist/assets/{index-Dt7-HgvT.js → index-B2HXHaZp.js} +1 -1
  83. package/dist/assets/{index-D53MOjsR.js → index-B3nJR0LO.js} +1 -1
  84. package/dist/assets/{index-ni6XzXTR.js → index-B9CVFjty.js} +9 -9
  85. package/dist/assets/{index-B0H_teX6.js → index-BB9R63jV.js} +3 -3
  86. package/dist/assets/{index-CTv3dBB5.js → index-BNv8Vk1K.js} +1 -1
  87. package/dist/assets/{index-A7t6Ar7N.js → index-BTnwgSA6.js} +1 -1
  88. package/dist/assets/{index-BLE0wW-0.js → index-BUflWebx.js} +1 -1
  89. package/dist/assets/{index-Cr0waWqb.js → index-BYXYXF21.js} +1 -1
  90. package/dist/assets/{index-B9hcAjzi.js → index-Bc94kn7m.js} +3 -3
  91. package/dist/assets/{index-DziGV7ua.js → index-BdZ3IIC6.js} +1 -1
  92. package/dist/assets/index-Bm4Wq3Si.js +1 -0
  93. package/dist/assets/{index-D4tTSReI.js → index-CIpmAacN.js} +1 -1
  94. package/dist/assets/{index-DfzH1L9d.js → index-CMCeJwNm.js} +1 -1
  95. package/dist/assets/{index-Cz-Xni8c.js → index-CQ9izUxP.js} +3 -3
  96. package/dist/assets/{index-IE5VnziX.js → index-CYwTzx0H.js} +1 -1
  97. package/dist/assets/{index-DYxhCwxK.js → index-CkUT0tY9.js} +1 -1
  98. package/dist/assets/{index-DV0IpWWT.js → index-CpAdTU05.js} +1 -1
  99. package/dist/assets/{index-DU58_n0q.js → index-D6TVGB8K.js} +5 -5
  100. package/dist/assets/{index-CSmPm4GR.js → index-D9t-_Twy.js} +1 -1
  101. package/dist/assets/{index-DF3KCemQ.js → index-DB7cJZbU.js} +1 -1
  102. package/dist/assets/{index-BK_pSLOh.js → index-DMOKZCkM.js} +1 -1
  103. package/dist/assets/{index-DEqQ_b5f.js → index-DQwdG3oO.js} +1 -1
  104. package/dist/assets/{index-CUCKsvuD.js → index-DSfy4neW.js} +1 -1
  105. package/dist/assets/{index-D4EPuf0c.js → index-DUKKDXQq.js} +1 -1
  106. package/dist/assets/{index-BHQ-NTNj.js → index-DVPoJS1G.js} +2 -2
  107. package/dist/assets/{index-CApssJTK.js → index-DWhariBK.js} +1 -1
  108. package/dist/assets/{index-CAsP5aCR.js → index-DfUsFF1_.js} +1 -1
  109. package/dist/assets/{index-00gMunRh.js → index-DfekUnAk.js} +1 -1
  110. package/dist/assets/{index-BSk9eZ35.js → index-Dfp0R-Ky.js} +1 -1
  111. package/dist/assets/{index-B9EPDC5-.js → index-DkBn0v10.js} +1 -1
  112. package/dist/assets/{index-9bJz035T.js → index-Dm59bhPu.js} +1 -1
  113. package/dist/assets/{index-eV5Q22QE.js → index-DoSIheoR.js} +2 -2
  114. package/dist/assets/{index-B8PyckES.js → index-DszaD3QS.js} +1 -1
  115. package/dist/assets/{index-DDz3khqK.js → index-DzJtB1Hs.js} +1 -1
  116. package/dist/assets/{index-Dr_RpAGu.js → index-IvHm5pI4.js} +1 -1
  117. package/dist/assets/{index-BZS48BpA.js → index-KV2818dS.js} +1 -1
  118. package/dist/assets/{index-Cyg_4FtP.js → index-KcFXaE_y.js} +1 -1
  119. package/dist/assets/{index-CII2rGJ6.js → index-_DBrBjMY.js} +1 -1
  120. package/dist/assets/{index-CP7SijRY.js → index-p3WfcM9p.js} +2 -2
  121. package/dist/assets/{index-6QFglTOV.js → index-sNtfOlhf.js} +3 -3
  122. package/dist/assets/{index-lYJg82-4.js → index-t6oECrat.js} +1 -1
  123. package/dist/assets/{index-CoBuyDcc.js → index-vrkbtdco.js} +1 -1
  124. package/dist/assets/{index.esm-B1-cOF6G.js → index.esm-CsSY5qzM.js} +1 -1
  125. package/dist/assets/{install-from-url-CcmuAjty.js → install-from-url-lDtbkPTH.js} +1 -1
  126. package/dist/assets/{invitation-DU4VJuCh.js → invitation-BsKjnkj4.js} +1 -1
  127. package/dist/assets/{is-path-prefix-equal-B-f1Tg_r.js → is-path-prefix-equal-_qy5EOwg.js} +1 -1
  128. package/dist/assets/{item-DhQ4ERmI.js → item-Cacivb9M.js} +1 -1
  129. package/dist/assets/{ja-5mnOXG6B.js → ja-BDFhRccP.js} +1 -1
  130. package/dist/assets/{javascript-9OIFwvkf.js → javascript-CGczjOCo.js} +1 -1
  131. package/dist/assets/{jsonMode-MZC8ttna.js → jsonMode-Dj_IjHJD.js} +1 -1
  132. package/dist/assets/{ko-Msmkvh9O.js → ko-Dde62QRb.js} +1 -1
  133. package/dist/assets/{liquid-BjebiC6O.js → liquid-BMdfgWaq.js} +1 -1
  134. package/dist/assets/{list-header-DFfMMiM1.js → list-header-DdDAZWs8.js} +1 -1
  135. package/dist/assets/{log-BsZ71pB3.js → log-Cmjxi549.js} +1 -1
  136. package/dist/assets/{lottie-react.esm-DDtPAwHJ.js → lottie-react.esm-Cuu7Q2Nq.js} +1 -1
  137. package/dist/assets/{mdx-Lxu1Olls.js → mdx-CAYUlt0e.js} +1 -1
  138. package/dist/assets/{memory-Cvf0dzL1.js → memory-BaZWYpPK.js} +1 -1
  139. package/dist/assets/{metric-B_Yupykk.js → metric-yHhkpFYW.js} +1 -1
  140. package/dist/assets/omit-BHMysKix.js +1 -0
  141. package/dist/assets/{overview-CP9DVl5f.js → overview-qQhFkXyB.js} +1 -1
  142. package/dist/assets/{permission-DzQpyYyx.js → permission-CEx3Xzzt.js} +1 -1
  143. package/dist/assets/{preference-CgZC5eP4.js → preference-DUaF4047.js} +3 -3
  144. package/dist/assets/pt-C4nfuExm.js +5 -0
  145. package/dist/assets/{python-BkO1QhWv.js → python-COayavk2.js} +1 -1
  146. package/dist/assets/{raf-schd.esm-DmGrfQsp.js → raf-schd.esm-BwlUX7rt.js} +1 -1
  147. package/dist/assets/{razor-DfbfeHRh.js → razor-DMRuUzHX.js} +1 -1
  148. package/dist/assets/{rotate-session-key-Bg2FnobO.js → rotate-session-key-D1vlWJy-.js} +1 -1
  149. package/dist/assets/ru-B4GtNlEa.js +5 -0
  150. package/dist/assets/{runtime-B6mb0wO8.js → runtime-BKkXAf75.js} +1 -1
  151. package/dist/assets/schema-j0c6tNfS.js +1 -0
  152. package/dist/assets/sdk-AP0IBqOB.js +1 -0
  153. package/dist/assets/{service-3dDFZP8G.js → service-JXeyvHsB.js} +1 -1
  154. package/dist/assets/{shorten-label-DdaucB0K.js → shorten-label-BhRK0ln2.js} +1 -1
  155. package/dist/assets/{simple-select-b8L44RRe.js → simple-select-JFizrUkd.js} +1 -1
  156. package/dist/assets/{spaces-OAtRfRDP.js → spaces-gIxhAIXe.js} +1 -1
  157. package/dist/assets/{status-CIoNpyLM.js → status-DQsEKGqd.js} +1 -1
  158. package/dist/assets/{status-Dk6csEdZ.js → status-Td6c-fVL.js} +1 -1
  159. package/dist/assets/{switch-control-CQ98tRq5.js → switch-control-D1xFgmoW.js} +1 -1
  160. package/dist/assets/{table-icons-DnJxVsFE.js → table-icons-DVzZMDdJ.js} +1 -1
  161. package/dist/assets/{team-CzOAxou8.js → team--wmU0D2h.js} +1 -1
  162. package/dist/assets/th-BkShd6jD.js +5 -0
  163. package/dist/assets/{toLower-IbZ9fE08.js → toLower-CfdqUhXL.js} +1 -1
  164. package/dist/assets/toUpper-Xpet2xRI.js +1 -0
  165. package/dist/assets/{traffic-BvXRbpMG.js → traffic-BudoYa72.js} +1 -1
  166. package/dist/assets/{tsMode-TMPhs2gM.js → tsMode-Du_Iu74e.js} +1 -1
  167. package/dist/assets/{typescript-DT4mrAfA.js → typescript-Blmv3Gec.js} +1 -1
  168. package/dist/assets/{url-evaluation-N368hPz7.js → url-evaluation-CV1iSx1K.js} +1 -1
  169. package/dist/assets/{url-join-DzCvUteF.js → url-join-CIv0Ugfk.js} +1 -1
  170. package/dist/assets/{use-mobile-Df5zHg-M.js → use-mobile-B7rT08bE.js} +1 -1
  171. package/dist/assets/{use-mobile-D4cCp5_8.js → use-mobile-stNEoGvd.js} +1 -1
  172. package/dist/assets/{useAsync-BU2GUig9.js → useAsync-JYbrRLHg.js} +1 -1
  173. package/dist/assets/{useAsyncRetry-CiQxcLEo.js → useAsyncRetry-D70iwIIs.js} +1 -1
  174. package/dist/assets/{useLocalStorage-BLqETmqX.js → useLocalStorage-CYX8Yp0i.js} +1 -1
  175. package/dist/assets/{useThemeProps-Cxn8wS-a.js → useThemeProps-CQgN1y2i.js} +1 -1
  176. package/dist/assets/{util-CJspyU9f.js → util-Hp87_yWp.js} +1 -1
  177. package/dist/assets/vi-C1PSP5SP.js +5 -0
  178. package/dist/assets/{wait-container-CbghAGzH.js → wait-container-CQYMEZ7E.js} +1 -1
  179. package/dist/assets/{without-wallet-BUTNsL-e.js → without-wallet-BNcgQZGe.js} +1 -1
  180. package/dist/assets/wrap-locale-BeNl69zP.js +1 -0
  181. package/dist/assets/{xml-_ytZ3Jeu.js → xml-QJ4Ikn7B.js} +1 -1
  182. package/dist/assets/{yaml-AP48dB15.js → yaml-_SExdWZn.js} +1 -1
  183. package/dist/assets/{zh-BG6k4eXG.js → zh-gAK37O_Y.js} +1 -1
  184. package/dist/assets/{zh-tw-6SDy5fyY.js → zh-tw-BGfyObps.js} +1 -1
  185. package/dist/index.html +1 -1
  186. package/dist/service-worker.js +1 -1
  187. package/package.json +1 -1
  188. package/dist/assets/ArrowDropDown-BTUv7vHV.js +0 -1
  189. package/dist/assets/api-C1oEeGCK.js +0 -1
  190. package/dist/assets/client-B_AxtLSc.js +0 -1
  191. package/dist/assets/cloneDeep-CvBzQgiy.js +0 -1
  192. package/dist/assets/emotion-cache.browser.esm-CQTZWHgn.js +0 -1
  193. package/dist/assets/engine-DaFht3OX.js +0 -1
  194. package/dist/assets/getValidReactChildren-UKe-U4T8.js +0 -1
  195. package/dist/assets/hi-CLqQ4LHH.js +0 -5
  196. package/dist/assets/index-k9wee-6_.js +0 -1
  197. package/dist/assets/omit-BIlN3Dgy.js +0 -1
  198. package/dist/assets/pt-D1bjCfHu.js +0 -5
  199. package/dist/assets/ru-DcnfcUY4.js +0 -5
  200. package/dist/assets/schema-FvrjdNj0.js +0 -1
  201. package/dist/assets/sdk-CJ1iR7xK.js +0 -1
  202. package/dist/assets/th-C2mNGstJ.js +0 -5
  203. package/dist/assets/toUpper-BtQ3lZvX.js +0 -1
  204. package/dist/assets/vi-C4AydA45.js +0 -5
  205. package/dist/assets/wrap-locale-2rMKAFFZ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as f,g as Ce,j as e,C as H,L as ve,s as O,o as E,u as ce,m as Q,n as we,q as Se,$ as Be,D as Ee,T as F,t as G,v as q,w as Te,x as Le,y as Ae,z as Ie,A as me,H as M,B as De,d as Fe,f as Pe,E as Re,F as Ne,I as _e,J as N,K as ee,M as te,N as B,O as Ue,P as _,Q as se,R as Me,S as oe,U as le,V as Oe,X as ne,Y as We,Z as $e}from"./index-DU58_n0q.js";import{u as ze}from"./useLocalStorage-BLqETmqX.js";import{g as qe,H as Ve}from"./index-CAsP5aCR.js";import{y as He}from"./index-DEqQ_b5f.js";import{B as I}from"./status-CIoNpyLM.js";import{D as Qe,u as Ke,B as re}from"./actions-DAdg3TCf.js";import{u as de,W as Xe}from"./url-evaluation-N368hPz7.js";import{I as Je,B as Ye}from"./install-from-url-CcmuAjty.js";import{L as Ze}from"./Launch-D0Nm_drS.js";import{A as Ge}from"./Add-BjgJStpH.js";import{v as D}from"./index-Dt7-HgvT.js";import{s as ae}from"./schema-FvrjdNj0.js";import{P as et}from"./permission-DzQpyYyx.js";import"./FilterList-DB3vvbr3.js";import"./CSSTransition-DoP2sjA4.js";import"./emotion-cache.browser.esm-CQTZWHgn.js";import"./index-DtqtNQh5.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-BOxgPVK8.js";import"./TableSearch-CbI3u7v4.js";import"./Search-7Pw1ev44.js";import"./Clear-fkSe1BQ5.js";import"./MoreVert-CcaizWju.js";import"./get-safe-url-CN3kjswr.js";import"./ButtonGroup-BJJMUa5C.js";import"./getValidReactChildren-UKe-U4T8.js";import"./without-wallet-BUTNsL-e.js";import"./index-CoBuyDcc.js";import"./cloneDeep-CvBzQgiy.js";import"./index-Cyg_4FtP.js";import"./Autocomplete-Dp402S6q.js";import"./ListSubheader-C5PLmoys.js";import"./ListItemButton-DpIRicPp.js";import"./Stepper-BdQdQL75.js";function V({blocklet:j,skipAccessibilityCheck:d=!1,...c}){const{t:r}=f.useContext(Ce),{urls:C,loading:n,recommendedUrl:h}=de(j);if(n&&!d)return e.jsx(H,{size:12,...c});const g=d?C[0]:h;return g?e.jsx(st,{...c,children:e.jsx(tt,{children:e.jsxs(ve,{href:g,target:"_blank",className:"blocklet-interface",underline:"hover",children:[r("common.visit"),e.jsx(Ze,{fontSize:"12",sx:{marginLeft:.5}})]})})}):r("blocklet.router.noAccessibleUrl")}const tt=O.div`
1
+ import{r as f,g as Ce,j as e,C as H,L as ve,s as O,o as E,u as ce,m as Q,n as we,q as Se,$ as Be,D as Ee,T as F,t as G,v as q,w as Te,x as Le,y as Ae,z as Ie,A as me,H as M,B as De,d as Fe,f as Pe,E as Re,F as Ne,I as _e,J as N,K as ee,M as te,N as B,O as Ue,P as _,Q as se,R as Me,S as oe,U as le,V as Oe,X as ne,Y as We,Z as $e}from"./index-D6TVGB8K.js";import{u as ze}from"./useLocalStorage-CYX8Yp0i.js";import{g as qe,H as Ve}from"./index-DfUsFF1_.js";import{y as He}from"./index-DQwdG3oO.js";import{B as I}from"./status-DQsEKGqd.js";import{D as Qe,u as Ke,B as re}from"./actions-CPb9Moks.js";import{u as de,W as Xe}from"./url-evaluation-CV1iSx1K.js";import{I as Je,B as Ye}from"./install-from-url-lDtbkPTH.js";import{L as Ze}from"./Launch-DXthpdPY.js";import{A as Ge}from"./Add-CRYWmyuR.js";import{v as D}from"./index-B2HXHaZp.js";import{s as ae}from"./schema-j0c6tNfS.js";import{P as et}from"./permission-CEx3Xzzt.js";import"./FilterList-MQmC3xoC.js";import"./CSSTransition-DpizwGU-.js";import"./emotion-cache.browser.esm-C83OYG6J.js";import"./index-0T824Y_m.js";import"./redux-DfszZyTl.js";import"./typeof-QjJsDpFa.js";import"./depsEqual-zH57QwJk.js";import"./TableSearch-CdSVywW7.js";import"./Search-DiToZzru.js";import"./Clear-Bd6lrR3r.js";import"./MoreVert-DSc6xysS.js";import"./get-safe-url-ThSpI0WV.js";import"./ButtonGroup-Cm76cRE-.js";import"./getValidReactChildren-Mx_dW0Jp.js";import"./without-wallet-BNcgQZGe.js";import"./index-vrkbtdco.js";import"./cloneDeep-DFvfgOvy.js";import"./index-KcFXaE_y.js";import"./Autocomplete-rHUqzZCi.js";import"./ListSubheader-Bq38Ghps.js";import"./ListItemButton-eESx04MD.js";import"./Stepper-DYyqqEBN.js";function V({blocklet:j,skipAccessibilityCheck:d=!1,...c}){const{t:r}=f.useContext(Ce),{urls:C,loading:n,recommendedUrl:h}=de(j);if(n&&!d)return e.jsx(H,{size:12,...c});const g=d?C[0]:h;return g?e.jsx(st,{...c,children:e.jsx(tt,{children:e.jsxs(ve,{href:g,target:"_blank",className:"blocklet-interface",underline:"hover",children:[r("common.visit"),e.jsx(Ze,{fontSize:"12",sx:{marginLeft:.5}})]})})}):r("blocklet.router.noAccessibleUrl")}const tt=O.div`
2
2
  display: flex;
3
3
  margin: 4px 0;
4
4
  `,st=O.div`
@@ -1,4 +1,4 @@
1
- import{aG as Yn,j as t,r as M,fI as oo,fJ as so,cr as He,bd as Gn,by as Ve,N as ae,at as Zn,az as ze,T as we,eN as ao,aP as Qe,fK as lo,m as je,F as Qn,fL as Lr,fM as co,cV as Xn,cq as uo,bk as Yr,dH as yt,dF as Jn,P as vt,aU as gt,fN as fo,C as Xe,fO as wt,ey as Ae,fP as ei,fQ as po,fR as mo,fS as ho,fT as go,fU as bo,fV as ti,fW as yo,fX as _r,fY as vo,fZ as wo,f_ as xo,f$ as Co,ez as qr,g0 as ri,eA as So,cE as Er,eB as To,dD as Eo,g1 as jo,bW as at,bX as lt,cf as ni,dN as Ie,eZ as ce,bZ as Po,b8 as Se,db as kt,d5 as ii,b_ as qe,b$ as tt,U as Je,av as At,dJ as oi,d8 as Do,g2 as Ut,bg as si,g3 as ai,o as b,bf as Te,Q as xt,t as st,g4 as Ro,bn as Re,R as jr,S as Pr,g5 as It,g6 as ko,H as Ue,au as Ct,$ as Ge,D as Ur,X as nt,v as Ee,Y as Ke,g7 as Ao,h as Dr,aW as Io,w as Oo,x as No,s as Pe,f4 as Mo,g as St,ad as Tt,bz as et,g8 as Lo,dE as _o,dl as qo,f as Uo,n as Et,E as Ye,dw as Bo,g9 as Fo,eC as Vo,ga as li,gb as Ot,gc as $o,dG as Gr,b as Ze,W as Br,dI as zo,bq as ci,br as Ko,bs as ui,aE as Wo,fH as di,gd as fi,aS as Ho,aF as Yo,a9 as Go,y as Zo,ge as Qo,a4 as Xo,bB as Jo,V as es,O as ts}from"./index-DU58_n0q.js";import{A as Nt}from"./Add-BjgJStpH.js";import{V as rs}from"./ViewList-parLhgb2.js";import{H as Fr,g as ns}from"./index-CAsP5aCR.js";import{u as is}from"./use-mobile-D4cCp5_8.js";import{e as Zr}from"./client-B_AxtLSc.js";import{R as pi,a as Rt,W as mi,D as os}from"./url-evaluation-N368hPz7.js";import{u as Oe}from"./team-CzOAxou8.js";import{u as hi}from"./blocklet-ECxXqY9c.js";import{P as $e}from"./permission-DzQpyYyx.js";import{C as Bt}from"./click-to-copy-CksDRdqm.js";import{s as We,g as ss,S as as,u as Be,a as gi,b as jt,c as bi,d as Ft,e as yi,f as Vr,P as vi,D as wi,h as Mt,M as mt,i as xi,j as Qr,k as bt,v as ls,l as cs,m as Xr,n as us,o as ds,p as fs,q as ps,C as ms,r as hs,t as Lt,w as it,x as _t,y as Jr,z as en,A as gs,T as bs,B as $r,E as ys,F as vs,G as ws,H as xs,I as Cs,J as Ss,K as Ts,L as Pt,N as ot,O as Ci,Q as Es,V as Rr,R as Si,U as js,W as tn,X as Ps,Y as Ds,Z as Rs,_ as ks,$ as As,a0 as Is}from"./AdapterDayjs-BbT4EXkS.js";import{u as Ne}from"./useThemeProps-Cxn8wS-a.js";import{a as rn,b as Os,t as Ns,T as Ms}from"./html-title-B9VJeaWm.js";import{v as De}from"./index-Cyg_4FtP.js";import{V as Ls}from"./Verified-D_qZdRw8.js";import{D as _s}from"./DeleteOutline-QcWnkTtX.js";import{E as nn}from"./ErrorOutline-qyQE7Oa-.js";import{y as Ti}from"./index-DEqQ_b5f.js";import{S as qs}from"./Search-7Pw1ev44.js";import{N as Us}from"./index-BZS48BpA.js";import{b as Bs}from"./sdk-CJ1iR7xK.js";import{A as Fs}from"./actions-BAuWri3w.js";import{S as Vs}from"./shorten-label-DdaucB0K.js";const $s=Yn(t.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),zs=Yn(t.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Ei=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),M.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),M.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),ji=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("path",{d:"M1.25 2.7087C1.25 2.24826 1.62326 1.875 2.0837 1.875H14.339C14.7995 1.875 15.1727 2.24826 15.1727 2.7087V9.31574C15.1727 9.77618 14.7995 10.1494 14.339 10.1494C13.8786 10.1494 13.5053 9.77618 13.5053 9.31574V3.54239H2.91739V16.7565H6.53772H8.34788H9.32435C9.78479 16.7565 10.158 17.1297 10.158 17.5902C10.158 18.0506 9.78479 18.4239 9.32435 18.4239H8.34788H2.0837C1.62326 18.4239 1.25 18.0506 1.25 17.5902V2.7087Z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21129 7.91935C7.70481 7.91935 7.29422 8.32993 7.29422 8.83641C7.29422 9.34289 7.70481 9.75348 8.21129 9.75348C8.71777 9.75348 9.12836 9.34289 9.12836 8.83641C9.12836 8.32993 8.71777 7.91935 8.21129 7.91935ZM5.62683 8.83641C5.62683 7.40905 6.78393 6.25195 8.21129 6.25195C9.63865 6.25195 10.7957 7.40905 10.7957 8.83641C10.7957 10.2638 9.63865 11.4209 8.21129 11.4209C6.78393 11.4209 5.62683 10.2638 5.62683 8.83641Z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62683 13.2133C5.62683 12.7529 6.00009 12.3796 6.46053 12.3796H9.96205C10.4225 12.3796 10.7957 12.7529 10.7957 13.2133C10.7957 13.6737 10.4225 14.047 9.96205 14.047H6.46053C6.00009 14.047 5.62683 13.6737 5.62683 13.2133Z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6406 11.3125C15.8547 11.3125 16.0503 11.434 16.145 11.626L17.1779 13.7184L19.4876 14.056C19.6994 14.087 19.8753 14.2355 19.9413 14.4391C20.0074 14.6427 19.9521 14.8662 19.7987 15.0156L18.1279 16.643L18.5222 18.9421C18.5584 19.1532 18.4716 19.3665 18.2984 19.4923C18.1252 19.6182 17.8955 19.6347 17.706 19.5351L15.6406 18.4489L13.5753 19.5351C13.3858 19.6347 13.1561 19.6182 12.9829 19.4923C12.8096 19.3665 12.7229 19.1532 12.7591 18.9421L13.1534 16.643L11.4825 15.0156C11.3292 14.8662 11.2739 14.6427 11.3399 14.4391C11.406 14.2355 11.5818 14.087 11.7937 14.056L14.1034 13.7184L15.1362 11.626C15.231 11.434 15.4265 11.3125 15.6406 11.3125ZM15.6406 13.1458L14.9815 14.4813C14.8996 14.6471 14.7414 14.7621 14.5584 14.7889L13.0835 15.0044L14.1503 16.0435C14.283 16.1727 14.3435 16.359 14.3122 16.5416L14.0606 18.0088L15.3788 17.3155C15.5427 17.2293 15.7386 17.2293 15.9025 17.3155L17.2207 18.0088L16.969 16.5416C16.9377 16.359 16.9983 16.1727 17.131 16.0435L18.1978 15.0044L16.7229 14.7889C16.5399 14.7621 16.3817 14.6471 16.2998 14.4813L15.6406 13.1458Z"})),Pi=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),M.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),Ks=e=>M.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("g",{clipPath:"url(#clip0)"},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99997 1.59778C8.19071 1.59778 7.39961 1.83775 6.72673 2.28736C6.05385 2.73697 5.5294 3.37601 5.21971 4.12367C4.91001 4.87134 4.82898 5.69405 4.98686 6.48777C5.14474 7.28149 5.53444 8.01056 6.10668 8.5828C6.67892 9.15504 7.408 9.54474 8.20172 9.70262C8.99544 9.8605 9.81815 9.77947 10.5658 9.46978C11.3135 9.16009 11.9525 8.63564 12.4021 7.96276C12.8517 7.28987 13.0917 6.49878 13.0917 5.68951C13.0917 4.60432 12.6606 3.56357 11.8933 2.79622C11.1259 2.02887 10.0852 1.59778 8.99997 1.59778ZM7.27426 3.9638C7.73195 3.50611 8.35271 3.24899 8.99997 3.24899C9.48266 3.24899 9.95452 3.39212 10.3559 3.66029C10.7572 3.92846 11.07 4.30962 11.2547 4.75556C11.4394 5.20151 11.4878 5.69222 11.3936 6.16563C11.2994 6.63905 11.067 7.07391 10.7257 7.41522C10.3844 7.75654 9.94951 7.98897 9.4761 8.08314C9.00268 8.17731 8.51197 8.12898 8.06603 7.94426C7.62008 7.75954 7.23892 7.44674 6.97075 7.04539C6.70258 6.64405 6.55945 6.1722 6.55945 5.68951C6.55945 5.04224 6.81658 4.42149 7.27426 3.9638ZM7.36691 10.3075C6.28172 10.3075 5.24097 10.7385 4.47362 11.5059C3.70627 12.2732 3.27518 13.314 3.27518 14.3992V17.121C3.27518 17.2763 3.4011 17.4022 3.55643 17.4022H4.64514C4.80047 17.4022 4.92639 17.2763 4.92639 17.121V14.3992C4.92639 13.7519 5.18351 13.1312 5.6412 12.6735C6.09889 12.2158 6.71964 11.9587 7.36691 11.9587H10.633C10.9535 11.9587 11.2709 12.0218 11.567 12.1444C11.8631 12.2671 12.1321 12.4469 12.3588 12.6735C12.5854 12.9001 12.7651 13.1691 12.8878 13.4652C13.0104 13.7613 13.0736 14.0787 13.0736 14.3992V17.121C13.0736 17.2763 13.1995 17.4022 13.3548 17.4022H14.4435C14.5989 17.4022 14.7248 17.2763 14.7248 17.121V14.3992C14.7248 13.314 14.2937 12.2732 13.5263 11.5059C12.759 10.7385 11.7182 10.3075 10.633 10.3075H7.36691Z"})),M.createElement("defs",null,M.createElement("clipPath",{id:"clip0"},M.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Di=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.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 zt={},Kt,on;function Ws(){return on||(on=1,Kt=e=>encodeURIComponent(e).replace(/[!'()*]/g,l=>`%${l.charCodeAt(0).toString(16).toUpperCase()}`)),Kt}var Wt,sn;function Hs(){if(sn)return Wt;sn=1;var e="%[a-f0-9]{2}",l=new RegExp("("+e+")|([^%]+?)","gi"),a=new RegExp("("+e+")+","gi");function n(u,d){try{return[decodeURIComponent(u.join(""))]}catch{}if(u.length===1)return u;d=d||1;var s=u.slice(0,d),o=u.slice(d);return Array.prototype.concat.call([],n(s),n(o))}function w(u){try{return decodeURIComponent(u)}catch{for(var d=u.match(l)||[],s=1;s<d.length;s++)u=n(d,s).join(""),d=u.match(l)||[];return u}}function x(u){for(var d={"%FE%FF":"��","%FF%FE":"��"},s=a.exec(u);s;){try{d[s[0]]=decodeURIComponent(s[0])}catch{var o=w(s[0]);o!==s[0]&&(d[s[0]]=o)}s=a.exec(u)}d["%C2"]="�";for(var r=Object.keys(d),S=0;S<r.length;S++){var c=r[S];u=u.replace(new RegExp(c,"g"),d[c])}return u}return Wt=function(u){if(typeof u!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof u+"`");try{return u=u.replace(/\+/g," "),decodeURIComponent(u)}catch{return x(u)}},Wt}var Ht,an;function Ys(){return an||(an=1,Ht=(e,l)=>{if(!(typeof e=="string"&&typeof l=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(l==="")return[e];const a=e.indexOf(l);return a===-1?[e]:[e.slice(0,a),e.slice(a+l.length)]}),Ht}var Yt,ln;function Gs(){return ln||(ln=1,Yt=function(e,l){for(var a={},n=Object.keys(e),w=Array.isArray(l),x=0;x<n.length;x++){var u=n[x],d=e[u];(w?l.indexOf(u)!==-1:l(u,d,e))&&(a[u]=d)}return a}),Yt}var cn;function Zs(){return cn||(cn=1,function(e){const l=Ws(),a=Hs(),n=Ys(),w=Gs(),x=h=>h==null;function u(h){switch(h.arrayFormat){case"index":return p=>(g,v)=>{const T=g.length;return v===void 0||h.skipNull&&v===null||h.skipEmptyString&&v===""?g:v===null?[...g,[o(p,h),"[",T,"]"].join("")]:[...g,[o(p,h),"[",o(T,h),"]=",o(v,h)].join("")]};case"bracket":return p=>(g,v)=>v===void 0||h.skipNull&&v===null||h.skipEmptyString&&v===""?g:v===null?[...g,[o(p,h),"[]"].join("")]:[...g,[o(p,h),"[]=",o(v,h)].join("")];case"comma":case"separator":return p=>(g,v)=>v==null||v.length===0?g:g.length===0?[[o(p,h),"=",o(v,h)].join("")]:[[g,o(v,h)].join(h.arrayFormatSeparator)];default:return p=>(g,v)=>v===void 0||h.skipNull&&v===null||h.skipEmptyString&&v===""?g:v===null?[...g,o(p,h)]:[...g,[o(p,h),"=",o(v,h)].join("")]}}function d(h){let p;switch(h.arrayFormat){case"index":return(g,v,T)=>{if(p=/\[(\d*)\]$/.exec(g),g=g.replace(/\[\d*\]$/,""),!p){T[g]=v;return}T[g]===void 0&&(T[g]={}),T[g][p[1]]=v};case"bracket":return(g,v,T)=>{if(p=/(\[\])$/.exec(g),g=g.replace(/\[\]$/,""),!p){T[g]=v;return}if(T[g]===void 0){T[g]=[v];return}T[g]=[].concat(T[g],v)};case"comma":case"separator":return(g,v,T)=>{const A=typeof v=="string"&&v.includes(h.arrayFormatSeparator),k=typeof v=="string"&&!A&&r(v,h).includes(h.arrayFormatSeparator);v=k?r(v,h):v;const z=A||k?v.split(h.arrayFormatSeparator).map(D=>r(D,h)):v===null?v:r(v,h);T[g]=z};default:return(g,v,T)=>{if(T[g]===void 0){T[g]=v;return}T[g]=[].concat(T[g],v)}}}function s(h){if(typeof h!="string"||h.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function o(h,p){return p.encode?p.strict?l(h):encodeURIComponent(h):h}function r(h,p){return p.decode?a(h):h}function S(h){return Array.isArray(h)?h.sort():typeof h=="object"?S(Object.keys(h)).sort((p,g)=>Number(p)-Number(g)).map(p=>h[p]):h}function c(h){const p=h.indexOf("#");return p!==-1&&(h=h.slice(0,p)),h}function m(h){let p="";const g=h.indexOf("#");return g!==-1&&(p=h.slice(g)),p}function i(h){h=c(h);const p=h.indexOf("?");return p===-1?"":h.slice(p+1)}function f(h,p){return p.parseNumbers&&!Number.isNaN(Number(h))&&typeof h=="string"&&h.trim()!==""?h=Number(h):p.parseBooleans&&h!==null&&(h.toLowerCase()==="true"||h.toLowerCase()==="false")&&(h=h.toLowerCase()==="true"),h}function y(h,p){p=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},p),s(p.arrayFormatSeparator);const g=d(p),v=Object.create(null);if(typeof h!="string"||(h=h.trim().replace(/^[?#&]/,""),!h))return v;for(const T of h.split("&")){if(T==="")continue;let[A,k]=n(p.decode?T.replace(/\+/g," "):T,"=");k=k===void 0?null:["comma","separator"].includes(p.arrayFormat)?k:r(k,p),g(r(A,p),k,v)}for(const T of Object.keys(v)){const A=v[T];if(typeof A=="object"&&A!==null)for(const k of Object.keys(A))A[k]=f(A[k],p);else v[T]=f(A,p)}return p.sort===!1?v:(p.sort===!0?Object.keys(v).sort():Object.keys(v).sort(p.sort)).reduce((T,A)=>{const k=v[A];return k&&typeof k=="object"&&!Array.isArray(k)?T[A]=S(k):T[A]=k,T},Object.create(null))}e.extract=i,e.parse=y,e.stringify=(h,p)=>{if(!h)return"";p=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},p),s(p.arrayFormatSeparator);const g=k=>p.skipNull&&x(h[k])||p.skipEmptyString&&h[k]==="",v=u(p),T={};for(const k of Object.keys(h))g(k)||(T[k]=h[k]);const A=Object.keys(T);return p.sort!==!1&&A.sort(p.sort),A.map(k=>{const z=h[k];return z===void 0?"":z===null?o(k,p):Array.isArray(z)?z.reduce(v(k),[]).join("&"):o(k,p)+"="+o(z,p)}).filter(k=>k.length>0).join("&")},e.parseUrl=(h,p)=>{p=Object.assign({decode:!0},p);const[g,v]=n(h,"#");return Object.assign({url:g.split("?")[0]||"",query:y(i(h),p)},p&&p.parseFragmentIdentifier&&v?{fragmentIdentifier:r(v,p)}:{})},e.stringifyUrl=(h,p)=>{p=Object.assign({encode:!0,strict:!0},p);const g=c(h.url).split("?")[0]||"",v=e.extract(h.url),T=e.parse(v,{sort:!1}),A=Object.assign(T,h.query);let k=e.stringify(A,p);k&&(k=`?${k}`);let z=m(h.url);return h.fragmentIdentifier&&(z=`#${o(h.fragmentIdentifier,p)}`),`${g}${k}${z}`},e.pick=(h,p,g)=>{g=Object.assign({parseFragmentIdentifier:!0},g);const{url:v,query:T,fragmentIdentifier:A}=e.parseUrl(h,g);return e.stringifyUrl({url:v,query:w(T,p),fragmentIdentifier:A},g)},e.exclude=(h,p,g)=>{const v=Array.isArray(p)?T=>!p.includes(T):(T,A)=>!p(T,A);return e.pick(h,v,g)}}(zt)),zt}var Gt=Zs();const dt=oo,Qs={parseNumbers:!1,parseBooleans:!1},Xs={skipNull:!1,skipEmptyString:!1},Js=(e,l)=>{var a,n;const{navigateMode:w="push",parseOptions:x,stringifyOptions:u}={},d=Object.assign(Object.assign({},Qs),x),s=Object.assign(Object.assign({},Xs),u),o=dt.useLocation(),r=(a=dt.useHistory)===null||a===void 0?void 0:a.call(dt),S=(n=dt.useNavigate)===null||n===void 0?void 0:n.call(dt),c=so(),m=M.useRef(typeof e=="function"?e():e||{}),i=M.useMemo(()=>Gt.parse(o.search,d),[o.search]),f=M.useMemo(()=>Object.assign(Object.assign({},m.current),i),[i]);return[f,He(h=>{const p=typeof h=="function"?h(f):h;c(),r&&r[w]({hash:o.hash,search:Gt.stringify(Object.assign(Object.assign({},i),p),s)||"?"},o.state),S&&S({hash:o.hash,search:Gt.stringify(Object.assign(Object.assign({},i),p),s)||"?"},{replace:w==="replace",state:o.state})})]};var ht={exports:{}},ea=ht.exports,un;function ta(){return un||(un=1,function(e,l){(function(a,n){var w="1.0.40",x="",u="?",d="function",s="undefined",o="object",r="string",S="major",c="model",m="name",i="type",f="vendor",y="version",h="architecture",p="console",g="mobile",v="tablet",T="smarttv",A="wearable",k="embedded",z=500,D="Amazon",N="Apple",K="ASUS",H="BlackBerry",re="Browser",fe="Chrome",ne="Edge",me="Firefox",ye="Google",te="Huawei",O="LG",q="Microsoft",Y="Motorola",$="Opera",G="Samsung",R="Sharp",E="Sony",P="Xiaomi",U="Zebra",B="Facebook",V="Chromium OS",Q="Mac OS",le=" Browser",de=function(I,_){var L={};for(var Z in I)_[Z]&&_[Z].length%2===0?L[Z]=_[Z].concat(I[Z]):L[Z]=I[Z];return L},pe=function(I){for(var _={},L=0;L<I.length;L++)_[I[L].toUpperCase()]=I[L];return _},he=function(I,_){return typeof I===r?ve(_).indexOf(ve(I))!==-1:!1},ve=function(I){return I.toLowerCase()},Ce=function(I){return typeof I===r?I.replace(/[^\d\.]/g,x).split(".")[0]:n},xe=function(I,_){if(typeof I===r)return I=I.replace(/^\s\s*/,x),typeof _===s?I:I.substring(0,z)},be=function(I,_){for(var L=0,Z,ie,ue,ee,J,ge;L<_.length&&!J;){var Me=_[L],Le=_[L+1];for(Z=ie=0;Z<Me.length&&!J&&Me[Z];)if(J=Me[Z++].exec(I),J)for(ue=0;ue<Le.length;ue++)ge=J[++ie],ee=Le[ue],typeof ee===o&&ee.length>0?ee.length===2?typeof ee[1]==d?this[ee[0]]=ee[1].call(this,ge):this[ee[0]]=ee[1]:ee.length===3?typeof ee[1]===d&&!(ee[1].exec&&ee[1].test)?this[ee[0]]=ge?ee[1].call(this,ge,ee[2]):n:this[ee[0]]=ge?ge.replace(ee[1],ee[2]):n:ee.length===4&&(this[ee[0]]=ge?ee[3].call(this,ge.replace(ee[1],ee[2])):n):this[ee]=ge||n;L+=2}},se=function(I,_){for(var L in _)if(typeof _[L]===o&&_[L].length>0){for(var Z=0;Z<_[L].length;Z++)if(he(_[L][Z],I))return L===u?n:L}else if(he(_[L],I))return L===u?n:L;return _.hasOwnProperty("*")?_["*"]:I},oe={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={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"},F={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,y],[/opios[\/ ]+([\w\.]+)/i],[y,[m,$+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[y,[m,$+" GX"]],[/\bopr\/([\w\.]+)/i],[y,[m,$]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[y,[m,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[y,[m,"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],[m,y],[/quark(?:pc)?\/([-\w\.]+)/i],[y,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[y,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[m,"UC"+re]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[y,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[y,[m,"Smart Lenovo "+re]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+re],y],[/\bfocus\/([\w\.]+)/i],[y,[m,me+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[m,$+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[m,$+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[m,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[y,[m,me]],[/\bqihoobrowser\/?([\w\.]*)/i],[y,[m,"360"]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+le],y],[/samsungbrowser\/([\w\.]+)/i],[y,[m,G+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[y,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[m,y],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[y,m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,B],y],[/(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],[m,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[m,fe+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,fe+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[m,"Android "+re]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[y,se,oe]],[/(webkit|khtml)\/([\w\.]+)/i],[m,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],y],[/(wolvic|librewolf)\/([\w\.]+)/i],[m,y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[m,me+" 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],[m,[y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,ve]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,x,ve]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,ve]]],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],[c,[f,G],[i,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[f,G],[i,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[f,N],[i,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[f,N],[i,v]],[/(macintosh);/i],[c,[f,N]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[f,R],[i,g]],[/(?:honor)([-\w ]+)[;\)]/i],[c,[f,"Honor"],[i,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[f,te],[i,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[f,te],[i,g]],[/\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],[[c,/_/g," "],[f,P],[i,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[f,P],[i,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[f,"OPPO"],[i,g]],[/\b(opd2\d{3}a?) bui/i],[c,[f,"OPPO"],[i,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[f,"Vivo"],[i,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[f,"Realme"],[i,g]],[/\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],[c,[f,Y],[i,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[f,Y],[i,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[f,O],[i,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[f,O],[i,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[f,"Lenovo"],[i,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[f,"Nokia"],[i,g]],[/(pixel c)\b/i],[c,[f,ye],[i,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[f,ye],[i,g]],[/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],[c,[f,E],[i,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[f,E],[i,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[f,"OnePlus"],[i,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[f,D],[i,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[f,D],[i,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,f,[i,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[f,H],[i,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[f,K],[i,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[f,K],[i,g]],[/(nexus 9)/i],[c,[f,"HTC"],[i,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[c,/_/g," "],[i,g]],[/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],[c,[f,"TCL"],[i,v]],[/(itel) ((\w+))/i],[[f,ve],c,[i,se,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[f,"Acer"],[i,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[f,"Meizu"],[i,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[f,"Ulefone"],[i,g]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[f,"Energizer"],[i,g]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[f,"Cat"],[i,g]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[f,"Smartfren"],[i,g]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[f,"Nothing"],[i,g]],[/(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],[f,c,[i,g]],[/(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],[f,c,[i,v]],[/(surface duo)/i],[c,[f,q],[i,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[f,"Fairphone"],[i,g]],[/(u304aa)/i],[c,[f,"AT&T"],[i,g]],[/\bsie-(\w*)/i],[c,[f,"Siemens"],[i,g]],[/\b(rct\w+) b/i],[c,[f,"RCA"],[i,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[f,"Dell"],[i,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[f,"Verizon"],[i,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[f,"Barnes & Noble"],[i,v]],[/\b(tm\d{3}\w+) b/i],[c,[f,"NuVision"],[i,v]],[/\b(k88) b/i],[c,[f,"ZTE"],[i,v]],[/\b(nx\d{3}j) b/i],[c,[f,"ZTE"],[i,g]],[/\b(gen\d{3}) b.+49h/i],[c,[f,"Swiss"],[i,g]],[/\b(zur\d{3}) b/i],[c,[f,"Swiss"],[i,v]],[/\b((zeki)?tb.*\b) b/i],[c,[f,"Zeki"],[i,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],c,[i,v]],[/\b(ns-?\w{0,9}) b/i],[c,[f,"Insignia"],[i,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[f,"NextBook"],[i,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],c,[i,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],c,[i,g]],[/\b(ph-1) /i],[c,[f,"Essential"],[i,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[f,"Envizen"],[i,v]],[/\b(trio[-\w\. ]+) b/i],[c,[f,"MachSpeed"],[i,v]],[/\btu_(1491) b/i],[c,[f,"Rotor"],[i,v]],[/(shield[\w ]+) b/i],[c,[f,"Nvidia"],[i,v]],[/(sprint) (\w+)/i],[f,c,[i,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[f,q],[i,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[f,U],[i,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[f,U],[i,g]],[/smart-tv.+(samsung)/i],[f,[i,T]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[f,G],[i,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,O],[i,T]],[/(apple) ?tv/i],[f,[c,N+" TV"],[i,T]],[/crkey/i],[[c,fe+"cast"],[f,ye],[i,T]],[/droid.+aft(\w+)( bui|\))/i],[c,[f,D],[i,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[f,R],[i,T]],[/(bravia[\w ]+)( bui|\))/i],[c,[f,E],[i,T]],[/(mitv-\w{5}) bui/i],[c,[f,P],[i,T]],[/Hbbtv.*(technisat) (.*);/i],[f,c,[i,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,xe],[c,xe],[i,T]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,c,[i,p]],[/droid.+; (shield) bui/i],[c,[f,"Nvidia"],[i,p]],[/(playstation [345portablevi]+)/i],[c,[f,E],[i,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[f,q],[i,p]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[c,[f,G],[i,A]],[/((pebble))app/i],[f,c,[i,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[f,N],[i,A]],[/droid.+; (glass) \d/i],[c,[f,ye],[i,A]],[/droid.+; (wt63?0{2,3})\)/i],[c,[f,U],[i,A]],[/droid.+; (glass) \d/i],[c,[f,ye],[i,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[f,c,[i,A]],[/; (quest( \d| pro)?)/i],[c,[f,B],[i,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[i,k]],[/(aeobc)\b/i],[c,[f,D],[i,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[i,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[i,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[m,ne+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[m,y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[m,"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],[m,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,y],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[y,se,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[y,se,X],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Q],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,y],[/\(bb(10);/i],[y,[m,H]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[m,me+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[m,fe+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,V],y],[/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],[m,y],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,y]]},W=function(I,_){if(typeof I===o&&(_=I,I=n),!(this instanceof W))return new W(I,_).getResult();var L=typeof a!==s&&a.navigator?a.navigator:n,Z=I||(L&&L.userAgent?L.userAgent:x),ie=L&&L.userAgentData?L.userAgentData:n,ue=_?de(F,_):F,ee=L&&L.userAgent==Z;return this.getBrowser=function(){var J={};return J[m]=n,J[y]=n,be.call(J,Z,ue.browser),J[S]=Ce(J[y]),ee&&L&&L.brave&&typeof L.brave.isBrave==d&&(J[m]="Brave"),J},this.getCPU=function(){var J={};return J[h]=n,be.call(J,Z,ue.cpu),J},this.getDevice=function(){var J={};return J[f]=n,J[c]=n,J[i]=n,be.call(J,Z,ue.device),ee&&!J[i]&&ie&&ie.mobile&&(J[i]=g),ee&&J[c]=="Macintosh"&&L&&typeof L.standalone!==s&&L.maxTouchPoints&&L.maxTouchPoints>2&&(J[c]="iPad",J[i]=v),J},this.getEngine=function(){var J={};return J[m]=n,J[y]=n,be.call(J,Z,ue.engine),J},this.getOS=function(){var J={};return J[m]=n,J[y]=n,be.call(J,Z,ue.os),ee&&!J[m]&&ie&&ie.platform&&ie.platform!="Unknown"&&(J[m]=ie.platform.replace(/chrome os/i,V).replace(/macos/i,Q)),J},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 Z},this.setUA=function(J){return Z=typeof J===r&&J.length>z?xe(J,z):J,this},this.setUA(Z),this};W.VERSION=w,W.BROWSER=pe([m,y,S]),W.CPU=pe([h]),W.DEVICE=pe([c,f,i,p,g,T,v,A,k]),W.ENGINE=W.OS=pe([m,y]),e.exports&&(l=e.exports=W),l.UAParser=W;var C=typeof a!==s&&(a.jQuery||a.Zepto);if(C&&!C.ua){var j=new W;C.ua=j.getResult(),C.ua.get=function(){return j.getUA()},C.ua.set=function(I){j.setUA(I);var _=j.getResult();for(var L in _)C.ua[L]=_[L]}}})(typeof window=="object"?window:ea)}(ht,ht.exports)),ht.exports}var ra=ta();const Zt=Gn(ra);function na({user:e,sessionUser:l}){const a=Ve(()=>(e?.passports||[])?.find(n=>n.name===l.role),[e?.passports,l?.role]);return t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(Zn,{size:40,variant:"circle",shape:"circle",src:l.avatar,did:l.did,sx:{flexShrink:0}}),t.jsxs(ae,{sx:{flex:1,overflow:"hidden"},children:[t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(ze,{title:l.fullName,children:t.jsx(we,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:l.fullName})}),t.jsx(ao,{label:a?.title||a?.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"}})]}),t.jsx(ze,{title:l.email,children:t.jsx(we,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:l.email})})]})]})}const ia={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"}},Ri="Reserved IP",dn="ip-region-cache";async function oa(e){const l=`https://ipapi.co/${e}/json/`,a=await(await fetch(l)).json();let n="";return a.error?a.reserved&&(n=Ri):n=[a.country_name,a.region,a.city].filter(Boolean).join("/"),n}async function sa(e){const l=`https://api.ip.sb/geoip/${e}`,a=await(await fetch(l)).json();let n="";return a.error?a.reserved&&(n=Ri):n=[a.country,a.region,a.city].filter(Boolean).join("/"),n}async function aa(e){let l="",a={};try{const n=localStorage.getItem(dn);n&&(a=JSON.parse(n))}catch{a={}}if(a[e])l=a[e];else{try{l=await sa(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!l)try{l=await oa(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(l){const n=Object.keys(a);n.length>100&&delete a[n[0]],a[e]&&delete a[e],a[e]=l,localStorage.setItem(dn,JSON.stringify(a))}return l}const fn=e=>new Zt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Zt.BROWSER.NAME,Zt.BROWSER.VERSION]]}).getResult(),pn={display:"flex",justifyContent:"flex-end",textAlign:"right"},la=new fo({concurrency:1}),ca=M.memo(({userSession:e,isMobile:l=!1})=>{const a=Qe({loading:!0,ipRegion:""}),{t:n}=je();return M.useEffect(()=>{la.add(async()=>{try{a.ipRegion=await aa(e.lastLoginIp)}finally{a.loading=!1}})},[a,e.lastLoginIp]),t.jsx(ae,{...l&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:a.ipRegion?t.jsxs(t.Fragment,{children:[t.jsx(we,{variant:"body2",children:a.ipRegion}),t.jsx(we,{variant:"body2",color:"grey",children:e.lastLoginIp||n("unknown")})]}):t.jsxs(t.Fragment,{children:[t.jsx(we,{children:e.lastLoginIp||n("unknown")}),a.loading?t.jsx(we,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:t.jsx(Xe,{size:12,color:"inherit"})}):null]})})});function ua({user:e,showAction:l=!0,showUser:a=!0,getUserSessions:n,showOffline:w=!1,showAppPid:x=!1}){const u=Qe({status:"online",page:1,pageSize:10}),d=Qe({online:0,expired:0,offline:0}),s=lo(),{locale:o}=je(),r=is({key:"md"}),S=Qn(D=>D.breakpoints.down("lg")),{confirmApi:c,confirmHolder:m}=Lr(),i=He((D,N={})=>co(ia,D,o,"en",N)),f=He(async()=>{const D=await n({page:u.page,pageSize:u.pageSize,status:u.status}),N=D?.paging?.total||0;return d[u.status]=N,{total:N,list:D?.list||[]}});Xn(async()=>{const D=await n({page:1,pageSize:1,status:"expired"});d.expired=D?.paging?.total||0;const N=await n({page:1,pageSize:1,status:"offline"});d.offline=N?.paging?.total||0});const y=uo(f,{refreshDeps:[u.status,u.page,u.pageSize]}),h=Ve(()=>y.data?.list||[],[y.data?.list]),p=Ve(()=>{const D=u.status;return D==="online"?d[D]<=1:d[D]===0},[h,s]),g=Ve(()=>Yr({},r?pn:{}),[r]),v=He(({visitorId:D})=>{c.open({title:i("logoutThisSession"),content:i("logoutThisSessionConfirm"),confirmButtonText:i("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:i("cancel"),onConfirm:async()=>{await Zr.user.logout({visitorId:D,includeFederated:!0});const{page:N=0}=u,{list:K=[]}=y.data||{},H=K.length||0;N>1&&H===1&&(u.page=Math.max(N-1,1)),y.refresh(),c.close()}})}),T=He(()=>{c.open({title:i("logoutAllSession",{type:i(u.status)}),content:i("logoutAllSessionConfirm",{type:i(u.status)}),confirmButtonText:i("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:i("cancel"),onConfirm:async()=>{await Zr.user.logout({status:u.status,visitorId:s,includeFederated:!0}),u.page=1,y.refresh(),c.close()}})}),A=[];l&&A.push(t.jsx(ze,{title:i("logoutAllTips",{type:i(u.status)}),children:t.jsx(yt,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:T,disabled:p,children:i("logoutAll",{type:i(u.status)})})},"logoutAll"));const k=Ve(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:u.page-1,rowsPerPage:u.pageSize,count:y.data?.total||0}),[y.data?.total,u.page,u.pageSize]),z=[{label:i("platform"),name:"platform",options:{customBodyRenderLite:D=>{const N=h[D],K=fn(N?.ua);return t.jsx(ae,{sx:g,children:[K.os?.name,K.os?.version].filter(Boolean).join("/")||i("unknown")})}}},{label:i("deviceType"),name:"deviceType",options:{customBodyRenderLite:D=>{const N=h[D],K=fn(N?.ua);return t.jsx(ae,{sx:g,children:[K.browser?.name,K.browser?.version].filter(Boolean).join("/")||i("unknown")})}}},{label:i("walletOS"),name:"walletOS",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:N.extra?.walletOS||i("unknown")})}}},x&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:D=>{const N=h[D];return N.appPid?t.jsx(Jn,{size:14,responsive:!1,compact:!0,did:N.appPid}):null}}},a&&{label:i("user"),name:"user",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:Yr({minWidth:150,maxWidth:250},r?pn:{}),children:t.jsx(na,{sessionUser:N.user,user:e})})}}},{label:i("createdAt"),name:"createdAt",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:N.createdAt?t.jsx(vt,{value:N.createdAt,relativeRange:3*86400*1e3,locale:o}):i("unknown")})}}},!w&&{label:i("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:N.status==="expired"?i("expired"):t.jsx(vt,{value:N.updatedAt,relativeRange:3*86400*1e3,locale:o})})}}},{label:i("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ca,{userSession:N,isMobile:r})}}},l&&{label:i("actions"),name:"actions",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:t.jsx(yt,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:s===N.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>v({visitorId:N.visitorId}),children:N.status==="expired"?i("remove"):s===N.visitorId?i("currentSession"):i("logout")})})}}}].filter(Boolean);return t.jsxs(ae,{className:"pc-user-sessions",sx:{maxWidth:r?"unset":S?"calc(100vw - 300px)":"100%",...r&&{".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:D=>`${D.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...r&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[m,t.jsx(Fr,{count:y.data?.total||0,locale:o,data:h,columns:z,customButtons:A,options:k,loading:y.loading,className:"pc-user-sessions-table",title:t.jsxs(pi,{row:!0,sx:{lineHeight:1,ml:1},onChange:D=>{u.status=D.target.value},children:[t.jsx(gt,{value:"online",control:t.jsx(Rt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="online"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[i("online"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",d.online,")"]})]})}),t.jsx(gt,{value:"expired",control:t.jsx(Rt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="expired"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[i("expired"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",d.expired,")"]})]})}),w?t.jsx(gt,{value:"offline",control:t.jsx(Rt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="offline"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[i("offline"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",d.offline,")"]})]})}):null]}),onChange:D=>{u.page=D.page+1,u.pageSize=D.rowsPerPage}})]})}var Qt={exports:{}},Xt={},mn;function ki(){if(mn)return Xt;mn=1;function e(p){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(p)}function l(p,g,v){return Object.defineProperty(p,"prototype",{writable:!1}),p}function a(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function n(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),Object.defineProperty(p,"prototype",{writable:!1}),g&&w(p,g)}function w(p,g){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,A){return T.__proto__=A,T},w(p,g)}function x(p){var g=s();return function(){var T=o(p),A;if(g){var k=o(this).constructor;A=Reflect.construct(T,arguments,k)}else A=T.apply(this,arguments);return u(this,A)}}function u(p,g){if(g&&(e(g)==="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(p)}function d(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function o(p){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(v){return v.__proto__||Object.getPrototypeOf(v)},o(p)}var r={},S,c;function m(p,g,v){v||(v=Error);function T(k,z,D){return typeof g=="string"?g:g(k,z,D)}var A=function(k){n(D,k);var z=x(D);function D(N,K,H){var re;return a(this,D),re=z.call(this,T(N,K,H)),re.code=p,re}return l(D)}(v);r[p]=A}function i(p,g){if(Array.isArray(p)){var v=p.length;return p=p.map(function(T){return String(T)}),v>2?"one of ".concat(g," ").concat(p.slice(0,v-1).join(", "),", or ")+p[v-1]:v===2?"one of ".concat(g," ").concat(p[0]," or ").concat(p[1]):"of ".concat(g," ").concat(p[0])}else return"of ".concat(g," ").concat(String(p))}function f(p,g,v){return p.substr(0,g.length)===g}function y(p,g,v){return(v===void 0||v>p.length)&&(v=p.length),p.substring(v-g.length,v)===g}function h(p,g,v){return typeof v!="number"&&(v=0),v+g.length>p.length?!1:p.indexOf(g,v)!==-1}return m("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),m("ERR_INVALID_ARG_TYPE",function(p,g,v){S===void 0&&(S=kr()),S(typeof p=="string","'name' must be a string");var T;typeof g=="string"&&f(g,"not ")?(T="must not be",g=g.replace(/^not /,"")):T="must be";var A;if(y(p," argument"))A="The ".concat(p," ").concat(T," ").concat(i(g,"type"));else{var k=h(p,".")?"property":"argument";A='The "'.concat(p,'" ').concat(k," ").concat(T," ").concat(i(g,"type"))}return A+=". Received type ".concat(e(v)),A},TypeError),m("ERR_INVALID_ARG_VALUE",function(p,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";c===void 0&&(c=wt());var T=c.inspect(g);return T.length>128&&(T="".concat(T.slice(0,128),"...")),"The argument '".concat(p,"' ").concat(v,". Received ").concat(T)},TypeError),m("ERR_INVALID_RETURN_VALUE",function(p,g,v){var T;return v&&v.constructor&&v.constructor.name?T="instance of ".concat(v.constructor.name):T="type ".concat(e(v)),"Expected ".concat(p,' to be returned from the "').concat(g,'"')+" function but got ".concat(T,".")},TypeError),m("ERR_MISSING_ARGS",function(){for(var p=arguments.length,g=new Array(p),v=0;v<p;v++)g[v]=arguments[v];S===void 0&&(S=kr()),S(g.length>0,"At least one arg needs to be specified");var T="The ",A=g.length;switch(g=g.map(function(k){return'"'.concat(k,'"')}),A){case 1:T+="".concat(g[0]," argument");break;case 2:T+="".concat(g[0]," and ").concat(g[1]," arguments");break;default:T+=g.slice(0,A-1).join(", "),T+=", and ".concat(g[A-1]," arguments");break}return"".concat(T," must be specified")},TypeError),Xt.codes=r,Xt}var Jt,hn;function da(){if(hn)return Jt;hn=1;function e(O,q){var Y=Object.keys(O);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(O);q&&($=$.filter(function(G){return Object.getOwnPropertyDescriptor(O,G).enumerable})),Y.push.apply(Y,$)}return Y}function l(O){for(var q=1;q<arguments.length;q++){var Y=arguments[q]!=null?arguments[q]:{};q%2?e(Object(Y),!0).forEach(function($){a(O,$,Y[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(Y)):e(Object(Y)).forEach(function($){Object.defineProperty(O,$,Object.getOwnPropertyDescriptor(Y,$))})}return O}function a(O,q,Y){return q=u(q),q in O?Object.defineProperty(O,q,{value:Y,enumerable:!0,configurable:!0,writable:!0}):O[q]=Y,O}function n(O,q){if(!(O instanceof q))throw new TypeError("Cannot call a class as a function")}function w(O,q){for(var Y=0;Y<q.length;Y++){var $=q[Y];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(O,u($.key),$)}}function x(O,q,Y){return q&&w(O.prototype,q),Object.defineProperty(O,"prototype",{writable:!1}),O}function u(O){var q=d(O,"string");return p(q)==="symbol"?q:String(q)}function d(O,q){if(p(O)!=="object"||O===null)return O;var Y=O[Symbol.toPrimitive];if(Y!==void 0){var $=Y.call(O,q);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}function s(O,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(q&&q.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),q&&y(O,q)}function o(O){var q=i();return function(){var $=h(O),G;if(q){var R=h(this).constructor;G=Reflect.construct($,arguments,R)}else G=$.apply(this,arguments);return r(this,G)}}function r(O,q){if(q&&(p(q)==="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(O)}function S(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function c(O){var q=typeof Map=="function"?new Map:void 0;return c=function($){if($===null||!f($))return $;if(typeof $!="function")throw new TypeError("Super expression must either be null or a function");if(typeof q<"u"){if(q.has($))return q.get($);q.set($,G)}function G(){return m($,arguments,h(this).constructor)}return G.prototype=Object.create($.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),y(G,$)},c(O)}function m(O,q,Y){return i()?m=Reflect.construct.bind():m=function(G,R,E){var P=[null];P.push.apply(P,R);var U=Function.bind.apply(G,P),B=new U;return E&&y(B,E.prototype),B},m.apply(null,arguments)}function i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(O){return Function.toString.call(O).indexOf("[native code]")!==-1}function y(O,q){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function($,G){return $.__proto__=G,$},y(O,q)}function h(O){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},h(O)}function p(O){"@babel/helpers - typeof";return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},p(O)}var g=wt(),v=g.inspect,T=ki(),A=T.codes.ERR_INVALID_ARG_TYPE;function k(O,q,Y){return(Y===void 0||Y>O.length)&&(Y=O.length),O.substring(Y-q.length,Y)===q}function z(O,q){if(q=Math.floor(q),O.length==0||q==0)return"";var Y=O.length*q;for(q=Math.floor(Math.log(q)/Math.log(2));q;)O+=O,q--;return O+=O.substring(0,Y-O.length),O}var D="",N="",K="",H="",re={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},fe=10;function ne(O){var q=Object.keys(O),Y=Object.create(Object.getPrototypeOf(O));return q.forEach(function($){Y[$]=O[$]}),Object.defineProperty(Y,"message",{value:O.message}),Y}function me(O){return v(O,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function ye(O,q,Y){var $="",G="",R=0,E="",P=!1,U=me(O),B=U.split(`
1
+ import{aG as Yn,j as t,r as M,fI as oo,fJ as so,cr as He,bd as Gn,by as Ve,N as ae,at as Zn,az as ze,T as we,eN as ao,aP as Qe,fK as lo,m as je,F as Qn,fL as Lr,fM as co,cV as Xn,cq as uo,bk as Yr,dH as yt,dF as Jn,P as vt,aU as gt,fN as fo,C as Xe,fO as wt,ey as Ae,fP as ei,fQ as po,fR as mo,fS as ho,fT as go,fU as bo,fV as ti,fW as yo,fX as _r,fY as vo,fZ as wo,f_ as xo,f$ as Co,ez as qr,g0 as ri,eA as So,cE as Er,eB as To,dD as Eo,g1 as jo,bW as at,bX as lt,cf as ni,dN as Ie,eZ as ce,bZ as Po,b8 as Se,db as kt,d5 as ii,b_ as qe,b$ as tt,U as Je,av as At,dJ as oi,d8 as Do,g2 as Ut,bg as si,g3 as ai,o as b,bf as Te,Q as xt,t as st,g4 as Ro,bn as Re,R as jr,S as Pr,g5 as It,g6 as ko,H as Ue,au as Ct,$ as Ge,D as Ur,X as nt,v as Ee,Y as Ke,g7 as Ao,h as Dr,aW as Io,w as Oo,x as No,s as Pe,f4 as Mo,g as St,ad as Tt,bz as et,g8 as Lo,dE as _o,dl as qo,f as Uo,n as Et,E as Ye,dw as Bo,g9 as Fo,eC as Vo,ga as li,gb as Ot,gc as $o,dG as Gr,b as Ze,W as Br,dI as zo,bq as ci,br as Ko,bs as ui,aE as Wo,fH as di,gd as fi,aS as Ho,aF as Yo,a9 as Go,y as Zo,ge as Qo,a4 as Xo,bB as Jo,V as es,O as ts}from"./index-D6TVGB8K.js";import{A as Nt}from"./Add-CRYWmyuR.js";import{V as rs}from"./ViewList-CkvKU3wV.js";import{H as Fr,g as ns}from"./index-DfUsFF1_.js";import{u as is}from"./use-mobile-stNEoGvd.js";import{e as Zr}from"./client-B-c7ei8g.js";import{R as pi,a as Rt,W as mi,D as os}from"./url-evaluation-CV1iSx1K.js";import{u as Oe}from"./team--wmU0D2h.js";import{u as hi}from"./blocklet-DNoyp9Cs.js";import{P as $e}from"./permission-CEx3Xzzt.js";import{C as Bt}from"./click-to-copy-BZtVQnJA.js";import{s as We,g as ss,S as as,u as Be,a as gi,b as jt,c as bi,d as Ft,e as yi,f as Vr,P as vi,D as wi,h as Mt,M as mt,i as xi,j as Qr,k as bt,v as ls,l as cs,m as Xr,n as us,o as ds,p as fs,q as ps,C as ms,r as hs,t as Lt,w as it,x as _t,y as Jr,z as en,A as gs,T as bs,B as $r,E as ys,F as vs,G as ws,H as xs,I as Cs,J as Ss,K as Ts,L as Pt,N as ot,O as Ci,Q as Es,V as Rr,R as Si,U as js,W as tn,X as Ps,Y as Ds,Z as Rs,_ as ks,$ as As,a0 as Is}from"./AdapterDayjs-D4Zkiick.js";import{u as Ne}from"./useThemeProps-CQgN1y2i.js";import{a as rn,b as Os,t as Ns,T as Ms}from"./html-title-BNM7JHcp.js";import{v as De}from"./index-KcFXaE_y.js";import{V as Ls}from"./Verified-Cq7YQDPe.js";import{D as _s}from"./DeleteOutline-CPeLbfI7.js";import{E as nn}from"./ErrorOutline-CTO0yYkX.js";import{y as Ti}from"./index-DQwdG3oO.js";import{S as qs}from"./Search-DiToZzru.js";import{N as Us}from"./index-KV2818dS.js";import{b as Bs}from"./sdk-AP0IBqOB.js";import{A as Fs}from"./actions-lE2MOCrv.js";import{S as Vs}from"./shorten-label-BhRK0ln2.js";const $s=Yn(t.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),zs=Yn(t.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Ei=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),M.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),M.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),ji=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("path",{d:"M1.25 2.7087C1.25 2.24826 1.62326 1.875 2.0837 1.875H14.339C14.7995 1.875 15.1727 2.24826 15.1727 2.7087V9.31574C15.1727 9.77618 14.7995 10.1494 14.339 10.1494C13.8786 10.1494 13.5053 9.77618 13.5053 9.31574V3.54239H2.91739V16.7565H6.53772H8.34788H9.32435C9.78479 16.7565 10.158 17.1297 10.158 17.5902C10.158 18.0506 9.78479 18.4239 9.32435 18.4239H8.34788H2.0837C1.62326 18.4239 1.25 18.0506 1.25 17.5902V2.7087Z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.21129 7.91935C7.70481 7.91935 7.29422 8.32993 7.29422 8.83641C7.29422 9.34289 7.70481 9.75348 8.21129 9.75348C8.71777 9.75348 9.12836 9.34289 9.12836 8.83641C9.12836 8.32993 8.71777 7.91935 8.21129 7.91935ZM5.62683 8.83641C5.62683 7.40905 6.78393 6.25195 8.21129 6.25195C9.63865 6.25195 10.7957 7.40905 10.7957 8.83641C10.7957 10.2638 9.63865 11.4209 8.21129 11.4209C6.78393 11.4209 5.62683 10.2638 5.62683 8.83641Z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.62683 13.2133C5.62683 12.7529 6.00009 12.3796 6.46053 12.3796H9.96205C10.4225 12.3796 10.7957 12.7529 10.7957 13.2133C10.7957 13.6737 10.4225 14.047 9.96205 14.047H6.46053C6.00009 14.047 5.62683 13.6737 5.62683 13.2133Z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6406 11.3125C15.8547 11.3125 16.0503 11.434 16.145 11.626L17.1779 13.7184L19.4876 14.056C19.6994 14.087 19.8753 14.2355 19.9413 14.4391C20.0074 14.6427 19.9521 14.8662 19.7987 15.0156L18.1279 16.643L18.5222 18.9421C18.5584 19.1532 18.4716 19.3665 18.2984 19.4923C18.1252 19.6182 17.8955 19.6347 17.706 19.5351L15.6406 18.4489L13.5753 19.5351C13.3858 19.6347 13.1561 19.6182 12.9829 19.4923C12.8096 19.3665 12.7229 19.1532 12.7591 18.9421L13.1534 16.643L11.4825 15.0156C11.3292 14.8662 11.2739 14.6427 11.3399 14.4391C11.406 14.2355 11.5818 14.087 11.7937 14.056L14.1034 13.7184L15.1362 11.626C15.231 11.434 15.4265 11.3125 15.6406 11.3125ZM15.6406 13.1458L14.9815 14.4813C14.8996 14.6471 14.7414 14.7621 14.5584 14.7889L13.0835 15.0044L14.1503 16.0435C14.283 16.1727 14.3435 16.359 14.3122 16.5416L14.0606 18.0088L15.3788 17.3155C15.5427 17.2293 15.7386 17.2293 15.9025 17.3155L17.2207 18.0088L16.969 16.5416C16.9377 16.359 16.9983 16.1727 17.131 16.0435L18.1978 15.0044L16.7229 14.7889C16.5399 14.7621 16.3817 14.6471 16.2998 14.4813L15.6406 13.1458Z"})),Pi=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.88619 1.875C5.0541 1.875 4.24071 2.12174 3.54885 2.58402C2.857 3.0463 2.31777 3.70336 1.99934 4.47211C1.68092 5.24085 1.5976 6.08676 1.75994 6.90285C1.92227 7.71895 2.32295 8.46858 2.91133 9.05695C3.4997 9.64532 4.24933 10.046 5.06543 10.2083C5.88152 10.3707 6.72743 10.2874 7.49617 9.96893C8.26492 9.65051 8.92198 9.11128 9.38426 8.41942C9.84654 7.72757 10.0933 6.91417 10.0933 6.08209C10.0933 4.9663 9.65003 3.89621 8.86105 3.10723C8.07207 2.31825 7.00198 1.875 5.88619 1.875ZM4.11182 4.30773C4.58242 3.83714 5.22067 3.57276 5.88619 3.57276C6.38249 3.57276 6.86764 3.71993 7.2803 3.99566C7.69295 4.27139 8.01458 4.66329 8.20451 5.12181C8.39443 5.58033 8.44413 6.08487 8.3473 6.57164C8.25048 7.0584 8.01149 7.50552 7.66055 7.85645C7.30962 8.20739 6.8625 8.44638 6.37574 8.5432C5.88897 8.64003 5.38443 8.59033 4.92591 8.40041C4.46739 8.21048 4.07549 7.88885 3.79976 7.4762C3.52403 7.06354 3.37686 6.57839 3.37686 6.08209C3.37686 5.41657 3.64123 4.77832 4.11182 4.30773ZM4.20709 10.8302C3.0913 10.8302 2.02121 11.2735 1.23223 12.0624C0.443246 12.8514 0 13.9215 0 15.0373V17.8358C0 17.9955 0.12947 18.125 0.289179 18.125H1.40858C1.56829 18.125 1.69776 17.9955 1.69776 17.8358V15.0373C1.69776 14.3718 1.96214 13.7335 2.43273 13.2629C2.90332 12.7924 3.54157 12.528 4.20709 12.528H7.5653C7.89483 12.528 8.22113 12.5929 8.52558 12.719C8.83002 12.8451 9.10665 13.0299 9.33966 13.2629C9.57267 13.496 9.75751 13.7726 9.88361 14.077C10.0097 14.3815 10.0746 14.7078 10.0746 15.0373V17.8358C10.0746 17.9955 10.2041 18.125 10.3638 18.125H11.4832C11.6429 18.125 11.7724 17.9955 11.7724 17.8358V15.0373C11.7724 13.9215 11.3291 12.8514 10.5402 12.0624C9.75118 11.2735 8.68109 10.8302 7.5653 10.8302H4.20709Z"}),M.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),Ks=e=>M.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},M.createElement("g",{clipPath:"url(#clip0)"},M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.99997 1.59778C8.19071 1.59778 7.39961 1.83775 6.72673 2.28736C6.05385 2.73697 5.5294 3.37601 5.21971 4.12367C4.91001 4.87134 4.82898 5.69405 4.98686 6.48777C5.14474 7.28149 5.53444 8.01056 6.10668 8.5828C6.67892 9.15504 7.408 9.54474 8.20172 9.70262C8.99544 9.8605 9.81815 9.77947 10.5658 9.46978C11.3135 9.16009 11.9525 8.63564 12.4021 7.96276C12.8517 7.28987 13.0917 6.49878 13.0917 5.68951C13.0917 4.60432 12.6606 3.56357 11.8933 2.79622C11.1259 2.02887 10.0852 1.59778 8.99997 1.59778ZM7.27426 3.9638C7.73195 3.50611 8.35271 3.24899 8.99997 3.24899C9.48266 3.24899 9.95452 3.39212 10.3559 3.66029C10.7572 3.92846 11.07 4.30962 11.2547 4.75556C11.4394 5.20151 11.4878 5.69222 11.3936 6.16563C11.2994 6.63905 11.067 7.07391 10.7257 7.41522C10.3844 7.75654 9.94951 7.98897 9.4761 8.08314C9.00268 8.17731 8.51197 8.12898 8.06603 7.94426C7.62008 7.75954 7.23892 7.44674 6.97075 7.04539C6.70258 6.64405 6.55945 6.1722 6.55945 5.68951C6.55945 5.04224 6.81658 4.42149 7.27426 3.9638ZM7.36691 10.3075C6.28172 10.3075 5.24097 10.7385 4.47362 11.5059C3.70627 12.2732 3.27518 13.314 3.27518 14.3992V17.121C3.27518 17.2763 3.4011 17.4022 3.55643 17.4022H4.64514C4.80047 17.4022 4.92639 17.2763 4.92639 17.121V14.3992C4.92639 13.7519 5.18351 13.1312 5.6412 12.6735C6.09889 12.2158 6.71964 11.9587 7.36691 11.9587H10.633C10.9535 11.9587 11.2709 12.0218 11.567 12.1444C11.8631 12.2671 12.1321 12.4469 12.3588 12.6735C12.5854 12.9001 12.7651 13.1691 12.8878 13.4652C13.0104 13.7613 13.0736 14.0787 13.0736 14.3992V17.121C13.0736 17.2763 13.1995 17.4022 13.3548 17.4022H14.4435C14.5989 17.4022 14.7248 17.2763 14.7248 17.121V14.3992C14.7248 13.314 14.2937 12.2732 13.5263 11.5059C12.759 10.7385 11.7182 10.3075 10.633 10.3075H7.36691Z"})),M.createElement("defs",null,M.createElement("clipPath",{id:"clip0"},M.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Di=e=>M.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},M.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 zt={},Kt,on;function Ws(){return on||(on=1,Kt=e=>encodeURIComponent(e).replace(/[!'()*]/g,l=>`%${l.charCodeAt(0).toString(16).toUpperCase()}`)),Kt}var Wt,sn;function Hs(){if(sn)return Wt;sn=1;var e="%[a-f0-9]{2}",l=new RegExp("("+e+")|([^%]+?)","gi"),a=new RegExp("("+e+")+","gi");function n(u,d){try{return[decodeURIComponent(u.join(""))]}catch{}if(u.length===1)return u;d=d||1;var s=u.slice(0,d),o=u.slice(d);return Array.prototype.concat.call([],n(s),n(o))}function w(u){try{return decodeURIComponent(u)}catch{for(var d=u.match(l)||[],s=1;s<d.length;s++)u=n(d,s).join(""),d=u.match(l)||[];return u}}function x(u){for(var d={"%FE%FF":"��","%FF%FE":"��"},s=a.exec(u);s;){try{d[s[0]]=decodeURIComponent(s[0])}catch{var o=w(s[0]);o!==s[0]&&(d[s[0]]=o)}s=a.exec(u)}d["%C2"]="�";for(var r=Object.keys(d),S=0;S<r.length;S++){var c=r[S];u=u.replace(new RegExp(c,"g"),d[c])}return u}return Wt=function(u){if(typeof u!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof u+"`");try{return u=u.replace(/\+/g," "),decodeURIComponent(u)}catch{return x(u)}},Wt}var Ht,an;function Ys(){return an||(an=1,Ht=(e,l)=>{if(!(typeof e=="string"&&typeof l=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(l==="")return[e];const a=e.indexOf(l);return a===-1?[e]:[e.slice(0,a),e.slice(a+l.length)]}),Ht}var Yt,ln;function Gs(){return ln||(ln=1,Yt=function(e,l){for(var a={},n=Object.keys(e),w=Array.isArray(l),x=0;x<n.length;x++){var u=n[x],d=e[u];(w?l.indexOf(u)!==-1:l(u,d,e))&&(a[u]=d)}return a}),Yt}var cn;function Zs(){return cn||(cn=1,function(e){const l=Ws(),a=Hs(),n=Ys(),w=Gs(),x=h=>h==null;function u(h){switch(h.arrayFormat){case"index":return p=>(g,v)=>{const T=g.length;return v===void 0||h.skipNull&&v===null||h.skipEmptyString&&v===""?g:v===null?[...g,[o(p,h),"[",T,"]"].join("")]:[...g,[o(p,h),"[",o(T,h),"]=",o(v,h)].join("")]};case"bracket":return p=>(g,v)=>v===void 0||h.skipNull&&v===null||h.skipEmptyString&&v===""?g:v===null?[...g,[o(p,h),"[]"].join("")]:[...g,[o(p,h),"[]=",o(v,h)].join("")];case"comma":case"separator":return p=>(g,v)=>v==null||v.length===0?g:g.length===0?[[o(p,h),"=",o(v,h)].join("")]:[[g,o(v,h)].join(h.arrayFormatSeparator)];default:return p=>(g,v)=>v===void 0||h.skipNull&&v===null||h.skipEmptyString&&v===""?g:v===null?[...g,o(p,h)]:[...g,[o(p,h),"=",o(v,h)].join("")]}}function d(h){let p;switch(h.arrayFormat){case"index":return(g,v,T)=>{if(p=/\[(\d*)\]$/.exec(g),g=g.replace(/\[\d*\]$/,""),!p){T[g]=v;return}T[g]===void 0&&(T[g]={}),T[g][p[1]]=v};case"bracket":return(g,v,T)=>{if(p=/(\[\])$/.exec(g),g=g.replace(/\[\]$/,""),!p){T[g]=v;return}if(T[g]===void 0){T[g]=[v];return}T[g]=[].concat(T[g],v)};case"comma":case"separator":return(g,v,T)=>{const A=typeof v=="string"&&v.includes(h.arrayFormatSeparator),k=typeof v=="string"&&!A&&r(v,h).includes(h.arrayFormatSeparator);v=k?r(v,h):v;const z=A||k?v.split(h.arrayFormatSeparator).map(D=>r(D,h)):v===null?v:r(v,h);T[g]=z};default:return(g,v,T)=>{if(T[g]===void 0){T[g]=v;return}T[g]=[].concat(T[g],v)}}}function s(h){if(typeof h!="string"||h.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function o(h,p){return p.encode?p.strict?l(h):encodeURIComponent(h):h}function r(h,p){return p.decode?a(h):h}function S(h){return Array.isArray(h)?h.sort():typeof h=="object"?S(Object.keys(h)).sort((p,g)=>Number(p)-Number(g)).map(p=>h[p]):h}function c(h){const p=h.indexOf("#");return p!==-1&&(h=h.slice(0,p)),h}function m(h){let p="";const g=h.indexOf("#");return g!==-1&&(p=h.slice(g)),p}function i(h){h=c(h);const p=h.indexOf("?");return p===-1?"":h.slice(p+1)}function f(h,p){return p.parseNumbers&&!Number.isNaN(Number(h))&&typeof h=="string"&&h.trim()!==""?h=Number(h):p.parseBooleans&&h!==null&&(h.toLowerCase()==="true"||h.toLowerCase()==="false")&&(h=h.toLowerCase()==="true"),h}function y(h,p){p=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},p),s(p.arrayFormatSeparator);const g=d(p),v=Object.create(null);if(typeof h!="string"||(h=h.trim().replace(/^[?#&]/,""),!h))return v;for(const T of h.split("&")){if(T==="")continue;let[A,k]=n(p.decode?T.replace(/\+/g," "):T,"=");k=k===void 0?null:["comma","separator"].includes(p.arrayFormat)?k:r(k,p),g(r(A,p),k,v)}for(const T of Object.keys(v)){const A=v[T];if(typeof A=="object"&&A!==null)for(const k of Object.keys(A))A[k]=f(A[k],p);else v[T]=f(A,p)}return p.sort===!1?v:(p.sort===!0?Object.keys(v).sort():Object.keys(v).sort(p.sort)).reduce((T,A)=>{const k=v[A];return k&&typeof k=="object"&&!Array.isArray(k)?T[A]=S(k):T[A]=k,T},Object.create(null))}e.extract=i,e.parse=y,e.stringify=(h,p)=>{if(!h)return"";p=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},p),s(p.arrayFormatSeparator);const g=k=>p.skipNull&&x(h[k])||p.skipEmptyString&&h[k]==="",v=u(p),T={};for(const k of Object.keys(h))g(k)||(T[k]=h[k]);const A=Object.keys(T);return p.sort!==!1&&A.sort(p.sort),A.map(k=>{const z=h[k];return z===void 0?"":z===null?o(k,p):Array.isArray(z)?z.reduce(v(k),[]).join("&"):o(k,p)+"="+o(z,p)}).filter(k=>k.length>0).join("&")},e.parseUrl=(h,p)=>{p=Object.assign({decode:!0},p);const[g,v]=n(h,"#");return Object.assign({url:g.split("?")[0]||"",query:y(i(h),p)},p&&p.parseFragmentIdentifier&&v?{fragmentIdentifier:r(v,p)}:{})},e.stringifyUrl=(h,p)=>{p=Object.assign({encode:!0,strict:!0},p);const g=c(h.url).split("?")[0]||"",v=e.extract(h.url),T=e.parse(v,{sort:!1}),A=Object.assign(T,h.query);let k=e.stringify(A,p);k&&(k=`?${k}`);let z=m(h.url);return h.fragmentIdentifier&&(z=`#${o(h.fragmentIdentifier,p)}`),`${g}${k}${z}`},e.pick=(h,p,g)=>{g=Object.assign({parseFragmentIdentifier:!0},g);const{url:v,query:T,fragmentIdentifier:A}=e.parseUrl(h,g);return e.stringifyUrl({url:v,query:w(T,p),fragmentIdentifier:A},g)},e.exclude=(h,p,g)=>{const v=Array.isArray(p)?T=>!p.includes(T):(T,A)=>!p(T,A);return e.pick(h,v,g)}}(zt)),zt}var Gt=Zs();const dt=oo,Qs={parseNumbers:!1,parseBooleans:!1},Xs={skipNull:!1,skipEmptyString:!1},Js=(e,l)=>{var a,n;const{navigateMode:w="push",parseOptions:x,stringifyOptions:u}={},d=Object.assign(Object.assign({},Qs),x),s=Object.assign(Object.assign({},Xs),u),o=dt.useLocation(),r=(a=dt.useHistory)===null||a===void 0?void 0:a.call(dt),S=(n=dt.useNavigate)===null||n===void 0?void 0:n.call(dt),c=so(),m=M.useRef(typeof e=="function"?e():e||{}),i=M.useMemo(()=>Gt.parse(o.search,d),[o.search]),f=M.useMemo(()=>Object.assign(Object.assign({},m.current),i),[i]);return[f,He(h=>{const p=typeof h=="function"?h(f):h;c(),r&&r[w]({hash:o.hash,search:Gt.stringify(Object.assign(Object.assign({},i),p),s)||"?"},o.state),S&&S({hash:o.hash,search:Gt.stringify(Object.assign(Object.assign({},i),p),s)||"?"},{replace:w==="replace",state:o.state})})]};var ht={exports:{}},ea=ht.exports,un;function ta(){return un||(un=1,function(e,l){(function(a,n){var w="1.0.40",x="",u="?",d="function",s="undefined",o="object",r="string",S="major",c="model",m="name",i="type",f="vendor",y="version",h="architecture",p="console",g="mobile",v="tablet",T="smarttv",A="wearable",k="embedded",z=500,D="Amazon",N="Apple",K="ASUS",H="BlackBerry",re="Browser",fe="Chrome",ne="Edge",me="Firefox",ye="Google",te="Huawei",O="LG",q="Microsoft",Y="Motorola",$="Opera",G="Samsung",R="Sharp",E="Sony",P="Xiaomi",U="Zebra",B="Facebook",V="Chromium OS",Q="Mac OS",le=" Browser",de=function(I,_){var L={};for(var Z in I)_[Z]&&_[Z].length%2===0?L[Z]=_[Z].concat(I[Z]):L[Z]=I[Z];return L},pe=function(I){for(var _={},L=0;L<I.length;L++)_[I[L].toUpperCase()]=I[L];return _},he=function(I,_){return typeof I===r?ve(_).indexOf(ve(I))!==-1:!1},ve=function(I){return I.toLowerCase()},Ce=function(I){return typeof I===r?I.replace(/[^\d\.]/g,x).split(".")[0]:n},xe=function(I,_){if(typeof I===r)return I=I.replace(/^\s\s*/,x),typeof _===s?I:I.substring(0,z)},be=function(I,_){for(var L=0,Z,ie,ue,ee,J,ge;L<_.length&&!J;){var Me=_[L],Le=_[L+1];for(Z=ie=0;Z<Me.length&&!J&&Me[Z];)if(J=Me[Z++].exec(I),J)for(ue=0;ue<Le.length;ue++)ge=J[++ie],ee=Le[ue],typeof ee===o&&ee.length>0?ee.length===2?typeof ee[1]==d?this[ee[0]]=ee[1].call(this,ge):this[ee[0]]=ee[1]:ee.length===3?typeof ee[1]===d&&!(ee[1].exec&&ee[1].test)?this[ee[0]]=ge?ee[1].call(this,ge,ee[2]):n:this[ee[0]]=ge?ge.replace(ee[1],ee[2]):n:ee.length===4&&(this[ee[0]]=ge?ee[3].call(this,ge.replace(ee[1],ee[2])):n):this[ee]=ge||n;L+=2}},se=function(I,_){for(var L in _)if(typeof _[L]===o&&_[L].length>0){for(var Z=0;Z<_[L].length;Z++)if(he(_[L][Z],I))return L===u?n:L}else if(he(_[L],I))return L===u?n:L;return _.hasOwnProperty("*")?_["*"]:I},oe={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},X={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"},F={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,y],[/opios[\/ ]+([\w\.]+)/i],[y,[m,$+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[y,[m,$+" GX"]],[/\bopr\/([\w\.]+)/i],[y,[m,$]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[y,[m,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[y,[m,"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],[m,y],[/quark(?:pc)?\/([-\w\.]+)/i],[y,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[y,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[m,"UC"+re]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[y,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[y,[m,"Smart Lenovo "+re]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+re],y],[/\bfocus\/([\w\.]+)/i],[y,[m,me+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[m,$+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[m,$+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[m,"MIUI"+le]],[/fxios\/([\w\.-]+)/i],[y,[m,me]],[/\bqihoobrowser\/?([\w\.]*)/i],[y,[m,"360"]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+le],y],[/samsungbrowser\/([\w\.]+)/i],[y,[m,G+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[y,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[m,y],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[y,m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,B],y],[/(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],[m,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[m,fe+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,fe+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[m,"Android "+re]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[y,se,oe]],[/(webkit|khtml)\/([\w\.]+)/i],[m,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],y],[/(wolvic|librewolf)\/([\w\.]+)/i],[m,y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[m,me+" 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],[m,[y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[y,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,ve]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[h,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[h,"armhf"]],[/windows (ce|mobile); ppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[h,/ower/,x,ve]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[h,ve]]],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],[c,[f,G],[i,v]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[c,[f,G],[i,g]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[c,[f,N],[i,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[f,N],[i,v]],[/(macintosh);/i],[c,[f,N]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[f,R],[i,g]],[/(?:honor)([-\w ]+)[;\)]/i],[c,[f,"Honor"],[i,g]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[f,te],[i,v]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[f,te],[i,g]],[/\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],[[c,/_/g," "],[f,P],[i,g]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[f,P],[i,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[f,"OPPO"],[i,g]],[/\b(opd2\d{3}a?) bui/i],[c,[f,"OPPO"],[i,v]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[f,"Vivo"],[i,g]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[c,[f,"Realme"],[i,g]],[/\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],[c,[f,Y],[i,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[f,Y],[i,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[f,O],[i,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[f,O],[i,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[f,"Lenovo"],[i,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[f,"Nokia"],[i,g]],[/(pixel c)\b/i],[c,[f,ye],[i,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[f,ye],[i,g]],[/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],[c,[f,E],[i,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[f,E],[i,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[f,"OnePlus"],[i,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[f,D],[i,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[f,D],[i,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,f,[i,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[f,H],[i,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[f,K],[i,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[f,K],[i,g]],[/(nexus 9)/i],[c,[f,"HTC"],[i,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[c,/_/g," "],[i,g]],[/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],[c,[f,"TCL"],[i,v]],[/(itel) ((\w+))/i],[[f,ve],c,[i,se,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[f,"Acer"],[i,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[f,"Meizu"],[i,g]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[c,[f,"Ulefone"],[i,g]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[c,[f,"Energizer"],[i,g]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[c,[f,"Cat"],[i,g]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[c,[f,"Smartfren"],[i,g]],[/droid.+; (a(?:015|06[35]|142p?))/i],[c,[f,"Nothing"],[i,g]],[/(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],[f,c,[i,g]],[/(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],[f,c,[i,v]],[/(surface duo)/i],[c,[f,q],[i,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[f,"Fairphone"],[i,g]],[/(u304aa)/i],[c,[f,"AT&T"],[i,g]],[/\bsie-(\w*)/i],[c,[f,"Siemens"],[i,g]],[/\b(rct\w+) b/i],[c,[f,"RCA"],[i,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[f,"Dell"],[i,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[f,"Verizon"],[i,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[f,"Barnes & Noble"],[i,v]],[/\b(tm\d{3}\w+) b/i],[c,[f,"NuVision"],[i,v]],[/\b(k88) b/i],[c,[f,"ZTE"],[i,v]],[/\b(nx\d{3}j) b/i],[c,[f,"ZTE"],[i,g]],[/\b(gen\d{3}) b.+49h/i],[c,[f,"Swiss"],[i,g]],[/\b(zur\d{3}) b/i],[c,[f,"Swiss"],[i,v]],[/\b((zeki)?tb.*\b) b/i],[c,[f,"Zeki"],[i,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],c,[i,v]],[/\b(ns-?\w{0,9}) b/i],[c,[f,"Insignia"],[i,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[f,"NextBook"],[i,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],c,[i,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],c,[i,g]],[/\b(ph-1) /i],[c,[f,"Essential"],[i,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[f,"Envizen"],[i,v]],[/\b(trio[-\w\. ]+) b/i],[c,[f,"MachSpeed"],[i,v]],[/\btu_(1491) b/i],[c,[f,"Rotor"],[i,v]],[/(shield[\w ]+) b/i],[c,[f,"Nvidia"],[i,v]],[/(sprint) (\w+)/i],[f,c,[i,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[f,q],[i,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[f,U],[i,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[f,U],[i,g]],[/smart-tv.+(samsung)/i],[f,[i,T]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[f,G],[i,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,O],[i,T]],[/(apple) ?tv/i],[f,[c,N+" TV"],[i,T]],[/crkey/i],[[c,fe+"cast"],[f,ye],[i,T]],[/droid.+aft(\w+)( bui|\))/i],[c,[f,D],[i,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[f,R],[i,T]],[/(bravia[\w ]+)( bui|\))/i],[c,[f,E],[i,T]],[/(mitv-\w{5}) bui/i],[c,[f,P],[i,T]],[/Hbbtv.*(technisat) (.*);/i],[f,c,[i,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[f,xe],[c,xe],[i,T]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[i,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,c,[i,p]],[/droid.+; (shield) bui/i],[c,[f,"Nvidia"],[i,p]],[/(playstation [345portablevi]+)/i],[c,[f,E],[i,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[f,q],[i,p]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[c,[f,G],[i,A]],[/((pebble))app/i],[f,c,[i,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[c,[f,N],[i,A]],[/droid.+; (glass) \d/i],[c,[f,ye],[i,A]],[/droid.+; (wt63?0{2,3})\)/i],[c,[f,U],[i,A]],[/droid.+; (glass) \d/i],[c,[f,ye],[i,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[f,c,[i,A]],[/; (quest( \d| pro)?)/i],[c,[f,B],[i,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[i,k]],[/(aeobc)\b/i],[c,[f,D],[i,k]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[c,[i,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[i,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[i,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[i,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[m,ne+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[m,y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[m,"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],[m,y],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,y],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[y,se,X]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[y,se,X],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Q],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,y],[/\(bb(10);/i],[y,[m,H]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[y,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[m,me+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[m,fe+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,V],y],[/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],[m,y],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,y]]},W=function(I,_){if(typeof I===o&&(_=I,I=n),!(this instanceof W))return new W(I,_).getResult();var L=typeof a!==s&&a.navigator?a.navigator:n,Z=I||(L&&L.userAgent?L.userAgent:x),ie=L&&L.userAgentData?L.userAgentData:n,ue=_?de(F,_):F,ee=L&&L.userAgent==Z;return this.getBrowser=function(){var J={};return J[m]=n,J[y]=n,be.call(J,Z,ue.browser),J[S]=Ce(J[y]),ee&&L&&L.brave&&typeof L.brave.isBrave==d&&(J[m]="Brave"),J},this.getCPU=function(){var J={};return J[h]=n,be.call(J,Z,ue.cpu),J},this.getDevice=function(){var J={};return J[f]=n,J[c]=n,J[i]=n,be.call(J,Z,ue.device),ee&&!J[i]&&ie&&ie.mobile&&(J[i]=g),ee&&J[c]=="Macintosh"&&L&&typeof L.standalone!==s&&L.maxTouchPoints&&L.maxTouchPoints>2&&(J[c]="iPad",J[i]=v),J},this.getEngine=function(){var J={};return J[m]=n,J[y]=n,be.call(J,Z,ue.engine),J},this.getOS=function(){var J={};return J[m]=n,J[y]=n,be.call(J,Z,ue.os),ee&&!J[m]&&ie&&ie.platform&&ie.platform!="Unknown"&&(J[m]=ie.platform.replace(/chrome os/i,V).replace(/macos/i,Q)),J},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 Z},this.setUA=function(J){return Z=typeof J===r&&J.length>z?xe(J,z):J,this},this.setUA(Z),this};W.VERSION=w,W.BROWSER=pe([m,y,S]),W.CPU=pe([h]),W.DEVICE=pe([c,f,i,p,g,T,v,A,k]),W.ENGINE=W.OS=pe([m,y]),e.exports&&(l=e.exports=W),l.UAParser=W;var C=typeof a!==s&&(a.jQuery||a.Zepto);if(C&&!C.ua){var j=new W;C.ua=j.getResult(),C.ua.get=function(){return j.getUA()},C.ua.set=function(I){j.setUA(I);var _=j.getResult();for(var L in _)C.ua[L]=_[L]}}})(typeof window=="object"?window:ea)}(ht,ht.exports)),ht.exports}var ra=ta();const Zt=Gn(ra);function na({user:e,sessionUser:l}){const a=Ve(()=>(e?.passports||[])?.find(n=>n.name===l.role),[e?.passports,l?.role]);return t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(Zn,{size:40,variant:"circle",shape:"circle",src:l.avatar,did:l.did,sx:{flexShrink:0}}),t.jsxs(ae,{sx:{flex:1,overflow:"hidden"},children:[t.jsxs(ae,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(ze,{title:l.fullName,children:t.jsx(we,{sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:1},children:l.fullName})}),t.jsx(ao,{label:a?.title||a?.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"}})]}),t.jsx(ze,{title:l.email,children:t.jsx(we,{variant:"body2",color:"grey",sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:l.email})})]})]})}const ia={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"}},Ri="Reserved IP",dn="ip-region-cache";async function oa(e){const l=`https://ipapi.co/${e}/json/`,a=await(await fetch(l)).json();let n="";return a.error?a.reserved&&(n=Ri):n=[a.country_name,a.region,a.city].filter(Boolean).join("/"),n}async function sa(e){const l=`https://api.ip.sb/geoip/${e}`,a=await(await fetch(l)).json();let n="";return a.error?a.reserved&&(n=Ri):n=[a.country,a.region,a.city].filter(Boolean).join("/"),n}async function aa(e){let l="",a={};try{const n=localStorage.getItem(dn);n&&(a=JSON.parse(n))}catch{a={}}if(a[e])l=a[e];else{try{l=await sa(e)}catch{console.warn("Fail to get ip region from ip.sb")}if(!l)try{l=await oa(e)}catch{console.warn("Fail to get ip region from ip-api.co")}}if(l){const n=Object.keys(a);n.length>100&&delete a[n[0]],a[e]&&delete a[e],a[e]=l,localStorage.setItem(dn,JSON.stringify(a))}return l}const fn=e=>new Zt(e,{browser:[[/(ArcWallet)\/([\w\.]+)/i],[Zt.BROWSER.NAME,Zt.BROWSER.VERSION]]}).getResult(),pn={display:"flex",justifyContent:"flex-end",textAlign:"right"},la=new fo({concurrency:1}),ca=M.memo(({userSession:e,isMobile:l=!1})=>{const a=Qe({loading:!0,ipRegion:""}),{t:n}=je();return M.useEffect(()=>{la.add(async()=>{try{a.ipRegion=await aa(e.lastLoginIp)}finally{a.loading=!1}})},[a,e.lastLoginIp]),t.jsx(ae,{...l&&{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:1,flexWrap:"wrap"},children:a.ipRegion?t.jsxs(t.Fragment,{children:[t.jsx(we,{variant:"body2",children:a.ipRegion}),t.jsx(we,{variant:"body2",color:"grey",children:e.lastLoginIp||n("unknown")})]}):t.jsxs(t.Fragment,{children:[t.jsx(we,{children:e.lastLoginIp||n("unknown")}),a.loading?t.jsx(we,{variant:"body2",color:"grey",sx:{textAlign:"center"},children:t.jsx(Xe,{size:12,color:"inherit"})}):null]})})});function ua({user:e,showAction:l=!0,showUser:a=!0,getUserSessions:n,showOffline:w=!1,showAppPid:x=!1}){const u=Qe({status:"online",page:1,pageSize:10}),d=Qe({online:0,expired:0,offline:0}),s=lo(),{locale:o}=je(),r=is({key:"md"}),S=Qn(D=>D.breakpoints.down("lg")),{confirmApi:c,confirmHolder:m}=Lr(),i=He((D,N={})=>co(ia,D,o,"en",N)),f=He(async()=>{const D=await n({page:u.page,pageSize:u.pageSize,status:u.status}),N=D?.paging?.total||0;return d[u.status]=N,{total:N,list:D?.list||[]}});Xn(async()=>{const D=await n({page:1,pageSize:1,status:"expired"});d.expired=D?.paging?.total||0;const N=await n({page:1,pageSize:1,status:"offline"});d.offline=N?.paging?.total||0});const y=uo(f,{refreshDeps:[u.status,u.page,u.pageSize]}),h=Ve(()=>y.data?.list||[],[y.data?.list]),p=Ve(()=>{const D=u.status;return D==="online"?d[D]<=1:d[D]===0},[h,s]),g=Ve(()=>Yr({},r?pn:{}),[r]),v=He(({visitorId:D})=>{c.open({title:i("logoutThisSession"),content:i("logoutThisSessionConfirm"),confirmButtonText:i("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:i("cancel"),onConfirm:async()=>{await Zr.user.logout({visitorId:D,includeFederated:!0});const{page:N=0}=u,{list:K=[]}=y.data||{},H=K.length||0;N>1&&H===1&&(u.page=Math.max(N-1,1)),y.refresh(),c.close()}})}),T=He(()=>{c.open({title:i("logoutAllSession",{type:i(u.status)}),content:i("logoutAllSessionConfirm",{type:i(u.status)}),confirmButtonText:i("confirm"),confirmButtonProps:{color:"error"},cancelButtonText:i("cancel"),onConfirm:async()=>{await Zr.user.logout({status:u.status,visitorId:s,includeFederated:!0}),u.page=1,y.refresh(),c.close()}})}),A=[];l&&A.push(t.jsx(ze,{title:i("logoutAllTips",{type:i(u.status)}),children:t.jsx(yt,{sx:{ml:.5},size:"small",variant:"contained",color:"error",onClick:T,disabled:p,children:i("logoutAll",{type:i(u.status)})})},"logoutAll"));const k=Ve(()=>({search:!1,sort:!1,download:!1,filter:!1,print:!1,expandableRowsOnClick:!1,searchDebounceTime:600,page:u.page-1,rowsPerPage:u.pageSize,count:y.data?.total||0}),[y.data?.total,u.page,u.pageSize]),z=[{label:i("platform"),name:"platform",options:{customBodyRenderLite:D=>{const N=h[D],K=fn(N?.ua);return t.jsx(ae,{sx:g,children:[K.os?.name,K.os?.version].filter(Boolean).join("/")||i("unknown")})}}},{label:i("deviceType"),name:"deviceType",options:{customBodyRenderLite:D=>{const N=h[D],K=fn(N?.ua);return t.jsx(ae,{sx:g,children:[K.browser?.name,K.browser?.version].filter(Boolean).join("/")||i("unknown")})}}},{label:i("walletOS"),name:"walletOS",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:N.extra?.walletOS||i("unknown")})}}},x&&{label:"App Pid",name:"appPid",options:{customBodyRenderLite:D=>{const N=h[D];return N.appPid?t.jsx(Jn,{size:14,responsive:!1,compact:!0,did:N.appPid}):null}}},a&&{label:i("user"),name:"user",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:Yr({minWidth:150,maxWidth:250},r?pn:{}),children:t.jsx(na,{sessionUser:N.user,user:e})})}}},{label:i("createdAt"),name:"createdAt",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:N.createdAt?t.jsx(vt,{value:N.createdAt,relativeRange:3*86400*1e3,locale:o}):i("unknown")})}}},!w&&{label:i("updatedAt"),name:"updatedAt",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:N.status==="expired"?i("expired"):t.jsx(vt,{value:N.updatedAt,relativeRange:3*86400*1e3,locale:o})})}}},{label:i("lastLoginIp"),name:"lastLoginIp",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ca,{userSession:N,isMobile:r})}}},l&&{label:i("actions"),name:"actions",options:{customBodyRenderLite:D=>{const N=h[D];return t.jsx(ae,{sx:g,children:t.jsx(yt,{sx:{whiteSpace:"nowrap",fontSize:"12px !important",lineHeight:"1.25",px:1},disabled:s===N.visitorId,variant:"outlined",size:"small",color:"error",onClick:()=>v({visitorId:N.visitorId}),children:N.status==="expired"?i("remove"):s===N.visitorId?i("currentSession"):i("logout")})})}}}].filter(Boolean);return t.jsxs(ae,{className:"pc-user-sessions",sx:{maxWidth:r?"unset":S?"calc(100vw - 300px)":"100%",...r&&{".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:D=>`${D.palette.grey[50]} !important`}}},".MuiTableRow-hover":{"&:hover":{backgroundColor:"inherit !important"}},".MuiTableCell-root":{paddingRight:"8px",paddingLeft:"8px",color:"text.secondary",...r&&{padding:"8px !important","&:first-child":{paddingTop:"20px!important"},"&:last-child":{paddingBottom:"20px!important"}}}},children:[m,t.jsx(Fr,{count:y.data?.total||0,locale:o,data:h,columns:z,customButtons:A,options:k,loading:y.loading,className:"pc-user-sessions-table",title:t.jsxs(pi,{row:!0,sx:{lineHeight:1,ml:1},onChange:D=>{u.status=D.target.value},children:[t.jsx(gt,{value:"online",control:t.jsx(Rt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="online"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[i("online"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",d.online,")"]})]})}),t.jsx(gt,{value:"expired",control:t.jsx(Rt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="expired"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[i("expired"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",d.expired,")"]})]})}),w?t.jsx(gt,{value:"offline",control:t.jsx(Rt,{size:"small",sx:{lineHeight:1,fontSize:0},checked:u.status==="offline"}),label:t.jsxs(we,{sx:{display:"flex",alignItems:"center"},children:[i("offline"),t.jsxs(we,{component:"span",sx:{ml:.5,color:"text.secondary"},children:["(",d.offline,")"]})]})}):null]}),onChange:D=>{u.page=D.page+1,u.pageSize=D.rowsPerPage}})]})}var Qt={exports:{}},Xt={},mn;function ki(){if(mn)return Xt;mn=1;function e(p){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(p)}function l(p,g,v){return Object.defineProperty(p,"prototype",{writable:!1}),p}function a(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function n(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,writable:!0,configurable:!0}}),Object.defineProperty(p,"prototype",{writable:!1}),g&&w(p,g)}function w(p,g){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,A){return T.__proto__=A,T},w(p,g)}function x(p){var g=s();return function(){var T=o(p),A;if(g){var k=o(this).constructor;A=Reflect.construct(T,arguments,k)}else A=T.apply(this,arguments);return u(this,A)}}function u(p,g){if(g&&(e(g)==="object"||typeof g=="function"))return g;if(g!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return d(p)}function d(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p}function s(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function o(p){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(v){return v.__proto__||Object.getPrototypeOf(v)},o(p)}var r={},S,c;function m(p,g,v){v||(v=Error);function T(k,z,D){return typeof g=="string"?g:g(k,z,D)}var A=function(k){n(D,k);var z=x(D);function D(N,K,H){var re;return a(this,D),re=z.call(this,T(N,K,H)),re.code=p,re}return l(D)}(v);r[p]=A}function i(p,g){if(Array.isArray(p)){var v=p.length;return p=p.map(function(T){return String(T)}),v>2?"one of ".concat(g," ").concat(p.slice(0,v-1).join(", "),", or ")+p[v-1]:v===2?"one of ".concat(g," ").concat(p[0]," or ").concat(p[1]):"of ".concat(g," ").concat(p[0])}else return"of ".concat(g," ").concat(String(p))}function f(p,g,v){return p.substr(0,g.length)===g}function y(p,g,v){return(v===void 0||v>p.length)&&(v=p.length),p.substring(v-g.length,v)===g}function h(p,g,v){return typeof v!="number"&&(v=0),v+g.length>p.length?!1:p.indexOf(g,v)!==-1}return m("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),m("ERR_INVALID_ARG_TYPE",function(p,g,v){S===void 0&&(S=kr()),S(typeof p=="string","'name' must be a string");var T;typeof g=="string"&&f(g,"not ")?(T="must not be",g=g.replace(/^not /,"")):T="must be";var A;if(y(p," argument"))A="The ".concat(p," ").concat(T," ").concat(i(g,"type"));else{var k=h(p,".")?"property":"argument";A='The "'.concat(p,'" ').concat(k," ").concat(T," ").concat(i(g,"type"))}return A+=". Received type ".concat(e(v)),A},TypeError),m("ERR_INVALID_ARG_VALUE",function(p,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";c===void 0&&(c=wt());var T=c.inspect(g);return T.length>128&&(T="".concat(T.slice(0,128),"...")),"The argument '".concat(p,"' ").concat(v,". Received ").concat(T)},TypeError),m("ERR_INVALID_RETURN_VALUE",function(p,g,v){var T;return v&&v.constructor&&v.constructor.name?T="instance of ".concat(v.constructor.name):T="type ".concat(e(v)),"Expected ".concat(p,' to be returned from the "').concat(g,'"')+" function but got ".concat(T,".")},TypeError),m("ERR_MISSING_ARGS",function(){for(var p=arguments.length,g=new Array(p),v=0;v<p;v++)g[v]=arguments[v];S===void 0&&(S=kr()),S(g.length>0,"At least one arg needs to be specified");var T="The ",A=g.length;switch(g=g.map(function(k){return'"'.concat(k,'"')}),A){case 1:T+="".concat(g[0]," argument");break;case 2:T+="".concat(g[0]," and ").concat(g[1]," arguments");break;default:T+=g.slice(0,A-1).join(", "),T+=", and ".concat(g[A-1]," arguments");break}return"".concat(T," must be specified")},TypeError),Xt.codes=r,Xt}var Jt,hn;function da(){if(hn)return Jt;hn=1;function e(O,q){var Y=Object.keys(O);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(O);q&&($=$.filter(function(G){return Object.getOwnPropertyDescriptor(O,G).enumerable})),Y.push.apply(Y,$)}return Y}function l(O){for(var q=1;q<arguments.length;q++){var Y=arguments[q]!=null?arguments[q]:{};q%2?e(Object(Y),!0).forEach(function($){a(O,$,Y[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(Y)):e(Object(Y)).forEach(function($){Object.defineProperty(O,$,Object.getOwnPropertyDescriptor(Y,$))})}return O}function a(O,q,Y){return q=u(q),q in O?Object.defineProperty(O,q,{value:Y,enumerable:!0,configurable:!0,writable:!0}):O[q]=Y,O}function n(O,q){if(!(O instanceof q))throw new TypeError("Cannot call a class as a function")}function w(O,q){for(var Y=0;Y<q.length;Y++){var $=q[Y];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(O,u($.key),$)}}function x(O,q,Y){return q&&w(O.prototype,q),Object.defineProperty(O,"prototype",{writable:!1}),O}function u(O){var q=d(O,"string");return p(q)==="symbol"?q:String(q)}function d(O,q){if(p(O)!=="object"||O===null)return O;var Y=O[Symbol.toPrimitive];if(Y!==void 0){var $=Y.call(O,q);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}function s(O,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(q&&q.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),q&&y(O,q)}function o(O){var q=i();return function(){var $=h(O),G;if(q){var R=h(this).constructor;G=Reflect.construct($,arguments,R)}else G=$.apply(this,arguments);return r(this,G)}}function r(O,q){if(q&&(p(q)==="object"||typeof q=="function"))return q;if(q!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(O)}function S(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function c(O){var q=typeof Map=="function"?new Map:void 0;return c=function($){if($===null||!f($))return $;if(typeof $!="function")throw new TypeError("Super expression must either be null or a function");if(typeof q<"u"){if(q.has($))return q.get($);q.set($,G)}function G(){return m($,arguments,h(this).constructor)}return G.prototype=Object.create($.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),y(G,$)},c(O)}function m(O,q,Y){return i()?m=Reflect.construct.bind():m=function(G,R,E){var P=[null];P.push.apply(P,R);var U=Function.bind.apply(G,P),B=new U;return E&&y(B,E.prototype),B},m.apply(null,arguments)}function i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function f(O){return Function.toString.call(O).indexOf("[native code]")!==-1}function y(O,q){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function($,G){return $.__proto__=G,$},y(O,q)}function h(O){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},h(O)}function p(O){"@babel/helpers - typeof";return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},p(O)}var g=wt(),v=g.inspect,T=ki(),A=T.codes.ERR_INVALID_ARG_TYPE;function k(O,q,Y){return(Y===void 0||Y>O.length)&&(Y=O.length),O.substring(Y-q.length,Y)===q}function z(O,q){if(q=Math.floor(q),O.length==0||q==0)return"";var Y=O.length*q;for(q=Math.floor(Math.log(q)/Math.log(2));q;)O+=O,q--;return O+=O.substring(0,Y-O.length),O}var D="",N="",K="",H="",re={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},fe=10;function ne(O){var q=Object.keys(O),Y=Object.create(Object.getPrototypeOf(O));return q.forEach(function($){Y[$]=O[$]}),Object.defineProperty(Y,"message",{value:O.message}),Y}function me(O){return v(O,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function ye(O,q,Y){var $="",G="",R=0,E="",P=!1,U=me(O),B=U.split(`
2
2
  `),V=me(q).split(`
3
3
  `),Q=0,le="";if(Y==="strictEqual"&&p(O)==="object"&&p(q)==="object"&&O!==null&&q!==null&&(Y="strictEqualObject"),B.length===1&&V.length===1&&B[0]!==V[0]){var de=B[0].length+V[0].length;if(de<=fe){if((p(O)!=="object"||O===null)&&(p(q)!=="object"||q===null)&&(O!==0||q!==0))return"".concat(re[Y],`
4
4
 
@@ -1,4 +1,4 @@
1
- import{aG as v,j as n,N as a,dd as w,m as z,f as p,dk as k}from"./index-DU58_n0q.js";const E=v(n.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m4.3 14.3c-.39.39-1.02.39-1.41 0L12 13.41 9.11 16.3c-.39.39-1.02.39-1.41 0a.996.996 0 0 1 0-1.41L10.59 12 7.7 9.11a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L12 10.59l2.89-2.89c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41"}));function r({icon:e=null,title:t="",description:o="",extra:y=null,...b}){return n.jsxs(F,{...b,children:[e,typeof t=="string"?n.jsx(a,{sx:{mt:3,fontSize:22,fontWeight:400,color:"text.primary",textAlign:"center"},children:t}):t,typeof o=="string"?n.jsx(a,{sx:{mt:1,fontSize:14,color:"text.secondary",textAlign:"center"},children:o}):o,n.jsx(a,{sx:{mt:3},children:y})]})}const F=w("div")`
1
+ import{aG as v,j as n,N as a,dd as w,m as z,f as p,dk as k}from"./index-D6TVGB8K.js";const E=v(n.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m4.3 14.3c-.39.39-1.02.39-1.41 0L12 13.41 9.11 16.3c-.39.39-1.02.39-1.41 0a.996.996 0 0 1 0-1.41L10.59 12 7.7 9.11a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L12 10.59l2.89-2.89c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41"}));function r({icon:e=null,title:t="",description:o="",extra:y=null,...b}){return n.jsxs(F,{...b,children:[e,typeof t=="string"?n.jsx(a,{sx:{mt:3,fontSize:22,fontWeight:400,color:"text.primary",textAlign:"center"},children:t}):t,typeof o=="string"?n.jsx(a,{sx:{mt:1,fontSize:14,color:"text.secondary",textAlign:"center"},children:o}):o,n.jsx(a,{sx:{mt:3},children:y})]})}const F=w("div")`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{r as i,j as t,N as o,dd as c,o as n}from"./index-DU58_n0q.js";const h=e=>i.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.36096 2.3999C7.04725 2.3999 6.76249 2.58326 6.63267 2.86886L0.872671 15.5409C0.825415 15.6448 0.800964 15.7577 0.800964 15.8719V15.9999V27.3919C0.800964 27.8337 1.15914 28.1919 1.60096 28.1919H30.401C30.8428 28.1919 31.201 27.8337 31.201 27.3919V15.8719C31.201 15.7577 31.1765 15.6448 31.1293 15.5409L25.3693 2.86886C25.2394 2.58326 24.9547 2.3999 24.641 2.3999H7.36096ZM2.40096 16.7999V26.5919H29.601V16.7932C29.5669 16.7976 29.5321 16.7999 29.4968 16.7999H22.3993L20.3328 19.8997C20.1845 20.1222 19.9347 20.2559 19.6672 20.2559H11.6032C11.3357 20.2559 11.0859 20.1222 10.9375 19.8997L8.87104 16.7999H2.40096ZM29.2167 15.1999H21.9712C21.7037 15.1999 21.4539 15.3336 21.3056 15.5561L19.239 18.6559H12.0313L9.96483 15.5561C9.81645 15.3336 9.56667 15.1999 9.29919 15.1999H2.78519L7.8761 3.9999H24.1258L29.2167 15.1999Z",fill:"currentColor"})),a=c(o)`
1
+ import{r as i,j as t,N as o,dd as c,o as n}from"./index-D6TVGB8K.js";const h=e=>i.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.36096 2.3999C7.04725 2.3999 6.76249 2.58326 6.63267 2.86886L0.872671 15.5409C0.825415 15.6448 0.800964 15.7577 0.800964 15.8719V15.9999V27.3919C0.800964 27.8337 1.15914 28.1919 1.60096 28.1919H30.401C30.8428 28.1919 31.201 27.8337 31.201 27.3919V15.8719C31.201 15.7577 31.1765 15.6448 31.1293 15.5409L25.3693 2.86886C25.2394 2.58326 24.9547 2.3999 24.641 2.3999H7.36096ZM2.40096 16.7999V26.5919H29.601V16.7932C29.5669 16.7976 29.5321 16.7999 29.4968 16.7999H22.3993L20.3328 19.8997C20.1845 20.1222 19.9347 20.2559 19.6672 20.2559H11.6032C11.3357 20.2559 11.0859 20.1222 10.9375 19.8997L8.87104 16.7999H2.40096ZM29.2167 15.1999H21.9712C21.7037 15.1999 21.4539 15.3336 21.3056 15.5561L19.239 18.6559H12.0313L9.96483 15.5561C9.81645 15.3336 9.56667 15.1999 9.29919 15.1999H2.78519L7.8761 3.9999H24.1258L29.2167 15.1999Z",fill:"currentColor"})),a=c(o)`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1 +1 @@
1
- import{eG as D}from"./index-DU58_n0q.js";function f(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function $(e){return f(e)==="object"}function re(e){return Array.isArray(e)&&e.length>0&&e.every(m=>"message"in m)}function Y(e,m){return e.length<124?e:m}const ne="graphql-transport-ws";var g;(function(e){e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"})(g||(g={}));var c;(function(e){e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete"})(c||(c={}));function v(e){if(!$(e))throw new Error(`Message is expected to be an object, but got ${f(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if(typeof e.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${f(e.type)}`);switch(e.type){case c.ConnectionInit:case c.ConnectionAck:case c.Ping:case c.Pong:{if(e.payload!=null&&!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break}case c.Subscribe:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);if(typeof e.payload.query!="string")throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${f(e.payload.query)}`);if(e.payload.variables!=null&&!$(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${f(e.payload.variables)}`);if(e.payload.operationName!=null&&f(e.payload.operationName)!=="string")throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${f(e.payload.operationName)}`);if(e.payload.extensions!=null&&!$(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${f(e.payload.extensions)}`);break}case c.Next:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);break}case c.Error:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!re(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break}case c.Complete:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function oe(e,m){return v(typeof e=="string"?JSON.parse(e,m):e)}function W(e,m){return v(e),JSON.stringify(e,m)}var A=function(e){return this instanceof A?(this.v=e,this):new A(e)},ie=function(e,m,R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var M=R.apply(e,m||[]),b,w=[];return b={},E("next"),E("throw"),E("return"),b[Symbol.asyncIterator]=function(){return this},b;function E(u){M[u]&&(b[u]=function(r){return new Promise(function(S,L){w.push([u,r,S,L])>1||I(u,r)})})}function I(u,r){try{q(M[u](r))}catch(S){G(w[0][3],S)}}function q(u){u.value instanceof A?Promise.resolve(u.value.v).then(z,F):G(w[0][2],u)}function z(u){I("next",u)}function F(u){I("throw",u)}function G(u,r){u(r),w.shift(),w.length&&I(w[0][0],w[0][1])}};function pe(e){const{url:m,connectionParams:R,lazy:M=!0,onNonLazyError:b=console.error,lazyCloseTimeout:w=0,keepAlive:E=0,disablePong:I,connectionAckWaitTimeout:q=0,retryAttempts:z=5,retryWait:F=async function(a){let t=1e3;for(let o=0;o<a;o++)t*=2;await new Promise(o=>setTimeout(o,t+Math.floor(Math.random()*2700+300)))},shouldRetry:G=J,isFatalConnectionProblem:u,on:r,webSocketImpl:S,generateID:L=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{const t=Math.random()*16|0;return(a=="x"?t:t&3|8).toString(16)})},jsonMessageReplacer:U,jsonMessageReviver:ee}=e;let T;if(S){if(!ae(S))throw new Error("Invalid WebSocket implementation provided");T=S}else typeof WebSocket<"u"?T=WebSocket:typeof D<"u"?T=D.WebSocket||D.MozWebSocket:typeof window<"u"&&(T=window.WebSocket||window.MozWebSocket);if(!T)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const N=T,d=(()=>{const n=(()=>{const t={};return{on(o,s){return t[o]=s,()=>{delete t[o]}},emit(o){var s;"id"in o&&((s=t[o.id])===null||s===void 0||s.call(t,o))}}})(),a={connecting:r?.connecting?[r.connecting]:[],opened:r?.opened?[r.opened]:[],connected:r?.connected?[r.connected]:[],ping:r?.ping?[r.ping]:[],pong:r?.pong?[r.pong]:[],message:r?.message?[n.emit,r.message]:[n.emit],closed:r?.closed?[r.closed]:[],error:r?.error?[r.error]:[]};return{onMessage:n.on,on(t,o){const s=a[t];return s.push(o),()=>{s.splice(s.indexOf(o),1)}},emit(t,...o){for(const s of[...a[t]])s(...o)}}})();function Q(n){const a=[d.on("error",t=>{a.forEach(o=>o()),n(t)}),d.on("closed",t=>{a.forEach(o=>o()),n(t)})]}let h,k=0,H,O=!1,j=0,C=!1;async function K(){clearTimeout(H);const[n,a]=await(h??(h=new Promise((s,y)=>(async()=>{if(O){if(await F(j),!k)return h=void 0,y({code:1e3,reason:"All Subscriptions Gone"});j++}d.emit("connecting",O);const i=new N(typeof m=="function"?await m():m,ne);let x,_;function B(){isFinite(E)&&E>0&&(clearTimeout(_),_=setTimeout(()=>{i.readyState===N.OPEN&&(i.send(W({type:c.Ping})),d.emit("ping",!1,void 0))},E))}Q(l=>{h=void 0,clearTimeout(x),clearTimeout(_),y(l),l instanceof Z&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=l=>d.emit("error",l),i.onclose=l=>d.emit("closed",l),i.onopen=async()=>{try{d.emit("opened",i);const l=typeof R=="function"?await R():R;if(i.readyState!==N.OPEN)return;i.send(W(l?{type:c.ConnectionInit,payload:l}:{type:c.ConnectionInit},U)),isFinite(q)&&q>0&&(x=setTimeout(()=>{i.close(g.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},q)),B()}catch(l){d.emit("error",l),i.close(g.InternalClientError,Y(l instanceof Error?l.message:new Error(l).message,"Internal client error"))}};let P=!1;i.onmessage=({data:l})=>{try{const p=oe(l,ee);if(d.emit("message",p),p.type==="ping"||p.type==="pong"){d.emit(p.type,!0,p.payload),p.type==="pong"?B():I||(i.send(W(p.payload?{type:c.Pong,payload:p.payload}:{type:c.Pong})),d.emit("pong",!1,p.payload));return}if(P)return;if(p.type!==c.ConnectionAck)throw new Error(`First message cannot be of type ${p.type}`);clearTimeout(x),P=!0,d.emit("connected",i,p.payload,O),O=!1,j=0,s([i,new Promise((ce,te)=>Q(te))])}catch(p){i.onmessage=null,d.emit("error",p),i.close(g.BadResponse,Y(p instanceof Error?p.message:new Error(p).message,"Bad response"))}}})())));n.readyState===N.CLOSING&&await a;let t=()=>{};const o=new Promise(s=>t=s);return[n,t,Promise.race([o.then(()=>{if(!k){const s=()=>n.close(1e3,"Normal Closure");isFinite(w)&&w>0?H=setTimeout(()=>{n.readyState===N.OPEN&&s()},w):s()}}),a])]}function V(n){if(J(n)&&(se(n.code)||[g.InternalServerError,g.InternalClientError,g.BadRequest,g.BadResponse,g.Unauthorized,g.SubprotocolNotAcceptable,g.SubscriberAlreadyExists,g.TooManyInitialisationRequests].includes(n.code)))throw n;if(C)return!1;if(J(n)&&n.code===1e3)return k>0;if(!z||j>=z||!G(n)||u?.(n))throw n;return O=!0}M||(async()=>{for(k++;;)try{const[,,n]=await K();await n}catch(n){try{if(!V(n))return}catch(a){return b?.(a)}}})();function X(n,a){const t=L(n);let o=!1,s=!1,y=()=>{k--,o=!0};return(async()=>{for(k++;;)try{const[i,x,_]=await K();if(o)return x();const B=d.onMessage(t,P=>{switch(P.type){case c.Next:{a.next(P.payload);return}case c.Error:{s=!0,o=!0,a.error(P.payload),y();return}case c.Complete:{o=!0,y();return}}});i.send(W({id:t,type:c.Subscribe,payload:n},U)),y=()=>{!o&&i.readyState===N.OPEN&&i.send(W({id:t,type:c.Complete},U)),k--,o=!0,x()},await _.finally(B);return}catch(i){if(!V(i))return}})().then(()=>{s||a.complete()}).catch(i=>{a.error(i)}),()=>{o||y()}}return{on:d.on,subscribe:X,iterate(n){const a=[],t={done:!1,error:null,resolve:()=>{}},o=X(n,{next(y){a.push(y),t.resolve()},error(y){t.done=!0,t.error=y,t.resolve()},complete(){t.done=!0,t.resolve()}}),s=function(){return ie(this,arguments,function*(){for(;;){for(a.length||(yield A(new Promise(x=>t.resolve=x)));a.length;)yield yield A(a.shift());if(t.error)throw t.error;if(t.done)return yield A(void 0)}})}();return s.throw=async y=>(t.done||(t.done=!0,t.error=y,t.resolve()),{done:!0,value:void 0}),s.return=async()=>(o(),{done:!0,value:void 0}),s},async dispose(){if(C=!0,h){const[n]=await h;n.close(1e3,"Normal Closure")}},terminate(){h&&d.emit("closed",new Z)}}}class Z extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function J(e){return $(e)&&"code"in e&&"reason"in e}function se(e){return[1e3,1001,1006,1005,1012,1013,1014].includes(e)?!1:e>=1e3&&e<=1999}function ae(e){return typeof e=="function"&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}export{g as CloseCode,ne as GRAPHQL_TRANSPORT_WS_PROTOCOL,c as MessageType,Z as TerminatedCloseEvent,pe as createClient,oe as parseMessage,W as stringifyMessage,v as validateMessage};
1
+ import{eG as D}from"./index-D6TVGB8K.js";function f(e){return e===null?"null":Array.isArray(e)?"array":typeof e}function $(e){return f(e)==="object"}function re(e){return Array.isArray(e)&&e.length>0&&e.every(m=>"message"in m)}function Y(e,m){return e.length<124?e:m}const ne="graphql-transport-ws";var g;(function(e){e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests"})(g||(g={}));var c;(function(e){e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete"})(c||(c={}));function v(e){if(!$(e))throw new Error(`Message is expected to be an object, but got ${f(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if(typeof e.type!="string")throw new Error(`Message is expects the 'type' property to be a string, but got ${f(e.type)}`);switch(e.type){case c.ConnectionInit:case c.ConnectionAck:case c.Ping:case c.Pong:{if(e.payload!=null&&!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break}case c.Subscribe:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);if(typeof e.payload.query!="string")throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${f(e.payload.query)}`);if(e.payload.variables!=null&&!$(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${f(e.payload.variables)}`);if(e.payload.operationName!=null&&f(e.payload.operationName)!=="string")throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${f(e.payload.operationName)}`);if(e.payload.extensions!=null&&!$(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${f(e.payload.extensions)}`);break}case c.Next:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!$(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${f(e.payload)}`);break}case c.Error:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!re(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break}case c.Complete:{if(typeof e.id!="string")throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${f(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break}default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function oe(e,m){return v(typeof e=="string"?JSON.parse(e,m):e)}function W(e,m){return v(e),JSON.stringify(e,m)}var A=function(e){return this instanceof A?(this.v=e,this):new A(e)},ie=function(e,m,R){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var M=R.apply(e,m||[]),b,w=[];return b={},E("next"),E("throw"),E("return"),b[Symbol.asyncIterator]=function(){return this},b;function E(u){M[u]&&(b[u]=function(r){return new Promise(function(S,L){w.push([u,r,S,L])>1||I(u,r)})})}function I(u,r){try{q(M[u](r))}catch(S){G(w[0][3],S)}}function q(u){u.value instanceof A?Promise.resolve(u.value.v).then(z,F):G(w[0][2],u)}function z(u){I("next",u)}function F(u){I("throw",u)}function G(u,r){u(r),w.shift(),w.length&&I(w[0][0],w[0][1])}};function pe(e){const{url:m,connectionParams:R,lazy:M=!0,onNonLazyError:b=console.error,lazyCloseTimeout:w=0,keepAlive:E=0,disablePong:I,connectionAckWaitTimeout:q=0,retryAttempts:z=5,retryWait:F=async function(a){let t=1e3;for(let o=0;o<a;o++)t*=2;await new Promise(o=>setTimeout(o,t+Math.floor(Math.random()*2700+300)))},shouldRetry:G=J,isFatalConnectionProblem:u,on:r,webSocketImpl:S,generateID:L=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,a=>{const t=Math.random()*16|0;return(a=="x"?t:t&3|8).toString(16)})},jsonMessageReplacer:U,jsonMessageReviver:ee}=e;let T;if(S){if(!ae(S))throw new Error("Invalid WebSocket implementation provided");T=S}else typeof WebSocket<"u"?T=WebSocket:typeof D<"u"?T=D.WebSocket||D.MozWebSocket:typeof window<"u"&&(T=window.WebSocket||window.MozWebSocket);if(!T)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const N=T,d=(()=>{const n=(()=>{const t={};return{on(o,s){return t[o]=s,()=>{delete t[o]}},emit(o){var s;"id"in o&&((s=t[o.id])===null||s===void 0||s.call(t,o))}}})(),a={connecting:r?.connecting?[r.connecting]:[],opened:r?.opened?[r.opened]:[],connected:r?.connected?[r.connected]:[],ping:r?.ping?[r.ping]:[],pong:r?.pong?[r.pong]:[],message:r?.message?[n.emit,r.message]:[n.emit],closed:r?.closed?[r.closed]:[],error:r?.error?[r.error]:[]};return{onMessage:n.on,on(t,o){const s=a[t];return s.push(o),()=>{s.splice(s.indexOf(o),1)}},emit(t,...o){for(const s of[...a[t]])s(...o)}}})();function Q(n){const a=[d.on("error",t=>{a.forEach(o=>o()),n(t)}),d.on("closed",t=>{a.forEach(o=>o()),n(t)})]}let h,k=0,H,O=!1,j=0,C=!1;async function K(){clearTimeout(H);const[n,a]=await(h??(h=new Promise((s,y)=>(async()=>{if(O){if(await F(j),!k)return h=void 0,y({code:1e3,reason:"All Subscriptions Gone"});j++}d.emit("connecting",O);const i=new N(typeof m=="function"?await m():m,ne);let x,_;function B(){isFinite(E)&&E>0&&(clearTimeout(_),_=setTimeout(()=>{i.readyState===N.OPEN&&(i.send(W({type:c.Ping})),d.emit("ping",!1,void 0))},E))}Q(l=>{h=void 0,clearTimeout(x),clearTimeout(_),y(l),l instanceof Z&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=l=>d.emit("error",l),i.onclose=l=>d.emit("closed",l),i.onopen=async()=>{try{d.emit("opened",i);const l=typeof R=="function"?await R():R;if(i.readyState!==N.OPEN)return;i.send(W(l?{type:c.ConnectionInit,payload:l}:{type:c.ConnectionInit},U)),isFinite(q)&&q>0&&(x=setTimeout(()=>{i.close(g.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},q)),B()}catch(l){d.emit("error",l),i.close(g.InternalClientError,Y(l instanceof Error?l.message:new Error(l).message,"Internal client error"))}};let P=!1;i.onmessage=({data:l})=>{try{const p=oe(l,ee);if(d.emit("message",p),p.type==="ping"||p.type==="pong"){d.emit(p.type,!0,p.payload),p.type==="pong"?B():I||(i.send(W(p.payload?{type:c.Pong,payload:p.payload}:{type:c.Pong})),d.emit("pong",!1,p.payload));return}if(P)return;if(p.type!==c.ConnectionAck)throw new Error(`First message cannot be of type ${p.type}`);clearTimeout(x),P=!0,d.emit("connected",i,p.payload,O),O=!1,j=0,s([i,new Promise((ce,te)=>Q(te))])}catch(p){i.onmessage=null,d.emit("error",p),i.close(g.BadResponse,Y(p instanceof Error?p.message:new Error(p).message,"Bad response"))}}})())));n.readyState===N.CLOSING&&await a;let t=()=>{};const o=new Promise(s=>t=s);return[n,t,Promise.race([o.then(()=>{if(!k){const s=()=>n.close(1e3,"Normal Closure");isFinite(w)&&w>0?H=setTimeout(()=>{n.readyState===N.OPEN&&s()},w):s()}}),a])]}function V(n){if(J(n)&&(se(n.code)||[g.InternalServerError,g.InternalClientError,g.BadRequest,g.BadResponse,g.Unauthorized,g.SubprotocolNotAcceptable,g.SubscriberAlreadyExists,g.TooManyInitialisationRequests].includes(n.code)))throw n;if(C)return!1;if(J(n)&&n.code===1e3)return k>0;if(!z||j>=z||!G(n)||u?.(n))throw n;return O=!0}M||(async()=>{for(k++;;)try{const[,,n]=await K();await n}catch(n){try{if(!V(n))return}catch(a){return b?.(a)}}})();function X(n,a){const t=L(n);let o=!1,s=!1,y=()=>{k--,o=!0};return(async()=>{for(k++;;)try{const[i,x,_]=await K();if(o)return x();const B=d.onMessage(t,P=>{switch(P.type){case c.Next:{a.next(P.payload);return}case c.Error:{s=!0,o=!0,a.error(P.payload),y();return}case c.Complete:{o=!0,y();return}}});i.send(W({id:t,type:c.Subscribe,payload:n},U)),y=()=>{!o&&i.readyState===N.OPEN&&i.send(W({id:t,type:c.Complete},U)),k--,o=!0,x()},await _.finally(B);return}catch(i){if(!V(i))return}})().then(()=>{s||a.complete()}).catch(i=>{a.error(i)}),()=>{o||y()}}return{on:d.on,subscribe:X,iterate(n){const a=[],t={done:!1,error:null,resolve:()=>{}},o=X(n,{next(y){a.push(y),t.resolve()},error(y){t.done=!0,t.error=y,t.resolve()},complete(){t.done=!0,t.resolve()}}),s=function(){return ie(this,arguments,function*(){for(;;){for(a.length||(yield A(new Promise(x=>t.resolve=x)));a.length;)yield yield A(a.shift());if(t.error)throw t.error;if(t.done)return yield A(void 0)}})}();return s.throw=async y=>(t.done||(t.done=!0,t.error=y,t.resolve()),{done:!0,value:void 0}),s.return=async()=>(o(),{done:!0,value:void 0}),s},async dispose(){if(C=!0,h){const[n]=await h;n.close(1e3,"Normal Closure")}},terminate(){h&&d.emit("closed",new Z)}}}class Z extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function J(e){return $(e)&&"code"in e&&"reason"in e}function se(e){return[1e3,1001,1006,1005,1012,1013,1014].includes(e)?!1:e>=1e3&&e<=1999}function ae(e){return typeof e=="function"&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}export{g as CloseCode,ne as GRAPHQL_TRANSPORT_WS_PROTOCOL,c as MessageType,Z as TerminatedCloseEvent,pe as createClient,oe as parseMessage,W as stringifyMessage,v as validateMessage};
@@ -1 +1 @@
1
- import{r as o,g as n,j as t,s as r}from"./index-DU58_n0q.js";import{p as a}from"./index-BK_pSLOh.js";function c(){const{t:s}=o.useContext(n);return t.jsx(e,{style:{paddingTop:"25vh"},children:t.jsx(a,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const e=r.main``;export{c as default};
1
+ import{r as o,g as n,j as t,s as r}from"./index-D6TVGB8K.js";import{p as a}from"./index-DMOKZCkM.js";function c(){const{t:s}=o.useContext(n);return t.jsx(e,{style:{paddingTop:"25vh"},children:t.jsx(a,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const e=r.main``;export{c as default};
@@ -1,4 +1,4 @@
1
- import{r as a,u as U,j as e,T as k,be as Q,N as i,s as D,b2 as X,o as m,g as $,i as M,d2 as Y,bk as ee,d as te,Z as re,C as ne,m as se,J as v,a as h,E as L,b,d3 as oe,M as ie,bt as ae,aE as me,d4 as le,G as C,H as R,k as ce,l as ue,A as de,bm as pe}from"./index-DU58_n0q.js";import{u as fe,T as xe}from"./html-title-B9VJeaWm.js";import{T as ge}from"./traffic-BvXRbpMG.js";import{H as he}from"./index-CAsP5aCR.js";import{x as V}from"./index-DRYJ0xIl.js";import{C as ye,M as T}from"./memory-Cvf0dzL1.js";import{C as ve}from"./CardContent-BM2KtzjC.js";import{u as Ce}from"./useLocalStorage-BLqETmqX.js";import{T as je,a as Ie}from"./ToggleButtonGroup-nl8Fm0Rg.js";import"./iframe-BhSnRMb2.js";import"./ChevronLeft-DwCtqinN.js";import"./ChevronRight-kbJt7gtd.js";import"./index-DBii9-f-.js";import"./typeof-QjJsDpFa.js";import"./base-chart-C6THBW-k.js";import"./index-BLE0wW-0.js";import"./AdapterDayjs-BbT4EXkS.js";import"./useThemeProps-Cxn8wS-a.js";import"./CSSTransition-DoP2sjA4.js";import"./visuallyHidden-Dan1xhjv.js";import"./FilterList-DB3vvbr3.js";import"./emotion-cache.browser.esm-CQTZWHgn.js";import"./index-DtqtNQh5.js";import"./redux-DfszZyTl.js";import"./depsEqual-BOxgPVK8.js";import"./index-DEqQ_b5f.js";import"./TableSearch-CbI3u7v4.js";import"./Search-7Pw1ev44.js";import"./Clear-fkSe1BQ5.js";import"./MoreVert-CcaizWju.js";import"./getValidReactChildren-UKe-U4T8.js";const be=o=>a.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...o},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.08295 3.2C2.08295 2.58144 2.58439 2.08 3.20295 2.08H28.8029C29.4215 2.08 29.9229 2.58144 29.9229 3.2V13.44C29.9229 14.0586 29.4215 14.56 28.8029 14.56H3.20295C2.58439 14.56 2.08295 14.0586 2.08295 13.44V3.2ZM4.32295 4.32V12.32H27.6829V4.32H4.32295ZM2.08295 18.56C2.08295 17.9414 2.58439 17.44 3.20295 17.44H28.8029C29.4215 17.44 29.9229 17.9414 29.9229 18.56V28.8C29.9229 29.4186 29.4215 29.92 28.8029 29.92H3.20295C2.58439 29.92 2.08295 29.4186 2.08295 28.8V18.56ZM4.32295 19.68V27.68H27.6829V19.68H4.32295Z",fill:"currentColor"}),a.createElement("path",{d:"M8.96297 7.04001H7.68297C7.51323 7.04001 7.35044 7.10744 7.23042 7.22746C7.1104 7.34748 7.04297 7.51027 7.04297 7.68001V8.96001C7.04297 9.12975 7.1104 9.29253 7.23042 9.41256C7.35044 9.53258 7.51323 9.60001 7.68297 9.60001H8.96297C9.13271 9.60001 9.29549 9.53258 9.41552 9.41256C9.53554 9.29253 9.60297 9.12975 9.60297 8.96001V7.68001C9.60297 7.51027 9.53554 7.34748 9.41552 7.22746C9.29549 7.10744 9.13271 7.04001 8.96297 7.04001ZM8.96297 22.4H7.68297C7.51323 22.4 7.35044 22.4674 7.23042 22.5875C7.1104 22.7075 7.04297 22.8703 7.04297 23.04V24.32C7.04297 24.4897 7.1104 24.6525 7.23042 24.7726C7.35044 24.8926 7.51323 24.96 7.68297 24.96H8.96297C9.13271 24.96 9.29549 24.8926 9.41552 24.7726C9.53554 24.6525 9.60297 24.4897 9.60297 24.32V23.04C9.60297 22.8703 9.53554 22.7075 9.41552 22.5875C9.29549 22.4674 9.13271 22.4 8.96297 22.4ZM14.083 7.04001H12.803C12.6332 7.04001 12.4704 7.10744 12.3504 7.22746C12.2304 7.34748 12.163 7.51027 12.163 7.68001V8.96001C12.163 9.12975 12.2304 9.29253 12.3504 9.41256C12.4704 9.53258 12.6332 9.60001 12.803 9.60001H14.083C14.2527 9.60001 14.4155 9.53258 14.5355 9.41256C14.6555 9.29253 14.723 9.12975 14.723 8.96001V7.68001C14.723 7.51027 14.6555 7.34748 14.5355 7.22746C14.4155 7.10744 14.2527 7.04001 14.083 7.04001ZM14.083 22.4H12.803C12.6332 22.4 12.4704 22.4674 12.3504 22.5875C12.2304 22.7075 12.163 22.8703 12.163 23.04V24.32C12.163 24.4897 12.2304 24.6525 12.3504 24.7726C12.4704 24.8926 12.6332 24.96 12.803 24.96H14.083C14.2527 24.96 14.4155 24.8926 14.5355 24.7726C14.6555 24.6525 14.723 24.4897 14.723 24.32V23.04C14.723 22.8703 14.6555 22.7075 14.5355 22.5875C14.4155 22.4674 14.2527 22.4 14.083 22.4Z",fill:"currentColor"}));function Me(){const{api:o,info:s}=U();return e.jsx(ge,{client:o,did:s.did})}function P({style:o={},title:s=null,value:l=null,graph:c=null,description:p=null,empty:f=null}){return e.jsx(ke,{children:e.jsxs(ve,{style:{...o},children:[e.jsx(k,{sx:{color:"text.secondary",fontSize:14},children:s}),f&&Q.isValidElement(f)?e.jsx(i,{style:{height:150},sx:{color:"text.secondary",display:"flex",justifyContent:"center",alignItems:"center"},children:f}):e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"h5",component:"div",sx:{mt:1},children:l}),c,!!p&&e.jsx(i,{sx:{display:"flex",color:"text.secondary",fontSize:12,marginTop:3},children:p})]})]})})}P.propTypes={style:m.object,title:m.node,value:m.node,graph:m.node,description:m.any,empty:m.node};const ke=D(X)`
1
+ import{r as a,u as U,j as e,T as k,be as Q,N as i,s as D,b2 as X,o as l,g as $,i as M,d2 as Y,bk as ee,d as te,Z as re,C as ne,m as se,J as v,a as h,E as L,b,d3 as oe,M as ie,bt as ae,aE as le,d4 as me,G as C,H as R,k as ce,l as ue,A as de,bm as pe}from"./index-D6TVGB8K.js";import{u as fe,T as xe}from"./html-title-BNM7JHcp.js";import{T as ge}from"./traffic-BudoYa72.js";import{H as he}from"./index-DfUsFF1_.js";import{x as V}from"./index-DRYJ0xIl.js";import{C as ye,M as T}from"./memory-BaZWYpPK.js";import{C as ve}from"./CardContent-P0Sthx00.js";import{u as Ce}from"./useLocalStorage-CYX8Yp0i.js";import{T as je,a as Ie}from"./ToggleButtonGroup-D4daO9-j.js";import"./iframe-BjZQ3xw0.js";import"./ChevronLeft-BlEgXNcG.js";import"./ChevronRight-BgHVOCJf.js";import"./index-DBii9-f-.js";import"./typeof-QjJsDpFa.js";import"./base-chart-De6hlB0Y.js";import"./index-BUflWebx.js";import"./AdapterDayjs-D4Zkiick.js";import"./useThemeProps-CQgN1y2i.js";import"./CSSTransition-DpizwGU-.js";import"./visuallyHidden-Dan1xhjv.js";import"./FilterList-MQmC3xoC.js";import"./emotion-cache.browser.esm-C83OYG6J.js";import"./index-0T824Y_m.js";import"./redux-DfszZyTl.js";import"./depsEqual-zH57QwJk.js";import"./index-DQwdG3oO.js";import"./TableSearch-CdSVywW7.js";import"./Search-DiToZzru.js";import"./Clear-Bd6lrR3r.js";import"./MoreVert-DSc6xysS.js";import"./getValidReactChildren-Mx_dW0Jp.js";const be=o=>a.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",...o},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.08295 3.2C2.08295 2.58144 2.58439 2.08 3.20295 2.08H28.8029C29.4215 2.08 29.9229 2.58144 29.9229 3.2V13.44C29.9229 14.0586 29.4215 14.56 28.8029 14.56H3.20295C2.58439 14.56 2.08295 14.0586 2.08295 13.44V3.2ZM4.32295 4.32V12.32H27.6829V4.32H4.32295ZM2.08295 18.56C2.08295 17.9414 2.58439 17.44 3.20295 17.44H28.8029C29.4215 17.44 29.9229 17.9414 29.9229 18.56V28.8C29.9229 29.4186 29.4215 29.92 28.8029 29.92H3.20295C2.58439 29.92 2.08295 29.4186 2.08295 28.8V18.56ZM4.32295 19.68V27.68H27.6829V19.68H4.32295Z",fill:"currentColor"}),a.createElement("path",{d:"M8.96297 7.04001H7.68297C7.51323 7.04001 7.35044 7.10744 7.23042 7.22746C7.1104 7.34748 7.04297 7.51027 7.04297 7.68001V8.96001C7.04297 9.12975 7.1104 9.29253 7.23042 9.41256C7.35044 9.53258 7.51323 9.60001 7.68297 9.60001H8.96297C9.13271 9.60001 9.29549 9.53258 9.41552 9.41256C9.53554 9.29253 9.60297 9.12975 9.60297 8.96001V7.68001C9.60297 7.51027 9.53554 7.34748 9.41552 7.22746C9.29549 7.10744 9.13271 7.04001 8.96297 7.04001ZM8.96297 22.4H7.68297C7.51323 22.4 7.35044 22.4674 7.23042 22.5875C7.1104 22.7075 7.04297 22.8703 7.04297 23.04V24.32C7.04297 24.4897 7.1104 24.6525 7.23042 24.7726C7.35044 24.8926 7.51323 24.96 7.68297 24.96H8.96297C9.13271 24.96 9.29549 24.8926 9.41552 24.7726C9.53554 24.6525 9.60297 24.4897 9.60297 24.32V23.04C9.60297 22.8703 9.53554 22.7075 9.41552 22.5875C9.29549 22.4674 9.13271 22.4 8.96297 22.4ZM14.083 7.04001H12.803C12.6332 7.04001 12.4704 7.10744 12.3504 7.22746C12.2304 7.34748 12.163 7.51027 12.163 7.68001V8.96001C12.163 9.12975 12.2304 9.29253 12.3504 9.41256C12.4704 9.53258 12.6332 9.60001 12.803 9.60001H14.083C14.2527 9.60001 14.4155 9.53258 14.5355 9.41256C14.6555 9.29253 14.723 9.12975 14.723 8.96001V7.68001C14.723 7.51027 14.6555 7.34748 14.5355 7.22746C14.4155 7.10744 14.2527 7.04001 14.083 7.04001ZM14.083 22.4H12.803C12.6332 22.4 12.4704 22.4674 12.3504 22.5875C12.2304 22.7075 12.163 22.8703 12.163 23.04V24.32C12.163 24.4897 12.2304 24.6525 12.3504 24.7726C12.4704 24.8926 12.6332 24.96 12.803 24.96H14.083C14.2527 24.96 14.4155 24.8926 14.5355 24.7726C14.6555 24.6525 14.723 24.4897 14.723 24.32V23.04C14.723 22.8703 14.6555 22.7075 14.5355 22.5875C14.4155 22.4674 14.2527 22.4 14.083 22.4Z",fill:"currentColor"}));function Me(){const{api:o,info:s}=U();return e.jsx(ge,{client:o,did:s.did})}function P({style:o={},title:s=null,value:m=null,graph:c=null,description:p=null,empty:f=null}){return e.jsx(ke,{children:e.jsxs(ve,{style:{...o},children:[e.jsx(k,{sx:{color:"text.secondary",fontSize:14},children:s}),f&&Q.isValidElement(f)?e.jsx(i,{style:{height:150},sx:{color:"text.secondary",display:"flex",justifyContent:"center",alignItems:"center"},children:f}):e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"h5",component:"div",sx:{mt:1},children:m}),c,!!p&&e.jsx(i,{sx:{display:"flex",color:"text.secondary",fontSize:12,marginTop:3},children:p})]})]})})}P.propTypes={style:l.object,title:l.node,value:l.node,graph:l.node,description:l.any,empty:l.node};const ke=D(X)`
2
2
  .card-content {
3
3
  height: 150px;
4
4
  }
@@ -32,7 +32,7 @@ import{r as a,u as U,j as e,T as k,be as Q,N as i,s as D,b2 as X,o as m,g as $,i
32
32
  fill: red;
33
33
  stroke: red;
34
34
  }
35
- `;function Ee(o){return e.jsx(Y,{...o,sx:ee(s=>({".MuiLinearProgress-root":{height:10},".MuiLinearProgress-colorPrimary":{backgroundColor:s.palette.grey[s.palette.mode==="light"?200:700]},".MuiLinearProgress-bar":{backgroundColor:s.palette.secondary.main}}),o.sx)})}function A(o){const{value:s}=o;return e.jsxs(i,{sx:{display:"flex",alignItems:"center",mt:2},children:[e.jsx(i,{style:{overflow:"hidden"},sx:{width:"100%",mr:1},children:e.jsx(Ee,{variant:"determinate",...o})}),e.jsx(i,{sx:{minWidth:35},children:e.jsx(k,{variant:"body2",color:"textSecondary",children:`${Math.round(s)}%`})})]})}A.propTypes={value:m.number.isRequired};function Z({disk:o={used:0,free:0,total:1,device:""}}){const{t:s}=a.useContext($),l=[{id:1,className:"used",title:s("system.used"),metric:M(o.used)},{id:2,className:"free",title:s("system.free"),metric:M(o.free)},{id:3,className:"total",title:s("system.total"),metric:M(o.total)}];return e.jsx(P,{title:`${s("common.disk")} (${o.device})`,value:M(o.used),graph:e.jsx(i,{sx:{mt:3},children:e.jsx(A,{value:o.used/o.total*100})}),description:l.map((c,p)=>e.jsxs(i,{sx:{marginLeft:p===0?0:2},children:[c.title,": ",c.metric]},c.title))})}Z.propTypes={disk:m.shape({used:m.number,free:m.number,total:m.number,device:m.string})};const w={uptime:0,pid:-1,cpuUsage:0,memoryUsage:0},z="Blocklet Server";function _({initialBlocklets:o}){const{t:s,locale:l}=se(),{api:c,info:p}=U(),[f,E]=Ce("runtime-view-interval",6),[x,j]=a.useState(null),[g,I]=a.useState([]),N=a.useCallback(t=>{j(t)},[]);a.useEffect(()=>{const t=[];t.push({type:"server",groupId:"server",groupName:z,id:"server:daemon",name:"Server (Daemon)",runtimeInfo:w}),t.push({type:"server",groupId:"server",groupName:z,id:"server:service",name:"Server (Service)",runtimeInfo:w}),o.forEach(r=>{v.forEachBlockletSync(r,(n,{id:u,ancestors:d})=>{n.runtimeInfo&&t.push({type:"blocklet",groupId:r.meta.did,groupName:v.getDisplayName(r),id:u,name:v.getDisplayName(n,!0),blocklet:r,component:n,runtimeInfo:n.runtimeInfo,ancestors:d})})}),I(t)},[!!o?.[0]?.appRuntimeInfo]);const[y,F]=a.useState({os:{platform:""},mem:{used:0,free:0,total:1},cpu:{cpus:[],currentLoad:1},disks:[],daemon:{},service:{}}),[H,O]=a.useState({cpu:[],mem:[],daemonMem:[],serviceMem:[]});h(L.EVENTS.NODE_RUNTIME_INFO,t=>{t.mem.total=t.mem.total||0,t.mem.used=t.mem.total-(t.mem.available||0),F(t),I(r=>r.map(n=>n.id==="server:daemon"?{...n,runtimeInfo:{...n.runtimeInfo,...t.daemon}}:n.id==="server:service"?{...n,runtimeInfo:{...n.runtimeInfo,...t.service}}:n))}),h(L.EVENTS.BLOCKLETS_RUNTIME_INFO,t=>{if(!t||!t.length){console.error("incorrect blocklets runtime info format",t);return}I(r=>r.map(n=>{const u=t.find(d=>d.componentId===n.id);return u?{...n,runtimeInfo:{...n.runtimeInfo,...u.runtimeInfo}}:n}))});const B=t=>{I(r=>r.filter(n=>n.groupId!==t.meta.did))},S=async t=>{try{const{blocklet:r}=await c.getBlocklet({input:{did:t.meta.did,attachRuntimeInfo:!0}});r.status!=="running"&&B(r),I(n=>{const u=n.filter(d=>d.groupId!==r.meta.did);return v.forEachBlockletSync(r,(d,{id:J,ancestors:K})=>{d.runtimeInfo&&u.push({type:"blocklet",groupId:r.meta.did,groupName:v.getDisplayName(r),id:J,name:v.getDisplayName(d,!0),blocklet:r,component:d,runtimeInfo:d.runtimeInfo,ancestors:K})}),u})}catch(r){R.error(r.message)}};h(b.BlockletEvents.removed,B),h(b.BlockletEvents.startFailed,B),h(b.BlockletEvents.statusChange,t=>{if(t.status!=="running"){B(t);return}S(t)}),h(b.BlockletEvents.updated,S),h(b.BlockletEvents.started,S);const G=()=>{c.getNodeRuntimeHistory({input:{hours:f}}).then(t=>{const r=t.history||[];O({cpu:r.map(n=>({date:n.date,value:n.cpu})),mem:r.map(n=>({date:n.date,value:n.mem})),daemonMem:r.map(n=>({date:n.date,value:n.daemonMem})),serviceMem:r.map(n=>({date:n.date,value:n.serviceMem}))})}).catch(t=>{R.error(t.message)})};a.useEffect(()=>{G()},[f]);const W=t=>ce(Number(t||0),{locale:ue(l)}),q=[{label:s("common.group"),name:"groupName",options:{customBodyRenderLite(t){const{type:r,blocklet:n,groupName:u}=g[t];return r==="server"?e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(oe,{width:"14",height:"14"}),e.jsx(i,{sx:{ml:1},children:u})]}):e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(ie,{size:14,blocklet:n}),e.jsx(i,{sx:{ml:1},children:u})]})}}},{label:s("common.name"),name:"name",options:{customBodyRenderLite(t){const{type:r,name:n,component:u,ancestors:d}=g[t];return r==="server"?e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(be,{width:"14",height:"14"}),e.jsx(i,{sx:{ml:1},children:n})]}):e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(ae,{size:14,blocklet:u,ancestors:d}),e.jsx(i,{sx:{ml:1},children:n})]})}}},{label:s("common.uptime"),name:"runtimeInfo.uptime",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return W(r.uptime)}}},{label:s("blocklet.runtimeInfo.memoryUsage"),name:"runtimeInfo.memoryUsage",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return M(r?.memoryUsage||0)},sortDirection:"asc"}},{label:s("blocklet.runtimeInfo.cpuUsage"),name:"runtimeInfo.cpuUsage",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return`${(r.cpuUsage||0).toFixed(1)}%`}}},{label:s("analytics.runtime"),name:"runtimeInfo.runtime",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return r?.uptime?e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(me,{icon:r?.runningDocker?"catppuccin:docker-ignore":"logos:nodejs-icon"}),e.jsx(i,{sx:{ml:1},children:r?.runningDocker?"Docker":"Nodejs"})]}):null}}},{label:s("blocklet.runtimeInfo.processId"),name:"runtimeInfo.pid"},{label:s("blocklet.runtimeInfo.port"),name:"runtimeInfo.port"}];return e.jsxs("div",{children:[e.jsxs(i,{sx:{display:"flex",justifyContent:"space-between",flexDirection:"row",mb:2},children:[e.jsx(k,{component:"h3",variant:"h5",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},children:s("analytics.trend")}),e.jsx(je,{size:"small",exclusive:!0,value:f,onChange:(t,r)=>{le(r)&&E(r)},children:[1,3,6,12,24].map(t=>e.jsxs(Ie,{value:t,children:[t,"H"]},t))})]}),e.jsxs(C,{container:!0,spacing:4,sx:{mb:4},children:[e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(ye,{...y.cpu,history:H.cpu,onHover:N,hoverIndex:x})},"cpu"),e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(T,{...y.mem,history:H.mem,onHover:N,hoverIndex:x})},"memory"),e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(T,{title:`Daemon ${s("common.memory")}`,total:V.parseSize(`${p.runtimeConfig.daemonMaxMemoryLimit}MiB`),used:y.daemon.memoryUsage||0,history:H.daemonMem,onHover:N,hoverIndex:x})},"memory-daemon"),e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(T,{title:`Service ${s("common.memory")}`,total:V.parseSize(`${p.runtimeConfig.proxyMaxMemoryLimit}MiB`),instanceCount:y.service.instanceCount||0,used:y.service.memoryUsage||0,history:H.serviceMem,onHover:N,hoverIndex:x})},"memory-service"),y.disks.map(t=>e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(Z,{disk:t})},t.device||"disk"))]}),e.jsx(he,{className:"runtime-insight-list",title:s("analytics.detail"),locale:l,data:g,columns:q,options:{download:!1,filter:!1,print:!1,pagination:!1,rowsPerPage:100}})]})}_.propTypes={initialBlocklets:m.array.isRequired};function Ne(){const{data:o,externalData:s,initialized:l}=te();if(!l)return e.jsx(re,{relative:"parent",children:e.jsx(ne,{})});const c=[...o,...s];return e.jsx(_,{initialBlocklets:c})}function it(){const o=de(),{t:s}=a.useContext($),{tab:l="traffic"}=pe(),c=j=>{o(`/analytics/${j}`)},p=[{label:s("common.traffic"),value:"traffic"},{label:s("common.runtime"),value:"runtime"}],f=fe(p.find(j=>j.value===l),s("common.analytics")),E={traffic:Me,runtime:Ne},x=E[l]||E.traffic;return e.jsxs(He,{children:[f,e.jsx(k,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:s("common.analytics")}),e.jsx(xe,{tabs:p,current:l,onChange:c}),e.jsx("div",{className:"page-content",children:a.isValidElement(x)?x:e.jsx(x,{})})]})}const He=D.main`
35
+ `;function Ee(o){return e.jsx(Y,{...o,sx:ee(s=>({".MuiLinearProgress-root":{height:10},".MuiLinearProgress-colorPrimary":{backgroundColor:s.palette.grey[s.palette.mode==="light"?200:700]},".MuiLinearProgress-bar":{backgroundColor:s.palette.secondary.main}}),o.sx)})}function A(o){const{value:s}=o;return e.jsxs(i,{sx:{display:"flex",alignItems:"center",mt:2},children:[e.jsx(i,{style:{overflow:"hidden"},sx:{width:"100%",mr:1},children:e.jsx(Ee,{variant:"determinate",...o})}),e.jsx(i,{sx:{minWidth:35},children:e.jsx(k,{variant:"body2",color:"textSecondary",children:`${Math.round(s)}%`})})]})}A.propTypes={value:l.number.isRequired};function Z({disk:o={used:0,free:0,total:1,device:""}}){const{t:s}=a.useContext($),m=[{id:1,className:"used",title:s("system.used"),metric:M(o.used)},{id:2,className:"free",title:s("system.free"),metric:M(o.free)},{id:3,className:"total",title:s("system.total"),metric:M(o.total)}];return e.jsx(P,{title:`${s("common.disk")} (${o.device})`,value:M(o.used),graph:e.jsx(i,{sx:{mt:3},children:e.jsx(A,{value:o.used/o.total*100})}),description:m.map((c,p)=>e.jsxs(i,{sx:{marginLeft:p===0?0:2},children:[c.title,": ",c.metric]},c.title))})}Z.propTypes={disk:l.shape({used:l.number,free:l.number,total:l.number,device:l.string})};const w={uptime:0,pid:-1,cpuUsage:0,memoryUsage:0},z="Blocklet Server";function _({initialBlocklets:o}){const{t:s,locale:m}=se(),{api:c,info:p}=U(),[f,E]=Ce("runtime-view-interval",6),[x,j]=a.useState(null),[g,I]=a.useState([]),N=a.useCallback(t=>{j(t)},[]);a.useEffect(()=>{const t=[];t.push({type:"server",groupId:"server",groupName:z,id:"server:daemon",name:"Server (Daemon)",runtimeInfo:w}),t.push({type:"server",groupId:"server",groupName:z,id:"server:service",name:"Server (Service)",runtimeInfo:w}),o.forEach(r=>{v.forEachBlockletSync(r,(n,{id:u,ancestors:d})=>{n.runtimeInfo&&t.push({type:"blocklet",groupId:r.meta.did,groupName:v.getDisplayName(r),id:u,name:v.getDisplayName(n,!0),blocklet:r,component:n,runtimeInfo:n.runtimeInfo,ancestors:d})})}),I(t)},[!!o?.[0]?.appRuntimeInfo]);const[y,F]=a.useState({os:{platform:""},mem:{used:0,free:0,total:1},cpu:{cpus:[],currentLoad:1},disks:[],daemon:{},service:{}}),[H,O]=a.useState({cpu:[],mem:[],daemonMem:[],serviceMem:[]});h(L.EVENTS.NODE_RUNTIME_INFO,t=>{t.mem.total=t.mem.total||0,t.mem.used=t.mem.total-(t.mem.available||0),F(t),I(r=>r.map(n=>n.id==="server:daemon"?{...n,runtimeInfo:{...n.runtimeInfo,...t.daemon}}:n.id==="server:service"?{...n,runtimeInfo:{...n.runtimeInfo,...t.service}}:n))}),h(L.EVENTS.BLOCKLETS_RUNTIME_INFO,t=>{if(!t||!t.length){console.error("incorrect blocklets runtime info format",t);return}I(r=>r.map(n=>{const u=t.find(d=>d.componentId===n.id);return u?{...n,runtimeInfo:{...n.runtimeInfo,...u.runtimeInfo}}:n}))});const B=t=>{I(r=>r.filter(n=>n.groupId!==t.meta.did))},S=async t=>{try{const{blocklet:r}=await c.getBlocklet({input:{did:t.meta.did,attachRuntimeInfo:!0}});r.status!=="running"&&B(r),I(n=>{const u=n.filter(d=>d.groupId!==r.meta.did);return v.forEachBlockletSync(r,(d,{id:J,ancestors:K})=>{d.runtimeInfo&&u.push({type:"blocklet",groupId:r.meta.did,groupName:v.getDisplayName(r),id:J,name:v.getDisplayName(d,!0),blocklet:r,component:d,runtimeInfo:d.runtimeInfo,ancestors:K})}),u})}catch(r){R.error(r.message)}};h(b.BlockletEvents.removed,B),h(b.BlockletEvents.startFailed,B),h(b.BlockletEvents.statusChange,t=>{if(t.status!=="running"){B(t);return}S(t)}),h(b.BlockletEvents.updated,S),h(b.BlockletEvents.started,S);const G=()=>{c.getNodeRuntimeHistory({input:{hours:f}}).then(t=>{const r=t.history||[];O({cpu:r.map(n=>({date:n.date,value:n.cpu})),mem:r.map(n=>({date:n.date,value:n.mem})),daemonMem:r.map(n=>({date:n.date,value:n.daemonMem})),serviceMem:r.map(n=>({date:n.date,value:n.serviceMem}))})}).catch(t=>{R.error(t.message)})};a.useEffect(()=>{G()},[f]);const W=t=>ce(Number(t||0),{locale:ue(m)}),q=[{label:s("common.group"),name:"groupName",options:{customBodyRenderLite(t){const{type:r,blocklet:n,groupName:u}=g[t];return r==="server"?e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(oe,{width:"14",height:"14"}),e.jsx(i,{sx:{ml:1},children:u})]}):e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(ie,{size:14,blocklet:n}),e.jsx(i,{sx:{ml:1},children:u})]})}}},{label:s("common.name"),name:"name",options:{customBodyRenderLite(t){const{type:r,name:n,component:u,ancestors:d}=g[t];return r==="server"?e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(be,{width:"14",height:"14"}),e.jsx(i,{sx:{ml:1},children:n})]}):e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(ae,{size:14,blocklet:u,ancestors:d}),e.jsx(i,{sx:{ml:1},children:n})]})}}},{label:s("common.uptime"),name:"runtimeInfo.uptime",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return W(r.uptime)}}},{label:s("blocklet.runtimeInfo.memoryUsage"),name:"runtimeInfo.memoryUsage",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return M(r?.memoryUsage||0)},sortDirection:"asc"}},{label:s("blocklet.runtimeInfo.cpuUsage"),name:"runtimeInfo.cpuUsage",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return`${(r.cpuUsage||0).toFixed(1)}%`}}},{label:s("analytics.runtime"),name:"runtimeInfo.runtime",options:{customBodyRenderLite(t){const{runtimeInfo:r}=g[t];return r?.uptime?e.jsxs(i,{sx:{display:"flex",alignItems:"center"},children:[e.jsx(le,{icon:r?.runningDocker?"catppuccin:docker-ignore":"logos:nodejs-icon"}),e.jsx(i,{sx:{ml:1},children:r?.runningDocker?"Docker":"Nodejs"})]}):null}}},{label:s("blocklet.runtimeInfo.processId"),name:"runtimeInfo.pid"},{label:s("blocklet.runtimeInfo.port"),name:"runtimeInfo.port"}];return e.jsxs("div",{children:[e.jsxs(i,{sx:{display:"flex",justifyContent:"space-between",flexDirection:"row",mb:2},children:[e.jsx(k,{component:"h3",variant:"h5",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},children:s("analytics.trend")}),e.jsx(je,{size:"small",exclusive:!0,value:f,onChange:(t,r)=>{me(r)&&E(r)},children:[1,3,6,12,24].map(t=>e.jsxs(Ie,{value:t,children:[t,"H"]},t))})]}),e.jsxs(C,{container:!0,spacing:4,sx:{mb:4},children:[e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(ye,{...y.cpu,history:H.cpu,onHover:N,hoverIndex:x})},"cpu"),e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(T,{...y.mem,history:H.mem,onHover:N,hoverIndex:x})},"memory"),e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(T,{title:`Daemon ${s("common.memory")}`,total:V.parseSize(`${p.runtimeConfig.daemonMaxMemoryLimit}MiB`),used:y.daemon.memoryUsage||0,history:H.daemonMem,onHover:N,hoverIndex:x})},"memory-daemon"),e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(T,{title:`Service ${s("common.memory")}`,total:V.parseSize(`${p.runtimeConfig.blockletMaxMemoryLimit}MiB`),instanceCount:y.service.instanceCount||0,used:y.service.memoryUsage||0,history:H.serviceMem,onHover:N,hoverIndex:x})},"memory-service"),y.disks.map(t=>e.jsx(C,{size:{lg:3,md:6,sm:6,xs:12},children:e.jsx(Z,{disk:t})},t.device||"disk"))]}),e.jsx(he,{className:"runtime-insight-list",title:s("analytics.detail"),locale:m,data:g,columns:q,options:{download:!1,filter:!1,print:!1,pagination:!1,rowsPerPage:100}})]})}_.propTypes={initialBlocklets:l.array.isRequired};function Ne(){const{data:o,externalData:s,initialized:m}=te();if(!m)return e.jsx(re,{relative:"parent",children:e.jsx(ne,{})});const c=[...o,...s];return e.jsx(_,{initialBlocklets:c})}function it(){const o=de(),{t:s}=a.useContext($),{tab:m="traffic"}=pe(),c=j=>{o(`/analytics/${j}`)},p=[{label:s("common.traffic"),value:"traffic"},{label:s("common.runtime"),value:"runtime"}],f=fe(p.find(j=>j.value===m),s("common.analytics")),E={traffic:Me,runtime:Ne},x=E[m]||E.traffic;return e.jsxs(He,{children:[f,e.jsx(k,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:s("common.analytics")}),e.jsx(xe,{tabs:p,current:m,onChange:c}),e.jsx("div",{className:"page-content",children:a.isValidElement(x)?x:e.jsx(x,{})})]})}const He=D.main`
36
36
  .page-header {
37
37
  display: flex;
38
38
  justify-content: space-between;