@abtnode/webapp 1.17.7-beta-20251229-085620-84f09930 → 1.17.7-beta-20251230-041316-624cafaf

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 (184) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-B3EPIF8V.js → AdapterDayjs-BBi3P2IC.js} +1 -1
  4. package/dist/assets/{Add-B60k0zLe.js → Add-DBDPvM2L.js} +1 -1
  5. package/dist/assets/ArrowDropDown-CqYw-eY9.js +1 -0
  6. package/dist/assets/{Autocomplete-B4QHA8fQ.js → Autocomplete-6CVDh-bw.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-C2AxMEIo.js → Breadcrumbs-CIhr-IBH.js} +1 -1
  8. package/dist/assets/{ButtonGroup-CwgnAVvA.js → ButtonGroup-Um1mBtyg.js} +1 -1
  9. package/dist/assets/{CSSTransition-CTMK0QDG.js → CSSTransition-BcU1vShi.js} +1 -1
  10. package/dist/assets/{CallMerge-Cdfeu5IS.js → CallMerge-CqN4JiFM.js} +1 -1
  11. package/dist/assets/{CardContent-LxDdD1ia.js → CardContent-C16B5Bpa.js} +1 -1
  12. package/dist/assets/{ChevronLeft-BU5D6BrG.js → ChevronLeft-Ds4qWfjb.js} +1 -1
  13. package/dist/assets/{ChevronRight-BntDfQzc.js → ChevronRight-BFqUOmvp.js} +1 -1
  14. package/dist/assets/{Clear-RDv89tkq.js → Clear-L4-iFi83.js} +1 -1
  15. package/dist/assets/{Delete-BeglY8dh.js → Delete-DVp4fJb1.js} +1 -1
  16. package/dist/assets/{DeleteOutline-BDLlQ3k7.js → DeleteOutline-CDxyWfLx.js} +1 -1
  17. package/dist/assets/{Done-CEn2z4YZ.js → Done-D7TYY_5X.js} +1 -1
  18. package/dist/assets/{Edit-B8h0Te5z.js → Edit-DYn1CF5Y.js} +1 -1
  19. package/dist/assets/{ErrorOutline-C8or5W5q.js → ErrorOutline-By74cLGJ.js} +1 -1
  20. package/dist/assets/{FilterList-CLDlsWBv.js → FilterList-Czj4Os71.js} +1 -1
  21. package/dist/assets/{Google-BjTL7Mbd.js → Google-DZPfsfDE.js} +1 -1
  22. package/dist/assets/{HelpOutline-BWiGx-E5.js → HelpOutline-DS85eUTc.js} +1 -1
  23. package/dist/assets/{KeyboardArrowDown-DEp_gv0Q.js → KeyboardArrowDown-C53dgTNk.js} +1 -1
  24. package/dist/assets/{Launch-dZPSseNQ.js → Launch-l1uaKrAG.js} +1 -1
  25. package/dist/assets/{Link-CysJEW2j.js → Link-Bs8vi6ND.js} +1 -1
  26. package/dist/assets/{ListItemButton-d8kfS6hh.js → ListItemButton-KbcDtzXD.js} +1 -1
  27. package/dist/assets/{ListSubheader-fV4wdcMl.js → ListSubheader-C-Lxj5FB.js} +1 -1
  28. package/dist/assets/{LoadingButton-BsrnRHRU.js → LoadingButton-CZNIV9Ok.js} +1 -1
  29. package/dist/assets/{MoreVert-uETYsy_E.js → MoreVert-DaM6pG5s.js} +1 -1
  30. package/dist/assets/{OpenInNew-BCfmTCS5.js → OpenInNew-BQeSMHR-.js} +1 -1
  31. package/dist/assets/{Refresh-Cm8v0stG.js → Refresh-BJnu5a0L.js} +1 -1
  32. package/dist/assets/{Replay-DHMSlrmF.js → Replay-BV6q004T.js} +1 -1
  33. package/dist/assets/{Search-btz9KaC-.js → Search-CApGhXwm.js} +1 -1
  34. package/dist/assets/{Stepper-Dxn7bqpJ.js → Stepper-B2_oAcOZ.js} +1 -1
  35. package/dist/assets/{TableSearch-fEXgtTVk.js → TableSearch-CKjIHAce.js} +1 -1
  36. package/dist/assets/{ToggleButtonGroup-C4kzOS0b.js → ToggleButtonGroup-t3tLzS74.js} +1 -1
  37. package/dist/assets/{UnfoldMore-DThRR6-N.js → UnfoldMore-D2Y42T3n.js} +1 -1
  38. package/dist/assets/{Verified-C19edvAZ.js → Verified-QiB22jgm.js} +1 -1
  39. package/dist/assets/{VerifiedUser-K3XyiGA_.js → VerifiedUser-kPobsDlg.js} +1 -1
  40. package/dist/assets/{ViewList-CgjJtd-c.js → ViewList-Ceb1JHIv.js} +1 -1
  41. package/dist/assets/{_createAggregator-C6OGob0j.js → _createAggregator-g-PBWDTI.js} +1 -1
  42. package/dist/assets/{actions-Cx5UWmFM.js → actions-BCMsejAj.js} +1 -1
  43. package/dist/assets/{actions-DLzRFvAK.js → actions-Dp-VL6XB.js} +1 -1
  44. package/dist/assets/{agreement-DkKyZFRL.js → agreement-Bun3wUY-.js} +1 -1
  45. package/dist/assets/api-DDSUcMPT.js +1 -0
  46. package/dist/assets/{appearance-Dy0GAWnb.js → appearance-yP6FtjZ0.js} +1 -1
  47. package/dist/assets/{audit-logs-DDH5oZ1m.js → audit-logs-bPLYn_cc.js} +1 -1
  48. package/dist/assets/{base-chart-BYW3DQfO.js → base-chart-BZha7l7D.js} +1 -1
  49. package/dist/assets/{blocklet-DOEd7Lt0.js → blocklet-Nw4kpsVs.js} +1 -1
  50. package/dist/assets/{chain-DxgLFRf-.js → chain-WdOor_5_.js} +1 -1
  51. package/dist/assets/{click-to-copy-DsEvNuW1.js → click-to-copy-DjkhfhsV.js} +1 -1
  52. package/dist/assets/cloneDeep-Bl8wZyrm.js +1 -0
  53. package/dist/assets/{config-navigation-B1zx14fz.js → config-navigation-Pdv-g1jO.js} +3 -3
  54. package/dist/assets/{connect-to-C32I6gO9.js → connect-to-D2aJnmIt.js} +3 -3
  55. package/dist/assets/{cssMode-CtKJ93fE.js → cssMode-CbVfvomN.js} +1 -1
  56. package/dist/assets/{delete-confirm-Rx1yldK0.js → delete-confirm-DCHvoTQs.js} +1 -1
  57. package/dist/assets/{depsEqual-CzPGJZq9.js → depsEqual-LiU_ATMs.js} +1 -1
  58. package/dist/assets/{detail-BYhPDlPb.js → detail-B-lIb4O1.js} +3 -3
  59. package/dist/assets/{domains-oZZ_Ty-9.js → domains-CeCMQUBm.js} +1 -1
  60. package/dist/assets/{download-Dpf3ldu1.js → download-DHuOHOVu.js} +1 -1
  61. package/dist/assets/{edit.svg-CuloKtQk.js → edit.svg-D0_FvYeH.js} +1 -1
  62. package/dist/assets/emotion-cache.browser.esm-D1-P5QGD.js +1 -0
  63. package/dist/assets/engine-D8Acg7DY.js +1 -0
  64. package/dist/assets/{freemarker2-BWRy4jrz.js → freemarker2-Dbd2dz2J.js} +1 -1
  65. package/dist/assets/{get-safe-url-BgeSRCM1.js → get-safe-url-DDm_hPj1.js} +1 -1
  66. package/dist/assets/getValidReactChildren-DpcxJbs9.js +1 -0
  67. package/dist/assets/{graphqlMode-0sRNcgDJ.js → graphqlMode-BNREvohj.js} +2 -2
  68. package/dist/assets/{handlebars-P_4TmNVs.js → handlebars-Ce_TkpEQ.js} +1 -1
  69. package/dist/assets/{html-Dhv8md5y.js → html-CUmDiv7k.js} +1 -1
  70. package/dist/assets/{html-title-DD44mmgD.js → html-title-D3mv3IQk.js} +1 -1
  71. package/dist/assets/{htmlMode-DopggpcY.js → htmlMode-Ca_TsxJH.js} +1 -1
  72. package/dist/assets/{iframe-Qu-nVscQ.js → iframe-Dt-xbP5x.js} +1 -1
  73. package/dist/assets/{index-C-V9x4q4.js → index-2VA5XrmO.js} +1 -1
  74. package/dist/assets/index-2lzs7bat.js +1 -0
  75. package/dist/assets/{index-39sjM7w4.js → index-B0O0JwRT.js} +1 -1
  76. package/dist/assets/{index-D-xN2OZw.js → index-B11n09kE.js} +1 -1
  77. package/dist/assets/{index-RogGDMH8.js → index-B2WmX6Fx.js} +3 -3
  78. package/dist/assets/{index-BsR0_qFa.js → index-BHAdZ1FZ.js} +1 -1
  79. package/dist/assets/{index-BU4T_Wvp.js → index-BLI3C2o7.js} +1 -1
  80. package/dist/assets/{index-JJswhFbD.js → index-BPuMob2k.js} +1 -1
  81. package/dist/assets/{index-BrhUX_qe.js → index-BQNKAwfZ.js} +1 -1
  82. package/dist/assets/{index-H0mlKY3H.js → index-Be8ehpQE.js} +1 -1
  83. package/dist/assets/{index-DyaBkuYt.js → index-BsjY45Cd.js} +1 -1
  84. package/dist/assets/{index-BXHaVrfH.js → index-BxX_nqnW.js} +1 -1
  85. package/dist/assets/{index-OMPkcLs4.js → index-C8CmKnU4.js} +2 -2
  86. package/dist/assets/{index-B4-HrO4o.js → index-CAA1AdyJ.js} +1 -1
  87. package/dist/assets/{index-DWxJ8r2D.js → index-CADLzzXJ.js} +3 -3
  88. package/dist/assets/{index-B7s3fWmd.js → index-CKHOafPq.js} +1 -1
  89. package/dist/assets/{index-DlpmIKRl.js → index-CL2N86sI.js} +1 -1
  90. package/dist/assets/{index-CwUZ9am0.js → index-CODEE-RB.js} +1 -1
  91. package/dist/assets/{index-Do20OM4S.js → index-CQYzPG_n.js} +1 -1
  92. package/dist/assets/{index-3bdOGXYz.js → index-CQogNORn.js} +1 -1
  93. package/dist/assets/{index-Deye8jzv.js → index-CR1U7OM5.js} +1 -1
  94. package/dist/assets/{index-D93L21zf.js → index-CTWQgRaZ.js} +1 -1
  95. package/dist/assets/{index-GJu0trt8.js → index-CaDcvTD7.js} +1 -1
  96. package/dist/assets/{index-D2KGQYNR.js → index-CdxsHt3r.js} +3 -3
  97. package/dist/assets/{index-Cnw2Ig5U.js → index-Ci1hoD9j.js} +1 -1
  98. package/dist/assets/{index-CK33Cb9C.js → index-CvZItgju.js} +1 -1
  99. package/dist/assets/{index-j3UFl5Dq.js → index-CypG4Dbq.js} +1 -1
  100. package/dist/assets/{index-gGxk5WJM.js → index-D0-rZXcm.js} +1 -1
  101. package/dist/assets/{index-D7vqSOsg.js → index-D319vBae.js} +9 -9
  102. package/dist/assets/{index-B_uYaYXc.js → index-DJ9zSKl1.js} +1 -1
  103. package/dist/assets/{index-DHkDWWjb.js → index-DQItZ4UM.js} +1 -1
  104. package/dist/assets/{index-AnwYvOD6.js → index-DT5BIL2_.js} +1 -1
  105. package/dist/assets/{index-Czc8yQAA.js → index-DdYx-VNK.js} +1 -1
  106. package/dist/assets/{index-DefsJZKk.js → index-DjQqmpzQ.js} +1 -1
  107. package/dist/assets/{index-D9z9EJRg.js → index-Dt9htCod.js} +3 -3
  108. package/dist/assets/{index-D78suzy2.js → index-DtJVzdtH.js} +46 -46
  109. package/dist/assets/{index-qkxVIYPT.js → index-Dtkcfmzb.js} +1 -1
  110. package/dist/assets/{index-Eiq737ML.js → index-IWOqJkOB.js} +1 -1
  111. package/dist/assets/{index-Dj054slT.js → index-KI2LGzUW.js} +1 -1
  112. package/dist/assets/{index-CBUEmu4p.js → index-WbuPRmjd.js} +1 -1
  113. package/dist/assets/{index-uV9pYRNo.js → index-jT3H-jhB.js} +1 -1
  114. package/dist/assets/{index-Cvq6zZB9.js → index-kRFEBldM.js} +1 -1
  115. package/dist/assets/{index-DbU5jvv5.js → index-umVLVZjs.js} +1 -1
  116. package/dist/assets/{index-BHdJvD_e.js → index-z-tbDeE3.js} +1 -1
  117. package/dist/assets/{index.esm-mNR4f2BF.js → index.esm-Zck39Kvz.js} +1 -1
  118. package/dist/assets/{install-from-url-D52UYhXy.js → install-from-url-BXftFn4t.js} +1 -1
  119. package/dist/assets/{invitation-DlWLyqUv.js → invitation-4F28SRYz.js} +1 -1
  120. package/dist/assets/{is-path-prefix-equal-BYQbaqqa.js → is-path-prefix-equal-BJMXSv43.js} +1 -1
  121. package/dist/assets/{item-LsHOq-zm.js → item-C1JxTPT2.js} +1 -1
  122. package/dist/assets/{javascript-DKLJNbgU.js → javascript-B0m7UVIe.js} +1 -1
  123. package/dist/assets/{jsonMode-6n4xGwpA.js → jsonMode-CgwGbFre.js} +1 -1
  124. package/dist/assets/{liquid-BvDNIxXF.js → liquid-BZyWy1Tr.js} +1 -1
  125. package/dist/assets/{list-header-BHsvljit.js → list-header-BZRIF_iO.js} +1 -1
  126. package/dist/assets/{lock.svg-BzF_roTX.js → lock.svg-Ba4McgFD.js} +1 -1
  127. package/dist/assets/{log-CCqXzPvI.js → log-BFB-zvPt.js} +1 -1
  128. package/dist/assets/{lottie-react.esm-CA2-qLw0.js → lottie-react.esm-CGSms1Pf.js} +1 -1
  129. package/dist/assets/{mdx-CORwGL2F.js → mdx-BRVCuIrx.js} +1 -1
  130. package/dist/assets/{memory-DjgLsWG0.js → memory-B2j_d87p.js} +1 -1
  131. package/dist/assets/{metric-CNMVZIll.js → metric-DpvjSsZq.js} +1 -1
  132. package/dist/assets/omit-CyTnrDNo.js +1 -0
  133. package/dist/assets/{overview-DZx8sNOc.js → overview-DkMLRtwO.js} +1 -1
  134. package/dist/assets/{permission-CCNK9jT0.js → permission-DTFazP7s.js} +1 -1
  135. package/dist/assets/{preference-CL8oQs4K.js → preference-DYVCo0KF.js} +3 -3
  136. package/dist/assets/{python-DNPLg-Zx.js → python-B-wSNZ_T.js} +1 -1
  137. package/dist/assets/{raf-schd.esm-D_x0x_Qn.js → raf-schd.esm-B7_MlDzu.js} +1 -1
  138. package/dist/assets/{razor-BXbmyOQh.js → razor-BR_HjGgi.js} +1 -1
  139. package/dist/assets/{rotate-session-key-B9uPds9f.js → rotate-session-key-Bz5QE7gB.js} +1 -1
  140. package/dist/assets/{runtime-CJZGBtjx.js → runtime-DM0B8rA4.js} +1 -1
  141. package/dist/assets/schema-BKPaewSy.js +1 -0
  142. package/dist/assets/sdk-CXClyXm7.js +1 -0
  143. package/dist/assets/{service-BB7jaRU2.js → service-DkoTQaTk.js} +1 -1
  144. package/dist/assets/{shorten-label-D6qdCHBK.js → shorten-label-BR48Ofqe.js} +1 -1
  145. package/dist/assets/{simple-select-ZER_8WgH.js → simple-select-D38wTw_o.js} +1 -1
  146. package/dist/assets/{spaces-M88xnpCx.js → spaces-YFYDpL5l.js} +1 -1
  147. package/dist/assets/{status-CjV3xdMN.js → status-BTCwUhiG.js} +1 -1
  148. package/dist/assets/{status-Claw5V5z.js → status-B_ZSV6JY.js} +1 -1
  149. package/dist/assets/{switch-control-CVj0L-9B.js → switch-control-Fq47wOrt.js} +1 -1
  150. package/dist/assets/{table-icons-D5BFFDTU.js → table-icons-DYQRHdVu.js} +1 -1
  151. package/dist/assets/{team-DI44e0Lq.js → team-DKJfzzKD.js} +1 -1
  152. package/dist/assets/{toLower-BR9mSuL0.js → toLower-62VYhzjn.js} +1 -1
  153. package/dist/assets/toUpper-CBmQ5f7q.js +1 -0
  154. package/dist/assets/{traffic-CtaSaEzh.js → traffic-Dh_MwZxy.js} +1 -1
  155. package/dist/assets/{tsMode-B4RcWbJF.js → tsMode-CxSxmJBQ.js} +1 -1
  156. package/dist/assets/{typescript-ApR86vo0.js → typescript-Dnu6Xv3U.js} +1 -1
  157. package/dist/assets/{url-evaluation-Dz0qWdnw.js → url-evaluation-Cf4MPEtF.js} +1 -1
  158. package/dist/assets/{url-join-Bhp_MbCf.js → url-join-P8kMCiOB.js} +1 -1
  159. package/dist/assets/{use-mobile-p7bScsU1.js → use-mobile-BnTDQjTV.js} +1 -1
  160. package/dist/assets/{use-mobile-D6doCW2D.js → use-mobile-D1KGwOlr.js} +1 -1
  161. package/dist/assets/{useAsync-DeHRjN-F.js → useAsync-SwSlukzF.js} +1 -1
  162. package/dist/assets/{useAsyncRetry-M7S8bZOZ.js → useAsyncRetry-BQEwzyM4.js} +1 -1
  163. package/dist/assets/{useLocalStorage-CGOwOi-p.js → useLocalStorage-41az-hAK.js} +1 -1
  164. package/dist/assets/{useThemeProps-xpQuNQBO.js → useThemeProps-Cw6i_sME.js} +1 -1
  165. package/dist/assets/{util-B4XNVjK7.js → util-C9NPDRP-.js} +1 -1
  166. package/dist/assets/{wait-container-DE5vVesp.js → wait-container-GLOlfScg.js} +1 -1
  167. package/dist/assets/{without-wallet-CZASlBin.js → without-wallet-rfYvx_29.js} +1 -1
  168. package/dist/assets/wrap-locale-C-Q-ES8F.js +1 -0
  169. package/dist/assets/{xml-CqiM979f.js → xml-D06mM15g.js} +1 -1
  170. package/dist/assets/{yaml-CHANqhAV.js → yaml-DrMeEOdm.js} +1 -1
  171. package/dist/index.html +1 -1
  172. package/package.json +1 -1
  173. package/dist/assets/ArrowDropDown-D9C6bexH.js +0 -1
  174. package/dist/assets/api-BIW3WSyV.js +0 -1
  175. package/dist/assets/cloneDeep-Cig9fPty.js +0 -1
  176. package/dist/assets/emotion-cache.browser.esm-BSPYCi-c.js +0 -1
  177. package/dist/assets/engine-DsZ-2cMT.js +0 -1
  178. package/dist/assets/getValidReactChildren-c-3WOl4y.js +0 -1
  179. package/dist/assets/index-D7HZBvR8.js +0 -1
  180. package/dist/assets/omit-BGJcae02.js +0 -1
  181. package/dist/assets/schema-DqiLBSd2.js +0 -1
  182. package/dist/assets/sdk-CSPQYdiI.js +0 -1
  183. package/dist/assets/toUpper-cXhRv1n8.js +0 -1
  184. package/dist/assets/wrap-locale-DqDO9Bmx.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as P,fL as fl,c6 as _o,fM as dl,fu as Mo,fN as pl,cX as Lo,aF as ur,j as i,fO as ml,fP as hl,aT as Et,fQ as or,eA as Je,fR as Js,fS as gl,fT as bl,fU as yl,fV as xl,fW as vl,fX as ei,fY as wl,fZ as to,f_ as Cl,f$ as Sl,g0 as jl,g1 as Tl,eB as ro,g2 as ti,eC as El,cJ as qn,eD as kl,dG as Il,g3 as Pl,g4 as Rl,V as Ee,bo as Be,aP as ut,g5 as ri,H as Me,X as Ue,o as b,f as no,eP as ni,f6 as oi,n as xt,J as U,bZ as Dl,dM as Al,bz as Ol,av as ft,g6 as si,S as jr,bl as Tr,g7 as ii,a$ as _l,$ as et,t as lt,b2 as Ml,bB as qe,aV as Nt,E as oo,ff as Ll,g8 as Nl,g9 as Fl,ga as Bl,D as Lr,T as Pe,bh as so,a4 as rr,Z as Nr,gb as Ul,U as Tt,c0 as Vt,c1 as zt,cl as ai,dP as rt,e$ as ce,c3 as ql,b9 as _e,df as Er,d9 as li,c4 as dt,c5 as Rt,Q as It,dL as ci,dc as $l,gc as Fr,gd as ui,bE as it,bg as Ve,O as sr,bq as fi,P as $n,at as di,dI as Vl,ge as kr,bt as zl,au as ir,v as ze,C as bt,gf as Wl,h as Vn,aX as Kl,w as Hl,x as Yl,s as He,p as fr,ad as dr,bF as Bt,gg as Gl,dH as Zl,dp as Xl,aH as gt,N as yt,dz as Ql,gh as Jl,eE as ec,gi as pi,gj as Ir,gk as tc,dJ as ar,cP as No,W as io,dK as rc,cw as mi,z as nc,bv as ao,bw as hi,bx as lo,dr as hr,b as Ie,aD as oc,fK as gi,gl as bi,M as lr,aS as sc,gm as yi,aE as ic,a9 as ac,gn as lc,c$ as xi,go as cc,bA as Fo,y as uc,gp as fc,bH as dc,R as pc,K as mc}from"./index-D78suzy2.js";import{A as Ut}from"./Add-B60k0zLe.js";import{V as hc}from"./ViewList-CgjJtd-c.js";import{c as gc,H as co,g as bc}from"./index-Eiq737ML.js";import{v as Bo}from"./index-j3UFl5Dq.js";import{u as Ye}from"./team-DI44e0Lq.js";import{u as vi}from"./blocklet-DOEd7Lt0.js";import{S as wi}from"./Search-btz9KaC-.js";import{u as yc,C as Zt}from"./index.esm-mNR4f2BF.js";import{S as xc}from"./Google-BjTL7Mbd.js";import{A as vc,a as gr}from"./Autocomplete-B4QHA8fQ.js";import{U as wc}from"./UnfoldMore-DThRR6-N.js";import{P as Pt}from"./permission-CCNK9jT0.js";import{C as Br}from"./click-to-copy-DsEvNuW1.js";import{s as vt,g as Cc,S as Sc,u as mt,a as Ci,b as pr,c as Si,d as Ur,e as ji,f as uo,P as Ti,D as Ei,h as Pr,M as tr,i as ki,j as Uo,k as nr,v as jc,l as Tc,m as qo,n as Ec,o as kc,p as Ic,q as Pc,C as Rc,r as Dc,t as Rr,w as Lt,x as Dr,y as $o,z as Vo,A as Ac,T as Oc,B as fo,E as _c,F as Mc,G as Lc,H as Nc,I as Fc,J as Bc,K as Uc,L as br,N as Ft,O as Ii,Q as qc,V as zn,R as Pi,U as $c,W as zo,X as Vc,Y as zc,Z as Wc,_ as Kc,$ as Hc,a0 as Yc}from"./AdapterDayjs-B3EPIF8V.js";import{u as nt}from"./useThemeProps-xpQuNQBO.js";import{a as Wo,b as Gc,t as Zc,T as Xc}from"./html-title-DD44mmgD.js";import{v as Ge}from"./index-uV9pYRNo.js";import{V as Qc}from"./Verified-C19edvAZ.js";import{D as Jc}from"./DeleteOutline-BDLlQ3k7.js";import{E as Ko}from"./ErrorOutline-C8or5W5q.js";import{N as eu}from"./index-BHdJvD_e.js";import{R as Ri,a as Sr}from"./url-evaluation-Dz0qWdnw.js";import{b as Wn}from"./sdk-CSPQYdiI.js";import{u as tu}from"./index-Czc8yQAA.js";import{u as Di}from"./use-mobile-p7bScsU1.js";import{D as ru}from"./Delete-BeglY8dh.js";import{A as nu}from"./actions-DLzRFvAK.js";import{S as ou}from"./shorten-label-D6qdCHBK.js";import{U as Gr}from"./ua-parser-DP5omx3I.js";const su=gc(P.useLayoutEffect);var Ho={},Yo;function iu(){return Yo||(Yo=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(d){try{return d.defaultView&&d.defaultView.frameElement||null}catch{return null}}var t=function(d){for(var p=d,y=e(p);y;)p=y.ownerDocument,y=e(p);return p}(window.document),r=[],n=null,o=null;function c(d){this.time=d.time,this.target=d.target,this.rootBounds=S(d.rootBounds),this.boundingClientRect=S(d.boundingClientRect),this.intersectionRect=S(d.intersectionRect||w()),this.isIntersecting=!!d.intersectionRect;var p=this.boundingClientRect,y=p.width*p.height,T=this.intersectionRect,C=T.width*T.height;y?this.intersectionRatio=Number((C/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(d,p){var y=p||{};if(typeof d!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=d,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(T){return T.value+T.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(d,p){!d||!p?o=w():o=j(d,p),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(d){var p=this._observationTargets.some(function(y){return y.element==d});if(!p){if(!(d&&d.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:d,entry:null}),this._monitorIntersections(d.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(d){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=d}),this._unmonitorIntersections(d.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var d=this._queuedEntries.slice();return this._queuedEntries=[],d},s.prototype._initThresholds=function(d){var p=d||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(y,T,C){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==C[T-1]})},s.prototype._parseRootMargin=function(d){var p=d||"0px",y=p.split(/\s+/).map(function(T){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(T);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(d){var p=d.defaultView;if(p&&this._monitoringDocuments.indexOf(d)==-1){var y=this._checkForIntersections,T=null,C=null;this.POLL_INTERVAL?T=p.setInterval(y,this.POLL_INTERVAL):(u(p,"resize",y,!0),u(d,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(C=new p.MutationObserver(y),C.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(d),this._monitoringUnsubscribes.push(function(){var D=d.defaultView;D&&(T&&D.clearInterval(T),f(D,"resize",y,!0)),f(d,"scroll",y,!0),C&&C.disconnect()});var E=this.root&&(this.root.ownerDocument||this.root)||t;if(d!=E){var k=e(d);k&&this._monitorIntersections(k.ownerDocument)}}},s.prototype._unmonitorIntersections=function(d){var p=this._monitoringDocuments.indexOf(d);if(p!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,T=this._observationTargets.some(function(k){var D=k.element.ownerDocument;if(D==d)return!0;for(;D&&D!=y;){var N=e(D);if(D=N&&N.ownerDocument,D==d)return!0}return!1});if(!T){var C=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),C(),d!=y){var E=e(d);E&&this._unmonitorIntersections(E.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var d=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<d.length;p++)d[p]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var d=this._rootIsInDom(),p=d?this._getRootRect():w();this._observationTargets.forEach(function(y){var T=y.element,C=v(T),E=this._rootContainsTarget(T),k=y.entry,D=d&&E&&this._computeTargetAndRootIntersection(T,C,p),N=null;this._rootContainsTarget(T)?(!n||this.root)&&(N=p):N=w();var B=y.entry=new c({time:l(),target:T,boundingClientRect:C,rootBounds:N,intersectionRect:D});k?d&&E?this._hasCrossedThreshold(k,B)&&this._queuedEntries.push(B):k&&k.isIntersecting&&this._queuedEntries.push(B):this._queuedEntries.push(B)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(d,p,y){if(window.getComputedStyle(d).display!="none"){for(var T=p,C=m(d),E=!1;!E&&C;){var k=null,D=C.nodeType==1?window.getComputedStyle(C):{};if(D.display=="none")return null;if(C==this.root||C.nodeType==9)if(E=!0,C==this.root||C==t)n&&!this.root?!o||o.width==0&&o.height==0?(C=null,k=null,T=null):k=o:k=y;else{var N=m(C),B=N&&v(N),W=N&&this._computeTargetAndRootIntersection(N,B,y);B&&W?(C=N,k=j(B,W)):(C=null,T=null)}else{var ne=C.ownerDocument;C!=ne.body&&C!=ne.documentElement&&D.overflow!="visible"&&(k=v(C))}if(k&&(T=h(k,T)),!T)break;C=C&&m(C)}return T}},s.prototype._getRootRect=function(){var d;if(this.root&&!g(this.root))d=v(this.root);else{var p=g(this.root)?this.root:t,y=p.documentElement,T=p.body;d={top:0,left:0,right:y.clientWidth||T.clientWidth,width:y.clientWidth||T.clientWidth,bottom:y.clientHeight||T.clientHeight,height:y.clientHeight||T.clientHeight}}return this._expandRectByRootMargin(d)},s.prototype._expandRectByRootMargin=function(d){var p=this._rootMarginValues.map(function(T,C){return T.unit=="px"?T.value:T.value*(C%2?d.width:d.height)/100}),y={top:d.top-p[0],right:d.right+p[1],bottom:d.bottom+p[2],left:d.left-p[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(d,p){var y=d&&d.isIntersecting?d.intersectionRatio||0:-1,T=p.isIntersecting?p.intersectionRatio||0:-1;if(y!==T)for(var C=0;C<this.thresholds.length;C++){var E=this.thresholds[C];if(E==y||E==T||E<y!=E<T)return!0}},s.prototype._rootIsInDom=function(){return!this.root||x(t,this.root)},s.prototype._rootContainsTarget=function(d){var p=this.root&&(this.root.ownerDocument||this.root)||t;return x(p,d)&&(!this.root||p==d.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var d=r.indexOf(this);d!=-1&&r.splice(d,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(d,p){var y=null;return function(){y||(y=setTimeout(function(){d(),y=null},p))}}function u(d,p,y,T){typeof d.addEventListener=="function"?d.addEventListener(p,y,T):typeof d.attachEvent=="function"&&d.attachEvent("on"+p,y)}function f(d,p,y,T){typeof d.removeEventListener=="function"?d.removeEventListener(p,y,T):typeof d.detachEvent=="function"&&d.detachEvent("on"+p,y)}function h(d,p){var y=Math.max(d.top,p.top),T=Math.min(d.bottom,p.bottom),C=Math.max(d.left,p.left),E=Math.min(d.right,p.right),k=E-C,D=T-y;return k>=0&&D>=0&&{top:y,bottom:T,left:C,right:E,width:k,height:D}||null}function v(d){var p;try{p=d.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):w()}function w(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function S(d){return!d||"x"in d?d:{top:d.top,y:d.top,bottom:d.bottom,left:d.left,x:d.left,right:d.right,width:d.width,height:d.height}}function j(d,p){var y=p.top-d.top,T=p.left-d.left;return{top:y,left:T,height:p.height,width:p.width,bottom:y+p.height,right:T+p.width}}function x(d,p){for(var y=p;y;){if(y==d)return!0;y=m(y)}return!1}function m(d){var p=d.parentNode;return d.nodeType==9&&d!=t?e(d):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function g(d){return d&&d.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c}()),Ho}iu();function au(e,t){var r={},n=r.callback,o=fl(r,["callback"]),c=_o(P.useState(),2),s=c[0],l=c[1],a=_o(P.useState(),2),u=a[0],f=a[1];return dl(function(){var h=Array.isArray(e)?e:[e],v=h.map(function(S){return Mo(S)}).filter(Boolean);if(v.length){var w=new IntersectionObserver(function(S){var j,x;try{for(var m=pl(S),g=m.next();!g.done;g=m.next()){var d=g.value;f(d.intersectionRatio),l(d.isIntersecting),n?.(d)}}catch(p){j={error:p}}finally{try{g&&!g.done&&(x=m.return)&&x.call(m)}finally{if(j)throw j.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return v.forEach(function(S){return w.observe(S)}),function(){w.disconnect()}}},[void 0,void 0,n],e),[s,u]}const lu=ur(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),cu=ur(i.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=ur([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),uu=ur(i.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"})),fu=ur(i.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"})),Ai=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),P.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Oi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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"}),P.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"}),P.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"}),P.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"})),_i=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),du=e=>P.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("g",{clipPath:"url(#clip0)"},P.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"})),P.createElement("defs",null,P.createElement("clipPath",{id:"clip0"},P.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Mi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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 Zr={},Xr,Go;function pu(){return Go||(Go=1,Xr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xr}var Qr,Zo;function mu(){if(Zo)return Qr;Zo=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var v=f[h];s=s.replace(new RegExp(v,"g"),l[v])}return s}return Qr=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},Qr}var Jr,Xo;function hu(){return Xo||(Xo=1,Jr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Jr}var en,Qo;function gu(){return Qo||(Qo=1,en=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),en}var Jo;function bu(){return Jo||(Jo=1,function(e){const t=pu(),r=mu(),n=hu(),o=gu(),c=m=>m==null;function s(m){switch(m.arrayFormat){case"index":return g=>(d,p)=>{const y=d.length;return p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[",y,"]"].join("")]:[...d,[u(g,m),"[",u(y,m),"]=",u(p,m)].join("")]};case"bracket":return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[]"].join("")]:[...d,[u(g,m),"[]=",u(p,m)].join("")];case"comma":case"separator":return g=>(d,p)=>p==null||p.length===0?d:d.length===0?[[u(g,m),"=",u(p,m)].join("")]:[[d,u(p,m)].join(m.arrayFormatSeparator)];default:return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,u(g,m)]:[...d,[u(g,m),"=",u(p,m)].join("")]}}function l(m){let g;switch(m.arrayFormat){case"index":return(d,p,y)=>{if(g=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),!g){y[d]=p;return}y[d]===void 0&&(y[d]={}),y[d][g[1]]=p};case"bracket":return(d,p,y)=>{if(g=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),!g){y[d]=p;return}if(y[d]===void 0){y[d]=[p];return}y[d]=[].concat(y[d],p)};case"comma":case"separator":return(d,p,y)=>{const T=typeof p=="string"&&p.includes(m.arrayFormatSeparator),C=typeof p=="string"&&!T&&f(p,m).includes(m.arrayFormatSeparator);p=C?f(p,m):p;const E=T||C?p.split(m.arrayFormatSeparator).map(k=>f(k,m)):p===null?p:f(p,m);y[d]=E};default:return(d,p,y)=>{if(y[d]===void 0){y[d]=p;return}y[d]=[].concat(y[d],p)}}}function a(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(m,g){return g.encode?g.strict?t(m):encodeURIComponent(m):m}function f(m,g){return g.decode?r(m):m}function h(m){return Array.isArray(m)?m.sort():typeof m=="object"?h(Object.keys(m)).sort((g,d)=>Number(g)-Number(d)).map(g=>m[g]):m}function v(m){const g=m.indexOf("#");return g!==-1&&(m=m.slice(0,g)),m}function w(m){let g="";const d=m.indexOf("#");return d!==-1&&(g=m.slice(d)),g}function S(m){m=v(m);const g=m.indexOf("?");return g===-1?"":m.slice(g+1)}function j(m,g){return g.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):g.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function x(m,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const d=l(g),p=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return p;for(const y of m.split("&")){if(y==="")continue;let[T,C]=n(g.decode?y.replace(/\+/g," "):y,"=");C=C===void 0?null:["comma","separator"].includes(g.arrayFormat)?C:f(C,g),d(f(T,g),C,p)}for(const y of Object.keys(p)){const T=p[y];if(typeof T=="object"&&T!==null)for(const C of Object.keys(T))T[C]=j(T[C],g);else p[y]=j(T,g)}return g.sort===!1?p:(g.sort===!0?Object.keys(p).sort():Object.keys(p).sort(g.sort)).reduce((y,T)=>{const C=p[T];return C&&typeof C=="object"&&!Array.isArray(C)?y[T]=h(C):y[T]=C,y},Object.create(null))}e.extract=S,e.parse=x,e.stringify=(m,g)=>{if(!m)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const d=C=>g.skipNull&&c(m[C])||g.skipEmptyString&&m[C]==="",p=s(g),y={};for(const C of Object.keys(m))d(C)||(y[C]=m[C]);const T=Object.keys(y);return g.sort!==!1&&T.sort(g.sort),T.map(C=>{const E=m[C];return E===void 0?"":E===null?u(C,g):Array.isArray(E)?E.reduce(p(C),[]).join("&"):u(C,g)+"="+u(E,g)}).filter(C=>C.length>0).join("&")},e.parseUrl=(m,g)=>{g=Object.assign({decode:!0},g);const[d,p]=n(m,"#");return Object.assign({url:d.split("?")[0]||"",query:x(S(m),g)},g&&g.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,g)}:{})},e.stringifyUrl=(m,g)=>{g=Object.assign({encode:!0,strict:!0},g);const d=v(m.url).split("?")[0]||"",p=e.extract(m.url),y=e.parse(p,{sort:!1}),T=Object.assign(y,m.query);let C=e.stringify(T,g);C&&(C=`?${C}`);let E=w(m.url);return m.fragmentIdentifier&&(E=`#${u(m.fragmentIdentifier,g)}`),`${d}${C}${E}`},e.pick=(m,g,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:p,query:y,fragmentIdentifier:T}=e.parseUrl(m,d);return e.stringifyUrl({url:p,query:o(y,g),fragmentIdentifier:T},d)},e.exclude=(m,g,d)=>{const p=Array.isArray(g)?y=>!g.includes(y):(y,T)=>!g(y,T);return e.pick(m,p,d)}}(Zr)),Zr}var tn=bu();const Xt=ml,yu={parseNumbers:!1,parseBooleans:!1},xu={skipNull:!1,skipEmptyString:!1},vu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},yu),c),a=Object.assign(Object.assign({},xu),s),u=Xt.useLocation(),f=(r=Xt.useHistory)===null||r===void 0?void 0:r.call(Xt),h=(n=Xt.useNavigate)===null||n===void 0?void 0:n.call(Xt),v=hl(),w=P.useRef(typeof e=="function"?e():e||{}),S=P.useMemo(()=>tn.parse(u.search,l),[u.search]),j=P.useMemo(()=>Object.assign(Object.assign({},w.current),S),[S]);return[j,Et(m=>{const g=typeof m=="function"?m(j):m;v(),f&&f[o]({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},u.state),h&&h({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var jt={},Qt={},rn={exports:{}},nn={},es;function Li(){if(es)return nn;es=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},e(g)}function t(g,d,p){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,d){if(!(g instanceof d))throw new TypeError("Cannot call a class as a function")}function n(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(d&&d.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),d&&o(g,d)}function o(g,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,T){return y.__proto__=T,y},o(g,d)}function c(g){var d=a();return function(){var y=u(g),T;if(d){var C=u(this).constructor;T=Reflect.construct(y,arguments,C)}else T=y.apply(this,arguments);return s(this,T)}}function s(g,d){if(d&&(e(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){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 u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(g)}var f={},h,v;function w(g,d,p){p||(p=Error);function y(C,E,k){return typeof d=="string"?d:d(C,E,k)}var T=function(C){n(k,C);var E=c(k);function k(D,N,B){var W;return r(this,k),W=E.call(this,y(D,N,B)),W.code=g,W}return t(k)}(p);f[g]=T}function S(g,d){if(Array.isArray(g)){var p=g.length;return g=g.map(function(y){return String(y)}),p>2?"one of ".concat(d," ").concat(g.slice(0,p-1).join(", "),", or ")+g[p-1]:p===2?"one of ".concat(d," ").concat(g[0]," or ").concat(g[1]):"of ".concat(d," ").concat(g[0])}else return"of ".concat(d," ").concat(String(g))}function j(g,d,p){return g.substr(0,d.length)===d}function x(g,d,p){return(p===void 0||p>g.length)&&(p=g.length),g.substring(p-d.length,p)===d}function m(g,d,p){return typeof p!="number"&&(p=0),p+d.length>g.length?!1:g.indexOf(d,p)!==-1}return w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(g,d,p){h===void 0&&(h=Kn()),h(typeof g=="string","'name' must be a string");var y;typeof d=="string"&&j(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var T;if(x(g," argument"))T="The ".concat(g," ").concat(y," ").concat(S(d,"type"));else{var C=m(g,".")?"property":"argument";T='The "'.concat(g,'" ').concat(C," ").concat(y," ").concat(S(d,"type"))}return T+=". Received type ".concat(e(p)),T},TypeError),w("ERR_INVALID_ARG_VALUE",function(g,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=or());var y=v.inspect(d);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(p,". Received ").concat(y)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(g,d,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(g,' to be returned from the "').concat(d,'"')+" function but got ".concat(y,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var g=arguments.length,d=new Array(g),p=0;p<g;p++)d[p]=arguments[p];h===void 0&&(h=Kn()),h(d.length>0,"At least one arg needs to be specified");var y="The ",T=d.length;switch(d=d.map(function(C){return'"'.concat(C,'"')}),T){case 1:y+="".concat(d[0]," argument");break;case 2:y+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:y+=d.slice(0,T-1).join(", "),y+=", and ".concat(d[T-1]," arguments");break}return"".concat(y," must be specified")},TypeError),nn.codes=f,nn}var on,ts;function wu(){if(ts)return on;ts=1;function e(_,F){var G=Object.keys(_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(_);F&&(H=H.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),G.push.apply(G,H)}return G}function t(_){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?e(Object(G),!0).forEach(function(H){r(_,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(H){Object.defineProperty(_,H,Object.getOwnPropertyDescriptor(G,H))})}return _}function r(_,F,G){return F=s(F),F in _?Object.defineProperty(_,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):_[F]=G,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(_,s(H.key),H)}}function c(_,F,G){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var G=_[Symbol.toPrimitive];if(G!==void 0){var H=G.call(_,F);if(g(H)!=="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&x(_,F)}function u(_){var F=S();return function(){var H=m(_),Q;if(F){var O=m(this).constructor;Q=Reflect.construct(H,arguments,O)}else Q=H.apply(this,arguments);return f(this,Q)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function v(_){var F=typeof Map=="function"?new Map:void 0;return v=function(H){if(H===null||!j(H))return H;if(typeof H!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(H))return F.get(H);F.set(H,Q)}function Q(){return w(H,arguments,m(this).constructor)}return Q.prototype=Object.create(H.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),x(Q,H)},v(_)}function w(_,F,G){return S()?w=Reflect.construct.bind():w=function(Q,O,R){var M=[null];M.push.apply(M,O);var z=Function.bind.apply(Q,M),L=new z;return R&&x(L,R.prototype),L},w.apply(null,arguments)}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 j(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function x(_,F){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,Q){return H.__proto__=Q,H},x(_,F)}function m(_){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},m(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var d=or(),p=d.inspect,y=Li(),T=y.codes.ERR_INVALID_ARG_TYPE;function C(_,F,G){return(G===void 0||G>_.length)&&(G=_.length),_.substring(G-F.length,G)===F}function E(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var G=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,G-_.length),_}var k="",D="",N="",B="",W={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:"},ne=10;function te(_){var F=Object.keys(_),G=Object.create(Object.getPrototypeOf(_));return F.forEach(function(H){G[H]=_[H]}),Object.defineProperty(G,"message",{value:_.message}),G}function ge(_){return p(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ce(_,F,G){var H="",Q="",O=0,R="",M=!1,z=ge(_),L=z.split(`
1
+ import{r as P,fL as fl,c6 as _o,fM as dl,fu as Mo,fN as pl,cX as Lo,aF as ur,j as i,fO as ml,fP as hl,aT as Et,fQ as or,eA as Je,fR as Js,fS as gl,fT as bl,fU as yl,fV as xl,fW as vl,fX as ei,fY as wl,fZ as to,f_ as Cl,f$ as Sl,g0 as jl,g1 as Tl,eB as ro,g2 as ti,eC as El,cJ as qn,eD as kl,dG as Il,g3 as Pl,g4 as Rl,V as Ee,bo as Be,aP as ut,g5 as ri,H as Me,X as Ue,o as b,f as no,eP as ni,f6 as oi,n as xt,J as U,bZ as Dl,dM as Al,bz as Ol,av as ft,g6 as si,S as jr,bl as Tr,g7 as ii,a$ as _l,$ as et,t as lt,b2 as Ml,bB as qe,aV as Nt,E as oo,ff as Ll,g8 as Nl,g9 as Fl,ga as Bl,D as Lr,T as Pe,bh as so,a4 as rr,Z as Nr,gb as Ul,U as Tt,c0 as Vt,c1 as zt,cl as ai,dP as rt,e$ as ce,c3 as ql,b9 as _e,df as Er,d9 as li,c4 as dt,c5 as Rt,Q as It,dL as ci,dc as $l,gc as Fr,gd as ui,bE as it,bg as Ve,O as sr,bq as fi,P as $n,at as di,dI as Vl,ge as kr,bt as zl,au as ir,v as ze,C as bt,gf as Wl,h as Vn,aX as Kl,w as Hl,x as Yl,s as He,p as fr,ad as dr,bF as Bt,gg as Gl,dH as Zl,dp as Xl,aH as gt,N as yt,dz as Ql,gh as Jl,eE as ec,gi as pi,gj as Ir,gk as tc,dJ as ar,cP as No,W as io,dK as rc,cw as mi,z as nc,bv as ao,bw as hi,bx as lo,dr as hr,b as Ie,aD as oc,fK as gi,gl as bi,M as lr,aS as sc,gm as yi,aE as ic,a9 as ac,gn as lc,c$ as xi,go as cc,bA as Fo,y as uc,gp as fc,bH as dc,R as pc,K as mc}from"./index-DtJVzdtH.js";import{A as Ut}from"./Add-DBDPvM2L.js";import{V as hc}from"./ViewList-Ceb1JHIv.js";import{c as gc,H as co,g as bc}from"./index-IWOqJkOB.js";import{v as Bo}from"./index-CypG4Dbq.js";import{u as Ye}from"./team-DKJfzzKD.js";import{u as vi}from"./blocklet-Nw4kpsVs.js";import{S as wi}from"./Search-CApGhXwm.js";import{u as yc,C as Zt}from"./index.esm-Zck39Kvz.js";import{S as xc}from"./Google-DZPfsfDE.js";import{A as vc,a as gr}from"./Autocomplete-6CVDh-bw.js";import{U as wc}from"./UnfoldMore-D2Y42T3n.js";import{P as Pt}from"./permission-DTFazP7s.js";import{C as Br}from"./click-to-copy-DjkhfhsV.js";import{s as vt,g as Cc,S as Sc,u as mt,a as Ci,b as pr,c as Si,d as Ur,e as ji,f as uo,P as Ti,D as Ei,h as Pr,M as tr,i as ki,j as Uo,k as nr,v as jc,l as Tc,m as qo,n as Ec,o as kc,p as Ic,q as Pc,C as Rc,r as Dc,t as Rr,w as Lt,x as Dr,y as $o,z as Vo,A as Ac,T as Oc,B as fo,E as _c,F as Mc,G as Lc,H as Nc,I as Fc,J as Bc,K as Uc,L as br,N as Ft,O as Ii,Q as qc,V as zn,R as Pi,U as $c,W as zo,X as Vc,Y as zc,Z as Wc,_ as Kc,$ as Hc,a0 as Yc}from"./AdapterDayjs-BBi3P2IC.js";import{u as nt}from"./useThemeProps-Cw6i_sME.js";import{a as Wo,b as Gc,t as Zc,T as Xc}from"./html-title-D3mv3IQk.js";import{v as Ge}from"./index-jT3H-jhB.js";import{V as Qc}from"./Verified-QiB22jgm.js";import{D as Jc}from"./DeleteOutline-CDxyWfLx.js";import{E as Ko}from"./ErrorOutline-By74cLGJ.js";import{N as eu}from"./index-z-tbDeE3.js";import{R as Ri,a as Sr}from"./url-evaluation-Cf4MPEtF.js";import{b as Wn}from"./sdk-CXClyXm7.js";import{u as tu}from"./index-DdYx-VNK.js";import{u as Di}from"./use-mobile-BnTDQjTV.js";import{D as ru}from"./Delete-DVp4fJb1.js";import{A as nu}from"./actions-Dp-VL6XB.js";import{S as ou}from"./shorten-label-BR48Ofqe.js";import{U as Gr}from"./ua-parser-DP5omx3I.js";const su=gc(P.useLayoutEffect);var Ho={},Yo;function iu(){return Yo||(Yo=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(d){try{return d.defaultView&&d.defaultView.frameElement||null}catch{return null}}var t=function(d){for(var p=d,y=e(p);y;)p=y.ownerDocument,y=e(p);return p}(window.document),r=[],n=null,o=null;function c(d){this.time=d.time,this.target=d.target,this.rootBounds=S(d.rootBounds),this.boundingClientRect=S(d.boundingClientRect),this.intersectionRect=S(d.intersectionRect||w()),this.isIntersecting=!!d.intersectionRect;var p=this.boundingClientRect,y=p.width*p.height,T=this.intersectionRect,C=T.width*T.height;y?this.intersectionRatio=Number((C/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(d,p){var y=p||{};if(typeof d!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=d,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(T){return T.value+T.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(d,p){!d||!p?o=w():o=j(d,p),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(d){var p=this._observationTargets.some(function(y){return y.element==d});if(!p){if(!(d&&d.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:d,entry:null}),this._monitorIntersections(d.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(d){this._observationTargets=this._observationTargets.filter(function(p){return p.element!=d}),this._unmonitorIntersections(d.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var d=this._queuedEntries.slice();return this._queuedEntries=[],d},s.prototype._initThresholds=function(d){var p=d||[0];return Array.isArray(p)||(p=[p]),p.sort().filter(function(y,T,C){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==C[T-1]})},s.prototype._parseRootMargin=function(d){var p=d||"0px",y=p.split(/\s+/).map(function(T){var C=/^(-?\d*\.?\d+)(px|%)$/.exec(T);if(!C)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(C[1]),unit:C[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(d){var p=d.defaultView;if(p&&this._monitoringDocuments.indexOf(d)==-1){var y=this._checkForIntersections,T=null,C=null;this.POLL_INTERVAL?T=p.setInterval(y,this.POLL_INTERVAL):(u(p,"resize",y,!0),u(d,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(C=new p.MutationObserver(y),C.observe(d,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(d),this._monitoringUnsubscribes.push(function(){var D=d.defaultView;D&&(T&&D.clearInterval(T),f(D,"resize",y,!0)),f(d,"scroll",y,!0),C&&C.disconnect()});var E=this.root&&(this.root.ownerDocument||this.root)||t;if(d!=E){var k=e(d);k&&this._monitorIntersections(k.ownerDocument)}}},s.prototype._unmonitorIntersections=function(d){var p=this._monitoringDocuments.indexOf(d);if(p!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,T=this._observationTargets.some(function(k){var D=k.element.ownerDocument;if(D==d)return!0;for(;D&&D!=y;){var N=e(D);if(D=N&&N.ownerDocument,D==d)return!0}return!1});if(!T){var C=this._monitoringUnsubscribes[p];if(this._monitoringDocuments.splice(p,1),this._monitoringUnsubscribes.splice(p,1),C(),d!=y){var E=e(d);E&&this._unmonitorIntersections(E.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var d=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var p=0;p<d.length;p++)d[p]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var d=this._rootIsInDom(),p=d?this._getRootRect():w();this._observationTargets.forEach(function(y){var T=y.element,C=v(T),E=this._rootContainsTarget(T),k=y.entry,D=d&&E&&this._computeTargetAndRootIntersection(T,C,p),N=null;this._rootContainsTarget(T)?(!n||this.root)&&(N=p):N=w();var B=y.entry=new c({time:l(),target:T,boundingClientRect:C,rootBounds:N,intersectionRect:D});k?d&&E?this._hasCrossedThreshold(k,B)&&this._queuedEntries.push(B):k&&k.isIntersecting&&this._queuedEntries.push(B):this._queuedEntries.push(B)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(d,p,y){if(window.getComputedStyle(d).display!="none"){for(var T=p,C=m(d),E=!1;!E&&C;){var k=null,D=C.nodeType==1?window.getComputedStyle(C):{};if(D.display=="none")return null;if(C==this.root||C.nodeType==9)if(E=!0,C==this.root||C==t)n&&!this.root?!o||o.width==0&&o.height==0?(C=null,k=null,T=null):k=o:k=y;else{var N=m(C),B=N&&v(N),W=N&&this._computeTargetAndRootIntersection(N,B,y);B&&W?(C=N,k=j(B,W)):(C=null,T=null)}else{var ne=C.ownerDocument;C!=ne.body&&C!=ne.documentElement&&D.overflow!="visible"&&(k=v(C))}if(k&&(T=h(k,T)),!T)break;C=C&&m(C)}return T}},s.prototype._getRootRect=function(){var d;if(this.root&&!g(this.root))d=v(this.root);else{var p=g(this.root)?this.root:t,y=p.documentElement,T=p.body;d={top:0,left:0,right:y.clientWidth||T.clientWidth,width:y.clientWidth||T.clientWidth,bottom:y.clientHeight||T.clientHeight,height:y.clientHeight||T.clientHeight}}return this._expandRectByRootMargin(d)},s.prototype._expandRectByRootMargin=function(d){var p=this._rootMarginValues.map(function(T,C){return T.unit=="px"?T.value:T.value*(C%2?d.width:d.height)/100}),y={top:d.top-p[0],right:d.right+p[1],bottom:d.bottom+p[2],left:d.left-p[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(d,p){var y=d&&d.isIntersecting?d.intersectionRatio||0:-1,T=p.isIntersecting?p.intersectionRatio||0:-1;if(y!==T)for(var C=0;C<this.thresholds.length;C++){var E=this.thresholds[C];if(E==y||E==T||E<y!=E<T)return!0}},s.prototype._rootIsInDom=function(){return!this.root||x(t,this.root)},s.prototype._rootContainsTarget=function(d){var p=this.root&&(this.root.ownerDocument||this.root)||t;return x(p,d)&&(!this.root||p==d.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var d=r.indexOf(this);d!=-1&&r.splice(d,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(d,p){var y=null;return function(){y||(y=setTimeout(function(){d(),y=null},p))}}function u(d,p,y,T){typeof d.addEventListener=="function"?d.addEventListener(p,y,T):typeof d.attachEvent=="function"&&d.attachEvent("on"+p,y)}function f(d,p,y,T){typeof d.removeEventListener=="function"?d.removeEventListener(p,y,T):typeof d.detachEvent=="function"&&d.detachEvent("on"+p,y)}function h(d,p){var y=Math.max(d.top,p.top),T=Math.min(d.bottom,p.bottom),C=Math.max(d.left,p.left),E=Math.min(d.right,p.right),k=E-C,D=T-y;return k>=0&&D>=0&&{top:y,bottom:T,left:C,right:E,width:k,height:D}||null}function v(d){var p;try{p=d.getBoundingClientRect()}catch{}return p?(p.width&&p.height||(p={top:p.top,right:p.right,bottom:p.bottom,left:p.left,width:p.right-p.left,height:p.bottom-p.top}),p):w()}function w(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function S(d){return!d||"x"in d?d:{top:d.top,y:d.top,bottom:d.bottom,left:d.left,x:d.left,right:d.right,width:d.width,height:d.height}}function j(d,p){var y=p.top-d.top,T=p.left-d.left;return{top:y,left:T,height:p.height,width:p.width,bottom:y+p.height,right:T+p.width}}function x(d,p){for(var y=p;y;){if(y==d)return!0;y=m(y)}return!1}function m(d){var p=d.parentNode;return d.nodeType==9&&d!=t?e(d):(p&&p.assignedSlot&&(p=p.assignedSlot.parentNode),p&&p.nodeType==11&&p.host?p.host:p)}function g(d){return d&&d.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c}()),Ho}iu();function au(e,t){var r={},n=r.callback,o=fl(r,["callback"]),c=_o(P.useState(),2),s=c[0],l=c[1],a=_o(P.useState(),2),u=a[0],f=a[1];return dl(function(){var h=Array.isArray(e)?e:[e],v=h.map(function(S){return Mo(S)}).filter(Boolean);if(v.length){var w=new IntersectionObserver(function(S){var j,x;try{for(var m=pl(S),g=m.next();!g.done;g=m.next()){var d=g.value;f(d.intersectionRatio),l(d.isIntersecting),n?.(d)}}catch(p){j={error:p}}finally{try{g&&!g.done&&(x=m.return)&&x.call(m)}finally{if(j)throw j.error}}},Lo(Lo({},o),{root:Mo(void 0)}));return v.forEach(function(S){return w.observe(S)}),function(){w.disconnect()}}},[void 0,void 0,n],e),[s,u]}const lu=ur(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),cu=ur(i.jsx("path",{d:"m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"})),qr=ur([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),uu=ur(i.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"})),fu=ur(i.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"})),Ai=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375}),P.createElement("rect",{x:15.3125,y:14.0625,width:7.5,height:1.875,rx:.9375,transform:"rotate(-90 15.3125 14.0625)"})),Oi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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"}),P.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"}),P.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"}),P.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"})),_i=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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"}),P.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.9375})),du=e=>P.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("g",{clipPath:"url(#clip0)"},P.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"})),P.createElement("defs",null,P.createElement("clipPath",{id:"clip0"},P.createElement("rect",{width:18,height:18,transform:"translate(0 0.5)"})))),Mi=e=>P.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},P.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 Zr={},Xr,Go;function pu(){return Go||(Go=1,Xr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Xr}var Qr,Zo;function mu(){if(Zo)return Qr;Zo=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var v=f[h];s=s.replace(new RegExp(v,"g"),l[v])}return s}return Qr=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},Qr}var Jr,Xo;function hu(){return Xo||(Xo=1,Jr=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),Jr}var en,Qo;function gu(){return Qo||(Qo=1,en=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),en}var Jo;function bu(){return Jo||(Jo=1,function(e){const t=pu(),r=mu(),n=hu(),o=gu(),c=m=>m==null;function s(m){switch(m.arrayFormat){case"index":return g=>(d,p)=>{const y=d.length;return p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[",y,"]"].join("")]:[...d,[u(g,m),"[",u(y,m),"]=",u(p,m)].join("")]};case"bracket":return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,[u(g,m),"[]"].join("")]:[...d,[u(g,m),"[]=",u(p,m)].join("")];case"comma":case"separator":return g=>(d,p)=>p==null||p.length===0?d:d.length===0?[[u(g,m),"=",u(p,m)].join("")]:[[d,u(p,m)].join(m.arrayFormatSeparator)];default:return g=>(d,p)=>p===void 0||m.skipNull&&p===null||m.skipEmptyString&&p===""?d:p===null?[...d,u(g,m)]:[...d,[u(g,m),"=",u(p,m)].join("")]}}function l(m){let g;switch(m.arrayFormat){case"index":return(d,p,y)=>{if(g=/\[(\d*)\]$/.exec(d),d=d.replace(/\[\d*\]$/,""),!g){y[d]=p;return}y[d]===void 0&&(y[d]={}),y[d][g[1]]=p};case"bracket":return(d,p,y)=>{if(g=/(\[\])$/.exec(d),d=d.replace(/\[\]$/,""),!g){y[d]=p;return}if(y[d]===void 0){y[d]=[p];return}y[d]=[].concat(y[d],p)};case"comma":case"separator":return(d,p,y)=>{const T=typeof p=="string"&&p.includes(m.arrayFormatSeparator),C=typeof p=="string"&&!T&&f(p,m).includes(m.arrayFormatSeparator);p=C?f(p,m):p;const E=T||C?p.split(m.arrayFormatSeparator).map(k=>f(k,m)):p===null?p:f(p,m);y[d]=E};default:return(d,p,y)=>{if(y[d]===void 0){y[d]=p;return}y[d]=[].concat(y[d],p)}}}function a(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(m,g){return g.encode?g.strict?t(m):encodeURIComponent(m):m}function f(m,g){return g.decode?r(m):m}function h(m){return Array.isArray(m)?m.sort():typeof m=="object"?h(Object.keys(m)).sort((g,d)=>Number(g)-Number(d)).map(g=>m[g]):m}function v(m){const g=m.indexOf("#");return g!==-1&&(m=m.slice(0,g)),m}function w(m){let g="";const d=m.indexOf("#");return d!==-1&&(g=m.slice(d)),g}function S(m){m=v(m);const g=m.indexOf("?");return g===-1?"":m.slice(g+1)}function j(m,g){return g.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):g.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function x(m,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const d=l(g),p=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return p;for(const y of m.split("&")){if(y==="")continue;let[T,C]=n(g.decode?y.replace(/\+/g," "):y,"=");C=C===void 0?null:["comma","separator"].includes(g.arrayFormat)?C:f(C,g),d(f(T,g),C,p)}for(const y of Object.keys(p)){const T=p[y];if(typeof T=="object"&&T!==null)for(const C of Object.keys(T))T[C]=j(T[C],g);else p[y]=j(T,g)}return g.sort===!1?p:(g.sort===!0?Object.keys(p).sort():Object.keys(p).sort(g.sort)).reduce((y,T)=>{const C=p[T];return C&&typeof C=="object"&&!Array.isArray(C)?y[T]=h(C):y[T]=C,y},Object.create(null))}e.extract=S,e.parse=x,e.stringify=(m,g)=>{if(!m)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const d=C=>g.skipNull&&c(m[C])||g.skipEmptyString&&m[C]==="",p=s(g),y={};for(const C of Object.keys(m))d(C)||(y[C]=m[C]);const T=Object.keys(y);return g.sort!==!1&&T.sort(g.sort),T.map(C=>{const E=m[C];return E===void 0?"":E===null?u(C,g):Array.isArray(E)?E.reduce(p(C),[]).join("&"):u(C,g)+"="+u(E,g)}).filter(C=>C.length>0).join("&")},e.parseUrl=(m,g)=>{g=Object.assign({decode:!0},g);const[d,p]=n(m,"#");return Object.assign({url:d.split("?")[0]||"",query:x(S(m),g)},g&&g.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,g)}:{})},e.stringifyUrl=(m,g)=>{g=Object.assign({encode:!0,strict:!0},g);const d=v(m.url).split("?")[0]||"",p=e.extract(m.url),y=e.parse(p,{sort:!1}),T=Object.assign(y,m.query);let C=e.stringify(T,g);C&&(C=`?${C}`);let E=w(m.url);return m.fragmentIdentifier&&(E=`#${u(m.fragmentIdentifier,g)}`),`${d}${C}${E}`},e.pick=(m,g,d)=>{d=Object.assign({parseFragmentIdentifier:!0},d);const{url:p,query:y,fragmentIdentifier:T}=e.parseUrl(m,d);return e.stringifyUrl({url:p,query:o(y,g),fragmentIdentifier:T},d)},e.exclude=(m,g,d)=>{const p=Array.isArray(g)?y=>!g.includes(y):(y,T)=>!g(y,T);return e.pick(m,p,d)}}(Zr)),Zr}var tn=bu();const Xt=ml,yu={parseNumbers:!1,parseBooleans:!1},xu={skipNull:!1,skipEmptyString:!1},vu=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},yu),c),a=Object.assign(Object.assign({},xu),s),u=Xt.useLocation(),f=(r=Xt.useHistory)===null||r===void 0?void 0:r.call(Xt),h=(n=Xt.useNavigate)===null||n===void 0?void 0:n.call(Xt),v=hl(),w=P.useRef(typeof e=="function"?e():e||{}),S=P.useMemo(()=>tn.parse(u.search,l),[u.search]),j=P.useMemo(()=>Object.assign(Object.assign({},w.current),S),[S]);return[j,Et(m=>{const g=typeof m=="function"?m(j):m;v(),f&&f[o]({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},u.state),h&&h({hash:u.hash,search:tn.stringify(Object.assign(Object.assign({},S),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var jt={},Qt={},rn={exports:{}},nn={},es;function Li(){if(es)return nn;es=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},e(g)}function t(g,d,p){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,d){if(!(g instanceof d))throw new TypeError("Cannot call a class as a function")}function n(g,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(d&&d.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),d&&o(g,d)}function o(g,d){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,T){return y.__proto__=T,y},o(g,d)}function c(g){var d=a();return function(){var y=u(g),T;if(d){var C=u(this).constructor;T=Reflect.construct(y,arguments,C)}else T=y.apply(this,arguments);return s(this,T)}}function s(g,d){if(d&&(e(d)==="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){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 u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},u(g)}var f={},h,v;function w(g,d,p){p||(p=Error);function y(C,E,k){return typeof d=="string"?d:d(C,E,k)}var T=function(C){n(k,C);var E=c(k);function k(D,N,B){var W;return r(this,k),W=E.call(this,y(D,N,B)),W.code=g,W}return t(k)}(p);f[g]=T}function S(g,d){if(Array.isArray(g)){var p=g.length;return g=g.map(function(y){return String(y)}),p>2?"one of ".concat(d," ").concat(g.slice(0,p-1).join(", "),", or ")+g[p-1]:p===2?"one of ".concat(d," ").concat(g[0]," or ").concat(g[1]):"of ".concat(d," ").concat(g[0])}else return"of ".concat(d," ").concat(String(g))}function j(g,d,p){return g.substr(0,d.length)===d}function x(g,d,p){return(p===void 0||p>g.length)&&(p=g.length),g.substring(p-d.length,p)===d}function m(g,d,p){return typeof p!="number"&&(p=0),p+d.length>g.length?!1:g.indexOf(d,p)!==-1}return w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(g,d,p){h===void 0&&(h=Kn()),h(typeof g=="string","'name' must be a string");var y;typeof d=="string"&&j(d,"not ")?(y="must not be",d=d.replace(/^not /,"")):y="must be";var T;if(x(g," argument"))T="The ".concat(g," ").concat(y," ").concat(S(d,"type"));else{var C=m(g,".")?"property":"argument";T='The "'.concat(g,'" ').concat(C," ").concat(y," ").concat(S(d,"type"))}return T+=". Received type ".concat(e(p)),T},TypeError),w("ERR_INVALID_ARG_VALUE",function(g,d){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";v===void 0&&(v=or());var y=v.inspect(d);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(p,". Received ").concat(y)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(g,d,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(g,' to be returned from the "').concat(d,'"')+" function but got ".concat(y,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var g=arguments.length,d=new Array(g),p=0;p<g;p++)d[p]=arguments[p];h===void 0&&(h=Kn()),h(d.length>0,"At least one arg needs to be specified");var y="The ",T=d.length;switch(d=d.map(function(C){return'"'.concat(C,'"')}),T){case 1:y+="".concat(d[0]," argument");break;case 2:y+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:y+=d.slice(0,T-1).join(", "),y+=", and ".concat(d[T-1]," arguments");break}return"".concat(y," must be specified")},TypeError),nn.codes=f,nn}var on,ts;function wu(){if(ts)return on;ts=1;function e(_,F){var G=Object.keys(_);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(_);F&&(H=H.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),G.push.apply(G,H)}return G}function t(_){for(var F=1;F<arguments.length;F++){var G=arguments[F]!=null?arguments[F]:{};F%2?e(Object(G),!0).forEach(function(H){r(_,H,G[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(G)):e(Object(G)).forEach(function(H){Object.defineProperty(_,H,Object.getOwnPropertyDescriptor(G,H))})}return _}function r(_,F,G){return F=s(F),F in _?Object.defineProperty(_,F,{value:G,enumerable:!0,configurable:!0,writable:!0}):_[F]=G,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var G=0;G<F.length;G++){var H=F[G];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(_,s(H.key),H)}}function c(_,F,G){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var G=_[Symbol.toPrimitive];if(G!==void 0){var H=G.call(_,F);if(g(H)!=="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&x(_,F)}function u(_){var F=S();return function(){var H=m(_),Q;if(F){var O=m(this).constructor;Q=Reflect.construct(H,arguments,O)}else Q=H.apply(this,arguments);return f(this,Q)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function v(_){var F=typeof Map=="function"?new Map:void 0;return v=function(H){if(H===null||!j(H))return H;if(typeof H!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(H))return F.get(H);F.set(H,Q)}function Q(){return w(H,arguments,m(this).constructor)}return Q.prototype=Object.create(H.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),x(Q,H)},v(_)}function w(_,F,G){return S()?w=Reflect.construct.bind():w=function(Q,O,R){var M=[null];M.push.apply(M,O);var z=Function.bind.apply(Q,M),L=new z;return R&&x(L,R.prototype),L},w.apply(null,arguments)}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 j(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function x(_,F){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(H,Q){return H.__proto__=Q,H},x(_,F)}function m(_){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(G){return G.__proto__||Object.getPrototypeOf(G)},m(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var d=or(),p=d.inspect,y=Li(),T=y.codes.ERR_INVALID_ARG_TYPE;function C(_,F,G){return(G===void 0||G>_.length)&&(G=_.length),_.substring(G-F.length,G)===F}function E(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var G=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,G-_.length),_}var k="",D="",N="",B="",W={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:"},ne=10;function te(_){var F=Object.keys(_),G=Object.create(Object.getPrototypeOf(_));return F.forEach(function(H){G[H]=_[H]}),Object.defineProperty(G,"message",{value:_.message}),G}function ge(_){return p(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function Ce(_,F,G){var H="",Q="",O=0,R="",M=!1,z=ge(_),L=z.split(`
2
2
  `),q=ge(F).split(`
3
3
  `),Z=0,oe="";if(G==="strictEqual"&&g(_)==="object"&&g(F)==="object"&&_!==null&&F!==null&&(G="strictEqualObject"),L.length===1&&q.length===1&&L[0]!==q[0]){var pe=L[0].length+q[0].length;if(pe<=ne){if((g(_)!=="object"||_===null)&&(g(F)!=="object"||F===null)&&(_!==0||F!==0))return"".concat(W[G],`
4
4
 
@@ -1 +1 @@
1
- import{c6 as a,r as f,cw as U,bb as V,bc as W,cX as v,fr as u,aT as m,fs as Z,ft as $,fu as I}from"./index-D78suzy2.js";var ee=function(t){return t===document||t===document.documentElement||t===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop},O=function(t){return t.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},re=function(t){return t.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},oe=function(t,o){o===void 0&&(o={});var g=o.target,x=o.isNoMore,F=o.threshold,p=F===void 0?100:F,B=o.direction,P=B===void 0?"bottom":B,R=o.reloadDeps,X=R===void 0?[]:R,Y=o.manual,h=o.onBefore,_=o.onSuccess,M=o.onError,y=o.onFinally,D=a(f.useState(),2),c=D[0],E=D[1],L=a(f.useState(!1),2),T=L[0],i=L[1],b=P==="top",H=f.useRef(void 0),N=f.useRef(0),S=f.useMemo(function(){return x?x(c):!1},[c]),s=U(function(r){return V(void 0,void 0,void 0,function(){var e,n,l,d;return W(this,function(C){switch(C.label){case 0:return[4,t(r)];case 1:return e=C.sent(),E(r?v(v({},e),{list:b?u(u([],a(e.list),!1),a((l=r.list)!==null&&l!==void 0?l:[]),!1):u(u([],a((d=r.list)!==null&&d!==void 0?d:[]),!1),a(e.list),!1)}):v(v({},e),{list:u([],a((n=e.list)!==null&&n!==void 0?n:[]),!1)})),[2,e]}})})},{manual:Y,onFinally:function(r,e,n){i(!1),y?.(e,n)},onBefore:function(){return h?.()},onSuccess:function(r){setTimeout(function(){if(b){var e=I(g);if(e=e===document?document.documentElement:e,e){var n=O(e);e.scrollTo(0,n-N.current)}}else z()}),_?.(r)},onError:function(r){return M?.(r)}}),j=s.loading,k=s.error,A=s.run,q=s.runAsync,G=s.cancel,w=m(function(){S||(i(!0),A(c))}),J=m(function(){return S?Promise.reject():(i(!0),q(c))}),K=function(){return i(!1),A()},Q=function(){return i(!1),q()},z=function(){var r=I(g);if(r){var e=r===document?document.documentElement:r,n=ee(e),l=O(e),d=re(e);b?(H.current!==void 0&&H.current>n&&n<=p&&w(),H.current=n,N.current=l-n):l-n<=d+p&&w()}};return Z("scroll",function(){j||T||z()},{target:g}),$(function(){A()},u([],a(X),!1)),{data:c,loading:!T&&j,error:k,loadingMore:T,noMore:S,loadMore:w,loadMoreAsync:J,reload:m(K),reloadAsync:m(Q),mutate:E,cancel:G}};export{oe as u};
1
+ import{c6 as a,r as f,cw as U,bb as V,bc as W,cX as v,fr as u,aT as m,fs as Z,ft as $,fu as I}from"./index-DtJVzdtH.js";var ee=function(t){return t===document||t===document.documentElement||t===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop},O=function(t){return t.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},re=function(t){return t.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},oe=function(t,o){o===void 0&&(o={});var g=o.target,x=o.isNoMore,F=o.threshold,p=F===void 0?100:F,B=o.direction,P=B===void 0?"bottom":B,R=o.reloadDeps,X=R===void 0?[]:R,Y=o.manual,h=o.onBefore,_=o.onSuccess,M=o.onError,y=o.onFinally,D=a(f.useState(),2),c=D[0],E=D[1],L=a(f.useState(!1),2),T=L[0],i=L[1],b=P==="top",H=f.useRef(void 0),N=f.useRef(0),S=f.useMemo(function(){return x?x(c):!1},[c]),s=U(function(r){return V(void 0,void 0,void 0,function(){var e,n,l,d;return W(this,function(C){switch(C.label){case 0:return[4,t(r)];case 1:return e=C.sent(),E(r?v(v({},e),{list:b?u(u([],a(e.list),!1),a((l=r.list)!==null&&l!==void 0?l:[]),!1):u(u([],a((d=r.list)!==null&&d!==void 0?d:[]),!1),a(e.list),!1)}):v(v({},e),{list:u([],a((n=e.list)!==null&&n!==void 0?n:[]),!1)})),[2,e]}})})},{manual:Y,onFinally:function(r,e,n){i(!1),y?.(e,n)},onBefore:function(){return h?.()},onSuccess:function(r){setTimeout(function(){if(b){var e=I(g);if(e=e===document?document.documentElement:e,e){var n=O(e);e.scrollTo(0,n-N.current)}}else z()}),_?.(r)},onError:function(r){return M?.(r)}}),j=s.loading,k=s.error,A=s.run,q=s.runAsync,G=s.cancel,w=m(function(){S||(i(!0),A(c))}),J=m(function(){return S?Promise.reject():(i(!0),q(c))}),K=function(){return i(!1),A()},Q=function(){return i(!1),q()},z=function(){var r=I(g);if(r){var e=r===document?document.documentElement:r,n=ee(e),l=O(e),d=re(e);b?(H.current!==void 0&&H.current>n&&n<=p&&w(),H.current=n,N.current=l-n):l-n<=d+p&&w()}};return Z("scroll",function(){j||T||z()},{target:g}),$(function(){A()},u([],a(X),!1)),{data:c,loading:!T&&j,error:k,loadingMore:T,noMore:S,loadMore:w,loadMoreAsync:J,reload:m(K),reloadAsync:m(Q),mutate:E,cancel:G}};export{oe as u};
@@ -1,4 +1,4 @@
1
- import{ak as ee,A as T,r as f,a as te,b as se,V as S,u as j,x as re,aw as A,i as F,j as t,w as q,ax as oe,T as C,y as k,$,o as m,ay as ne,N as ae,v as _,C as N,az as ie,H as W,X as M,aA as le,aB as ce,J as E,aC as ue,L as de,aD as pe,aa as he,s as O,a7 as fe,a8 as me,aE as ge,a9 as xe}from"./index-D78suzy2.js";import{u as B}from"./useLocalStorage-CGOwOi-p.js";import{C as be,c as ke,e as ye,_ as Se,a as je,d as we,s as ve,S as V,b as Pe,A as Ce}from"./item-LsHOq-zm.js";import{e as L}from"./engine-DsZ-2cMT.js";import{g as U}from"./get-safe-url-BgeSRCM1.js";import{P as z}from"./permission-CCNK9jT0.js";import{A as Re}from"./ArrowDropDown-D9C6bexH.js";import{B as Le}from"./Breadcrumbs-C2AxMEIo.js";import"./index-Czc8yQAA.js";import"./KeyboardArrowDown-DEp_gv0Q.js";import"./ChevronLeft-BU5D6BrG.js";import"./ChevronRight-BntDfQzc.js";import"./Search-btz9KaC-.js";import"./blocklet-DOEd7Lt0.js";import"./Autocomplete-B4QHA8fQ.js";import"./ListSubheader-fV4wdcMl.js";import"./Verified-C19edvAZ.js";import"./VerifiedUser-K3XyiGA_.js";import"./Add-B60k0zLe.js";import"./Launch-dZPSseNQ.js";import"./Done-CEn2z4YZ.js";import"./DeleteOutline-BDLlQ3k7.js";import"./delete-confirm-Rx1yldK0.js";import"./click-to-copy-DsEvNuW1.js";import"./MoreVert-uETYsy_E.js";import"./ButtonGroup-CwgnAVvA.js";import"./getValidReactChildren-c-3WOl4y.js";function Be(e){const r=ee(),c=T(),[s,o]=B(`sid:blocklet:purchase:${e}`),[l,u]=f.useState(!1),[d,a]=f.useState(null),p=()=>{const{pathname:n,searchParams:b}=new URL(window.location.href),g=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";b.get("sid")&&(o(""),c(n.replace(g,"/"),{replace:!0}))},i=!!(r.get("assetDid")&&s&&r.get("sid")===s);return te(se.BlockletEvents.purchaseChange,n=>{n.did===e&&(a(n.session),["declined","confirmed","error"].includes(n.session.status)&&(u(!0),setTimeout(p,2e3)))}),f.useEffect(()=>{d&&d.id!==s&&o(d.id)},[d]),{hasCompleted:l,hasPurchased:i,session:d,setSession:a,doRedirect:p}}function De(e){setTimeout(()=>{window.location.href=U(e,{allowDomains:null})},1e3)}function H({meta:e,onCancel:r,handlePaySuccess:c=De,storeUrl:s}){const{t:o}=S(),{info:l}=j(),[u,d]=f.useState("both"),[a,p]=f.useState(1),i=re(l),n=A(e,l,s),b=P=>{P!==u&&d(P)},g=()=>{u&&(p(2),u==="verify"&&(window.location.href=U(n)))},w=(P,D)=>{D!=="backdropClick"&&r()},x=()=>{c(n)},h=F.getDisplayName({meta:e});if(u==="purchase"&&a===2)return t.jsx(q,{open:!0,popup:!0,baseUrl:s,action:"acquire-asset",checkFn:oe.create({baseURL:k(s,"/store")}).get,onSuccess:x,onClose:r,checkTimeout:60*5e3,extraParams:{factory:e.nftFactory},webWalletUrl:i,disableClose:!0,saveConnect:!1,showDownload:!1,messages:{title:o("store.purchase.auth.title",{name:h}),scan:o("store.purchase.auth.scan"),confirm:o("store.purchase.auth.confirm"),success:t.jsxs(t.Fragment,{children:[t.jsx(C,{gutterBottom:!0,children:o("store.purchase.auth.success")}),t.jsxs(C,{variant:"subtitle2",children:[" ",o("store.purchase.autoLaunch",{name:h})]})]})}});const v=$;return t.jsx(v,{title:o("store.purchase.title",{name:h}),disableEscapeKeyDown:!0,open:!0,fullWidth:!0,onClose:w,children:t.jsx("div",{style:{marginBottom:16},children:t.jsx(be,{action:u,onNext:g,onSelect:b})})})}H.propTypes={...ke,storeUrl:m.string.isRequired,handlePaySuccess:m.func};function K({meta:e,buttonText:r,storeUrl:c,isResource:s=!1}){const{t:o}=S(),l=T(),{info:u}=j(),{api:d}=ne(),a=F.isFreeBlocklet(e)===!1,[p,i]=f.useState(!1),{hasPurchased:n}=Be(e.did),[b,g]=f.useState(!1),[w]=B("instant-blocklet-install",!1),[x,h]=f.useState(!1),v=f.useMemo(()=>p?o(a?"blocklet.status.purchasing":"blocklet.status.waiting"):"",[p,o,a]),P=f.useMemo(()=>s?o("blocklet.status.resource"):a?r.purchase:r.launch,[a,r,s]),D=y=>{y.preventDefault(),y.stopPropagation();try{if(i(!0),a){g(!0);return}if(w){h(!0);return}if(!a){const R=A(e,u,c);window.location.href=U(R)}}catch(R){W.error(M(R),{autoHideDuration:5e3}),console.error("Blocklet installed failed",R)}finally{i(!1)}},X=()=>{i(!1),g(!1)},Y=y=>{i(!1),h(!1),l(`/blocklets/${y.appDid}/components`)},Z=()=>{i(!1),h(!1)};return t.jsxs(t.Fragment,{children:[t.jsx(ye,{children:t.jsx(z,{permission:"mutate_blocklets",children:y=>t.jsx(ae,{title:s?o("launchBlocklet.error.resourceBlocklet"):"",children:t.jsx(_,{onClick:D,size:"small",sx:{cursor:s?"not-allowed":"pointer",overflow:"hidden"},disabled:!!(v||!y),variant:"outlined",color:"primary","data-cy":"install-blocklet",children:v?t.jsxs(t.Fragment,{children:[t.jsx(N,{size:16,style:{marginRight:3}}),v]}):P},e.did)})})}),(n||b)&&t.jsx(H,{method:"launch",meta:e,mode:"both",onCancel:X,storeUrl:c}),x&&t.jsx(q,{popup:!0,open:!0,forceConnected:!1,className:"launch-from-url-auth",action:"launch-free-blocklet-by-session",checkFn:d.get,checkTimeout:5*60*1e3,onSuccess:Y,extraParams:{title:e.title,blockletMetaUrl:decodeURIComponent(ie(c,e.did).trim())},messages:{title:o("setup.keyPair.title"),scan:o("setup.keyPair.scan"),confirm:o("setup.keyPair.confirm"),success:o("setup.keyPair.success")},onClose:Z})]})}K.propTypes={isResource:m.bool,meta:m.object.isRequired,buttonText:m.shape({purchase:m.string.isRequired,launch:m.string.isRequired}).isRequired,storeUrl:m.string.isRequired};const Ee=(e,r,c)=>{const s=he(r);return k(c,`/blocklets/${e.did}/?server-url=${s}`)},I=({meta:e,attribute:r,value:c})=>e._formatted?e._formatted[r]:c,Ue=(e,r)=>{if(!e||!r)return"";try{return k(r,e)}catch(c){return console.warn("Failed to construct avatar URL:",c),""}};function G({blocklet:e,endpoint:r="",serverVersion:c=""}){const{t:s}=S(),o=j();let l=k(o.imgPrefix,"blocklet.png");const u=r;if(u.startsWith("http")&&e.logo)l=k(u,ue(e.did,e.logo,e.version));else{let n=(window.env.apiPrefix||"/").replace(/^\/+/,"").replace(/\/+$/,"");n&&(n=`/${n}`),l=k(n,`/blocklet/logo/${e.did}`)}try{const i=new URL(l);i.searchParams.set("v",e.version||+new Date),l=i.href}catch{}const d=i=>i.currentTarget.contains(i.target)?!0:(i.preventDefault(),!1),a={meta:e,buttonText:{purchase:s("common.purchase"),launch:s("common.launch")},storeUrl:u},p=t.jsx("div",{style:{display:"flex",alignItems:"center"},children:t.jsx(je,{serverVersion:c,requirementVersion:e.requirements?.server,size:"small",children:t.jsx(K,{isResource:!(L.hasStartEngine(e)||L.isGatewayBlocklet(e)||L.isPackBlocklet(e)||L.hasMountPoint(e)),...a})})});return t.jsx(de,{href:Ee(e,o.info,r),style:{color:"initial",textDecoration:"none"},onClick:d,target:"_blank",children:t.jsx(Ie,{title:I({meta:e,attribute:"title",value:e.title||e.name}),did:e.did,description:I({meta:e,attribute:"description",value:e.description}),cover:e.logo?l:"",version:e.version,onButtonClick:null,icons:e.docker?.image?[{key:"docker",icon:t.jsx(E,{sx:{display:"flex",color:"primary.main"},children:t.jsx(pe,{icon:we})}),title:s("blocklet.dockerImage")}]:[],official:e.isOfficial?{tooltip:s("blocklet.component.isOfficial")}:void 0,author:e.owner.fullName,avatar:Ue(e.owner.avatar,r),download:e.stats.downloads,button:p})})}G.propTypes={blocklet:m.object.isRequired,serverVersion:m.string,endpoint:m.string};function J({storeUrl:e,handleSearchSelect:r=null,extraFilter:c=void 0,...s}){const{locale:o}=S(),l=j(),[u,d]=f.useState({}),a=n=>{d(n)},p=e,i=l?.info?.version;return f.useEffect(()=>{d({})},[p]),t.jsx(le,{FallbackComponent:ce,resetKeys:[p],children:t.jsx(E,{...s,sx:{"& .title-bar":{pt:0},".blocklet-list":{mt:0},"& h2":{display:"none"}},children:t.jsx(Se,{layout:{showExplore:!1,showTitle:!0},blockletRender:n=>t.jsx(G,{...n,endpoint:p}),baseSearch:!0,endpoint:p,locale:o,onFilterChange:a,onSearchSelect:r,filters:u,extraFilter:c,serverVersion:i})})})}J.propTypes={storeUrl:m.string.isRequired,handleSearchSelect:m.func,extraFilter:m.func};const Ie=O(ve)`
1
+ import{ak as ee,A as T,r as f,a as te,b as se,V as S,u as j,x as re,aw as A,i as F,j as t,w as q,ax as oe,T as C,y as k,$,o as m,ay as ne,N as ae,v as _,C as N,az as ie,H as W,X as M,aA as le,aB as ce,J as E,aC as ue,L as de,aD as pe,aa as he,s as O,a7 as fe,a8 as me,aE as ge,a9 as xe}from"./index-DtJVzdtH.js";import{u as B}from"./useLocalStorage-41az-hAK.js";import{C as be,c as ke,e as ye,_ as Se,a as je,d as we,s as ve,S as V,b as Pe,A as Ce}from"./item-C1JxTPT2.js";import{e as L}from"./engine-D8Acg7DY.js";import{g as U}from"./get-safe-url-DDm_hPj1.js";import{P as z}from"./permission-DTFazP7s.js";import{A as Re}from"./ArrowDropDown-CqYw-eY9.js";import{B as Le}from"./Breadcrumbs-CIhr-IBH.js";import"./index-DdYx-VNK.js";import"./KeyboardArrowDown-C53dgTNk.js";import"./ChevronLeft-Ds4qWfjb.js";import"./ChevronRight-BFqUOmvp.js";import"./Search-CApGhXwm.js";import"./blocklet-Nw4kpsVs.js";import"./Autocomplete-6CVDh-bw.js";import"./ListSubheader-C-Lxj5FB.js";import"./Verified-QiB22jgm.js";import"./VerifiedUser-kPobsDlg.js";import"./Add-DBDPvM2L.js";import"./Launch-l1uaKrAG.js";import"./Done-D7TYY_5X.js";import"./DeleteOutline-CDxyWfLx.js";import"./delete-confirm-DCHvoTQs.js";import"./click-to-copy-DjkhfhsV.js";import"./MoreVert-DaM6pG5s.js";import"./ButtonGroup-Um1mBtyg.js";import"./getValidReactChildren-DpcxJbs9.js";function Be(e){const r=ee(),c=T(),[s,o]=B(`sid:blocklet:purchase:${e}`),[l,u]=f.useState(!1),[d,a]=f.useState(null),p=()=>{const{pathname:n,searchParams:b}=new URL(window.location.href),g=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";b.get("sid")&&(o(""),c(n.replace(g,"/"),{replace:!0}))},i=!!(r.get("assetDid")&&s&&r.get("sid")===s);return te(se.BlockletEvents.purchaseChange,n=>{n.did===e&&(a(n.session),["declined","confirmed","error"].includes(n.session.status)&&(u(!0),setTimeout(p,2e3)))}),f.useEffect(()=>{d&&d.id!==s&&o(d.id)},[d]),{hasCompleted:l,hasPurchased:i,session:d,setSession:a,doRedirect:p}}function De(e){setTimeout(()=>{window.location.href=U(e,{allowDomains:null})},1e3)}function H({meta:e,onCancel:r,handlePaySuccess:c=De,storeUrl:s}){const{t:o}=S(),{info:l}=j(),[u,d]=f.useState("both"),[a,p]=f.useState(1),i=re(l),n=A(e,l,s),b=P=>{P!==u&&d(P)},g=()=>{u&&(p(2),u==="verify"&&(window.location.href=U(n)))},w=(P,D)=>{D!=="backdropClick"&&r()},x=()=>{c(n)},h=F.getDisplayName({meta:e});if(u==="purchase"&&a===2)return t.jsx(q,{open:!0,popup:!0,baseUrl:s,action:"acquire-asset",checkFn:oe.create({baseURL:k(s,"/store")}).get,onSuccess:x,onClose:r,checkTimeout:60*5e3,extraParams:{factory:e.nftFactory},webWalletUrl:i,disableClose:!0,saveConnect:!1,showDownload:!1,messages:{title:o("store.purchase.auth.title",{name:h}),scan:o("store.purchase.auth.scan"),confirm:o("store.purchase.auth.confirm"),success:t.jsxs(t.Fragment,{children:[t.jsx(C,{gutterBottom:!0,children:o("store.purchase.auth.success")}),t.jsxs(C,{variant:"subtitle2",children:[" ",o("store.purchase.autoLaunch",{name:h})]})]})}});const v=$;return t.jsx(v,{title:o("store.purchase.title",{name:h}),disableEscapeKeyDown:!0,open:!0,fullWidth:!0,onClose:w,children:t.jsx("div",{style:{marginBottom:16},children:t.jsx(be,{action:u,onNext:g,onSelect:b})})})}H.propTypes={...ke,storeUrl:m.string.isRequired,handlePaySuccess:m.func};function K({meta:e,buttonText:r,storeUrl:c,isResource:s=!1}){const{t:o}=S(),l=T(),{info:u}=j(),{api:d}=ne(),a=F.isFreeBlocklet(e)===!1,[p,i]=f.useState(!1),{hasPurchased:n}=Be(e.did),[b,g]=f.useState(!1),[w]=B("instant-blocklet-install",!1),[x,h]=f.useState(!1),v=f.useMemo(()=>p?o(a?"blocklet.status.purchasing":"blocklet.status.waiting"):"",[p,o,a]),P=f.useMemo(()=>s?o("blocklet.status.resource"):a?r.purchase:r.launch,[a,r,s]),D=y=>{y.preventDefault(),y.stopPropagation();try{if(i(!0),a){g(!0);return}if(w){h(!0);return}if(!a){const R=A(e,u,c);window.location.href=U(R)}}catch(R){W.error(M(R),{autoHideDuration:5e3}),console.error("Blocklet installed failed",R)}finally{i(!1)}},X=()=>{i(!1),g(!1)},Y=y=>{i(!1),h(!1),l(`/blocklets/${y.appDid}/components`)},Z=()=>{i(!1),h(!1)};return t.jsxs(t.Fragment,{children:[t.jsx(ye,{children:t.jsx(z,{permission:"mutate_blocklets",children:y=>t.jsx(ae,{title:s?o("launchBlocklet.error.resourceBlocklet"):"",children:t.jsx(_,{onClick:D,size:"small",sx:{cursor:s?"not-allowed":"pointer",overflow:"hidden"},disabled:!!(v||!y),variant:"outlined",color:"primary","data-cy":"install-blocklet",children:v?t.jsxs(t.Fragment,{children:[t.jsx(N,{size:16,style:{marginRight:3}}),v]}):P},e.did)})})}),(n||b)&&t.jsx(H,{method:"launch",meta:e,mode:"both",onCancel:X,storeUrl:c}),x&&t.jsx(q,{popup:!0,open:!0,forceConnected:!1,className:"launch-from-url-auth",action:"launch-free-blocklet-by-session",checkFn:d.get,checkTimeout:5*60*1e3,onSuccess:Y,extraParams:{title:e.title,blockletMetaUrl:decodeURIComponent(ie(c,e.did).trim())},messages:{title:o("setup.keyPair.title"),scan:o("setup.keyPair.scan"),confirm:o("setup.keyPair.confirm"),success:o("setup.keyPair.success")},onClose:Z})]})}K.propTypes={isResource:m.bool,meta:m.object.isRequired,buttonText:m.shape({purchase:m.string.isRequired,launch:m.string.isRequired}).isRequired,storeUrl:m.string.isRequired};const Ee=(e,r,c)=>{const s=he(r);return k(c,`/blocklets/${e.did}/?server-url=${s}`)},I=({meta:e,attribute:r,value:c})=>e._formatted?e._formatted[r]:c,Ue=(e,r)=>{if(!e||!r)return"";try{return k(r,e)}catch(c){return console.warn("Failed to construct avatar URL:",c),""}};function G({blocklet:e,endpoint:r="",serverVersion:c=""}){const{t:s}=S(),o=j();let l=k(o.imgPrefix,"blocklet.png");const u=r;if(u.startsWith("http")&&e.logo)l=k(u,ue(e.did,e.logo,e.version));else{let n=(window.env.apiPrefix||"/").replace(/^\/+/,"").replace(/\/+$/,"");n&&(n=`/${n}`),l=k(n,`/blocklet/logo/${e.did}`)}try{const i=new URL(l);i.searchParams.set("v",e.version||+new Date),l=i.href}catch{}const d=i=>i.currentTarget.contains(i.target)?!0:(i.preventDefault(),!1),a={meta:e,buttonText:{purchase:s("common.purchase"),launch:s("common.launch")},storeUrl:u},p=t.jsx("div",{style:{display:"flex",alignItems:"center"},children:t.jsx(je,{serverVersion:c,requirementVersion:e.requirements?.server,size:"small",children:t.jsx(K,{isResource:!(L.hasStartEngine(e)||L.isGatewayBlocklet(e)||L.isPackBlocklet(e)||L.hasMountPoint(e)),...a})})});return t.jsx(de,{href:Ee(e,o.info,r),style:{color:"initial",textDecoration:"none"},onClick:d,target:"_blank",children:t.jsx(Ie,{title:I({meta:e,attribute:"title",value:e.title||e.name}),did:e.did,description:I({meta:e,attribute:"description",value:e.description}),cover:e.logo?l:"",version:e.version,onButtonClick:null,icons:e.docker?.image?[{key:"docker",icon:t.jsx(E,{sx:{display:"flex",color:"primary.main"},children:t.jsx(pe,{icon:we})}),title:s("blocklet.dockerImage")}]:[],official:e.isOfficial?{tooltip:s("blocklet.component.isOfficial")}:void 0,author:e.owner.fullName,avatar:Ue(e.owner.avatar,r),download:e.stats.downloads,button:p})})}G.propTypes={blocklet:m.object.isRequired,serverVersion:m.string,endpoint:m.string};function J({storeUrl:e,handleSearchSelect:r=null,extraFilter:c=void 0,...s}){const{locale:o}=S(),l=j(),[u,d]=f.useState({}),a=n=>{d(n)},p=e,i=l?.info?.version;return f.useEffect(()=>{d({})},[p]),t.jsx(le,{FallbackComponent:ce,resetKeys:[p],children:t.jsx(E,{...s,sx:{"& .title-bar":{pt:0},".blocklet-list":{mt:0},"& h2":{display:"none"}},children:t.jsx(Se,{layout:{showExplore:!1,showTitle:!0},blockletRender:n=>t.jsx(G,{...n,endpoint:p}),baseSearch:!0,endpoint:p,locale:o,onFilterChange:a,onSearchSelect:r,filters:u,extraFilter:c,serverVersion:i})})})}J.propTypes={storeUrl:m.string.isRequired,handleSearchSelect:m.func,extraFilter:m.func};const Ie=O(ve)`
2
2
  .ms-highlight {
3
3
  color: ${e=>e.theme.palette.primary.main};
4
4
  }
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-D2KGQYNR.js","./index-D78suzy2.js","./index-DGkT7afN.css","./url-join-Bhp_MbCf.js","./index-BU4T_Wvp.js","./_createAggregator-C6OGob0j.js","./depsEqual-CzPGJZq9.js","./index-CwUZ9am0.js","./index-DRYJ0xIl.js","./toUpper-cXhRv1n8.js","./index-B5LvOF-F.css"])))=>i.map(i=>d[i]);
2
- import{aF as Ae,j as t,du as Ss,gC as Es,iE as ks,V as de,bo as ye,J as B,N as be,H as Y,o as x,f as gt,r as k,p as Se,bG as st,b as je,i as Z,U as Un,bF as ft,X as xe,iF as Rs,t as Ce,s as oe,a4 as he,aW as uo,T as ue,$ as Qt,dJ as mt,y as _e,b9 as Ps,bK as Ts,aH as H,b2 as Is,gq as Ds,gr as Bs,C as we,f6 as po,hC as Wn,x as Os,ax as Kt,w as Us,iG as Ns,iH as Ls,v as Be,iI as As,Y as Ms,a0 as zs,iJ as fo,bp as mo,Q as Ne,f8 as Fs,f3 as qs,aA as $s,aB as Ws,bl as Hs,aC as Ks,aD as fe,aO as Gs,cT as Vs,S as Ys,eP as cr,bj as Qs,h as Zs,dy as It,iK as Xs,g0 as ho,iL as Js,iM as ei,eA as me,iN as go,dH as ti,iO as ni,hd as ri,fQ as oi,iP as si,cJ as dr,hx as Hn,av as ii,bB as Zt,dr as ze,bv as ai,bw as ur,z as Gt,cw as li,G as Fe,aP as pr,gm as xo,aT as He,h9 as ci,bE as kt,cp as fr,hu as di,fo as mr,bh as ui,L as xt,E as yo,bn as pi,_ as fi,K as Rt,a_ as Kn,iQ as mi,a$ as Le,az as hr,cR as hi,ad as it,aM as vo,bY as Gn,cB as gi,iR as xi,ba as yi,A as Vn,aV as Nn,g as vi,aS as ut,M as fn,W as Ci,bH as Co,aI as bi,by as bo,aR as ji,Z as wi,ff as gr,g8 as xr,g9 as yr,R as vr,cQ as _i,ga as Si,bX as Ei,iS as ki}from"./index-D78suzy2.js";import{a as Ri,S as Pi,u as Yn}from"./actions-Cx5UWmFM.js";import{S as Ti,a as Ii}from"./switch-control-CVj0L-9B.js";import{u as De}from"./blocklet-DOEd7Lt0.js";import{P as Ln,w as Xt}from"./permission-CCNK9jT0.js";import{E as jo}from"./Edit-B8h0Te5z.js";import{T as Di,M as Bi,t as Oi}from"./table-icons-D5BFFDTU.js";import{s as Ui,F as wo,A as Ni,b as Li,c as Ai,d as Mi,R as ot,L as zi,I as Fi,S as dt,a as Pt,B as qi}from"./preference-CL8oQs4K.js";import{C as Cr}from"./click-to-copy-DsEvNuW1.js";import{v as mn}from"./index-j3UFl5Dq.js";import{A as $i}from"./Add-B60k0zLe.js";import{A as Jt}from"./Link-CysJEW2j.js";import{C as Wi,c as Hi,b as Ki,f as _o,A as Gi,_ as Vi,a as Yi,e as Qi,d as So,s as Zi,L as Xi,u as Ji,g as ea,S as ta}from"./item-LsHOq-zm.js";import{T as na,L as ra,a as An,u as br,W as oa,P as sa}from"./index-Cnw2Ig5U.js";import{e as Eo}from"./engine-DsZ-2cMT.js";import{u as ia,C as aa,D as la,a as ca,b as da,S as ko}from"./connect-to-C32I6gO9.js";import{C as ua,u as pa,A as fa}from"./agreement-DkKyZFRL.js";import{D as Ro}from"./Done-CEn2z4YZ.js";import{C as ma}from"./Google-BjTL7Mbd.js";import{I as Po,f as ha,a as ga,B as xa}from"./install-from-url-D52UYhXy.js";import{a as jr}from"./api-BIW3WSyV.js";import{v as To,e as ya,a as Vt}from"./util-B4XNVjK7.js";import{u as Io}from"./use-mobile-p7bScsU1.js";import{A as va}from"./ArrowDropDown-D9C6bexH.js";import{u as Ca}from"./useLocalStorage-CGOwOi-p.js";import{r as en}from"./index-BU4T_Wvp.js";import{b as tn}from"./without-wallet-CZASlBin.js";import{E as Qn}from"./ErrorOutline-C8or5W5q.js";import{H as ba}from"./HelpOutline-BWiGx-E5.js";import{C as ja}from"./lock.svg-BzF_roTX.js";import{D as nn}from"./Delete-BeglY8dh.js";import{L as Do}from"./Launch-dZPSseNQ.js";import{D as wa}from"./delete-confirm-Rx1yldK0.js";import{W as ht,B as Mn,m as _a}from"./status-Claw5V5z.js";import{R as Sa}from"./Replay-DHMSlrmF.js";import{R as Ea,a as wr}from"./url-evaluation-Dz0qWdnw.js";import{A as Bo}from"./actions-DLzRFvAK.js";import{v as hn}from"./index-uV9pYRNo.js";import{t as ka}from"./toUpper-cXhRv1n8.js";import{a as Ra}from"./team-DI44e0Lq.js";import"./MoreVert-uETYsy_E.js";import"./DeleteOutline-BDLlQ3k7.js";import"./get-safe-url-BgeSRCM1.js";import"./ButtonGroup-CwgnAVvA.js";import"./getValidReactChildren-c-3WOl4y.js";import"./FilterList-CLDlsWBv.js";import"./CSSTransition-CTMK0QDG.js";import"./emotion-cache.browser.esm-BSPYCi-c.js";import"./index-DBii9-f-.js";import"./typeof-QjJsDpFa.js";import"./raf-schd.esm-D_x0x_Qn.js";import"./redux-DfszZyTl.js";import"./useThemeProps-xpQuNQBO.js";import"./html-title-DD44mmgD.js";import"./Clear-RDv89tkq.js";import"./ChevronRight-BntDfQzc.js";import"./ChevronLeft-BU5D6BrG.js";import"./Search-btz9KaC-.js";import"./omit-BGJcae02.js";import"./edit.svg-CuloKtQk.js";import"./index-CwUZ9am0.js";import"./iframe-Qu-nVscQ.js";import"./index-Czc8yQAA.js";import"./KeyboardArrowDown-DEp_gv0Q.js";import"./Autocomplete-B4QHA8fQ.js";import"./ListSubheader-fV4wdcMl.js";import"./Verified-C19edvAZ.js";import"./VerifiedUser-K3XyiGA_.js";import"./url-join-Bhp_MbCf.js";import"./index-BojVbZw0.js";import"./spaces-M88xnpCx.js";import"./OpenInNew-BCfmTCS5.js";import"./index-DRYJ0xIl.js";import"./index-DHkDWWjb.js";import"./decode-DPztD6kB.js";import"./cloneDeep-Cig9fPty.js";import"./ListItemButton-d8kfS6hh.js";import"./Stepper-Dxn7bqpJ.js";import"./is-path-prefix-equal-BYQbaqqa.js";const Pa=Ae(t.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"})),Ta=Ae(t.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4z"})),Ia=Ae(t.jsx("path",{d:"M8 5v14l11-7z"})),Oo=Ae(t.jsx("path",{d:"M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c1.58 0 3.04.46 4.28 1.25l1.44-1.44C16.1 2.67 14.13 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.19-.22-2.33-.6-3.39z"})),Da=Ae(t.jsx("path",{d:"M14.17 5 19 9.83V19H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59M7 15h10v2H7zm0-4h10v2H7zm0-4h7v2H7z"})),Uo=Ae(t.jsx("path",{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"})),Ba=Ae(t.jsx("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"})),Oa=Ae(t.jsx("path",{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"})),Ua=Ae(t.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"})),Na=Ae(t.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}));function _r(e,r){var n={};return r=Ss(r),Es(e,function(i,a,s){ks(n,a,r(i,a,s))}),n}function No({children:e=null,...r}){const{t:n}=de(),{api:i}=ye(),{blocklet:a}=De(),s=a?.settings?.autoCheckUpdate,f=async l=>{await i.updateAutoCheckUpdate({input:{did:a.meta.did,autoCheckUpdate:l}})},c=async()=>{try{const l=!s?.enabled;await f({enabled:l}),Y.success(n(l?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(l){Y.error(l.message)}},d=!!s?.enabled;return t.jsxs(B,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e,t.jsx(be,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:t.jsx("div",{children:t.jsx(Ti,{checked:d,onChange:c,name:"enableWelcomePage",style:{...r.style,zoom:.8}})})})]})}No.propTypes={children:x.any};function Sr(e){function r({sx:n,...i}){return t.jsx(e,{...i,sx:{color:"text.primary",...n}})}return r}const La={..._r(Oi,Sr),..._r(Ri,Sr)},Aa=(e,r)=>{let{description:n}=e;return(Object.values(je.CHAIN_PROP_MAP).includes(e.key)||Z.isEnvShareable(e))&&(n?n=`${n} (${r("blocklet.config.sharedToAllComponents")})`:n=r("blocklet.config.sharedToAllComponents")),n&&t.jsx("div",{style:{marginLeft:12},children:n})},gn=(e,r,n=[])=>!n?.length&&!e.custom&&!["CHAIN_ID","CHAIN_HOST"].includes(e.key)&&!r.meta.environments.find(i=>i.name===e.key)&&r.children.every(i=>!i.meta.environments.find(a=>a.name===e.key))?!0:e.custom,Er=e=>[je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE].includes(e)?!0:!(e.startsWith("BLOCKLET_")||e.startsWith("COMPONENT_")),xn=e=>[je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE].includes(e)===!1;function Lo({blocklet:e,ancestors:r=[]}){const n=ye(),{palette:i}=gt(),{inService:a}=n,{t:s}=k.useContext(Se),f=[...r.map(o=>o.meta.did),e.meta.did],c=()=>Y.success(s("blocklet.config.changedTip")),d=o=>gn(o,e,r);if(st(e.status)||e.status==="unknown"&&st(e.status))return null;const l=o=>new Promise(async(h,b)=>{if(!o.key.trim()||!o.value.trim()){Y.error(s("blocklet.config.environment.keyValueRequired")),b();return}if(Er(o.key)===!1){Y.error(s("blocklet.config.environment.invalidKey")),b();return}o.custom=xn(o.key);try{const R=await n.api.configBlocklet({input:{did:f,configs:[o]}});c(R.blocklet),h()}catch(R){Y.error(xe(R)),b()}}),y=(o,h)=>new Promise(async(b,R)=>{if(o.required&&(!o.key.trim()||!o.value.trim())){Y.error(s("blocklet.config.environment.keyValueRequired")),R();return}if(Er(o.key)===!1){Y.error(s("blocklet.config.environment.invalidKey")),R();return}if(o.key===je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE){const M=Rs(o);if(M){Y.error(M),R();return}}const E=[{...o,value:o.secure&&o.value==="__encrypted__"?"":o.value}];if(o.key!==h.key){if(!gn(o,e,r)){Y.error("Only key of custom env can be changed"),R();return}E.push({key:h.key,custom:xn(o.key)})}try{const M=await n.api.configBlocklet({input:{did:f,configs:E}});c(M.blocklet),b()}catch(M){Y.error(xe(M)),R()}}),p=o=>new Promise(async(h,b)=>{if(o.required){Y.error(s("blocklet.config.environment.deleteForbidden")),b();return}if(!gn(o,e,r)){Y.error(s("environmentTips.deleteForbidden")),b();return}try{const R=await n.api.configBlocklet({input:{did:f,configs:[{key:o.key,custom:xn(o.key)}]}});c(R.blocklet),h()}catch(R){Y.error(xe(R)),b()}}),C=(e.configs||[]).filter(o=>!je.BLOCKLET_CONFIGURABLE_KEY[o.key]||[je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE].includes(o.key)),m=Z.getSharedConfigObj(r[0],e),v=Z.getComponentMissingConfigs(e,r[0]),j=C.map(o=>({...o,value:Object.values(je.CHAIN_PROP_MAP).includes(o.key)&&Object.keys(m).includes(o.key)?m[o.key]:m[o.key]||o.value})),w=j.some(o=>o.key&&o.key.startsWith("BWA_")),S={onRowAdd:l,onRowUpdate:y,onRowDelete:p,isDeletable:d},u=()=>[{title:s("common.key"),field:"key",initialEditValue:"",width:"30%",render:o=>t.jsx(Cr,{value:o.value,style:{color:o.required&&!o.value?i.error.main:i.text.primary,fontWeight:o.required?"bold":"normal"},children:o.key}),editComponent:o=>{const{value:h,rowData:b,onChange:R}=o;return t.jsx(kr,{children:t.jsx(Ce,{fullWidth:!0,size:"small",value:Ui.escapeTag(h),onChange:E=>R(E.target.value),variant:"outlined",label:"Key",placeholder:s("blocklet.config.environment.key"),margin:"dense",autoFocus:!0,slotProps:{input:{readOnly:d(b)===!1}}})})}},{title:s("common.value"),field:"value",initialEditValue:"",width:"calc((100% - (96px + 30%)) / 1)",render:o=>o.value?o.secure?"******":t.jsx(Cr,{unstyled:!0,value:o.value,style:{wordBreak:"break-all"},children:o.value}):null,editComponent:o=>{const{value:h,rowData:b,onChange:R}=o;return t.jsxs(kr,{children:[t.jsx(Ce,{fullWidth:!0,size:"small",value:h==="__encrypted__"?"":h,onChange:E=>R(E.target.value),variant:"outlined",label:s("common.value"),placeholder:s("blocklet.config.environment.value"),margin:"dense"}),Aa(b,s)]})}}];return t.jsxs(Ma,{children:[!!v.length&&t.jsx(Un,{severity:"error",style:{marginTop:24},children:s("blocklet.config.missingRequired")}),w&&t.jsx(Un,{severity:"info",children:s("blocklet.config.environment.tip")}),t.jsx(Ln,{permission:a?"":"mutate_blocklets",role:a?ft:[],children:o=>t.jsx(Di,{className:"config-table",children:t.jsx(Bi,{title:t.jsx(B,{sx:{fontWeight:"bold"},children:s("common.environments")}),columns:u(),icons:La,options:{emptyRowsWhenPaging:!1,actionsColumnIndex:-1,tableLayout:"auto",maxBodyHeight:"100%",paging:!1,search:!1,actionsCellStyle:{padding:"0",textAlign:"right",width:"80px"}},localization:{header:{actions:s("common.actions")},body:{emptyDataSourceMessage:s("common.noData"),editRow:{deleteText:s("environmentTips.delete")}}},data:j,editable:o?S:{}})})})]})}Lo.propTypes={blocklet:x.object.isRequired,ancestors:x.array};const Ma=oe.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CdxsHt3r.js","./index-DtJVzdtH.js","./index-DGkT7afN.css","./url-join-P8kMCiOB.js","./index-BLI3C2o7.js","./_createAggregator-g-PBWDTI.js","./depsEqual-LiU_ATMs.js","./index-CODEE-RB.js","./index-DRYJ0xIl.js","./toUpper-CBmQ5f7q.js","./index-B5LvOF-F.css"])))=>i.map(i=>d[i]);
2
+ import{aF as Ae,j as t,du as Ss,gC as Es,iE as ks,V as de,bo as ye,J as B,N as be,H as Y,o as x,f as gt,r as k,p as Se,bG as st,b as je,i as Z,U as Un,bF as ft,X as xe,iF as Rs,t as Ce,s as oe,a4 as he,aW as uo,T as ue,$ as Qt,dJ as mt,y as _e,b9 as Ps,bK as Ts,aH as H,b2 as Is,gq as Ds,gr as Bs,C as we,f6 as po,hC as Wn,x as Os,ax as Kt,w as Us,iG as Ns,iH as Ls,v as Be,iI as As,Y as Ms,a0 as zs,iJ as fo,bp as mo,Q as Ne,f8 as Fs,f3 as qs,aA as $s,aB as Ws,bl as Hs,aC as Ks,aD as fe,aO as Gs,cT as Vs,S as Ys,eP as cr,bj as Qs,h as Zs,dy as It,iK as Xs,g0 as ho,iL as Js,iM as ei,eA as me,iN as go,dH as ti,iO as ni,hd as ri,fQ as oi,iP as si,cJ as dr,hx as Hn,av as ii,bB as Zt,dr as ze,bv as ai,bw as ur,z as Gt,cw as li,G as Fe,aP as pr,gm as xo,aT as He,h9 as ci,bE as kt,cp as fr,hu as di,fo as mr,bh as ui,L as xt,E as yo,bn as pi,_ as fi,K as Rt,a_ as Kn,iQ as mi,a$ as Le,az as hr,cR as hi,ad as it,aM as vo,bY as Gn,cB as gi,iR as xi,ba as yi,A as Vn,aV as Nn,g as vi,aS as ut,M as fn,W as Ci,bH as Co,aI as bi,by as bo,aR as ji,Z as wi,ff as gr,g8 as xr,g9 as yr,R as vr,cQ as _i,ga as Si,bX as Ei,iS as ki}from"./index-DtJVzdtH.js";import{a as Ri,S as Pi,u as Yn}from"./actions-BCMsejAj.js";import{S as Ti,a as Ii}from"./switch-control-Fq47wOrt.js";import{u as De}from"./blocklet-Nw4kpsVs.js";import{P as Ln,w as Xt}from"./permission-DTFazP7s.js";import{E as jo}from"./Edit-DYn1CF5Y.js";import{T as Di,M as Bi,t as Oi}from"./table-icons-DYQRHdVu.js";import{s as Ui,F as wo,A as Ni,b as Li,c as Ai,d as Mi,R as ot,L as zi,I as Fi,S as dt,a as Pt,B as qi}from"./preference-DYVCo0KF.js";import{C as Cr}from"./click-to-copy-DjkhfhsV.js";import{v as mn}from"./index-CypG4Dbq.js";import{A as $i}from"./Add-DBDPvM2L.js";import{A as Jt}from"./Link-Bs8vi6ND.js";import{C as Wi,c as Hi,b as Ki,f as _o,A as Gi,_ as Vi,a as Yi,e as Qi,d as So,s as Zi,L as Xi,u as Ji,g as ea,S as ta}from"./item-C1JxTPT2.js";import{T as na,L as ra,a as An,u as br,W as oa,P as sa}from"./index-Ci1hoD9j.js";import{e as Eo}from"./engine-D8Acg7DY.js";import{u as ia,C as aa,D as la,a as ca,b as da,S as ko}from"./connect-to-D2aJnmIt.js";import{C as ua,u as pa,A as fa}from"./agreement-Bun3wUY-.js";import{D as Ro}from"./Done-D7TYY_5X.js";import{C as ma}from"./Google-DZPfsfDE.js";import{I as Po,f as ha,a as ga,B as xa}from"./install-from-url-BXftFn4t.js";import{a as jr}from"./api-DDSUcMPT.js";import{v as To,e as ya,a as Vt}from"./util-C9NPDRP-.js";import{u as Io}from"./use-mobile-BnTDQjTV.js";import{A as va}from"./ArrowDropDown-CqYw-eY9.js";import{u as Ca}from"./useLocalStorage-41az-hAK.js";import{r as en}from"./index-BLI3C2o7.js";import{b as tn}from"./without-wallet-rfYvx_29.js";import{E as Qn}from"./ErrorOutline-By74cLGJ.js";import{H as ba}from"./HelpOutline-DS85eUTc.js";import{C as ja}from"./lock.svg-Ba4McgFD.js";import{D as nn}from"./Delete-DVp4fJb1.js";import{L as Do}from"./Launch-l1uaKrAG.js";import{D as wa}from"./delete-confirm-DCHvoTQs.js";import{W as ht,B as Mn,m as _a}from"./status-B_ZSV6JY.js";import{R as Sa}from"./Replay-BV6q004T.js";import{R as Ea,a as wr}from"./url-evaluation-Cf4MPEtF.js";import{A as Bo}from"./actions-Dp-VL6XB.js";import{v as hn}from"./index-jT3H-jhB.js";import{t as ka}from"./toUpper-CBmQ5f7q.js";import{a as Ra}from"./team-DKJfzzKD.js";import"./MoreVert-DaM6pG5s.js";import"./DeleteOutline-CDxyWfLx.js";import"./get-safe-url-DDm_hPj1.js";import"./ButtonGroup-Um1mBtyg.js";import"./getValidReactChildren-DpcxJbs9.js";import"./FilterList-Czj4Os71.js";import"./CSSTransition-BcU1vShi.js";import"./emotion-cache.browser.esm-D1-P5QGD.js";import"./index-DBii9-f-.js";import"./typeof-QjJsDpFa.js";import"./raf-schd.esm-B7_MlDzu.js";import"./redux-DfszZyTl.js";import"./useThemeProps-Cw6i_sME.js";import"./html-title-D3mv3IQk.js";import"./Clear-L4-iFi83.js";import"./ChevronRight-BFqUOmvp.js";import"./ChevronLeft-Ds4qWfjb.js";import"./Search-CApGhXwm.js";import"./omit-CyTnrDNo.js";import"./edit.svg-D0_FvYeH.js";import"./index-CODEE-RB.js";import"./iframe-Dt-xbP5x.js";import"./index-DdYx-VNK.js";import"./KeyboardArrowDown-C53dgTNk.js";import"./Autocomplete-6CVDh-bw.js";import"./ListSubheader-C-Lxj5FB.js";import"./Verified-QiB22jgm.js";import"./VerifiedUser-kPobsDlg.js";import"./url-join-P8kMCiOB.js";import"./index-BojVbZw0.js";import"./spaces-YFYDpL5l.js";import"./OpenInNew-BQeSMHR-.js";import"./index-DRYJ0xIl.js";import"./index-DQItZ4UM.js";import"./decode-DPztD6kB.js";import"./cloneDeep-Bl8wZyrm.js";import"./ListItemButton-KbcDtzXD.js";import"./Stepper-B2_oAcOZ.js";import"./is-path-prefix-equal-BJMXSv43.js";const Pa=Ae(t.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"})),Ta=Ae(t.jsx("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4z"})),Ia=Ae(t.jsx("path",{d:"M8 5v14l11-7z"})),Oo=Ae(t.jsx("path",{d:"M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10zm-2.21 5.04c.13.57.21 1.17.21 1.78 0 4.42-3.58 8-8 8s-8-3.58-8-8 3.58-8 8-8c1.58 0 3.04.46 4.28 1.25l1.44-1.44C16.1 2.67 14.13 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.19-.22-2.33-.6-3.39z"})),Da=Ae(t.jsx("path",{d:"M14.17 5 19 9.83V19H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59M7 15h10v2H7zm0-4h10v2H7zm0-4h7v2H7z"})),Uo=Ae(t.jsx("path",{d:"M3 17v2h6v-2zM3 5v2h10V5zm10 16v-2h8v-2h-8v-2h-2v6zM7 9v2H3v2h4v2h2V9zm14 4v-2H11v2zm-6-4h2V7h4V5h-4V3h-2z"})),Ba=Ae(t.jsx("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"})),Oa=Ae(t.jsx("path",{d:"M5 20h14v-2H5zm0-10h4v6h6v-6h4l-7-7z"})),Ua=Ae(t.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"})),Na=Ae(t.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}));function _r(e,r){var n={};return r=Ss(r),Es(e,function(i,a,s){ks(n,a,r(i,a,s))}),n}function No({children:e=null,...r}){const{t:n}=de(),{api:i}=ye(),{blocklet:a}=De(),s=a?.settings?.autoCheckUpdate,f=async l=>{await i.updateAutoCheckUpdate({input:{did:a.meta.did,autoCheckUpdate:l}})},c=async()=>{try{const l=!s?.enabled;await f({enabled:l}),Y.success(n(l?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(l){Y.error(l.message)}},d=!!s?.enabled;return t.jsxs(B,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[e,t.jsx(be,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:t.jsx("div",{children:t.jsx(Ti,{checked:d,onChange:c,name:"enableWelcomePage",style:{...r.style,zoom:.8}})})})]})}No.propTypes={children:x.any};function Sr(e){function r({sx:n,...i}){return t.jsx(e,{...i,sx:{color:"text.primary",...n}})}return r}const La={..._r(Oi,Sr),..._r(Ri,Sr)},Aa=(e,r)=>{let{description:n}=e;return(Object.values(je.CHAIN_PROP_MAP).includes(e.key)||Z.isEnvShareable(e))&&(n?n=`${n} (${r("blocklet.config.sharedToAllComponents")})`:n=r("blocklet.config.sharedToAllComponents")),n&&t.jsx("div",{style:{marginLeft:12},children:n})},gn=(e,r,n=[])=>!n?.length&&!e.custom&&!["CHAIN_ID","CHAIN_HOST"].includes(e.key)&&!r.meta.environments.find(i=>i.name===e.key)&&r.children.every(i=>!i.meta.environments.find(a=>a.name===e.key))?!0:e.custom,Er=e=>[je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE].includes(e)?!0:!(e.startsWith("BLOCKLET_")||e.startsWith("COMPONENT_")),xn=e=>[je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE].includes(e)===!1;function Lo({blocklet:e,ancestors:r=[]}){const n=ye(),{palette:i}=gt(),{inService:a}=n,{t:s}=k.useContext(Se),f=[...r.map(o=>o.meta.did),e.meta.did],c=()=>Y.success(s("blocklet.config.changedTip")),d=o=>gn(o,e,r);if(st(e.status)||e.status==="unknown"&&st(e.status))return null;const l=o=>new Promise(async(h,b)=>{if(!o.key.trim()||!o.value.trim()){Y.error(s("blocklet.config.environment.keyValueRequired")),b();return}if(Er(o.key)===!1){Y.error(s("blocklet.config.environment.invalidKey")),b();return}o.custom=xn(o.key);try{const R=await n.api.configBlocklet({input:{did:f,configs:[o]}});c(R.blocklet),h()}catch(R){Y.error(xe(R)),b()}}),y=(o,h)=>new Promise(async(b,R)=>{if(o.required&&(!o.key.trim()||!o.value.trim())){Y.error(s("blocklet.config.environment.keyValueRequired")),R();return}if(Er(o.key)===!1){Y.error(s("blocklet.config.environment.invalidKey")),R();return}if(o.key===je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE){const M=Rs(o);if(M){Y.error(M),R();return}}const E=[{...o,value:o.secure&&o.value==="__encrypted__"?"":o.value}];if(o.key!==h.key){if(!gn(o,e,r)){Y.error("Only key of custom env can be changed"),R();return}E.push({key:h.key,custom:xn(o.key)})}try{const M=await n.api.configBlocklet({input:{did:f,configs:E}});c(M.blocklet),b()}catch(M){Y.error(xe(M)),R()}}),p=o=>new Promise(async(h,b)=>{if(o.required){Y.error(s("blocklet.config.environment.deleteForbidden")),b();return}if(!gn(o,e,r)){Y.error(s("environmentTips.deleteForbidden")),b();return}try{const R=await n.api.configBlocklet({input:{did:f,configs:[{key:o.key,custom:xn(o.key)}]}});c(R.blocklet),h()}catch(R){Y.error(xe(R)),b()}}),C=(e.configs||[]).filter(o=>!je.BLOCKLET_CONFIGURABLE_KEY[o.key]||[je.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE].includes(o.key)),m=Z.getSharedConfigObj(r[0],e),v=Z.getComponentMissingConfigs(e,r[0]),j=C.map(o=>({...o,value:Object.values(je.CHAIN_PROP_MAP).includes(o.key)&&Object.keys(m).includes(o.key)?m[o.key]:m[o.key]||o.value})),w=j.some(o=>o.key&&o.key.startsWith("BWA_")),S={onRowAdd:l,onRowUpdate:y,onRowDelete:p,isDeletable:d},u=()=>[{title:s("common.key"),field:"key",initialEditValue:"",width:"30%",render:o=>t.jsx(Cr,{value:o.value,style:{color:o.required&&!o.value?i.error.main:i.text.primary,fontWeight:o.required?"bold":"normal"},children:o.key}),editComponent:o=>{const{value:h,rowData:b,onChange:R}=o;return t.jsx(kr,{children:t.jsx(Ce,{fullWidth:!0,size:"small",value:Ui.escapeTag(h),onChange:E=>R(E.target.value),variant:"outlined",label:"Key",placeholder:s("blocklet.config.environment.key"),margin:"dense",autoFocus:!0,slotProps:{input:{readOnly:d(b)===!1}}})})}},{title:s("common.value"),field:"value",initialEditValue:"",width:"calc((100% - (96px + 30%)) / 1)",render:o=>o.value?o.secure?"******":t.jsx(Cr,{unstyled:!0,value:o.value,style:{wordBreak:"break-all"},children:o.value}):null,editComponent:o=>{const{value:h,rowData:b,onChange:R}=o;return t.jsxs(kr,{children:[t.jsx(Ce,{fullWidth:!0,size:"small",value:h==="__encrypted__"?"":h,onChange:E=>R(E.target.value),variant:"outlined",label:s("common.value"),placeholder:s("blocklet.config.environment.value"),margin:"dense"}),Aa(b,s)]})}}];return t.jsxs(Ma,{children:[!!v.length&&t.jsx(Un,{severity:"error",style:{marginTop:24},children:s("blocklet.config.missingRequired")}),w&&t.jsx(Un,{severity:"info",children:s("blocklet.config.environment.tip")}),t.jsx(Ln,{permission:a?"":"mutate_blocklets",role:a?ft:[],children:o=>t.jsx(Di,{className:"config-table",children:t.jsx(Bi,{title:t.jsx(B,{sx:{fontWeight:"bold"},children:s("common.environments")}),columns:u(),icons:La,options:{emptyRowsWhenPaging:!1,actionsColumnIndex:-1,tableLayout:"auto",maxBodyHeight:"100%",paging:!1,search:!1,actionsCellStyle:{padding:"0",textAlign:"right",width:"80px"}},localization:{header:{actions:s("common.actions")},body:{emptyDataSourceMessage:s("common.noData"),editRow:{deleteText:s("environmentTips.delete")}}},data:j,editable:o?S:{}})})})]})}Lo.propTypes={blocklet:x.object.isRequired,ancestors:x.array};const Ma=oe.div`
3
3
  .config-table {
4
4
  margin-bottom: 24px;
5
5
  position: relative;
@@ -66,7 +66,7 @@ import{aF as Ae,j as t,du as Ss,gC as Es,iE as ks,V as de,bo as ye,J as B,N as b
66
66
  .ux-dialog_closeButton {
67
67
  margin: 0;
68
68
  }
69
- `,Fa=k.lazy(()=>Ts(()=>import("./index-D2KGQYNR.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.Uploader}))),qa="/blocklet/component/upload",Rr=[".html",".htm",".tgz",".zip"],$a=Number(window.env?.maxUploadFileSize)||H.MAX_UPLOAD_FILE_SIZE,Wa=$a*1024*1024;function Ao({did:e,prefix:r,headers:n=()=>({}),onUploaded:i=mt,open:a=!1,onClose:s=mt}){const{t:f,locale:c}=de(),d=k.useRef(null),l=k.useCallback(y=>{const{status:p,data:C}=y;if(p===200){i(C);return}Y.error(f("blocklet.component.addComponentTip.uploadFailed"))},[i,f]);return k.useEffect(()=>{a?d.current?.open():d.current?.close()},[a]),t.jsx(Ha,{id:`component-uploader-${e}`,children:t.jsx(Fa,{ref:d,locale:c,popup:!0,disableXssAttack:!0,onUploadFinish:l,plugins:[],onClose:s,installerProps:{disabled:!0},apiPathProps:{uploader:_e(r,qa,e),disableMediaKitPrefix:!0,disableMediaKitStatus:!0},coreProps:{restrictions:{allowedFileTypes:Rr,maxFileSize:Wa,maxNumberOfFiles:1}},tusProps:{headers:n},dashboardProps:{note:f("blocklet.component.addComponentTip.allowedFileTypes",{types:Rr.map(y=>y.replace(".","")).join(", ")})}})},`component-uploader-${e}`)}Ao.propTypes={did:x.string.isRequired,prefix:x.string.isRequired,open:x.bool,headers:x.func,onUploaded:x.func,onClose:x.func};const Ha=Ps(B)`
69
+ `,Fa=k.lazy(()=>Ts(()=>import("./index-CdxsHt3r.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>({default:e.Uploader}))),qa="/blocklet/component/upload",Rr=[".html",".htm",".tgz",".zip"],$a=Number(window.env?.maxUploadFileSize)||H.MAX_UPLOAD_FILE_SIZE,Wa=$a*1024*1024;function Ao({did:e,prefix:r,headers:n=()=>({}),onUploaded:i=mt,open:a=!1,onClose:s=mt}){const{t:f,locale:c}=de(),d=k.useRef(null),l=k.useCallback(y=>{const{status:p,data:C}=y;if(p===200){i(C);return}Y.error(f("blocklet.component.addComponentTip.uploadFailed"))},[i,f]);return k.useEffect(()=>{a?d.current?.open():d.current?.close()},[a]),t.jsx(Ha,{id:`component-uploader-${e}`,children:t.jsx(Fa,{ref:d,locale:c,popup:!0,disableXssAttack:!0,onUploadFinish:l,plugins:[],onClose:s,installerProps:{disabled:!0},apiPathProps:{uploader:_e(r,qa,e),disableMediaKitPrefix:!0,disableMediaKitStatus:!0},coreProps:{restrictions:{allowedFileTypes:Rr,maxFileSize:Wa,maxNumberOfFiles:1}},tusProps:{headers:n},dashboardProps:{note:f("blocklet.component.addComponentTip.allowedFileTypes",{types:Rr.map(y=>y.replace(".","")).join(", ")})}})},`component-uploader-${e}`)}Ao.propTypes={did:x.string.isRequired,prefix:x.string.isRequired,open:x.bool,headers:x.func,onUploaded:x.func,onClose:x.func};const Ha=Ps(B)`
70
70
  .uploader-wrapper {
71
71
  display: inline-flex;
72
72
  position: relative;