@abtnode/webapp 1.16.30-beta-e7a90fb2 → 1.16.30

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 (176) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-nimIss-R.js → Add-B6ZIiZST.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-SDLo8AU6.js → ArrowDropDown-CTOfLnwc.js} +1 -1
  5. package/dist/assets/{Autocomplete-mLMpcAAZ.js → Autocomplete-BRgMnZ52.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-Bt0YLDiP.js → Breadcrumbs-s9U9zLgF.js} +1 -1
  7. package/dist/assets/{ButtonGroup-BIMC9S6K.js → ButtonGroup-3w5LvaA0.js} +1 -1
  8. package/dist/assets/{CheckCircle-__Xpcyhc.js → CheckCircle-DE_y9vib.js} +1 -1
  9. package/dist/assets/{ChevronLeft-DFREsjdS.js → ChevronLeft-CvWKad8W.js} +1 -1
  10. package/dist/assets/{ChevronRight-SbPIKwoC.js → ChevronRight-93HrdGCM.js} +1 -1
  11. package/dist/assets/{Close-BpEmkp97.js → Close-DzKkufzk.js} +1 -1
  12. package/dist/assets/{Delete-B-wviuP1.js → Delete-DFFe3xyW.js} +1 -1
  13. package/dist/assets/DeleteOutline-yYcRq6ni.js +1 -0
  14. package/dist/assets/{Done-DEwehpwv.js → Done-3-QQ_TOf.js} +1 -1
  15. package/dist/assets/{Edit-DK6KZi0P.js → Edit-wLc7o2cw.js} +1 -1
  16. package/dist/assets/{EditIcon-FDN14b0G.js → EditIcon-BCVTD6hP.js} +1 -1
  17. package/dist/assets/{ExpandMore-CoMbEsJD.js → ExpandMore-CFYbzpsT.js} +1 -1
  18. package/dist/assets/{FilterList-BSbt4VER.js → FilterList-FEjK2Fox.js} +1 -1
  19. package/dist/assets/{Google-DvvB9-RU.js → Google-C9I0SVEJ.js} +1 -1
  20. package/dist/assets/{Https-CHMUgx6-.js → Https-BPSFFlg6.js} +1 -1
  21. package/dist/assets/{InputAdornment-C_X3KhDA.js → InputAdornment-DT4h3g9o.js} +1 -1
  22. package/dist/assets/{InputLabel-qD-ek4kX.js → InputLabel-BOR0LpK5.js} +1 -1
  23. package/dist/assets/{LastPage-DRexSCl8.js → LastPage-BmNCoOR7.js} +1 -1
  24. package/dist/assets/{Launch-CXTnJ_ZP.js → Launch-BN3gZaS3.js} +1 -1
  25. package/dist/assets/{Link-BVKoqsek.js → Link-Dxx2K6Ua.js} +1 -1
  26. package/dist/assets/{LoadingButton-DHGZB25W.js → LoadingButton-DdNqcAhj.js} +1 -1
  27. package/dist/assets/{LockIcon-DGE39kAx.js → LockIcon-BB4v3xDA.js} +1 -1
  28. package/dist/assets/{Loop-DQi2cfGf.js → Loop-COqhNCYW.js} +1 -1
  29. package/dist/assets/{MoreHoriz-BXgBR7_l.js → MoreHoriz-IPlU_Vvy.js} +1 -1
  30. package/dist/assets/{MoreVert-xXktVXrB.js → MoreVert-C_-FQbwq.js} +1 -1
  31. package/dist/assets/{Pagination-DnPfWmf4.js → Pagination-BfGbGnHW.js} +1 -1
  32. package/dist/assets/{Public-DZG9u5nc.js → Public-CcSZDx4-.js} +1 -1
  33. package/dist/assets/{SchemaReference.es-DknvTEzi.js → SchemaReference.es-DmaLWYOX.js} +1 -1
  34. package/dist/assets/{Search-D2g_vALD.js → Search-CjX0JQkS.js} +1 -1
  35. package/dist/assets/{Select-DEE1eR0K.js → Select-C44-YCyD.js} +1 -1
  36. package/dist/assets/{Skeleton-m_lkZ6lH.js → Skeleton-4s7n7VqF.js} +1 -1
  37. package/dist/assets/{Slider-CBmIjsNj.js → Slider-C0JALcDq.js} +1 -1
  38. package/dist/assets/{Stepper-D4h3SXw3.js → Stepper-BRwbb4LL.js} +1 -1
  39. package/dist/assets/{TextField-Cml5LlcX.js → TextField-BjNW7Bjw.js} +1 -1
  40. package/dist/assets/{ToggleButtonGroup-DdMGIkJV.js → ToggleButtonGroup-DtqIWzr-.js} +1 -1
  41. package/dist/assets/{ViewList-Lg33z4FS.js → ViewList-CHj6lFwi.js} +1 -1
  42. package/dist/assets/{actions-Rsfuoore.js → actions-DGcLEhc9.js} +1 -1
  43. package/dist/assets/{actions-CCw2fiQZ.js → actions-TtrKwsqz.js} +1 -1
  44. package/dist/assets/{agreement-C2LFpgfH.js → agreement-DXIl-xR_.js} +1 -1
  45. package/dist/assets/api-Rcl-3MyM.js +1 -0
  46. package/dist/assets/{app-avatar-Z0pI74yn.js → app-avatar-BvOjNwzf.js} +1 -1
  47. package/dist/assets/{audit-logs-CGjF68d3.js → audit-logs-D4-Bez8p.js} +1 -1
  48. package/dist/assets/blocklet-d8bc_SQ4.js +1 -0
  49. package/dist/assets/{brace-fold.es-D-xxO9tk.js → brace-fold.es-B1LEOxqn.js} +1 -1
  50. package/dist/assets/{bundle-avatar-k-apmNe0.js → bundle-avatar-CW4zHZR5.js} +1 -1
  51. package/dist/assets/{chart-BHydpm-Q.js → chart-TIGkq42g.js} +1 -1
  52. package/dist/assets/{click-to-copy--CxmqZHP.js → click-to-copy-ZbSHXJko.js} +1 -1
  53. package/dist/assets/{closebrackets.es-CV5tiUGf.js → closebrackets.es-hz2Jou3O.js} +1 -1
  54. package/dist/assets/{codemirror.es-BSwJ_jke.js → codemirror.es-DRCfXk0r.js} +1 -1
  55. package/dist/assets/{comment.es-CN939E1H.js → comment.es-BmnkGJwk.js} +1 -1
  56. package/dist/assets/{config-navigation-BKucf5SM.js → config-navigation-DS08ePOc.js} +1 -1
  57. package/dist/assets/{delete-confirm-DOwYzFRf.js → delete-confirm-CGv3y6py.js} +1 -1
  58. package/dist/assets/{detail-BBO1G3ZP.js → detail-DmU03eC7.js} +3 -3
  59. package/dist/assets/{dialog.es-K7-bZIzF.js → dialog.es-CSYXNrcw.js} +1 -1
  60. package/dist/assets/{download-D88K6-GQ.js → download-CAroNPKK.js} +1 -1
  61. package/dist/assets/{foldgutter.es-DPSTEVXv.js → foldgutter.es-BSRJoBoZ.js} +1 -1
  62. package/dist/assets/getValidReactChildren-Y-QNoefA.js +1 -0
  63. package/dist/assets/{hint.es-DHTbet23.js → hint.es-DuHUgHT3.js} +1 -1
  64. package/dist/assets/{hint.es2-DaSN5I8T.js → hint.es2-CLzxOo96.js} +1 -1
  65. package/dist/assets/{iframe-DjGjc5CU.js → iframe-C3LtsJmK.js} +1 -1
  66. package/dist/assets/index-3tln4L6C.js +21 -0
  67. package/dist/assets/{index-D3GDvQdK.js → index-8azRnZez.js} +1 -1
  68. package/dist/assets/{index-TQDBcpeB.js → index-BApbAOLy.js} +1 -1
  69. package/dist/assets/{index-CF-WslF6.js → index-BN-HHDJJ.js} +1 -1
  70. package/dist/assets/{index-Daw6hKm4.js → index-BQmNmoac.js} +1 -1
  71. package/dist/assets/{index-DxgXNSd2.js → index-BZCt88Kn.js} +14 -14
  72. package/dist/assets/{index-C1KbWOak.js → index-BatYQHX2.js} +3 -3
  73. package/dist/assets/{index-wB3ekx1K.js → index-BdL0EBBo.js} +1 -1
  74. package/dist/assets/{index-Blc0lQcO.js → index-BfvNFce6.js} +1 -1
  75. package/dist/assets/{index-Co3JrBLr.js → index-BrDzj3_R.js} +1 -1
  76. package/dist/assets/{index-D3_NSRjd.js → index-C3UQMAkF.js} +1 -1
  77. package/dist/assets/{index-Dx95ER6O.js → index-C3q33eZl.js} +1 -1
  78. package/dist/assets/{index-CBTLvRHC.js → index-C4LMPu9u.js} +1 -1
  79. package/dist/assets/{index-BGI6bUJP.js → index-CJBZPdm6.js} +1 -1
  80. package/dist/assets/{index-DKrhe0Pd.js → index-CR_2MaC1.js} +1 -1
  81. package/dist/assets/{index-CE0mBRzM.js → index-CUztA_gz.js} +1 -1
  82. package/dist/assets/{index-ZTQq6T3W.js → index-CkbP6S_A.js} +1 -1
  83. package/dist/assets/{index-CAo0UcQ2.js → index-Cmy0GHU-.js} +1 -1
  84. package/dist/assets/{index-D_qCD-1x.js → index-Ctog4pYE.js} +1 -1
  85. package/dist/assets/{index-6hnZjYIo.js → index-CveYHk3t.js} +1 -1
  86. package/dist/assets/{index-BGXvULAc.js → index-D0RT0rzU.js} +1 -1
  87. package/dist/assets/{index-De9X8iTH.js → index-D53ihNsv.js} +1 -1
  88. package/dist/assets/{index-f7aL1bUo.js → index-D6q9zEjn.js} +5 -5
  89. package/dist/assets/{index-Cpw6Ga8g.js → index-DQo_Dew3.js} +1 -1
  90. package/dist/assets/{index-cqDbkK4O.js → index-DTSardYw.js} +1 -1
  91. package/dist/assets/{index-AO3oCF1x.js → index-DfTYGL67.js} +3 -3
  92. package/dist/assets/index-DnLx-UdH.js +68 -0
  93. package/dist/assets/{index-CeV4jn0N.js → index-DpVeIVbC.js} +1 -1
  94. package/dist/assets/{index-guvEPGrM.js → index-DrdqOXJL.js} +3 -3
  95. package/dist/assets/{index-DBP_eUf8.js → index-DtsnjFBd.js} +1 -1
  96. package/dist/assets/{index-C4Q4NeqR.js → index-Dy-ye0PE.js} +1 -1
  97. package/dist/assets/{index-BHdqgom8.js → index-DzlR4ROA.js} +2 -2
  98. package/dist/assets/{index-BKhW6tEi.js → index-EKqCJff8.js} +1 -1
  99. package/dist/assets/{index-o8JHOBc-.js → index-RRgjvIfT.js} +1 -1
  100. package/dist/assets/{index-mgj182ld.js → index-RrRN76hq.js} +1 -1
  101. package/dist/assets/{index-Mn9Cn8cU.js → index-UbiaSDM9.js} +1 -1
  102. package/dist/assets/{index-BsbdXNYr.js → index-aiikLstk.js} +1 -1
  103. package/dist/assets/{index-CgsfYcwc.js → index-ffNDefbl.js} +1 -1
  104. package/dist/assets/{index-DGNm6YxS.js → index-fiBRRSS-.js} +1 -1
  105. package/dist/assets/{index-BPHA36fg.js → index-po1Du4Ca.js} +1 -1
  106. package/dist/assets/{index-Dj8gJMNb.js → index-qSHb4AGp.js} +1 -1
  107. package/dist/assets/{index-ChCCjycd.js → index-sw48VBzs.js} +1 -1
  108. package/dist/assets/{index-DBjm0dlo.js → index-vCyUMIWI.js} +1 -1
  109. package/dist/assets/{index-D-FCWV-1.js → index-x2vTLzR6.js} +1 -1
  110. package/dist/assets/{index.es-39a3Nx9Z.js → index.es-C2y5LgUg.js} +1 -1
  111. package/dist/assets/{index.esm-VCHOqK12.js → index.esm-DNLYWMPY.js} +1 -1
  112. package/dist/assets/{info-addon.es-BC4uTAVC.js → info-addon.es-OU9D4WD4.js} +1 -1
  113. package/dist/assets/{info.es-BOB5BDAa.js → info.es-BYpWwfiq.js} +1 -1
  114. package/dist/assets/{install-from-url-BlpJ_JCL.js → install-from-url-BHRJMyoo.js} +1 -1
  115. package/dist/assets/{invitation-B9vV54jI.js → invitation-4BcBcG3g.js} +1 -1
  116. package/dist/assets/{is-path-prefix-equal-5RuRfdDZ.js → is-path-prefix-equal-QODAXh-c.js} +1 -1
  117. package/dist/assets/{isEqual-BMA5WXPh.js → isEqual-CFOAIOWs.js} +1 -1
  118. package/dist/assets/{item-BCjdddLT.js → item-DinHwjuB.js} +1 -1
  119. package/dist/assets/{javascript.es-CKHSRONz.js → javascript.es-BZ4hu16-.js} +1 -1
  120. package/dist/assets/{jump-to-line.es-BGiUhkkZ.js → jump-to-line.es-ds6uZCNW.js} +1 -1
  121. package/dist/assets/{jump.es-jlQKmx9y.js → jump.es-Dow2EsmT.js} +1 -1
  122. package/dist/assets/{line-BQ1AqKfx.js → line-Cpeu8572.js} +3 -3
  123. package/dist/assets/{lint.es-Ccw618G7.js → lint.es-BumMccTK.js} +1 -1
  124. package/dist/assets/{lint.es2-EOTuUPIZ.js → lint.es2-BzVHBAgd.js} +1 -1
  125. package/dist/assets/{lint.es3-DvHlvUn_.js → lint.es3-ziEStM1n.js} +1 -1
  126. package/dist/assets/{list-header-RtdpLA8N.js → list-header-5GKfEIKg.js} +1 -1
  127. package/dist/assets/{log-C240GbUG.js → log-BzeVufdm.js} +1 -1
  128. package/dist/assets/{lottie-DlriAay1.js → lottie-Dittdj4N.js} +1 -1
  129. package/dist/assets/{matchbrackets.es-C5JsbqKa.js → matchbrackets.es-DqPFoH1c.js} +1 -1
  130. package/dist/assets/{memory-DmcKHXq0.js → memory-CVFS6lDi.js} +1 -1
  131. package/dist/assets/{mode.es-mDILARJO.js → mode.es-tUbE6Sz4.js} +1 -1
  132. package/dist/assets/{mode.es2-BBLB98Wl.js → mode.es2-DOWb3-oK.js} +1 -1
  133. package/dist/assets/{mode.es3-Bp7C6PMW.js → mode.es3-BcjY2hx8.js} +1 -1
  134. package/dist/assets/{onlineParser.es-BoSRyIcT.js → onlineParser.es-BdeAPFTn.js} +1 -1
  135. package/dist/assets/{overview-_Rxbv1NB.js → overview-D7vbgmTw.js} +1 -1
  136. package/dist/assets/{react-DuJ5ZkKy.js → react-Dervdh0W.js} +3 -3
  137. package/dist/assets/{redux-B1Qumh5U.js → redux-C4Q_CSvp.js} +1 -1
  138. package/dist/assets/{resource-dialog-WWRI08PV.js → resource-dialog-Byph1CoJ.js} +1 -1
  139. package/dist/assets/{runtime-5oxnTidw.js → runtime-7TSih23R.js} +1 -1
  140. package/dist/assets/{schema-5ne-6Bp4.js → schema-Bq2ly-4o.js} +1 -1
  141. package/dist/assets/sdk-aTAcQDv-.js +1 -0
  142. package/dist/assets/{search.es-R2FORdVe.js → search.es-CMLj29wb.js} +1 -1
  143. package/dist/assets/{searchcursor.es-DO5Jf4gN.js → searchcursor.es-eHb4SABv.js} +1 -1
  144. package/dist/assets/service-FolPIcUS.js +1 -0
  145. package/dist/assets/{shorten-label-CZlXdSOl.js → shorten-label-BSQEIROA.js} +1 -1
  146. package/dist/assets/{show-hint.es-Bx2uNweg.js → show-hint.es-Bn3zEE4X.js} +1 -1
  147. package/dist/assets/{slicedToArray-Bg3ityWL.js → slicedToArray-ROu8OO6l.js} +1 -1
  148. package/dist/assets/{spaces-fC9EAj53.js → spaces-CKLphlMZ.js} +1 -1
  149. package/dist/assets/{status-BXJ91n7W.js → status-6F7XJ5dp.js} +1 -1
  150. package/dist/assets/{sublime.es-DHZMehLW.js → sublime.es-CYqGOBLs.js} +1 -1
  151. package/dist/assets/{switch-control-BuiDLx3e.js → switch-control-BxRwCbFm.js} +1 -1
  152. package/dist/assets/{table-icons-bAAAjGK1.js → table-icons-BXeoVsYd.js} +2 -2
  153. package/dist/assets/{team-QnBuJ2rq.js → team-nBwKhOsv.js} +1 -1
  154. package/dist/assets/{toUpper-CFRRtQH6.js → toUpper-BBB_TInl.js} +1 -1
  155. package/dist/assets/{traffic-CNgUOmfv.js → traffic-BgMFjNc5.js} +1 -1
  156. package/dist/assets/{url-evaluation-BTdmiGRO.js → url-evaluation-C7b_jErN.js} +1 -1
  157. package/dist/assets/{url-join-CiWL3EAW.js → url-join-LN7aIhdX.js} +1 -1
  158. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-CMsH-TzL.js → use-blocklet-info-for-connect-did-spaces-Dw7UZ6Jz.js} +1 -1
  159. package/dist/assets/{useLocalStorage-D6Ii7-Uk.js → useLocalStorage-F8gidp1W.js} +1 -1
  160. package/dist/assets/{useThemeProps-BlrL4N8K.js → useThemeProps-CRpVKi5P.js} +1 -1
  161. package/dist/assets/{util-DSMcrouF.js → util-DjDIVQpP.js} +1 -1
  162. package/dist/assets/{wait-container-BRhHYdS-.js → wait-container-fwTsXfbb.js} +1 -1
  163. package/dist/assets/{withStyles-CHrv3QJu.js → withStyles-unQnV9F2.js} +1 -1
  164. package/dist/assets/{wrap-locale-D-OFTljj.js → wrap-locale-CCm3KObK.js} +1 -1
  165. package/dist/index.html +1 -1
  166. package/dist/service-worker.js +1 -1
  167. package/package.json +1 -1
  168. package/dist/assets/DeleteOutline-DU3a7Mie.js +0 -1
  169. package/dist/assets/DeleteOutline-Dy_sSwNK.js +0 -1
  170. package/dist/assets/api-_ETsEoGC.js +0 -1
  171. package/dist/assets/blocklet-D8qZlMLE.js +0 -1
  172. package/dist/assets/getValidReactChildren-86LVJ_ka.js +0 -1
  173. package/dist/assets/index-CqrpWUFf.js +0 -21
  174. package/dist/assets/index-DUXbXc9f.js +0 -68
  175. package/dist/assets/sdk-Go6IWQIY.js +0 -1
  176. package/dist/assets/service-VyIQYaE6.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./overview-_Rxbv1NB.js","./index-BHdqgom8.js","./index-BEj64JY8.css","./keyboard-arrow-down-rounded-DadBVmpO.js","./index-D3GDvQdK.js","./blocklet-D8qZlMLE.js","./status-BXJ91n7W.js","./Delete-B-wviuP1.js","./url-evaluation-BTdmiGRO.js","./Add-nimIss-R.js","./ExpandMore-CoMbEsJD.js","./util-DSMcrouF.js","./is-path-prefix-equal-5RuRfdDZ.js","./LockIcon-DGE39kAx.js","./index-BPHA36fg.js","./Https-CHMUgx6-.js","./index-ChCCjycd.js","./api-_ETsEoGC.js","./TextField-Cml5LlcX.js","./Select-DEE1eR0K.js","./InputLabel-qD-ek4kX.js","./LoadingButton-DHGZB25W.js","./useThemeProps-BlrL4N8K.js","./actions-CCw2fiQZ.js","./MoreHoriz-BXgBR7_l.js","./index-DBjm0dlo.js","./iframe-DjGjc5CU.js","./line-BQ1AqKfx.js","./Done-DEwehpwv.js","./EditIcon-FDN14b0G.js","./ArrowDropDown-SDLo8AU6.js","./ButtonGroup-BIMC9S6K.js","./getValidReactChildren-86LVJ_ka.js","./index-Dj8gJMNb.js","./ChevronRight-SbPIKwoC.js","./index-CAo0UcQ2.js","./bundle-avatar-k-apmNe0.js","./app-avatar-Z0pI74yn.js","./isEqual-BMA5WXPh.js","./Loop-DQi2cfGf.js","./Autocomplete-mLMpcAAZ.js","./mode-B2dWMeTO.js","./Public-DZG9u5nc.js","./click-to-copy--CxmqZHP.js","./team-QnBuJ2rq.js","./index-DKrhe0Pd.js","./index.esm-VCHOqK12.js","./Launch-CXTnJ_ZP.js","./Edit-DK6KZi0P.js","./actions-Rsfuoore.js","./useLocalStorage-D6Ii7-Uk.js","./MoreVert-xXktVXrB.js","./index-CE0mBRzM.js","./redux-B1Qumh5U.js","./switch-control-BuiDLx3e.js","./Slider-CBmIjsNj.js","./index-cqDbkK4O.js","./FilterList-BSbt4VER.js","./LastPage-DRexSCl8.js","./Search-D2g_vALD.js","./index-6hnZjYIo.js","./index-foZCwT8M.css","./config-navigation-BKucf5SM.js","./slicedToArray-Bg3ityWL.js","./index-CBTLvRHC.js","./index-Mn9Cn8cU.js","./InputAdornment-C_X3KhDA.js","./index-CgsfYcwc.js","./Skeleton-m_lkZ6lH.js","./audit-logs-CGjF68d3.js","./index-BGXvULAc.js","./index-D4PP6P2d.css","./Pagination-DnPfWmf4.js","./index-BKhW6tEi.js","./index-o8JHOBc-.js","./list-header-RtdpLA8N.js","./Google-DvvB9-RU.js","./index-wB3ekx1K.js","./index-Cpw6Ga8g.js","./index-ZG7jWpak.js","./ToggleButtonGroup-DdMGIkJV.js","./index-De9X8iTH.js","./ViewList-Lg33z4FS.js","./resource-dialog-WWRI08PV.js","./index-D3_NSRjd.js","./index-ZTQq6T3W.js","./sdk-Go6IWQIY.js","./shorten-label-CZlXdSOl.js","./service-VyIQYaE6.js","./table-icons-bAAAjGK1.js","./ChevronLeft-DFREsjdS.js","./DeleteOutline-Dy_sSwNK.js","./memoize-one.esm-BdPwpGay.js","./index-DxgXNSd2.js","./agreement-C2LFpgfH.js","./url-join-CiWL3EAW.js","./Link-BVKoqsek.js","./item-BCjdddLT.js","./preact.module-DJUF--8d.js","./DeleteOutline-DU3a7Mie.js","./delete-confirm-DOwYzFRf.js","./item-D_j8BgsJ.css","./index-mgj182ld.js","./Close-BpEmkp97.js","./lottie-DlriAay1.js","./toUpper-CFRRtQH6.js","./spaces-fC9EAj53.js","./install-from-url-BlpJ_JCL.js","./schema-5ne-6Bp4.js","./Stepper-D4h3SXw3.js","./use-blocklet-info-for-connect-did-spaces-CMsH-TzL.js","./log-C240GbUG.js","./download-D88K6-GQ.js","./download-D33dFtt_.css","./runtime-5oxnTidw.js","./memory-DmcKHXq0.js","./chart-BHydpm-Q.js","./traffic-CNgUOmfv.js","./index-DUXbXc9f.js"])))=>i.map(i=>d[i]);
2
- import{t as ze,v as kt,bl as Ct,r as x,H as R,j as p,K as $e,Q as Y,B as Ue,y as Et,bm as Tt,N as _,E as W,M as He,bg as qe,bn as C,A as jt,u as _t,bo as ce,bp as Pt,X as _e,C as Pe,O as At,bq as Ot,m as ae,V as Lt,n as Dt,br as Bt}from"./index-BHdqgom8.js";import{T as Mt}from"./index-CAo0UcQ2.js";import{B as Nt}from"./status-BXJ91n7W.js";import{D as Rt,B as Ft}from"./actions-Rsfuoore.js";import{B as Vt}from"./app-avatar-Z0pI74yn.js";import{u as zt}from"./blocklet-D8qZlMLE.js";import{B as $t,u as Ut,T as Ht}from"./team-QnBuJ2rq.js";import{B as qt}from"./Breadcrumbs-Bt0YLDiP.js";import"./Delete-B-wviuP1.js";import"./url-evaluation-BTdmiGRO.js";import"./useLocalStorage-D6Ii7-Uk.js";import"./MoreVert-xXktVXrB.js";import"./ButtonGroup-BIMC9S6K.js";import"./getValidReactChildren-86LVJ_ka.js";/**
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./overview-D7vbgmTw.js","./index-DzlR4ROA.js","./index-BEj64JY8.css","./keyboard-arrow-down-rounded-DadBVmpO.js","./index-8azRnZez.js","./blocklet-d8bc_SQ4.js","./status-6F7XJ5dp.js","./Delete-DFFe3xyW.js","./url-evaluation-C7b_jErN.js","./Add-B6ZIiZST.js","./ExpandMore-CFYbzpsT.js","./util-DjDIVQpP.js","./is-path-prefix-equal-QODAXh-c.js","./LockIcon-BB4v3xDA.js","./index-po1Du4Ca.js","./Https-BPSFFlg6.js","./index-sw48VBzs.js","./api-Rcl-3MyM.js","./TextField-BjNW7Bjw.js","./Select-C44-YCyD.js","./InputLabel-BOR0LpK5.js","./LoadingButton-DdNqcAhj.js","./useThemeProps-CRpVKi5P.js","./actions-TtrKwsqz.js","./MoreHoriz-IPlU_Vvy.js","./index-vCyUMIWI.js","./iframe-C3LtsJmK.js","./line-Cpeu8572.js","./Done-3-QQ_TOf.js","./EditIcon-BCVTD6hP.js","./ArrowDropDown-CTOfLnwc.js","./ButtonGroup-3w5LvaA0.js","./getValidReactChildren-Y-QNoefA.js","./index-qSHb4AGp.js","./ChevronRight-93HrdGCM.js","./index-Cmy0GHU-.js","./bundle-avatar-CW4zHZR5.js","./app-avatar-BvOjNwzf.js","./isEqual-CFOAIOWs.js","./Loop-COqhNCYW.js","./Autocomplete-BRgMnZ52.js","./mode-B2dWMeTO.js","./Public-CcSZDx4-.js","./click-to-copy-ZbSHXJko.js","./team-nBwKhOsv.js","./index-CR_2MaC1.js","./index.esm-DNLYWMPY.js","./Launch-BN3gZaS3.js","./Edit-wLc7o2cw.js","./actions-DGcLEhc9.js","./useLocalStorage-F8gidp1W.js","./MoreVert-C_-FQbwq.js","./index-CUztA_gz.js","./redux-C4Q_CSvp.js","./switch-control-BxRwCbFm.js","./Slider-C0JALcDq.js","./index-DTSardYw.js","./FilterList-FEjK2Fox.js","./LastPage-BmNCoOR7.js","./Search-CjX0JQkS.js","./index-CveYHk3t.js","./index-foZCwT8M.css","./config-navigation-DS08ePOc.js","./slicedToArray-ROu8OO6l.js","./index-C4LMPu9u.js","./index-UbiaSDM9.js","./InputAdornment-DT4h3g9o.js","./index-ffNDefbl.js","./Skeleton-4s7n7VqF.js","./audit-logs-D4-Bez8p.js","./index-D0RT0rzU.js","./index-D4PP6P2d.css","./Pagination-BfGbGnHW.js","./index-EKqCJff8.js","./index-RRgjvIfT.js","./list-header-5GKfEIKg.js","./Google-C9I0SVEJ.js","./index-BdL0EBBo.js","./index-DQo_Dew3.js","./index-ZG7jWpak.js","./ToggleButtonGroup-DtqIWzr-.js","./index-D53ihNsv.js","./ViewList-CHj6lFwi.js","./resource-dialog-Byph1CoJ.js","./index-C3UQMAkF.js","./index-CkbP6S_A.js","./sdk-aTAcQDv-.js","./shorten-label-BSQEIROA.js","./service-FolPIcUS.js","./table-icons-BXeoVsYd.js","./ChevronLeft-CvWKad8W.js","./DeleteOutline-yYcRq6ni.js","./memoize-one.esm-BdPwpGay.js","./index-BZCt88Kn.js","./agreement-DXIl-xR_.js","./url-join-LN7aIhdX.js","./Link-Dxx2K6Ua.js","./item-DinHwjuB.js","./preact.module-DJUF--8d.js","./delete-confirm-CGv3y6py.js","./item-D_j8BgsJ.css","./index-RrRN76hq.js","./Close-DzKkufzk.js","./lottie-Dittdj4N.js","./toUpper-BBB_TInl.js","./spaces-CKLphlMZ.js","./install-from-url-BHRJMyoo.js","./schema-Bq2ly-4o.js","./Stepper-BRwbb4LL.js","./use-blocklet-info-for-connect-did-spaces-Dw7UZ6Jz.js","./log-BzeVufdm.js","./download-CAroNPKK.js","./download-D33dFtt_.css","./runtime-7TSih23R.js","./memory-CVFS6lDi.js","./chart-TIGkq42g.js","./traffic-BgMFjNc5.js","./index-DnLx-UdH.js"])))=>i.map(i=>d[i]);
2
+ import{t as ze,v as kt,bl as Ct,r as x,H as R,j as p,K as $e,Q as Y,B as Ue,y as Et,bm as Tt,N as _,E as W,M as He,bg as qe,bn as C,A as jt,u as _t,bo as ce,bp as Pt,X as _e,C as Pe,O as At,bq as Ot,m as ae,V as Lt,n as Dt,br as Bt}from"./index-DzlR4ROA.js";import{T as Mt}from"./index-Cmy0GHU-.js";import{B as Nt}from"./status-6F7XJ5dp.js";import{D as Rt,B as Ft}from"./actions-DGcLEhc9.js";import{B as Vt}from"./app-avatar-BvOjNwzf.js";import{u as zt}from"./blocklet-d8bc_SQ4.js";import{B as $t,u as Ut,T as Ht}from"./team-nBwKhOsv.js";import{B as qt}from"./Breadcrumbs-s9U9zLgF.js";import"./Delete-DFFe3xyW.js";import"./url-evaluation-C7b_jErN.js";import"./useLocalStorage-F8gidp1W.js";import"./MoreVert-C_-FQbwq.js";import"./ButtonGroup-3w5LvaA0.js";import"./getValidReactChildren-Y-QNoefA.js";/**
3
3
  * (c) Iconify
4
4
  *
5
5
  * For the full copyright and license information, please view the license.txt or license.gpl.txt
@@ -9,7 +9,7 @@ import{t as ze,v as kt,bl as Ct,r as x,H as R,j as p,K as $e,Q as Y,B as Ue,y as
9
9
  *
10
10
  * @license MIT
11
11
  * @version 3.1.1
12
- */const Qe=Object.freeze({left:0,top:0,width:16,height:16}),Z=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),U=Object.freeze({...Qe,...Z}),de=Object.freeze({...U,body:"",hidden:!1});function Qt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Ae(e,t){const n=Qt(e,t);for(const o in de)o in Z?o in e&&!(o in n)&&(n[o]=Z[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Gt(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function s(i){if(n[i])return r[i]=[];if(!(i in r)){r[i]=null;const c=o[i]&&o[i].parent,a=c&&s(c);a&&(r[i]=[c].concat(a))}return r[i]}return Object.keys(n).concat(Object.keys(o)).forEach(s),r}function Kt(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let s={};function i(c){s=Ae(o[c]||r[c],s)}return i(t),n.forEach(i),Ae(e,s)}function Wt(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=Gt(e);for(const r in o){const s=o[r];s&&(t(r,Kt(e,r,s)),n.push(r))}return n}const F=/^[a-z0-9]+(-[a-z0-9]+)*$/,D=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const c=r.pop(),a=r.pop(),l={provider:r.length>0?r[0]:o,prefix:a,name:c};return t&&!J(l)?null:l}const s=r[0],i=s.split("-");if(i.length>1){const c={provider:o,prefix:i.shift(),name:i.join("-")};return t&&!J(c)?null:c}if(n&&o===""){const c={provider:o,prefix:"",name:s};return t&&!J(c,n)?null:c}return null},J=(e,t)=>e?!!((e.provider===""||e.provider.match(F))&&(t&&e.prefix===""||e.prefix.match(F))&&e.name.match(F)):!1,Jt={provider:"",aliases:{},not_found:{},...Qe};function le(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Xt(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!le(e,Jt))return null;const n=t.icons;for(const r in n){const s=n[r];if(!r.match(F)||typeof s.body!="string"||!le(s,de))return null}const o=t.aliases||Object.create(null);for(const r in o){const s=o[r],i=s.parent;if(!r.match(F)||typeof i!="string"||!n[i]&&!o[i]||!le(s,de))return null}return t}const ee=Object.create(null);function Yt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function T(e,t){const n=ee[e]||(ee[e]=Object.create(null));return n[t]||(n[t]=Yt(e,t))}function Ie(e,t){return Xt(t)?Wt(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function Zt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function en(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(ee)).forEach(r=>{(typeof r=="string"&&typeof t=="string"?[t]:Object.keys(ee[r]||{})).forEach(i=>{const c=T(r,i);n=n.concat(Object.keys(c.icons).map(a=>(r!==""?"@"+r+":":"")+i+":"+a))})}),n}let ke=!1;function tn(e){return ke}function H(e){const t=typeof e=="string"?D(e,!0,ke):e;if(t){const n=T(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function nn(e,t){const n=D(e,!0,ke);if(!n)return!1;const o=T(n.provider,n.prefix);return Zt(o,n.name,t)}function Ge(e,t){if(typeof e!="object")return!1;typeof t!="string"&&(t=e.provider||"");const n=e.prefix;if(!J({provider:t,prefix:n,name:"a"}))return!1;const o=T(t,n);return!!Ie(o,e)}function on(e){return!!H(e)}function rn(e){const t=H(e);return t?{...U,...t}:null}const Ke=Object.freeze({width:null,height:null}),We=Object.freeze({...Ke,...Z}),sn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function pe(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(sn);if(o===null||!o.length)return e;const r=[];let s=o.shift(),i=cn.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?r.push(s):r.push(Math.ceil(c*t*n)/n)}else r.push(s);if(s=o.shift(),s===void 0)return r.join("");i=!i}}const an=e=>e==="unset"||e==="undefined"||e==="none";function oe(e,t){const n={...U,...e},o={...We,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(b=>{const y=[],k=b.hFlip,v=b.vFlip;let w=b.rotate;k?v?w+=2:(y.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),y.push("scale(-1 1)"),r.top=r.left=0):v&&(y.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),y.push("scale(1 -1)"),r.top=r.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=r.height/2+r.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(r.left!==r.top&&(S=r.left,r.left=r.top,r.top=S),r.width!==r.height&&(S=r.width,r.width=r.height,r.height=S)),y.length&&(s='<g transform="'+y.join(" ")+'">'+s+"</g>")});const i=o.width,c=o.height,a=r.width,l=r.height;let u,d;i===null?(d=c===null?"1em":c==="auto"?l:c,u=pe(d,a/l)):(u=i==="auto"?a:i,d=c===null?pe(u,l/a):c==="auto"?l:c);const f={},m=(b,y)=>{an(y)||(f[b]=y.toString())};return m("width",u),m("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+a.toString()+" "+l.toString(),{attributes:f,body:s}}const ln=/\sid="(\S+)"/g,un="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let fn=0;function Je(e,t=un){const n=[];let o;for(;o=ln.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(fn++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const A={local:!0,session:!0},Xe={local:new Set,session:new Set};let Ce=!1;function dn(e){Ce=e}const Oe="iconify2",$="iconify",Ye=$+"-count",Le=$+"-version",Ze=36e5,pn=168;function he(e,t){try{return e.getItem(t)}catch{}}function Ee(e,t,n){try{return e.setItem(t,n),!0}catch{}}function De(e,t){try{e.removeItem(t)}catch{}}function me(e,t){return Ee(e,Ye,t.toString())}function ge(e){return parseInt(he(e,Ye))||0}let G=typeof window>"u"?{}:window;function et(e){const t=e+"Storage";try{if(G&&G[t]&&typeof G[t].length=="number")return G[t]}catch{}A[e]=!1}function tt(e,t){const n=et(e);if(!n)return;const o=he(n,Le);if(o!==Oe){if(o){const c=ge(n);for(let a=0;a<c;a++)De(n,$+a.toString())}Ee(n,Le,Oe),me(n,0);return}const r=Math.floor(Date.now()/Ze)-pn,s=c=>{const a=$+c.toString(),l=he(n,a);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,c))return!0}catch{}De(n,a)}};let i=ge(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,me(n,i)):Xe[e].add(c))}function nt(){if(!Ce){dn(!0);for(const e in A)tt(e,t=>{const n=t.data,o=t.provider,r=n.prefix,s=T(o,r);if(!Ie(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function ot(e,t){switch(e){case"local":case"session":A[e]=t;break;case"all":for(const n in A)A[n]=t;break}}const be=Object.create(null);function rt(e,t){be[e]=t}function ye(e){return be[e]||be[""]}function Te(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const re=Object.create(null),N=["https://api.simplesvg.com","https://api.unisvg.com"],X=[];for(;N.length>0;)N.length===1||Math.random()>.5?X.push(N.shift()):X.push(N.pop());re[""]=Te({resources:["https://api.iconify.design"].concat(X)});function st(e,t){const n=Te(t);return n===null?!1:(re[e]=n,!0)}function se(e){return re[e]}function hn(){return Object.keys(re)}const mn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let te=mn();function gn(e){te=e}function bn(){return te}function yn(e,t){const n=se(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(i=>{r=Math.max(r,i.length)});const s=t+".json?icons=";o=n.maxURL-r-n.path.length-s.length}return o}function vn(e){return e===404}const xn=(e,t,n)=>{const o=[],r=yn(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((a,l)=>{c+=a.length+1,c>=r&&l>0&&(o.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=a.length),i.icons.push(a)}),o.push(i),o};function wn(e){if(typeof e=="string"){const t=se(e);if(t)return t.path}return"/"}const Sn=(e,t,n)=>{if(!te){n("abort",424);return}let o=wn(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),a=new URLSearchParams({icons:c});o+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;o+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let r=503;te(e+o).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(vn(i)?"abort":"next",i)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",r)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",r)})},In={prepare:xn,send:Sn};function kn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const s=r.provider,i=r.prefix,c=r.name,a=n[s]||(n[s]=Object.create(null)),l=a[i]||(a[i]=T(s,i));let u;c in l.icons?u=t.loaded:i===""||l.missing.has(c)?u=t.missing:u=t.pending;const d={provider:s,prefix:i,name:c};u.push(d)}),t}function it(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function Cn(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==r)return!0;const l=a.name;if(e.icons[l])i.loaded.push({provider:o,prefix:r,name:l});else if(e.missing.has(l))i.missing.push({provider:o,prefix:r,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||it([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let En=0;function Tn(e,t,n){const o=En++,r=it.bind(null,n,o);if(!t.pending.length)return r;const s={id:o,icons:t,callback:e,abort:r};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),r}function jn(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const s=typeof r=="string"?D(r,t,n):r;s&&o.push(s)}),o}var _n={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pn(e,t,n,o){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const I=Math.floor(Math.random()*h.length);i.push(h[I]),h=h.slice(0,I).concat(h.slice(I+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let a="pending",l=0,u,d=null,f=[],m=[];typeof o=="function"&&m.push(o);function b(){d&&(clearTimeout(d),d=null)}function y(){a==="pending"&&(a="aborted"),b(),f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function k(h,I){I&&(m=[]),typeof h=="function"&&m.push(h)}function v(){return{startTime:c,payload:t,status:a,queriesSent:l,queriesPending:f.length,subscribe:k,abort:y}}function w(){a="failed",m.forEach(h=>{h(void 0,u)})}function S(){f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function B(h,I,g){const j=I!=="success";switch(f=f.filter(E=>E!==h),a){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=g,w();return}if(j){u=g,f.length||(i.length?M():w());return}if(b(),S(),!e.random){const E=e.resources.indexOf(h.resource);E!==-1&&E!==e.index&&(e.index=E)}a="completed",m.forEach(E=>{E(g)})}function M(){if(a!=="pending")return;b();const h=i.shift();if(h===void 0){if(f.length){d=setTimeout(()=>{b(),a==="pending"&&(S(),w())},e.timeout);return}w();return}const I={status:"pending",resource:h,callback:(g,j)=>{B(I,g,j)}};f.push(I),l++,d=setTimeout(M,e.rotate),n(h,t,I.callback)}return setTimeout(M),v}function ct(e){const t={..._n,...e};let n=[];function o(){n=n.filter(c=>c().status==="pending")}function r(c,a,l){const u=Pn(t,c,a,(d,f)=>{o(),l&&l(d,f)});return n.push(u),u}function s(c){return n.find(a=>c(a))||null}return{query:r,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:o}}function Be(){}const ue=Object.create(null);function An(e){if(!ue[e]){const t=se(e);if(!t)return;const n=ct(t),o={config:t,redundancy:n};ue[e]=o}return ue[e]}function at(e,t,n){let o,r;if(typeof e=="string"){const s=ye(e);if(!s)return n(void 0,424),Be;r=s.send;const i=An(e);i&&(o=i.redundancy)}else{const s=Te(e);if(s){o=ct(s);const i=e.resources?e.resources[0]:"",c=ye(i);c&&(r=c.send)}}return!o||!r?(n(void 0,424),Be):o.query(t,r,n)().abort}function On(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in A)tt(o,r=>{const s=r.data;return r.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Ln(e,t){Ce||nt();function n(o){let r;if(!A[o]||!(r=et(o)))return;const s=Xe[o];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=ge(r),!me(r,i+1))return;const c={cached:Math.floor(Date.now()/Ze),provider:e.provider,data:t};return Ee(r,$+i.toString(),JSON.stringify(c))}t.lastModified&&!On(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Me(){}function Dn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Cn(e)}))}function Bn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let s;if(!r||!(s=ye(n)))return;s.prepare(n,o,r).forEach(c=>{at(n,c,a=>{if(typeof a!="object")c.icons.forEach(l=>{e.missing.add(l)});else try{const l=Ie(e,a);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),Ln(e,a)}catch(l){console.error(l)}Dn(e)})})}))}const Mn=e=>{const n=T(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},je=(e,t)=>{const n=jn(e,!0,tn()),o=kn(n);if(!o.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(o.loaded,o.missing,o.pending,Me)}),()=>{a=!1}}const r=Object.create(null),s=[];let i,c;return o.pending.forEach(a=>{const{provider:l,prefix:u}=a;if(u===c&&l===i)return;i=l,c=u,s.push(T(l,u));const d=r[l]||(r[l]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(a=>{const{provider:l,prefix:u,name:d}=a,f=T(l,u),m=f.pendingIcons||(f.pendingIcons=new Set);m.has(d)||(m.add(d),r[l][u].push(d))}),s.forEach(a=>{const{provider:l,prefix:u}=a;r[l][u].length&&Bn(a,r[l][u])}),t?Tn(t,o,s):Me},Nn=e=>new Promise((t,n)=>{const o=typeof e=="string"?D(e,!0):e;if(!o){n(e);return}je([o||e],r=>{if(r.length&&o){const s=H(o);if(s){t({...U,...s});return}}n(e)})});function lt(e,t){const n={...e};for(const o in t){const r=t[o],s=typeof r;o in Ke?(r===null||r&&(s==="string"||s==="number"))&&(n[o]=r):s===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const ie={...We,inline:!1},fe="iconify",ve="iconify-inline",P="iconifyData"+Date.now();let O=[];function q(e){for(let t=0;t<O.length;t++){const n=O[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function ut(e,t=!1){let n=q(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},O.push(n),n)}function Rn(){if(document.documentElement)return ut(document.documentElement);O.push({node:()=>document.documentElement})}function Fn(e){O=O.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function Q(){return O}function Vn(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let V=null;const zn={childList:!0,subtree:!0,attributes:!0};function ft(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,V&&V(e)}))}function $n(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const r=t[o];if(r.addedNodes&&r.addedNodes.length>0||r.type==="attributes"&&r.target[P]!==void 0){n.paused||ft(e);return}}}function dt(e,t){e.observer.instance.observe(t,zn)}function ne(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||!window||(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver($n.bind(null,e)),dt(e,n),t.paused||ft(e))}function Ne(){Q().forEach(ne)}function pt(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function Un(e){const t=V!==null;if(V!==e&&(V=e,t&&Q().forEach(pt)),t){Ne();return}Vn(Ne)}function xe(e){(e?[e]:Q()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function Hn(e){if(e){const t=q(e);t&&xe(t)}else xe()}function we(e){(e?[e]:Q()).forEach(t=>{if(!t.observer){ne(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const o=typeof t.node=="function"?t.node():t.node;if(o)n.instance?dt(t,o):ne(t);else return}})}function qn(e){if(e){const t=q(e);t&&we(t)}else we()}function ht(e,t=!1){const n=ut(e,t);return ne(n),n}function mt(e){const t=q(e);t&&(pt(t),Fn(e))}function Qn(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,o=t.customisations;for(const r in ie)if(n[r]!==o[r])return!0;return!1}function Gn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/r,s%1===0?o(s):0)}}return t}const Kn=/[\s,]+/;function Wn(e,t){t.split(Kn).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Jn=["width","height"],Xn=["inline","hFlip","vFlip"];function Yn(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function Zn(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&D(t,!0);if(!n)return null;const o={...ie,inline:e.classList&&e.classList.contains(ve)};Jn.forEach(c=>{const a=e.getAttribute("data-"+c);a&&(o[c]=a)});const r=e.getAttribute("data-rotate");typeof r=="string"&&(o.rotate=Gn(r));const s=e.getAttribute("data-flip");typeof s=="string"&&Wn(o,s),Xn.forEach(c=>{const a="data-"+c,l=Yn(e.getAttribute(a),a);typeof l=="boolean"&&(o[c]=l)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:o,mode:i}}const eo="svg."+fe+", i."+fe+", span."+fe+", i."+ve+", span."+ve;function to(e){const t=[];return e.querySelectorAll(eo).forEach(n=>{const o=n[P]||n.tagName.toLowerCase()!=="svg"?Zn(n):null;o&&t.push({node:n,props:o})}),t}function gt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let z;function no(){try{z=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{z=null}}function oo(e){return z===void 0&&no(),z?z.createHTML(e):e}function bt(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function yt(e,t,n,o){const r=e.classList;if(o){const i=o.classList;Array.from(i).forEach(c=>{r.add(c)})}const s=[];return t.forEach(i=>{r.contains(i)?n.has(i)&&s.push(i):(r.add(i),s.push(i))}),n.forEach(i=>{t.has(i)||r.remove(i)}),s}function vt(e,t,n){const o=e.style;(n||[]).forEach(s=>{o.removeProperty(s)});const r=[];for(const s in t)o.getPropertyValue(s)||(r.push(s),o.setProperty(s,t[s]));return r}function xt(e,t,n){let o;try{o=document.createElement("span")}catch{return e}const r=t.customisations,s=oe(n,r),i=e[P],c=gt(Je(s.body),{"aria-hidden":"true",role:"img",...s.attributes});o.innerHTML=oo(c);const a=o.childNodes[0],l=e.attributes;for(let b=0;b<l.length;b++){const y=l.item(b),k=y.name;k!=="class"&&!a.hasAttribute(k)&&a.setAttribute(k,y.value)}const u=bt(t.icon),d=yt(a,u,new Set(i&&i.addedClasses),e),f=vt(a,r.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),m={...t,status:"loaded",addedClasses:d,addedStyles:f};return a[P]=m,e.parentNode&&e.parentNode.replaceChild(a,e),a}function ro(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function so(e){return"data:image/svg+xml,"+ro(e)}function io(e){return'url("'+so(e)+'")'}const co={display:"inline-block"},Se={"background-color":"currentColor"},wt={"background-color":"transparent"},Re={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Fe={"-webkit-mask":Se,mask:Se,background:wt};for(const e in Fe){const t=Fe[e];for(const n in Re)t[e+"-"+n]=Re[n]}function Ve(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function ao(e,t,n,o){const r=t.customisations,s=oe(n,r),i=s.attributes,c=e[P],a=gt(s.body,{...i,width:n.width+"",height:n.height+""}),l=bt(t.icon),u=yt(e,l,new Set(c&&c.addedClasses)),f={"--svg":io(a),width:Ve(i.width),height:Ve(i.height),...co,...o?Se:wt};r.inline&&(f["vertical-align"]="-0.125em");const m=vt(e,f,c&&c.addedStyles),b={...t,status:"loaded",addedClasses:u,addedStyles:m};return e[P]=b,e}let K=!1;function lo(){K||(K=!0,setTimeout(()=>{K&&(K=!1,L())}))}function L(e,t=!1){const n=Object.create(null);function o(r,s){const{provider:i,prefix:c,name:a}=r,l=T(i,c),u=l.icons[a];if(u)return{status:"loaded",icon:u};if(l.missing.has(a))return{status:"missing"};if(s&&!Mn(r)){const d=n[i]||(n[i]=Object.create(null));(d[c]||(d[c]=new Set)).add(a)}return{status:"loading"}}(e?[e]:Q()).forEach(r=>{const s=typeof r.node=="function"?r.node():r.node;if(!s||!s.querySelectorAll)return;let i=!1,c=!1;function a(l,u,d){if(c||(c=!0,xe(r)),l.tagName.toUpperCase()!=="SVG"){const f=u.mode,m=f==="mask"||(f==="bg"?!1:f==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof m=="boolean"){ao(l,u,{...U,...d},m);return}}xt(l,u,d)}to(s).forEach(({node:l,props:u})=>{const d=l[P];if(!d){const{status:m,icon:b}=o(u.icon,!0);if(b){a(l,u,b);return}i=i||m==="loading",l[P]={...u,status:m};return}let f;if(Qn(d,u)){if(f=o(u.icon,d.name!==u.name),!f.icon){i=i||f.status==="loading",Object.assign(d,{...u,status:f.status});return}}else{if(d.status!=="loading")return;if(f=o(u.icon,!1),!f.icon){d.status=f.status;return}}a(l,u,f.icon)}),r.temporary&&!i?mt(s):t&&i?ht(s,!0):c&&r.observer&&we(r)});for(const r in n){const s=n[r];for(const i in s){const c=s[i];je(Array.from(c).map(a=>({provider:r,prefix:i,name:a})),lo)}}}function uo(e){const t=q(e);t?L(t):L({node:e,temporary:!0},!0)}function St(e,t,n=!1){const o=H(e);if(!o)return null;const r=D(e),s=lt(ie,t||{}),i=xt(document.createElement("span"),{name:e,icon:r,customisations:s},o);return n?i.outerHTML:i}function fo(){return"3.1.1"}function po(e,t){return St(e,t,!1)}function ho(e,t){return St(e,t,!0)}function mo(e,t){const n=H(e);if(!n)return null;const o=lt(ie,t||{});return oe(n,o)}function go(e){e?uo(e):L()}if(typeof document<"u"&&typeof window<"u"){Rn();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Ge(o))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{Un(L),L()})}function bo(e,t){ot(e,t!==!1)}function yo(e){ot(e,!0)}rt("",In);if(typeof document<"u"&&typeof window<"u"){nt();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;st(n,r)||console.error(o)}catch{console.error(o)}}}}const vo={getAPIConfig:se,setAPIModule:rt,sendAPIQuery:at,setFetch:gn,getFetch:bn,listAPIProviders:hn},xo={_api:vo,addAPIProvider:st,loadIcons:je,loadIcon:Nn,iconExists:on,getIcon:rn,listIcons:en,addIcon:nn,addCollection:Ge,replaceIDs:Je,calculateSize:pe,buildIcon:oe,getVersion:fo,renderSVG:po,renderHTML:ho,renderIcon:mo,scan:go,observe:ht,stopObserving:mt,pauseObserver:Hn,resumeObserver:qn,enableCache:bo,disableCache:yo};try{self.Iconify===void 0&&(self.Iconify=xo)}catch{}const wo=e=>{const t={};let n=null;return _.forEachBlockletSync(e,o=>{t[o.meta.bundleDid]?n=_.getDisplayName(o,!0):o.meta.bundleDid&&(t[o.meta.bundleDid]=!0)}),n},So=(e,t,n)=>{var s;const{hostname:o,href:r}=e;if(!t)return r;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(o);if(!c)return r;const a=c[0],u=((((s=t.site)==null?void 0:s.domainAliases)||[]).map(d=>d.value).filter(Boolean).find(d=>d.endsWith(R.DEFAULT_DID_DOMAIN))||"").replace(`.${R.DEFAULT_DID_DOMAIN}`,"");return u?r.replace(o,`${u}-${a}.${R.DEFAULT_IP_DOMAIN_SUFFIX}`):r}return r.replace(t.meta.bundleDid,t.appPid)};function It(){const{t:e}=ze(),{api:t}=kt(),{blocklet:n}=zt(),{inService:o}=Ct(),[r,s]=x.useState(!1),[i,c]=x.useState(5),a=n&&n.structVersion!==R.APP_STRUCT_VERSION,l=()=>{try{if(n.status==="running"){W.error(e("blocklet.migrate.tip.running"));return}const f=wo(n);if(f){W.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}s(!0)}catch(f){W.error(He(f))}},u=()=>{const f=So(window.location,n,o);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(m=>m-1)},1e3)},d=()=>s(!1);return[a&&p.jsxs($e,{severity:"warning",style:{margin:"12px 0"},children:[p.jsxs(Y,{display:"flex",alignItems:"center",children:[p.jsx(Ue,{variant:"contained",size:"small",color:"primary",onClick:()=>l(),style:{marginRight:8},children:e("blocklet.migrate.intro.l1")}),p.jsx("span",{children:e("blocklet.migrate.intro.l2")})]}),["l3","l4","l5","l6"].map(f=>p.jsx(Y,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&p.jsx(Et,{popup:!0,open:r,saveConnect:!1,forceConnected:!1,action:"migrate-app-to-struct-v2",checkFn:t.get,checkTimeout:5*60*1e3,onSuccess:u,extraParams:{appDid:n.appDid,did:n.meta.did,wt:Tt(n,!0),title:_.getDisplayName(n)},messages:{title:e("blocklet.migrate.title"),scan:e("blocklet.migrate.scan"),confirm:e("blocklet.migrate.confirm"),success:i>=0?e("blocklet.migrate.success",{sec:i}):"Redirecting..."},onClose:d},"connect")]}It.propTypes={};const Io=x.lazy(()=>C(()=>import("./overview-_Rxbv1NB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url)),ko=x.lazy(()=>C(()=>import("./index-DBjm0dlo.js"),__vite__mapDeps([25,1,2,26,27,28,29,30,31,32,18,19,20,33,34,10,35,7,36,37,38,39,40,41,42,5,43,44,8,45,14,46,47,48,49,50,51,6,52,53,54,3,55,56,57,22,58,59,4,60,61]),import.meta.url)),Co=x.lazy(()=>C(()=>import("./config-navigation-BKucf5SM.js"),__vite__mapDeps([62,1,2,52,53,63,38,49,50,51,7,31,32,6,8,46,64,65,19,20,18,35,44,5,66,40,67,10,37,68,21,22]),import.meta.url)),Eo=x.lazy(()=>C(()=>import("./audit-logs-CGjF68d3.js"),__vite__mapDeps([69,1,2,70,71,14,50,19,20,72,58]),import.meta.url)),To=x.lazy(()=>C(()=>import("./index-BKhW6tEi.js"),__vite__mapDeps([73,1,2,9,74,10,31,32,29,13,75,59,18,19,20,44,5,8,76,14,77,38,78,79,66,80]),import.meta.url)),jo=x.lazy(()=>C(()=>import("./index-De9X8iTH.js").then(e=>e.i),__vite__mapDeps([81,1,2,33,9,39,82,75,59,18,19,20,56,57,22,7,58,52,53,14,51,67,10,83,84,35,85,45,77,38,79,8,44,5,43,4,86,23,24,87]),import.meta.url)),_o=x.lazy(()=>C(()=>import("./service-VyIQYaE6.js"),__vite__mapDeps([88,1,2,89,57,22,19,7,20,18,58,63,59,49,50,51,31,32,6,8,90,48,34,91,53,68,66,35,92,9,30]),import.meta.url)),Po=x.lazy(()=>C(()=>import("./index-DxgXNSd2.js"),__vite__mapDeps([93,1,2,9,27,28,29,30,31,32,18,19,20,33,94,70,71,95,14,49,50,51,7,6,8,54,45,5,48,35,89,57,22,58,63,59,90,34,91,53,68,66,92,43,96,97,78,79,98,47,99,100,87,101,102,103,104,105,106,17,76,107,108,77,38,64,4,109,11,12,110,84,74,10,13,36,23,24,44]),import.meta.url)),Ao=x.lazy(()=>C(()=>import("./log-C240GbUG.js"),__vite__mapDeps([111,1,2,50,112,31,32,19,113]),import.meta.url)),Oo=x.lazy(()=>C(()=>import("./runtime-5oxnTidw.js"),__vite__mapDeps([114,1,2,56,57,22,19,7,20,18,58,52,53,59,14,51,5,115,116,36]),import.meta.url)),Lo=x.lazy(()=>C(()=>import("./traffic-CNgUOmfv.js"),__vite__mapDeps([117,1,2,26,90,34,19,116,22,18,20,66]),import.meta.url)),Do=x.lazy(()=>C(()=>import("./index-DUXbXc9f.js"),__vite__mapDeps([118,1,2,74,10,31,32,5,17,110,84,106,18,19,20,4,54,45,24,99,91,41,56,57,22,7,58,52,53,59,14,51]),import.meta.url)),Bo=({children:e})=>e;function Mo(){var h,I;const e=jt(),{tab:t="overview"}=qe(),{did:n,blocklet:o,error:r,client:s,actions:{setBlocklet:i,refreshBlocklet:c}}=Ut(),{refresh:a}=_t(),{t:l}=ze(),u=x.useCallback(()=>p.jsx(Eo,{scope:n}),[n]),d=((h=o==null?void 0:o.environments.find(g=>g.key==="BLOCKLET_APP_URL"))==null?void 0:h.value)||window.location.origin,f=g=>Bt(g,d),m=g=>{e(`/blocklets/${n}/${g}`)},b=g=>{g&&i(g),c()},y=!o||ce(o.status)?[]:_.getAppMissingConfigs(o);let k=null;const v=[{label:l("common.overview"),value:"overview"},{breadcrumbsLabel:l("common.components"),label:p.jsx(Pt,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!y.length,children:l("common.components")}),value:"components"}];if(r)k=p.jsxs(p.Fragment,{children:[p.jsx($e,{severity:"error",variant:"icon",children:He(r)}),p.jsx(Ue,{onClick:()=>c(),children:p.jsx("span",{style:{textDecoration:"underline"},children:l("common.retry")})})]});else if(o){const g={overview:p.jsx(Io,{}),configuration:ko,navigation:Co,services:_o,members:p.jsx(jo,{type:"blocklet",createPassportSvg:f}),passports:To,components:Po,"audit-logs":u,logs:Ao,runtime:p.jsx(Oo,{}),traffic:p.jsx(Lo,{client:s,did:n}),storage:p.jsx(Do,{})};t==="configuration"&&ce(o.status)&&m("overview"),ce(o.status)||(v.push({label:l("common.members"),value:"members"}),v.push({label:l("common.passport"),value:"passports"}),v.push({label:l("common.configuration"),value:"configuration"})),v.push({label:l("common.auditLogs"),value:"audit-logs"}),o&&((I=o.children)!=null&&I.length)&&o.structVersion===R.APP_STRUCT_VERSION&&v.push({label:l("common.logs"),value:"logs"}),v.push({label:l("common.configNavigation"),value:"navigation"}),v.push({label:l("common.runtime"),value:"runtime"}),v.push({label:l("common.traffic"),value:"traffic"}),v.push({label:l("common.storage"),value:"storage"}),_.getBlockletServices(o).length&&v.splice(2,0,{label:l("blocklet.services"),value:"services"});const E=g[t]||g.overview;k=p.jsxs(Rt,{type:"components",children:[!_.isExternalBlocklet(o)&&p.jsx(Mt,{tabs:v,current:t,onChange:m,scrollButtons:"auto"}),p.jsx("div",{className:"page-content",children:p.jsx(x.Suspense,{fallback:p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})}),children:x.isValidElement(E)?E:p.jsx(E,{blocklet:o,onUpdate:b,createPassportSvg:f})})})]})}else k=p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})});const w=()=>{},S=({action:g,error:j})=>{if(j){W.error(j.message);return}g==="remove"?(a(),e("/blocklets")):c()},B=v.find(g=>g.value===t),M=o?Ht:Bo;return p.jsx(M,{teamDid:n,children:p.jsxs(No,{children:[p.jsxs(qt,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[p.jsx(At,{color:"textSecondary",to:"/blocklets",children:l("common.blocklets")}),p.jsx(Ot,{to:`/blocklets/${n}/overview`,style:g=>g?{color:"inherit"}:{},children:l("common.detail")}),p.jsx(ae,{color:"textSecondary",children:B?B.breadcrumbsLabel||B.label:""})]}),p.jsxs(ae,{component:"div",className:"page-header",children:[p.jsxs(ae,{component:"h2",variant:"h4",className:"page-title",color:"textPrimary",children:[o?p.jsx(Vt,{blocklet:o,style:{marginRight:16}}):null,o?p.jsxs(Y,{display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,children:[p.jsx(Y,{children:_.getDisplayName(o)}),(o==null?void 0:o.status)!=="unknown"&&p.jsx(Nt,{size:"12px",status:o.status,source:o.source,progress:o.progress})]}):`${l("common.blocklet")} ${l("common.detail")}`]}),p.jsx(Lt,{permission:"mutate_blocklets",children:!!o&&!_.isExternalBlocklet(o)&&p.jsx(Ft,{className:"page-actions",blocklet:o,onStart:w,onComplete:S,variant:"group"})})]}),p.jsx(It,{}),k]})})}function Yo(){const{did:e}=qe();return e?p.jsx($t,{did:e,children:p.jsx(Mo,{})}):null}const No=Dt.main`
12
+ */const Qe=Object.freeze({left:0,top:0,width:16,height:16}),Z=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),U=Object.freeze({...Qe,...Z}),de=Object.freeze({...U,body:"",hidden:!1});function Qt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Ae(e,t){const n=Qt(e,t);for(const o in de)o in Z?o in e&&!(o in n)&&(n[o]=Z[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function Gt(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function s(i){if(n[i])return r[i]=[];if(!(i in r)){r[i]=null;const c=o[i]&&o[i].parent,a=c&&s(c);a&&(r[i]=[c].concat(a))}return r[i]}return Object.keys(n).concat(Object.keys(o)).forEach(s),r}function Kt(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let s={};function i(c){s=Ae(o[c]||r[c],s)}return i(t),n.forEach(i),Ae(e,s)}function Wt(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=Gt(e);for(const r in o){const s=o[r];s&&(t(r,Kt(e,r,s)),n.push(r))}return n}const F=/^[a-z0-9]+(-[a-z0-9]+)*$/,D=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const c=r.pop(),a=r.pop(),l={provider:r.length>0?r[0]:o,prefix:a,name:c};return t&&!J(l)?null:l}const s=r[0],i=s.split("-");if(i.length>1){const c={provider:o,prefix:i.shift(),name:i.join("-")};return t&&!J(c)?null:c}if(n&&o===""){const c={provider:o,prefix:"",name:s};return t&&!J(c,n)?null:c}return null},J=(e,t)=>e?!!((e.provider===""||e.provider.match(F))&&(t&&e.prefix===""||e.prefix.match(F))&&e.name.match(F)):!1,Jt={provider:"",aliases:{},not_found:{},...Qe};function le(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Xt(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!le(e,Jt))return null;const n=t.icons;for(const r in n){const s=n[r];if(!r.match(F)||typeof s.body!="string"||!le(s,de))return null}const o=t.aliases||Object.create(null);for(const r in o){const s=o[r],i=s.parent;if(!r.match(F)||typeof i!="string"||!n[i]&&!o[i]||!le(s,de))return null}return t}const ee=Object.create(null);function Yt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function T(e,t){const n=ee[e]||(ee[e]=Object.create(null));return n[t]||(n[t]=Yt(e,t))}function Ie(e,t){return Xt(t)?Wt(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function Zt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function en(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(ee)).forEach(r=>{(typeof r=="string"&&typeof t=="string"?[t]:Object.keys(ee[r]||{})).forEach(i=>{const c=T(r,i);n=n.concat(Object.keys(c.icons).map(a=>(r!==""?"@"+r+":":"")+i+":"+a))})}),n}let ke=!1;function tn(e){return ke}function H(e){const t=typeof e=="string"?D(e,!0,ke):e;if(t){const n=T(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function nn(e,t){const n=D(e,!0,ke);if(!n)return!1;const o=T(n.provider,n.prefix);return Zt(o,n.name,t)}function Ge(e,t){if(typeof e!="object")return!1;typeof t!="string"&&(t=e.provider||"");const n=e.prefix;if(!J({provider:t,prefix:n,name:"a"}))return!1;const o=T(t,n);return!!Ie(o,e)}function on(e){return!!H(e)}function rn(e){const t=H(e);return t?{...U,...t}:null}const Ke=Object.freeze({width:null,height:null}),We=Object.freeze({...Ke,...Z}),sn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,cn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function pe(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(sn);if(o===null||!o.length)return e;const r=[];let s=o.shift(),i=cn.test(s);for(;;){if(i){const c=parseFloat(s);isNaN(c)?r.push(s):r.push(Math.ceil(c*t*n)/n)}else r.push(s);if(s=o.shift(),s===void 0)return r.join("");i=!i}}const an=e=>e==="unset"||e==="undefined"||e==="none";function oe(e,t){const n={...U,...e},o={...We,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,o].forEach(b=>{const y=[],k=b.hFlip,v=b.vFlip;let w=b.rotate;k?v?w+=2:(y.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),y.push("scale(-1 1)"),r.top=r.left=0):v&&(y.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),y.push("scale(1 -1)"),r.top=r.left=0);let S;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:S=r.height/2+r.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:S=r.width/2+r.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}w%2===1&&(r.left!==r.top&&(S=r.left,r.left=r.top,r.top=S),r.width!==r.height&&(S=r.width,r.width=r.height,r.height=S)),y.length&&(s='<g transform="'+y.join(" ")+'">'+s+"</g>")});const i=o.width,c=o.height,a=r.width,l=r.height;let u,d;i===null?(d=c===null?"1em":c==="auto"?l:c,u=pe(d,a/l)):(u=i==="auto"?a:i,d=c===null?pe(u,l/a):c==="auto"?l:c);const f={},m=(b,y)=>{an(y)||(f[b]=y.toString())};return m("width",u),m("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+a.toString()+" "+l.toString(),{attributes:f,body:s}}const ln=/\sid="(\S+)"/g,un="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let fn=0;function Je(e,t=un){const n=[];let o;for(;o=ln.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(fn++).toString(),c=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const A={local:!0,session:!0},Xe={local:new Set,session:new Set};let Ce=!1;function dn(e){Ce=e}const Oe="iconify2",$="iconify",Ye=$+"-count",Le=$+"-version",Ze=36e5,pn=168;function he(e,t){try{return e.getItem(t)}catch{}}function Ee(e,t,n){try{return e.setItem(t,n),!0}catch{}}function De(e,t){try{e.removeItem(t)}catch{}}function me(e,t){return Ee(e,Ye,t.toString())}function ge(e){return parseInt(he(e,Ye))||0}let G=typeof window>"u"?{}:window;function et(e){const t=e+"Storage";try{if(G&&G[t]&&typeof G[t].length=="number")return G[t]}catch{}A[e]=!1}function tt(e,t){const n=et(e);if(!n)return;const o=he(n,Le);if(o!==Oe){if(o){const c=ge(n);for(let a=0;a<c;a++)De(n,$+a.toString())}Ee(n,Le,Oe),me(n,0);return}const r=Math.floor(Date.now()/Ze)-pn,s=c=>{const a=$+c.toString(),l=he(n,a);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,c))return!0}catch{}De(n,a)}};let i=ge(n);for(let c=i-1;c>=0;c--)s(c)||(c===i-1?(i--,me(n,i)):Xe[e].add(c))}function nt(){if(!Ce){dn(!0);for(const e in A)tt(e,t=>{const n=t.data,o=t.provider,r=n.prefix,s=T(o,r);if(!Ie(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function ot(e,t){switch(e){case"local":case"session":A[e]=t;break;case"all":for(const n in A)A[n]=t;break}}const be=Object.create(null);function rt(e,t){be[e]=t}function ye(e){return be[e]||be[""]}function Te(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const re=Object.create(null),N=["https://api.simplesvg.com","https://api.unisvg.com"],X=[];for(;N.length>0;)N.length===1||Math.random()>.5?X.push(N.shift()):X.push(N.pop());re[""]=Te({resources:["https://api.iconify.design"].concat(X)});function st(e,t){const n=Te(t);return n===null?!1:(re[e]=n,!0)}function se(e){return re[e]}function hn(){return Object.keys(re)}const mn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let te=mn();function gn(e){te=e}function bn(){return te}function yn(e,t){const n=se(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(i=>{r=Math.max(r,i.length)});const s=t+".json?icons=";o=n.maxURL-r-n.path.length-s.length}return o}function vn(e){return e===404}const xn=(e,t,n)=>{const o=[],r=yn(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((a,l)=>{c+=a.length+1,c>=r&&l>0&&(o.push(i),i={type:s,provider:e,prefix:t,icons:[]},c=a.length),i.icons.push(a)}),o.push(i),o};function wn(e){if(typeof e=="string"){const t=se(e);if(t)return t.path}return"/"}const Sn=(e,t,n)=>{if(!te){n("abort",424);return}let o=wn(t.provider);switch(t.type){case"icons":{const s=t.prefix,c=t.icons.join(","),a=new URLSearchParams({icons:c});o+=s+".json?"+a.toString();break}case"custom":{const s=t.uri;o+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let r=503;te(e+o).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(vn(i)?"abort":"next",i)});return}return r=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",r)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",r)})},In={prepare:xn,send:Sn};function kn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,s)=>r.provider!==s.provider?r.provider.localeCompare(s.provider):r.prefix!==s.prefix?r.prefix.localeCompare(s.prefix):r.name.localeCompare(s.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const s=r.provider,i=r.prefix,c=r.name,a=n[s]||(n[s]=Object.create(null)),l=a[i]||(a[i]=T(s,i));let u;c in l.icons?u=t.loaded:i===""||l.missing.has(c)?u=t.missing:u=t.pending;const d={provider:s,prefix:i,name:c};u.push(d)}),t}function it(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function Cn(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(s=>{const i=s.icons,c=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==r)return!0;const l=a.name;if(e.icons[l])i.loaded.push({provider:o,prefix:r,name:l});else if(e.missing.has(l))i.missing.push({provider:o,prefix:r,name:l});else return n=!0,!0;return!1}),i.pending.length!==c&&(n||it([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let En=0;function Tn(e,t,n){const o=En++,r=it.bind(null,n,o);if(!t.pending.length)return r;const s={id:o,icons:t,callback:e,abort:r};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),r}function jn(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const s=typeof r=="string"?D(r,t,n):r;s&&o.push(s)}),o}var _n={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pn(e,t,n,o){const r=e.resources.length,s=e.random?Math.floor(Math.random()*r):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const I=Math.floor(Math.random()*h.length);i.push(h[I]),h=h.slice(0,I).concat(h.slice(I+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let a="pending",l=0,u,d=null,f=[],m=[];typeof o=="function"&&m.push(o);function b(){d&&(clearTimeout(d),d=null)}function y(){a==="pending"&&(a="aborted"),b(),f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function k(h,I){I&&(m=[]),typeof h=="function"&&m.push(h)}function v(){return{startTime:c,payload:t,status:a,queriesSent:l,queriesPending:f.length,subscribe:k,abort:y}}function w(){a="failed",m.forEach(h=>{h(void 0,u)})}function S(){f.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),f=[]}function B(h,I,g){const j=I!=="success";switch(f=f.filter(E=>E!==h),a){case"pending":break;case"failed":if(j||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=g,w();return}if(j){u=g,f.length||(i.length?M():w());return}if(b(),S(),!e.random){const E=e.resources.indexOf(h.resource);E!==-1&&E!==e.index&&(e.index=E)}a="completed",m.forEach(E=>{E(g)})}function M(){if(a!=="pending")return;b();const h=i.shift();if(h===void 0){if(f.length){d=setTimeout(()=>{b(),a==="pending"&&(S(),w())},e.timeout);return}w();return}const I={status:"pending",resource:h,callback:(g,j)=>{B(I,g,j)}};f.push(I),l++,d=setTimeout(M,e.rotate),n(h,t,I.callback)}return setTimeout(M),v}function ct(e){const t={..._n,...e};let n=[];function o(){n=n.filter(c=>c().status==="pending")}function r(c,a,l){const u=Pn(t,c,a,(d,f)=>{o(),l&&l(d,f)});return n.push(u),u}function s(c){return n.find(a=>c(a))||null}return{query:r,find:s,setIndex:c=>{t.index=c},getIndex:()=>t.index,cleanup:o}}function Be(){}const ue=Object.create(null);function An(e){if(!ue[e]){const t=se(e);if(!t)return;const n=ct(t),o={config:t,redundancy:n};ue[e]=o}return ue[e]}function at(e,t,n){let o,r;if(typeof e=="string"){const s=ye(e);if(!s)return n(void 0,424),Be;r=s.send;const i=An(e);i&&(o=i.redundancy)}else{const s=Te(e);if(s){o=ct(s);const i=e.resources?e.resources[0]:"",c=ye(i);c&&(r=c.send)}}return!o||!r?(n(void 0,424),Be):o.query(t,r,n)().abort}function On(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in A)tt(o,r=>{const s=r.data;return r.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Ln(e,t){Ce||nt();function n(o){let r;if(!A[o]||!(r=et(o)))return;const s=Xe[o];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=ge(r),!me(r,i+1))return;const c={cached:Math.floor(Date.now()/Ze),provider:e.provider,data:t};return Ee(r,$+i.toString(),JSON.stringify(c))}t.lastModified&&!On(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Me(){}function Dn(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Cn(e)}))}function Bn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let s;if(!r||!(s=ye(n)))return;s.prepare(n,o,r).forEach(c=>{at(n,c,a=>{if(typeof a!="object")c.icons.forEach(l=>{e.missing.add(l)});else try{const l=Ie(e,a);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),Ln(e,a)}catch(l){console.error(l)}Dn(e)})})}))}const Mn=e=>{const n=T(e.provider,e.prefix).pendingIcons;return!!(n&&n.has(e.name))},je=(e,t)=>{const n=jn(e,!0,tn()),o=kn(n);if(!o.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(o.loaded,o.missing,o.pending,Me)}),()=>{a=!1}}const r=Object.create(null),s=[];let i,c;return o.pending.forEach(a=>{const{provider:l,prefix:u}=a;if(u===c&&l===i)return;i=l,c=u,s.push(T(l,u));const d=r[l]||(r[l]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(a=>{const{provider:l,prefix:u,name:d}=a,f=T(l,u),m=f.pendingIcons||(f.pendingIcons=new Set);m.has(d)||(m.add(d),r[l][u].push(d))}),s.forEach(a=>{const{provider:l,prefix:u}=a;r[l][u].length&&Bn(a,r[l][u])}),t?Tn(t,o,s):Me},Nn=e=>new Promise((t,n)=>{const o=typeof e=="string"?D(e,!0):e;if(!o){n(e);return}je([o||e],r=>{if(r.length&&o){const s=H(o);if(s){t({...U,...s});return}}n(e)})});function lt(e,t){const n={...e};for(const o in t){const r=t[o],s=typeof r;o in Ke?(r===null||r&&(s==="string"||s==="number"))&&(n[o]=r):s===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const ie={...We,inline:!1},fe="iconify",ve="iconify-inline",P="iconifyData"+Date.now();let O=[];function q(e){for(let t=0;t<O.length;t++){const n=O[t];if((typeof n.node=="function"?n.node():n.node)===e)return n}}function ut(e,t=!1){let n=q(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},O.push(n),n)}function Rn(){if(document.documentElement)return ut(document.documentElement);O.push({node:()=>document.documentElement})}function Fn(e){O=O.filter(t=>e!==t&&e!==(typeof t.node=="function"?t.node():t.node))}function Q(){return O}function Vn(e){const t=document;t.readyState&&t.readyState!=="loading"?e():t.addEventListener("DOMContentLoaded",e)}let V=null;const zn={childList:!0,subtree:!0,attributes:!0};function ft(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout(()=>{delete t.pendingScan,V&&V(e)}))}function $n(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const r=t[o];if(r.addedNodes&&r.addedNodes.length>0||r.type==="attributes"&&r.target[P]!==void 0){n.paused||ft(e);return}}}function dt(e,t){e.observer.instance.observe(t,zn)}function ne(e){let t=e.observer;if(t&&t.instance)return;const n=typeof e.node=="function"?e.node():e.node;!n||!window||(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver($n.bind(null,e)),dt(e,n),t.paused||ft(e))}function Ne(){Q().forEach(ne)}function pt(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function Un(e){const t=V!==null;if(V!==e&&(V=e,t&&Q().forEach(pt)),t){Ne();return}Vn(Ne)}function xe(e){(e?[e]:Q()).forEach(t=>{if(!t.observer){t.observer={paused:1};return}const n=t.observer;if(n.paused++,n.paused>1||!n.instance)return;n.instance.disconnect()})}function Hn(e){if(e){const t=q(e);t&&xe(t)}else xe()}function we(e){(e?[e]:Q()).forEach(t=>{if(!t.observer){ne(t);return}const n=t.observer;if(n.paused&&(n.paused--,!n.paused)){const o=typeof t.node=="function"?t.node():t.node;if(o)n.instance?dt(t,o):ne(t);else return}})}function qn(e){if(e){const t=q(e);t&&we(t)}else we()}function ht(e,t=!1){const n=ut(e,t);return ne(n),n}function mt(e){const t=q(e);t&&(pt(t),Fn(e))}function Qn(e,t){if(e.name!==t.name||e.mode!==t.mode)return!0;const n=e.customisations,o=t.customisations;for(const r in ie)if(n[r]!==o[r])return!0;return!1}function Gn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/r,s%1===0?o(s):0)}}return t}const Kn=/[\s,]+/;function Wn(e,t){t.split(Kn).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Jn=["width","height"],Xn=["inline","hFlip","vFlip"];function Yn(e,t){return e===t||e==="true"?!0:e===""||e==="false"?!1:null}function Zn(e){const t=e.getAttribute("data-icon"),n=typeof t=="string"&&D(t,!0);if(!n)return null;const o={...ie,inline:e.classList&&e.classList.contains(ve)};Jn.forEach(c=>{const a=e.getAttribute("data-"+c);a&&(o[c]=a)});const r=e.getAttribute("data-rotate");typeof r=="string"&&(o.rotate=Gn(r));const s=e.getAttribute("data-flip");typeof s=="string"&&Wn(o,s),Xn.forEach(c=>{const a="data-"+c,l=Yn(e.getAttribute(a),a);typeof l=="boolean"&&(o[c]=l)});const i=e.getAttribute("data-mode");return{name:t,icon:n,customisations:o,mode:i}}const eo="svg."+fe+", i."+fe+", span."+fe+", i."+ve+", span."+ve;function to(e){const t=[];return e.querySelectorAll(eo).forEach(n=>{const o=n[P]||n.tagName.toLowerCase()!=="svg"?Zn(n):null;o&&t.push({node:n,props:o})}),t}function gt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}let z;function no(){try{z=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{z=null}}function oo(e){return z===void 0&&no(),z?z.createHTML(e):e}function bt(e){const t=new Set(["iconify"]);return["provider","prefix"].forEach(n=>{e[n]&&t.add("iconify--"+e[n])}),t}function yt(e,t,n,o){const r=e.classList;if(o){const i=o.classList;Array.from(i).forEach(c=>{r.add(c)})}const s=[];return t.forEach(i=>{r.contains(i)?n.has(i)&&s.push(i):(r.add(i),s.push(i))}),n.forEach(i=>{t.has(i)||r.remove(i)}),s}function vt(e,t,n){const o=e.style;(n||[]).forEach(s=>{o.removeProperty(s)});const r=[];for(const s in t)o.getPropertyValue(s)||(r.push(s),o.setProperty(s,t[s]));return r}function xt(e,t,n){let o;try{o=document.createElement("span")}catch{return e}const r=t.customisations,s=oe(n,r),i=e[P],c=gt(Je(s.body),{"aria-hidden":"true",role:"img",...s.attributes});o.innerHTML=oo(c);const a=o.childNodes[0],l=e.attributes;for(let b=0;b<l.length;b++){const y=l.item(b),k=y.name;k!=="class"&&!a.hasAttribute(k)&&a.setAttribute(k,y.value)}const u=bt(t.icon),d=yt(a,u,new Set(i&&i.addedClasses),e),f=vt(a,r.inline?{"vertical-align":"-0.125em"}:{},i&&i.addedStyles),m={...t,status:"loaded",addedClasses:d,addedStyles:f};return a[P]=m,e.parentNode&&e.parentNode.replaceChild(a,e),a}function ro(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function so(e){return"data:image/svg+xml,"+ro(e)}function io(e){return'url("'+so(e)+'")'}const co={display:"inline-block"},Se={"background-color":"currentColor"},wt={"background-color":"transparent"},Re={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Fe={"-webkit-mask":Se,mask:Se,background:wt};for(const e in Fe){const t=Fe[e];for(const n in Re)t[e+"-"+n]=Re[n]}function Ve(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}function ao(e,t,n,o){const r=t.customisations,s=oe(n,r),i=s.attributes,c=e[P],a=gt(s.body,{...i,width:n.width+"",height:n.height+""}),l=bt(t.icon),u=yt(e,l,new Set(c&&c.addedClasses)),f={"--svg":io(a),width:Ve(i.width),height:Ve(i.height),...co,...o?Se:wt};r.inline&&(f["vertical-align"]="-0.125em");const m=vt(e,f,c&&c.addedStyles),b={...t,status:"loaded",addedClasses:u,addedStyles:m};return e[P]=b,e}let K=!1;function lo(){K||(K=!0,setTimeout(()=>{K&&(K=!1,L())}))}function L(e,t=!1){const n=Object.create(null);function o(r,s){const{provider:i,prefix:c,name:a}=r,l=T(i,c),u=l.icons[a];if(u)return{status:"loaded",icon:u};if(l.missing.has(a))return{status:"missing"};if(s&&!Mn(r)){const d=n[i]||(n[i]=Object.create(null));(d[c]||(d[c]=new Set)).add(a)}return{status:"loading"}}(e?[e]:Q()).forEach(r=>{const s=typeof r.node=="function"?r.node():r.node;if(!s||!s.querySelectorAll)return;let i=!1,c=!1;function a(l,u,d){if(c||(c=!0,xe(r)),l.tagName.toUpperCase()!=="SVG"){const f=u.mode,m=f==="mask"||(f==="bg"?!1:f==="style"?d.body.indexOf("currentColor")!==-1:null);if(typeof m=="boolean"){ao(l,u,{...U,...d},m);return}}xt(l,u,d)}to(s).forEach(({node:l,props:u})=>{const d=l[P];if(!d){const{status:m,icon:b}=o(u.icon,!0);if(b){a(l,u,b);return}i=i||m==="loading",l[P]={...u,status:m};return}let f;if(Qn(d,u)){if(f=o(u.icon,d.name!==u.name),!f.icon){i=i||f.status==="loading",Object.assign(d,{...u,status:f.status});return}}else{if(d.status!=="loading")return;if(f=o(u.icon,!1),!f.icon){d.status=f.status;return}}a(l,u,f.icon)}),r.temporary&&!i?mt(s):t&&i?ht(s,!0):c&&r.observer&&we(r)});for(const r in n){const s=n[r];for(const i in s){const c=s[i];je(Array.from(c).map(a=>({provider:r,prefix:i,name:a})),lo)}}}function uo(e){const t=q(e);t?L(t):L({node:e,temporary:!0},!0)}function St(e,t,n=!1){const o=H(e);if(!o)return null;const r=D(e),s=lt(ie,t||{}),i=xt(document.createElement("span"),{name:e,icon:r,customisations:s},o);return n?i.outerHTML:i}function fo(){return"3.1.1"}function po(e,t){return St(e,t,!1)}function ho(e,t){return St(e,t,!0)}function mo(e,t){const n=H(e);if(!n)return null;const o=lt(ie,t||{});return oe(n,o)}function go(e){e?uo(e):L()}if(typeof document<"u"&&typeof window<"u"){Rn();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Ge(o))&&console.error(n)}catch{console.error(n)}})}setTimeout(()=>{Un(L),L()})}function bo(e,t){ot(e,t!==!1)}function yo(e){ot(e,!0)}rt("",In);if(typeof document<"u"&&typeof window<"u"){nt();const e=window;if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(const n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;st(n,r)||console.error(o)}catch{console.error(o)}}}}const vo={getAPIConfig:se,setAPIModule:rt,sendAPIQuery:at,setFetch:gn,getFetch:bn,listAPIProviders:hn},xo={_api:vo,addAPIProvider:st,loadIcons:je,loadIcon:Nn,iconExists:on,getIcon:rn,listIcons:en,addIcon:nn,addCollection:Ge,replaceIDs:Je,calculateSize:pe,buildIcon:oe,getVersion:fo,renderSVG:po,renderHTML:ho,renderIcon:mo,scan:go,observe:ht,stopObserving:mt,pauseObserver:Hn,resumeObserver:qn,enableCache:bo,disableCache:yo};try{self.Iconify===void 0&&(self.Iconify=xo)}catch{}const wo=e=>{const t={};let n=null;return _.forEachBlockletSync(e,o=>{t[o.meta.bundleDid]?n=_.getDisplayName(o,!0):o.meta.bundleDid&&(t[o.meta.bundleDid]=!0)}),n},So=(e,t,n)=>{var s;const{hostname:o,href:r}=e;if(!t)return r;if(n){const c=/\d+[-.]\d+[-.]\d+[-.]\d+/.exec(o);if(!c)return r;const a=c[0],u=((((s=t.site)==null?void 0:s.domainAliases)||[]).map(d=>d.value).filter(Boolean).find(d=>d.endsWith(R.DEFAULT_DID_DOMAIN))||"").replace(`.${R.DEFAULT_DID_DOMAIN}`,"");return u?r.replace(o,`${u}-${a}.${R.DEFAULT_IP_DOMAIN_SUFFIX}`):r}return r.replace(t.meta.bundleDid,t.appPid)};function It(){const{t:e}=ze(),{api:t}=kt(),{blocklet:n}=zt(),{inService:o}=Ct(),[r,s]=x.useState(!1),[i,c]=x.useState(5),a=n&&n.structVersion!==R.APP_STRUCT_VERSION,l=()=>{try{if(n.status==="running"){W.error(e("blocklet.migrate.tip.running"));return}const f=wo(n);if(f){W.error(e("blocklet.migrate.tip.duplicate",{name:f}));return}s(!0)}catch(f){W.error(He(f))}},u=()=>{const f=So(window.location,n,o);setTimeout(()=>{window.location.href=f},5e3),c(5),setInterval(()=>{c(m=>m-1)},1e3)},d=()=>s(!1);return[a&&p.jsxs($e,{severity:"warning",style:{margin:"12px 0"},children:[p.jsxs(Y,{display:"flex",alignItems:"center",children:[p.jsx(Ue,{variant:"contained",size:"small",color:"primary",onClick:()=>l(),style:{marginRight:8},children:e("blocklet.migrate.intro.l1")}),p.jsx("span",{children:e("blocklet.migrate.intro.l2")})]}),["l3","l4","l5","l6"].map(f=>p.jsx(Y,{display:"flex",alignItems:"center",children:e(`blocklet.migrate.intro.${f}`)},f))]},"alert"),n&&p.jsx(Et,{popup:!0,open:r,saveConnect:!1,forceConnected:!1,action:"migrate-app-to-struct-v2",checkFn:t.get,checkTimeout:5*60*1e3,onSuccess:u,extraParams:{appDid:n.appDid,did:n.meta.did,wt:Tt(n,!0),title:_.getDisplayName(n)},messages:{title:e("blocklet.migrate.title"),scan:e("blocklet.migrate.scan"),confirm:e("blocklet.migrate.confirm"),success:i>=0?e("blocklet.migrate.success",{sec:i}):"Redirecting..."},onClose:d},"connect")]}It.propTypes={};const Io=x.lazy(()=>C(()=>import("./overview-D7vbgmTw.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url)),ko=x.lazy(()=>C(()=>import("./index-vCyUMIWI.js"),__vite__mapDeps([25,1,2,26,27,28,29,30,31,32,18,19,20,33,34,10,35,7,36,37,38,39,40,41,42,5,43,44,8,45,14,46,47,48,49,50,51,6,52,53,54,3,55,56,57,22,58,59,4,60,61]),import.meta.url)),Co=x.lazy(()=>C(()=>import("./config-navigation-DS08ePOc.js"),__vite__mapDeps([62,1,2,52,53,63,38,49,50,51,7,31,32,6,8,46,64,65,19,20,18,35,44,5,66,40,67,10,37,68,21,22]),import.meta.url)),Eo=x.lazy(()=>C(()=>import("./audit-logs-D4-Bez8p.js"),__vite__mapDeps([69,1,2,70,71,14,50,19,20,72,58]),import.meta.url)),To=x.lazy(()=>C(()=>import("./index-EKqCJff8.js"),__vite__mapDeps([73,1,2,9,74,10,31,32,29,13,75,59,18,19,20,44,5,8,76,14,77,38,78,79,66,80]),import.meta.url)),jo=x.lazy(()=>C(()=>import("./index-D53ihNsv.js").then(e=>e.i),__vite__mapDeps([81,1,2,33,9,39,82,75,59,18,19,20,56,57,22,7,58,52,53,14,51,67,10,83,84,35,85,45,77,38,79,8,44,5,43,4,86,23,24,87]),import.meta.url)),_o=x.lazy(()=>C(()=>import("./service-FolPIcUS.js"),__vite__mapDeps([88,1,2,89,57,22,19,7,20,18,58,63,59,49,50,51,31,32,6,8,90,48,34,91,53,68,66,35,92,9,30]),import.meta.url)),Po=x.lazy(()=>C(()=>import("./index-BZCt88Kn.js"),__vite__mapDeps([93,1,2,9,27,28,29,30,31,32,18,19,20,33,94,70,71,95,14,49,50,51,7,6,8,54,45,5,48,35,89,57,22,58,63,59,90,34,91,53,68,66,92,43,96,97,78,79,98,47,99,87,100,101,102,103,104,105,17,76,106,107,77,38,64,4,108,11,12,109,84,74,10,13,36,23,24,44]),import.meta.url)),Ao=x.lazy(()=>C(()=>import("./log-BzeVufdm.js"),__vite__mapDeps([110,1,2,50,111,31,32,19,112]),import.meta.url)),Oo=x.lazy(()=>C(()=>import("./runtime-7TSih23R.js"),__vite__mapDeps([113,1,2,56,57,22,19,7,20,18,58,52,53,59,14,51,5,114,115,36]),import.meta.url)),Lo=x.lazy(()=>C(()=>import("./traffic-BgMFjNc5.js"),__vite__mapDeps([116,1,2,26,90,34,19,115,22,18,20,66]),import.meta.url)),Do=x.lazy(()=>C(()=>import("./index-DnLx-UdH.js"),__vite__mapDeps([117,1,2,74,10,31,32,5,17,109,84,105,18,19,20,4,54,45,24,91,41,56,57,22,7,58,52,53,59,14,51]),import.meta.url)),Bo=({children:e})=>e;function Mo(){var h,I;const e=jt(),{tab:t="overview"}=qe(),{did:n,blocklet:o,error:r,client:s,actions:{setBlocklet:i,refreshBlocklet:c}}=Ut(),{refresh:a}=_t(),{t:l}=ze(),u=x.useCallback(()=>p.jsx(Eo,{scope:n}),[n]),d=((h=o==null?void 0:o.environments.find(g=>g.key==="BLOCKLET_APP_URL"))==null?void 0:h.value)||window.location.origin,f=g=>Bt(g,d),m=g=>{e(`/blocklets/${n}/${g}`)},b=g=>{g&&i(g),c()},y=!o||ce(o.status)?[]:_.getAppMissingConfigs(o);let k=null;const v=[{label:l("common.overview"),value:"overview"},{breadcrumbsLabel:l("common.components"),label:p.jsx(Pt,{"data-cy":"blocklet-list",color:"error",variant:"dot",invisible:!y.length,children:l("common.components")}),value:"components"}];if(r)k=p.jsxs(p.Fragment,{children:[p.jsx($e,{severity:"error",variant:"icon",children:He(r)}),p.jsx(Ue,{onClick:()=>c(),children:p.jsx("span",{style:{textDecoration:"underline"},children:l("common.retry")})})]});else if(o){const g={overview:p.jsx(Io,{}),configuration:ko,navigation:Co,services:_o,members:p.jsx(jo,{type:"blocklet",createPassportSvg:f}),passports:To,components:Po,"audit-logs":u,logs:Ao,runtime:p.jsx(Oo,{}),traffic:p.jsx(Lo,{client:s,did:n}),storage:p.jsx(Do,{})};t==="configuration"&&ce(o.status)&&m("overview"),ce(o.status)||(v.push({label:l("common.members"),value:"members"}),v.push({label:l("common.passport"),value:"passports"}),v.push({label:l("common.configuration"),value:"configuration"})),v.push({label:l("common.auditLogs"),value:"audit-logs"}),o&&((I=o.children)!=null&&I.length)&&o.structVersion===R.APP_STRUCT_VERSION&&v.push({label:l("common.logs"),value:"logs"}),v.push({label:l("common.configNavigation"),value:"navigation"}),v.push({label:l("common.runtime"),value:"runtime"}),v.push({label:l("common.traffic"),value:"traffic"}),v.push({label:l("common.storage"),value:"storage"}),_.getBlockletServices(o).length&&v.splice(2,0,{label:l("blocklet.services"),value:"services"});const E=g[t]||g.overview;k=p.jsxs(Rt,{type:"components",children:[!_.isExternalBlocklet(o)&&p.jsx(Mt,{tabs:v,current:t,onChange:m,scrollButtons:"auto"}),p.jsx("div",{className:"page-content",children:p.jsx(x.Suspense,{fallback:p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})}),children:x.isValidElement(E)?E:p.jsx(E,{blocklet:o,onUpdate:b,createPassportSvg:f})})})]})}else k=p.jsx(_e,{relative:"parent",children:p.jsx(Pe,{})});const w=()=>{},S=({action:g,error:j})=>{if(j){W.error(j.message);return}g==="remove"?(a(),e("/blocklets")):c()},B=v.find(g=>g.value===t),M=o?Ht:Bo;return p.jsx(M,{teamDid:n,children:p.jsxs(No,{children:[p.jsxs(qt,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[p.jsx(At,{color:"textSecondary",to:"/blocklets",children:l("common.blocklets")}),p.jsx(Ot,{to:`/blocklets/${n}/overview`,style:g=>g?{color:"inherit"}:{},children:l("common.detail")}),p.jsx(ae,{color:"textSecondary",children:B?B.breadcrumbsLabel||B.label:""})]}),p.jsxs(ae,{component:"div",className:"page-header",children:[p.jsxs(ae,{component:"h2",variant:"h4",className:"page-title",color:"textPrimary",children:[o?p.jsx(Vt,{blocklet:o,style:{marginRight:16}}):null,o?p.jsxs(Y,{display:"flex",alignItems:"center",flexWrap:"wrap",gap:1,children:[p.jsx(Y,{children:_.getDisplayName(o)}),(o==null?void 0:o.status)!=="unknown"&&p.jsx(Nt,{size:"12px",status:o.status,source:o.source,progress:o.progress})]}):`${l("common.blocklet")} ${l("common.detail")}`]}),p.jsx(Lt,{permission:"mutate_blocklets",children:!!o&&!_.isExternalBlocklet(o)&&p.jsx(Ft,{className:"page-actions",blocklet:o,onStart:w,onComplete:S,variant:"group"})})]}),p.jsx(It,{}),k]})})}function Yo(){const{did:e}=qe();return e?p.jsx($t,{did:e,children:p.jsx(Mo,{})}):null}const No=Dt.main`
13
13
  .page-header {
14
14
  display: flex;
15
15
  justify-content: space-between;
@@ -1 +1 @@
1
- import{a as _}from"./codemirror.es-BSwJ_jke.js";import"./index-f7aL1bUo.js";import"./index-BHdqgom8.js";var O=Object.defineProperty,m=(g,v)=>O(g,"name",{value:v,configurable:!0});function N(g,v){return v.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(c){if(c!=="default"&&!(c in g)){var d=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(g,c,d.get?d:{enumerable:!0,get:function(){return e[c]}})}})}),Object.freeze(g)}m(N,"_mergeNamespaces");var b={exports:{}};(function(g,v){(function(e){e(_.exports)})(function(e){function c(f,u,n){var o=f.getWrapperElement(),l;return l=o.appendChild(document.createElement("div")),n?l.className="CodeMirror-dialog CodeMirror-dialog-bottom":l.className="CodeMirror-dialog CodeMirror-dialog-top",typeof u=="string"?l.innerHTML=u:l.appendChild(u),e.addClass(o,"dialog-opened"),l}m(c,"dialogDiv");function d(f,u){f.state.currentNotificationClose&&f.state.currentNotificationClose(),f.state.currentNotificationClose=u}m(d,"closeNotification"),e.defineExtension("openDialog",function(f,u,n){n||(n={}),d(this,null);var o=c(this,f,n.bottom),l=!1,r=this;function i(t){if(typeof t=="string")a.value=t;else{if(l)return;l=!0,e.rmClass(o.parentNode,"dialog-opened"),o.parentNode.removeChild(o),r.focus(),n.onClose&&n.onClose(o)}}m(i,"close");var a=o.getElementsByTagName("input")[0],s;return a?(a.focus(),n.value&&(a.value=n.value,n.selectValueOnOpen!==!1&&a.select()),n.onInput&&e.on(a,"input",function(t){n.onInput(t,a.value,i)}),n.onKeyUp&&e.on(a,"keyup",function(t){n.onKeyUp(t,a.value,i)}),e.on(a,"keydown",function(t){n&&n.onKeyDown&&n.onKeyDown(t,a.value,i)||((t.keyCode==27||n.closeOnEnter!==!1&&t.keyCode==13)&&(a.blur(),e.e_stop(t),i()),t.keyCode==13&&u(a.value,t))}),n.closeOnBlur!==!1&&e.on(o,"focusout",function(t){t.relatedTarget!==null&&i()})):(s=o.getElementsByTagName("button")[0])&&(e.on(s,"click",function(){i(),r.focus()}),n.closeOnBlur!==!1&&e.on(s,"blur",i),s.focus()),i}),e.defineExtension("openConfirm",function(f,u,n){d(this,null);var o=c(this,f,n&&n.bottom),l=o.getElementsByTagName("button"),r=!1,i=this,a=1;function s(){r||(r=!0,e.rmClass(o.parentNode,"dialog-opened"),o.parentNode.removeChild(o),i.focus())}m(s,"close"),l[0].focus();for(var t=0;t<l.length;++t){var p=l[t];(function(y){e.on(p,"click",function(h){e.e_preventDefault(h),s(),y&&y(i)})})(u[t]),e.on(p,"blur",function(){--a,setTimeout(function(){a<=0&&s()},200)}),e.on(p,"focus",function(){++a})}}),e.defineExtension("openNotification",function(f,u){d(this,i);var n=c(this,f,u&&u.bottom),o=!1,l,r=u&&typeof u.duration<"u"?u.duration:5e3;function i(){o||(o=!0,clearTimeout(l),e.rmClass(n.parentNode,"dialog-opened"),n.parentNode.removeChild(n))}return m(i,"close"),e.on(n,"click",function(a){e.e_preventDefault(a),i()}),r&&(l=setTimeout(i,r)),i})})})();var E=b.exports,j=Object.freeze(N({__proto__:null,[Symbol.toStringTag]:"Module",default:E},[b.exports]));export{b as a,j as d};
1
+ import{a as _}from"./codemirror.es-DRCfXk0r.js";import"./index-D6q9zEjn.js";import"./index-DzlR4ROA.js";var O=Object.defineProperty,m=(g,v)=>O(g,"name",{value:v,configurable:!0});function N(g,v){return v.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(c){if(c!=="default"&&!(c in g)){var d=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(g,c,d.get?d:{enumerable:!0,get:function(){return e[c]}})}})}),Object.freeze(g)}m(N,"_mergeNamespaces");var b={exports:{}};(function(g,v){(function(e){e(_.exports)})(function(e){function c(f,u,n){var o=f.getWrapperElement(),l;return l=o.appendChild(document.createElement("div")),n?l.className="CodeMirror-dialog CodeMirror-dialog-bottom":l.className="CodeMirror-dialog CodeMirror-dialog-top",typeof u=="string"?l.innerHTML=u:l.appendChild(u),e.addClass(o,"dialog-opened"),l}m(c,"dialogDiv");function d(f,u){f.state.currentNotificationClose&&f.state.currentNotificationClose(),f.state.currentNotificationClose=u}m(d,"closeNotification"),e.defineExtension("openDialog",function(f,u,n){n||(n={}),d(this,null);var o=c(this,f,n.bottom),l=!1,r=this;function i(t){if(typeof t=="string")a.value=t;else{if(l)return;l=!0,e.rmClass(o.parentNode,"dialog-opened"),o.parentNode.removeChild(o),r.focus(),n.onClose&&n.onClose(o)}}m(i,"close");var a=o.getElementsByTagName("input")[0],s;return a?(a.focus(),n.value&&(a.value=n.value,n.selectValueOnOpen!==!1&&a.select()),n.onInput&&e.on(a,"input",function(t){n.onInput(t,a.value,i)}),n.onKeyUp&&e.on(a,"keyup",function(t){n.onKeyUp(t,a.value,i)}),e.on(a,"keydown",function(t){n&&n.onKeyDown&&n.onKeyDown(t,a.value,i)||((t.keyCode==27||n.closeOnEnter!==!1&&t.keyCode==13)&&(a.blur(),e.e_stop(t),i()),t.keyCode==13&&u(a.value,t))}),n.closeOnBlur!==!1&&e.on(o,"focusout",function(t){t.relatedTarget!==null&&i()})):(s=o.getElementsByTagName("button")[0])&&(e.on(s,"click",function(){i(),r.focus()}),n.closeOnBlur!==!1&&e.on(s,"blur",i),s.focus()),i}),e.defineExtension("openConfirm",function(f,u,n){d(this,null);var o=c(this,f,n&&n.bottom),l=o.getElementsByTagName("button"),r=!1,i=this,a=1;function s(){r||(r=!0,e.rmClass(o.parentNode,"dialog-opened"),o.parentNode.removeChild(o),i.focus())}m(s,"close"),l[0].focus();for(var t=0;t<l.length;++t){var p=l[t];(function(y){e.on(p,"click",function(h){e.e_preventDefault(h),s(),y&&y(i)})})(u[t]),e.on(p,"blur",function(){--a,setTimeout(function(){a<=0&&s()},200)}),e.on(p,"focus",function(){++a})}}),e.defineExtension("openNotification",function(f,u){d(this,i);var n=c(this,f,u&&u.bottom),o=!1,l,r=u&&typeof u.duration<"u"?u.duration:5e3;function i(){o||(o=!0,clearTimeout(l),e.rmClass(n.parentNode,"dialog-opened"),n.parentNode.removeChild(n))}return m(i,"close"),e.on(n,"click",function(a){e.e_preventDefault(a),i()}),r&&(l=setTimeout(i,r)),i})})})();var E=b.exports,j=Object.freeze(N({__proto__:null,[Symbol.toStringTag]:"Module",default:E},[b.exports]));export{b as a,j as d};