@abtnode/blocklet-services 1.16.33-beta-20241028-164124-17cf3c21 → 1.16.33-beta-20241029-115916-f749f0cc

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 (279) hide show
  1. package/api/index.js +1 -1
  2. package/api/libs/connect/session.js +5 -3
  3. package/api/services/kyc/index.js +39 -0
  4. package/api/services/studio/index.js +130 -26
  5. package/api/util/attach-shared-utils.js +20 -19
  6. package/api/util/index.js +2 -2
  7. package/dist/assets/{Add-DhnwVxhZ.js → Add-D1kPNbLw.js} +1 -1
  8. package/dist/assets/{Alert-C2mTW_RW.js → Alert-DTqbdj63.js} +1 -1
  9. package/dist/assets/{ArrowDropDown-wj9U9ZE8.js → ArrowDropDown-85VuMuJD.js} +1 -1
  10. package/dist/assets/{Autocomplete-CmEAN8J-.js → Autocomplete-azrXK3I0.js} +1 -1
  11. package/dist/assets/{Avatar-BZ_OPd3a.js → Avatar-CVL-_zN_.js} +1 -1
  12. package/dist/assets/{ButtonGroup-CFQqy_jV.js → ButtonGroup-BXrBIQCj.js} +1 -1
  13. package/dist/assets/{CSSTransition-CJDdpnYB.js → CSSTransition-1hhCrTWu.js} +1 -1
  14. package/dist/assets/{CheckCircle-DK6y1v0b.js → CheckCircle-DXNYXfk9.js} +1 -1
  15. package/dist/assets/{ChevronLeft-BqHB6tsg.js → ChevronLeft-BBWMh7UE.js} +1 -1
  16. package/dist/assets/{ChevronRight-DwKqpeOS.js → ChevronRight-CF5LIuZj.js} +1 -1
  17. package/dist/assets/{Close-CdDd2weK.js → Close-B0bGI9js.js} +1 -1
  18. package/dist/assets/{CloseOutlined-KF-hdrv3.js → CloseOutlined-BbkYuMDL.js} +1 -1
  19. package/dist/assets/{Delete-P7WqUbyQ.js → Delete-BCLiBDL0.js} +1 -1
  20. package/dist/assets/{DeleteOutline-BrrioL98.js → DeleteOutline-DZMyXZPb.js} +1 -1
  21. package/dist/assets/{DialogContentText-BECZzyeS.js → DialogContentText-BgJOXpHI.js} +1 -1
  22. package/dist/assets/{Done-B8u3JQ36.js → Done-DbMS7Otz.js} +1 -1
  23. package/dist/assets/{Download-DBU6UuKg.js → Download-H11dyvuQ.js} +1 -1
  24. package/dist/assets/{EditIcon-BV3Q9c3s.js → EditIcon-DxvqosE-.js} +1 -1
  25. package/dist/assets/{Error-CjCi6iqE.js → Error-xgwrfFWW.js} +1 -1
  26. package/dist/assets/{ExpandMore-BjFaf3Fo.js → ExpandMore-CIOTRoEG.js} +1 -1
  27. package/dist/assets/{FormControl-B9P20sHZ.js → FormControl-q_YUYy5V.js} +1 -1
  28. package/dist/assets/{FormControlLabel-C2tfmf09.js → FormControlLabel-CR4Kl957.js} +1 -1
  29. package/dist/assets/{FormGroup-QeEOGRIO.js → FormGroup-BvXbGEc4.js} +1 -1
  30. package/dist/assets/{Google-B7LRQAsM.js → Google-Cs9hIPFD.js} +3 -3
  31. package/dist/assets/Grid-C-73ZNPQ.js +1 -0
  32. package/dist/assets/{HelpOutline-It0-5Kn2.js → HelpOutline-BMlFRfFT.js} +1 -1
  33. package/dist/assets/{Hidden-CpExY3Hv.js → Hidden-BamiK5rF.js} +1 -1
  34. package/dist/assets/{InfoOutlined-DEMaFK-w.js → InfoOutlined-waMR4X6A.js} +1 -1
  35. package/dist/assets/{InputAdornment-BFyVcV9g.js → InputAdornment-DYI9VqA4.js} +1 -1
  36. package/dist/assets/{InputLabel-FW_WnrBG.js → InputLabel-Drb30O7S.js} +1 -1
  37. package/dist/assets/{LastPage-BbNDF-1B.js → LastPage-CMzmUdOF.js} +1 -1
  38. package/dist/assets/{Launch-CM54bxPy.js → Launch-CJrLzw9U.js} +1 -1
  39. package/dist/assets/{LaunchOutlined-DQOUx0IB.js → LaunchOutlined-CPI8Rbg8.js} +1 -1
  40. package/dist/assets/{Link-BLv1ybKR.js → Link-MQ4ocvFR.js} +1 -1
  41. package/dist/assets/{ListItemButton-BhIitXNK.js → ListItemButton-BE957xQR.js} +1 -1
  42. package/dist/assets/{LoadingButton-Do8QGr9D.js → LoadingButton-BFqGlZYf.js} +1 -1
  43. package/dist/assets/{LockIcon-uGDnriV5.js → LockIcon-BJ6WFKm1.js} +1 -1
  44. package/dist/assets/{Loop-DQX1T4wF.js → Loop-Dzm2KLDk.js} +1 -1
  45. package/dist/assets/{MarkEmailRead-BdVitMKq.js → MarkEmailRead-vdJWMSmI.js} +1 -1
  46. package/dist/assets/{Menu-B60nijwd.js → Menu-BZuHwq1o.js} +1 -1
  47. package/dist/assets/{MoreHoriz-Cwgb_ZWA.js → MoreHoriz-C0Q1loeh.js} +1 -1
  48. package/dist/assets/{MoreVert-6z9sYyBh.js → MoreVert-U1v0_hlJ.js} +1 -1
  49. package/dist/assets/{OpenInNew-B7MVFrbE.js → OpenInNew-Ddm-qrhg.js} +1 -1
  50. package/dist/assets/Pagination-Dj_7RSdH.js +2 -0
  51. package/dist/assets/{PlayArrow-CyW2vtN8.js → PlayArrow-XnQYC43B.js} +1 -1
  52. package/dist/assets/{QuestionMarkCircle-Dkgs-LrD.js → QuestionMarkCircle-Di5tsadG.js} +1 -1
  53. package/dist/assets/{RadioGroup-F9HJgTgP.js → RadioGroup-j_r-IrLk.js} +1 -1
  54. package/dist/assets/{Search-Bm4BV5ff.js → Search-BJmiokdi.js} +1 -1
  55. package/dist/assets/{Select-DN5ZDrhq.js → Select-DBgUfggx.js} +2 -2
  56. package/dist/assets/{ServerLogo-qj6BKZhH.js → ServerLogo-ByBt9Bnp.js} +1 -1
  57. package/dist/assets/{Skeleton-BHxGQUwb.js → Skeleton-wYntik5z.js} +5 -5
  58. package/dist/assets/{Slider-DZmSOFez.js → Slider-B2H3bEXl.js} +1 -1
  59. package/dist/assets/{Stack-CcM0sATd.js → Stack-Wwo7KuLi.js} +1 -1
  60. package/dist/assets/{Stepper-VAkPR7Rp.js → Stepper-DsEYWsEF.js} +1 -1
  61. package/dist/assets/{TextField-CVbbJh-y.js → TextField-ET2YGak8.js} +1 -1
  62. package/dist/assets/{Toolbar-DMWwm961.js → Toolbar-BHHgI44k.js} +1 -1
  63. package/dist/assets/{Verified-CracX5_0.js → Verified-DD5dTa-B.js} +1 -1
  64. package/dist/assets/{ViewColumn-cHwmzgaQ.js → ViewColumn-CX62H-GO.js} +1 -1
  65. package/dist/assets/{ViewList-DEr3Y-iU.js → ViewList-CvHW1vVJ.js} +1 -1
  66. package/dist/assets/{access-control-DEaRRq7A.js → access-control-7nyvFrBk.js} +1 -1
  67. package/dist/assets/{actions-BaCBwrwa.js → actions-CuJtuqjo.js} +1 -1
  68. package/dist/assets/{add-component-core-CTd25DO_.js → add-component-core-DbLAu70v.js} +17 -17
  69. package/dist/assets/add-resource-DXfoBnP1.js +1 -0
  70. package/dist/assets/{addon-B5M4Vtbg.js → addon-DFiudtVV.js} +1 -1
  71. package/dist/assets/{analytics-DKUh0ZA1.js → analytics-Dy-BpTZz.js} +3 -3
  72. package/dist/assets/api-kMu0_hFe.js +1 -0
  73. package/dist/assets/ar-CsWAxMD2.js +1 -0
  74. package/dist/assets/ar-CtVRxUHl.js +1 -0
  75. package/dist/assets/{audit-logs-DEv30kSD.js → audit-logs-BO4pumXM.js} +1 -1
  76. package/dist/assets/{base32-BbBkrI_s.js → base32-Q69W0jRa.js} +1 -1
  77. package/dist/assets/branding-UEQkChj5.js +97 -0
  78. package/dist/assets/{bundle-avatar-DFcMZdHK.js → bundle-avatar-EUoDiMRt.js} +1 -1
  79. package/dist/assets/{button-WHxIb92N.js → button-D2cbq_RL.js} +1 -1
  80. package/dist/assets/{click-to-copy-DSLKklSI.js → click-to-copy-D3syA-FB.js} +1 -1
  81. package/dist/assets/{complete-CAaHcOBS.js → complete-DQxoVs52.js} +3 -3
  82. package/dist/assets/{component-_5q7tWN6.js → component-XJIfZ2zj.js} +87 -87
  83. package/dist/assets/{config-COlGV3BW.js → config-BReM2V6u.js} +2 -2
  84. package/dist/assets/{config-_6fNEXak.js → config-CorOHNK9.js} +1 -1
  85. package/dist/assets/{config-navigation-DdfU54Ga.js → config-navigation-7Y92C7fR.js} +4 -4
  86. package/dist/assets/{confirm-CPhW4Ln4.js → confirm-CpXJcc9L.js} +1 -1
  87. package/dist/assets/{connect-CutE2j6W.js → connect-BLbovihW.js} +1 -1
  88. package/dist/assets/{connect-CJYVrjZW.js → connect-BxsbTLRp.js} +1 -1
  89. package/dist/assets/{connect-to-ByrmSC7Q.js → connect-to-CB2RDqGX.js} +2 -2
  90. package/dist/assets/{content-layout-NMxrW85n.js → content-layout-DqjbzyNB.js} +1 -1
  91. package/dist/assets/dashboard-D3Qtlrec.js +165 -0
  92. package/dist/assets/de-Mal3CcbG.js +1 -0
  93. package/dist/assets/de-mIS6PpQ1.js +1 -0
  94. package/dist/assets/{deprecate-TLU2j5Nl.js → deprecate-BfCWsPse.js} +1 -1
  95. package/dist/assets/{did-address-qp4O986k.js → did-address-Bl_Pgc7b.js} +1 -1
  96. package/dist/assets/{domain-BobgkNRn.js → domain-Bq_XCp2o.js} +1 -1
  97. package/dist/assets/{domain-list-nelUcVaZ.js → domain-list-uPHGbMrG.js} +1 -1
  98. package/dist/assets/{email-BmqNkTVh.js → email-BvO8LgkL.js} +3 -3
  99. package/dist/assets/emotion-cache.browser.esm-Ck-2KjZz.js +1 -0
  100. package/dist/assets/empty-spinner-Bx50kXYQ.js +1 -0
  101. package/dist/assets/es-SjtV3THj.js +1 -0
  102. package/dist/assets/es-TIyn7wq8.js +1 -0
  103. package/dist/assets/{exchange-passport-YyjxxQGp.js → exchange-passport-1aHZCSyl.js} +1 -1
  104. package/dist/assets/{fallback-DpZp1UKo.js → fallback-DSUpYhsk.js} +1 -1
  105. package/dist/assets/{form-text-input-Dnp-THZ5.js → form-text-input-B5LwnycA.js} +2 -2
  106. package/dist/assets/{format-error-BvNwPRch.js → format-error-BQUijoOP.js} +1 -1
  107. package/dist/assets/fr-BE6tgMk1.js +1 -0
  108. package/dist/assets/fr-ob22J7W8.js +1 -0
  109. package/dist/assets/{fuel-DwAfHv3P.js → fuel-BNC5tQkX.js} +1 -1
  110. package/dist/assets/{fullpage-BFccehDH.js → fullpage-BbBJqXFd.js} +1 -1
  111. package/dist/assets/hi-BRv23MW1.js +1 -0
  112. package/dist/assets/hi-CU_pVcX3.js +1 -0
  113. package/dist/assets/home-DukeiZb9.js +1 -0
  114. package/dist/assets/{id-Cl0lvxW7.js → id-B8NuutwY.js} +1 -1
  115. package/dist/assets/id-C4BmdsdH.js +1 -0
  116. package/dist/assets/{iframe-CGjP6x7t.js → iframe-qcskQnZ7.js} +1 -1
  117. package/dist/assets/{index-DbC1wngE.js → index-1XN7IRZV.js} +1 -1
  118. package/dist/assets/{index-Dnw0yymR.js → index-1cvAC9dP.js} +1 -1
  119. package/dist/assets/{index-BFsNvHHz.js → index-2E7xAYME.js} +1 -1
  120. package/dist/assets/{index-CDo-yvx8.js → index-8Xosd6cW.js} +1 -1
  121. package/dist/assets/index-B5C90-kX.js +1 -0
  122. package/dist/assets/{index-BnLNgi5J.js → index-B5Vrqal-.js} +1 -1
  123. package/dist/assets/{index-DusV8FU1.js → index-B7iAoZF-.js} +1 -1
  124. package/dist/assets/{index-DaRP45oo.js → index-B8nG24C0.js} +1 -1
  125. package/dist/assets/{index-_uCAkv_0.js → index-BL5Qj_2J.js} +2 -2
  126. package/dist/assets/{index-DsX4E8f1.js → index-BLO9UTsu.js} +1 -1
  127. package/dist/assets/{index-BZKKn0ch.js → index-Bfb7xab_.js} +1 -1
  128. package/dist/assets/{index-C_izWh42.js → index-Bl1iYMY3.js} +2 -2
  129. package/dist/assets/{index-dmc3Tzez.js → index-Bmz3rMOr.js} +1 -1
  130. package/dist/assets/{index-DH4lKXWs.js → index-C7kvSk2m.js} +1 -1
  131. package/dist/assets/{index-BZ9M67Kd.js → index-CPsa95T3.js} +4 -4
  132. package/dist/assets/{index-4YjFb1t8.js → index-CRDHbhBx.js} +1 -1
  133. package/dist/assets/{index-B61Zk4zc.js → index-C_kk5bYY.js} +1 -1
  134. package/dist/assets/{index-RHJlosGb.js → index-Cl_1DFtD.js} +4 -4
  135. package/dist/assets/{index-B6rU6yZ1.js → index-CtKET2Z1.js} +8 -8
  136. package/dist/assets/{index-0R3zcGhj.js → index-CtaUeKRF.js} +7 -7
  137. package/dist/assets/{index-BowU-Rc8.js → index-CuJ6VeB5.js} +5 -5
  138. package/dist/assets/{index-BHRFloRH.js → index-CuQC1MLe.js} +1 -1
  139. package/dist/assets/{index-B1jXhAXk.js → index-DIwnrzyG.js} +1 -1
  140. package/dist/assets/{index-CxykcKWh.js → index-DMa4dlNy.js} +7 -7
  141. package/dist/assets/{index-LmZHdjQZ.js → index-DNE45f7B.js} +1 -1
  142. package/dist/assets/index-DhzzfZJR.js +1 -0
  143. package/dist/assets/{index-BEmU10Y0.js → index-DupGvVnM.js} +16 -16
  144. package/dist/assets/{index-DaCSO68v.js → index-Dx0gxSsm.js} +1 -1
  145. package/dist/assets/{index-D0Foc0Tz.js → index-NyR4ATjE.js} +1 -1
  146. package/dist/assets/{index-D5jbzTmg.js → index-VQdx5yeU.js} +1 -1
  147. package/dist/assets/{index-C6bJ8C3n.js → index-ebtklN8E.js} +1 -1
  148. package/dist/assets/{index-DtHgjXc_.js → index-gHjpCD7K.js} +1 -1
  149. package/dist/assets/{index-BxX33nUX.js → index-gfkwxyo7.js} +29 -29
  150. package/dist/assets/{index-C4-tvqA6.js → index-xNr46l5o.js} +7 -7
  151. package/dist/assets/{index-BAsIkYmI.js → index-z3PVPxv6.js} +1 -1
  152. package/dist/assets/{index.es-DjXtuSXa.js → index.es-BbAxjDE2.js} +2 -2
  153. package/dist/assets/{invitation-CitdNTlE.js → invitation-BFsJ4KGp.js} +1 -1
  154. package/dist/assets/{invite-8bX-82iQ.js → invite-BooqNDeR.js} +1 -1
  155. package/dist/assets/{isEmail-DlDmj0fr.js → isEmail-BVZzL96Y.js} +1 -1
  156. package/dist/assets/{issue-passport-DlN6RZob.js → issue-passport-CZvncBl-.js} +1 -1
  157. package/dist/assets/{item-CKNXAp6H.js → item-Cy9Nlzac.js} +1 -1
  158. package/dist/assets/ja-BSR4LjmI.js +1 -0
  159. package/dist/assets/{jss-plugin-props-sort.esm-DoSjjNR1.js → jss-plugin-props-sort.esm-CRv5vovi.js} +6 -6
  160. package/dist/assets/ko-DaCQeMuZ.js +1 -0
  161. package/dist/assets/ko-Dhu0vkP4.js +1 -0
  162. package/dist/assets/{launch-result-message-JFKmiVbN.js → launch-result-message-CeqywnZO.js} +1 -1
  163. package/dist/assets/{layout-DEXenHhy.js → layout-Ca1dsvo2.js} +1 -1
  164. package/dist/assets/{list-header-7vVYIW_T.js → list-header-DDKFDjC-.js} +1 -1
  165. package/dist/assets/localization-Bg1OfBj_.js +1 -0
  166. package/dist/assets/{log-ZCJiZb-D.js → log-Bd2AJY4d.js} +1 -1
  167. package/dist/assets/{login-64rLho-5.js → login-CQQ_atOp.js} +1 -1
  168. package/dist/assets/{login-oauth-callback-nOgNHNCk.js → login-oauth-callback-C_giqg-t.js} +1 -1
  169. package/dist/assets/logo-uploader-_6O3gzKe.js +133 -0
  170. package/dist/assets/{lost-passport-DjJtlNVj.js → lost-passport-BTZAjTEw.js} +3 -3
  171. package/dist/assets/{lottie-DoYE5XDB.js → lottie-DuWaAgwL.js} +1 -1
  172. package/dist/assets/{notifications-Cv1XH2yb.js → notifications-CRziIV56.js} +1 -1
  173. package/dist/assets/{open-window-CN5TQ87C.js → open-window-CfV1POTe.js} +1 -1
  174. package/dist/assets/{overview-kalRt_uR.js → overview-DBAdZ3oa.js} +1 -1
  175. package/dist/assets/{page-header-BmLNlOnD.js → page-header-BCyLUbXF.js} +1 -1
  176. package/dist/assets/{permission-DUsbjffq.js → permission-Dl4-DvmT.js} +1 -1
  177. package/dist/assets/preferences-DJaWH0eY.js +1 -0
  178. package/dist/assets/pt-BOxpawqS.js +1 -0
  179. package/dist/assets/pt-CrGCr_rX.js +1 -0
  180. package/dist/assets/publish-resource-BDw8VSNL.js +1 -0
  181. package/dist/assets/raf-schd.esm-Gx6LnAUI.js +1 -0
  182. package/dist/assets/react-BT4MxIuD.js +56 -0
  183. package/dist/assets/redux-CluOqhW1.js +1 -0
  184. package/dist/assets/refType-D1rMfkyf.js +1 -0
  185. package/dist/assets/{resource-dialog-D_8tTarn.js → resource-dialog-CWNoDprA.js} +1 -1
  186. package/dist/assets/ru-6GVtb7_u.js +1 -0
  187. package/dist/assets/ru-DaFMvIkM.js +1 -0
  188. package/dist/assets/sdk-BSP0QVOl.js +1 -0
  189. package/dist/assets/{selector-Rhni_cbO.js → selector-BO4ejr6R.js} +1 -1
  190. package/dist/assets/session-uRzvbcOE.js +1 -0
  191. package/dist/assets/{setup-BQ-DnQht.js → setup-BtQojMsH.js} +3 -3
  192. package/dist/assets/{shorten-label-8aKNnW15.js → shorten-label-BbtbOLb-.js} +1 -1
  193. package/dist/assets/{simple-select-CNSx0Qbg.js → simple-select-DiNP_SHI.js} +1 -1
  194. package/dist/assets/slicedToArray-CL8OF7nA.js +2 -0
  195. package/dist/assets/{spaces-BcZSz_wm.js → spaces-Da-gCkjF.js} +1 -1
  196. package/dist/assets/{start-CqQHbsvY.js → start-BZaDj9BF.js} +1 -1
  197. package/dist/assets/{step-actions-DV3o9hve.js → step-actions-BXvVbJn6.js} +1 -1
  198. package/dist/assets/studio-DaB3Q2eU.js +6 -0
  199. package/dist/assets/{switch-control-C-X_dl1C.js → switch-control-DTvjCu1T.js} +1 -1
  200. package/dist/assets/th-D15IsHcG.js +1 -0
  201. package/dist/assets/toPropertyKey-PLuKRk1e.js +1 -0
  202. package/dist/assets/toUpper-CXnv_5O2.js +1 -0
  203. package/dist/assets/{transfer-CSfZjjyt.js → transfer-DKF4gd_Y.js} +1 -1
  204. package/dist/assets/trim-B28E-Nn9.js +1 -0
  205. package/dist/assets/{uniqBy--m6Xe_2K.js → uniqBy-2Wtrmmhq.js} +1 -1
  206. package/dist/assets/unsubscribe-BC5K4W4W.js +1 -0
  207. package/dist/assets/{url-join-CAnJBM33.js → url-join-B6IvIPu-.js} +1 -1
  208. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-BWR6SXSQ.js → use-blocklet-info-for-connect-did-spaces-BsNoDvKG.js} +1 -1
  209. package/dist/assets/{use-mobile-BBtcVjXr.js → use-mobile-CMGTDjYZ.js} +1 -1
  210. package/dist/assets/{useAsync-DTvP9Zxi.js → useAsync-CWDYktc3.js} +1 -1
  211. package/dist/assets/{useFormControl-CqDUGVwx.js → useFormControl-CjB4v7or.js} +1 -1
  212. package/dist/assets/{useLocalStorage-BSk8yrmI.js → useLocalStorage-DxE5wxqm.js} +1 -1
  213. package/dist/assets/{useSetState-Dvi1U0Nw.js → useSetState-CCpWn5kk.js} +1 -1
  214. package/dist/assets/useSlot-BwT_9oY2.js +1 -0
  215. package/dist/assets/{useSlotProps-BO61t83_.js → useSlotProps-tHgSMbYl.js} +1 -1
  216. package/dist/assets/useThemeProps-CBLhTiSF.js +1 -0
  217. package/dist/assets/user-center-DnbRYtVI.js +1 -0
  218. package/dist/assets/{user-sessions-BGeFoCxv.js → user-sessions-3MJz7YLi.js} +1 -1
  219. package/dist/assets/{util-DQZs28G6.js → util-CK6mwwbG.js} +1 -1
  220. package/dist/assets/vi-COdj0GXP.js +1 -0
  221. package/dist/assets/wrap-locale-mjp3jqq8.js +1 -0
  222. package/dist/assets/zh-BbabW8CT.js +2 -0
  223. package/dist/assets/zh-oit_Iyg0.js +1 -0
  224. package/dist/assets/zh-tw-0D_qMyHk.js +1 -0
  225. package/dist/assets/zh-tw-BnNsaJba.js +1 -0
  226. package/dist/index.html +1 -1
  227. package/dist/service-worker.js +1 -1
  228. package/package.json +21 -18
  229. package/dist/assets/Grid-BArO7d1G.js +0 -1
  230. package/dist/assets/Pagination-C8kC-7d4.js +0 -2
  231. package/dist/assets/add-resource-BcsfLDaF.js +0 -1
  232. package/dist/assets/api-noKs5rUY.js +0 -1
  233. package/dist/assets/ar-2TonDRvZ.js +0 -1
  234. package/dist/assets/ar-j9K5GatZ.js +0 -1
  235. package/dist/assets/dashboard-yyANkyH0.js +0 -165
  236. package/dist/assets/de-B1aG8zWS.js +0 -1
  237. package/dist/assets/de-BVh3hwT3.js +0 -1
  238. package/dist/assets/emotion-cache.browser.esm-CRw46sQ7.js +0 -1
  239. package/dist/assets/es-B78wkrSg.js +0 -1
  240. package/dist/assets/es-BEwxvJ2s.js +0 -1
  241. package/dist/assets/fr-Cvy3dZN3.js +0 -1
  242. package/dist/assets/fr-CyBvbwlz.js +0 -1
  243. package/dist/assets/hi-CiLl3Zi6.js +0 -1
  244. package/dist/assets/hi-nvWOxhan.js +0 -1
  245. package/dist/assets/home-BF01oQMN.js +0 -1
  246. package/dist/assets/id-FWMMrTxm.js +0 -1
  247. package/dist/assets/index-Br6smtqw.js +0 -1
  248. package/dist/assets/index-FWU8WNJ8.js +0 -1
  249. package/dist/assets/ja-Be6ZrJ3j.js +0 -1
  250. package/dist/assets/ko-631_NPZL.js +0 -1
  251. package/dist/assets/ko-RAcT5Den.js +0 -1
  252. package/dist/assets/localization-DdE_yTeV.js +0 -1
  253. package/dist/assets/logo-uploader-Cz1267Av.js +0 -133
  254. package/dist/assets/preferences-ZO1kLbOx.js +0 -1
  255. package/dist/assets/pt-BlLvTTrm.js +0 -1
  256. package/dist/assets/pt-CTpkGCgP.js +0 -1
  257. package/dist/assets/publish-resource-B2rKe7a9.js +0 -1
  258. package/dist/assets/react-BTu1Y-_j.js +0 -56
  259. package/dist/assets/redux-CJ8S87pk.js +0 -1
  260. package/dist/assets/refType-CT_vAXIZ.js +0 -1
  261. package/dist/assets/ru-Culp1KLs.js +0 -1
  262. package/dist/assets/ru-sSBv7F2t.js +0 -1
  263. package/dist/assets/sdk-C3SAOjUt.js +0 -1
  264. package/dist/assets/session-4S4FY2oN.js +0 -1
  265. package/dist/assets/slicedToArray-vg-R5s0s.js +0 -2
  266. package/dist/assets/studio-D_pIJx8G.js +0 -6
  267. package/dist/assets/th-Dqms8yb0.js +0 -1
  268. package/dist/assets/toUpper-CqfCm6FQ.js +0 -1
  269. package/dist/assets/trim-CXCEOOfq.js +0 -1
  270. package/dist/assets/unsubscribe-BJWyVFrT.js +0 -1
  271. package/dist/assets/useSlot-CBvar7i-.js +0 -1
  272. package/dist/assets/useThemeProps-BVeww5NE.js +0 -1
  273. package/dist/assets/user-center-DxinbhvA.js +0 -1
  274. package/dist/assets/vi-DjcU4tKh.js +0 -1
  275. package/dist/assets/wrap-locale-B-fXOOcn.js +0 -1
  276. package/dist/assets/zh-DWYwLndz.js +0 -1
  277. package/dist/assets/zh-tw-3Ki06u1b.js +0 -1
  278. package/dist/assets/zh-tw-B7lbXLVn.js +0 -1
  279. package/dist/assets/zh-u8iElwOC.js +0 -2
@@ -1 +1 @@
1
- import{r as v,j as h}from"./index-BowU-Rc8.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var p=o.default=void 0;u(v);var l=h;function u(e){return e&&e.__esModule?e:{default:e}}function n(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,r)}return t}function i(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?n(Object(t),!0).forEach(function(r){f(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function f(e,a,t){return(a=d(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function d(e){var a=m(e,"string");return typeof a=="symbol"?a:a+""}function m(e,a){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,a||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(e)}var c=function(a){return(0,l.jsxs)("svg",i(i({},a),{},{children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,l.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};c.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};c.displayName="server-logo";p=o.default=c;export{p as d};
1
+ import{r as v,j as h}from"./index-CuJ6VeB5.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var p=o.default=void 0;u(v);var l=h;function u(e){return e&&e.__esModule?e:{default:e}}function n(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,r)}return t}function i(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?n(Object(t),!0).forEach(function(r){f(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function f(e,a,t){return(a=d(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function d(e){var a=m(e,"string");return typeof a=="symbol"?a:a+""}function m(e,a){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,a||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(e)}var c=function(a){return(0,l.jsxs)("svg",i(i({},a),{},{children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,l.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:"#0FA4B7"}),(0,l.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};c.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};c.displayName="server-logo";p=o.default=c;export{p as d};
@@ -1,4 +1,4 @@
1
- import{aF as y,aE as w,cM as b,aG as R,cN as _,cO as M,aK as o,cP as U,ah as u,r as $,aI as S,aJ as N,j,aM as A,aN as X}from"./index-BowU-Rc8.js";function E(a){return y("MuiSkeleton",a)}w("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const K=["animation","className","component","height","style","variant","width"];let r=a=>a,p,g,m,f;const P=a=>{const{classes:t,variant:e,animation:i,hasChildren:s,width:l,height:n}=a;return X({root:["root",e,i,s&&"withChildren",s&&!l&&"fitContent",s&&!n&&"heightAuto"]},E,t)},B=b(p||(p=r`
1
+ import{aF as y,aE as w,cR as b,aG as R,cS as _,cT as U,aK as o,cU as S,ah as u,r as $,aI as M,aJ as j,j as A,aM as N,aN as X}from"./index-CuJ6VeB5.js";function E(a){return y("MuiSkeleton",a)}w("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const K=["animation","className","component","height","style","variant","width"];let r=a=>a,p,g,m,f;const B=a=>{const{classes:t,variant:e,animation:i,hasChildren:s,width:l,height:n}=a;return X({root:["root",e,i,s&&"withChildren",s&&!l&&"fitContent",s&&!n&&"heightAuto"]},E,t)},F=b(p||(p=r`
2
2
  0% {
3
3
  opacity: 1;
4
4
  }
@@ -10,7 +10,7 @@ import{aF as y,aE as w,cM as b,aG as R,cN as _,cO as M,aK as o,cP as U,ah as u,r
10
10
  100% {
11
11
  opacity: 1;
12
12
  }
13
- `)),F=b(g||(g=r`
13
+ `)),P=b(g||(g=r`
14
14
  0% {
15
15
  transform: translateX(-100%);
16
16
  }
@@ -23,9 +23,9 @@ import{aF as y,aE as w,cM as b,aG as R,cN as _,cO as M,aK as o,cP as U,ah as u,r
23
23
  100% {
24
24
  transform: translateX(100%);
25
25
  }
26
- `)),O=R("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(a,t)=>{const{ownerState:e}=a;return[t.root,t[e.variant],e.animation!==!1&&t[e.animation],e.hasChildren&&t.withChildren,e.hasChildren&&!e.width&&t.fitContent,e.hasChildren&&!e.height&&t.heightAuto]}})(({theme:a,ownerState:t})=>{const e=_(a.shape.borderRadius)||"px",i=M(a.shape.borderRadius);return o({display:"block",backgroundColor:a.vars?a.vars.palette.Skeleton.bg:U(a.palette.text.primary,a.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${i}${e}/${Math.round(i/.6*10)/10}${e}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(a.vars||a).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:a})=>a.animation==="pulse"&&u(m||(m=r`
26
+ `)),T=R("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(a,t)=>{const{ownerState:e}=a;return[t.root,t[e.variant],e.animation!==!1&&t[e.animation],e.hasChildren&&t.withChildren,e.hasChildren&&!e.width&&t.fitContent,e.hasChildren&&!e.height&&t.heightAuto]}})(({theme:a,ownerState:t})=>{const e=_(a.shape.borderRadius)||"px",i=U(a.shape.borderRadius);return o({display:"block",backgroundColor:a.vars?a.vars.palette.Skeleton.bg:S(a.palette.text.primary,a.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${i}${e}/${Math.round(i/.6*10)/10}${e}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(a.vars||a).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:a})=>a.animation==="pulse"&&u(m||(m=r`
27
27
  animation: ${0} 2s ease-in-out 0.5s infinite;
28
- `),B),({ownerState:a,theme:t})=>a.animation==="wave"&&u(f||(f=r`
28
+ `),F),({ownerState:a,theme:t})=>a.animation==="wave"&&u(f||(f=r`
29
29
  position: relative;
30
30
  overflow: hidden;
31
31
 
@@ -48,4 +48,4 @@ import{aF as y,aE as w,cM as b,aG as R,cN as _,cO as M,aK as o,cP as U,ah as u,r
48
48
  right: 0;
49
49
  top: 0;
50
50
  }
51
- `),F,(t.vars||t).palette.action.hover)),D=$.forwardRef(function(t,e){const i=S({props:t,name:"MuiSkeleton"}),{animation:s="pulse",className:l,component:n="span",height:h,style:v,variant:C="text",width:k}=i,d=N(i,K),c=o({},i,{animation:s,component:n,variant:C,hasChildren:!!d.children}),x=P(c);return j.jsx(O,o({as:n,ref:e,className:A(x.root,l),ownerState:c},d,{style:o({width:k,height:h},v)}))});export{D as S};
51
+ `),P,(t.vars||t).palette.action.hover)),D=$.forwardRef(function(t,e){const i=M({props:t,name:"MuiSkeleton"}),{animation:s="pulse",className:l,component:n="span",height:h,style:v,variant:C="text",width:k}=i,d=j(i,K),c=o({},i,{animation:s,component:n,variant:C,hasChildren:!!d.children}),x=B(c);return A.jsx(T,o({as:n,ref:e,className:N(x.root,l),ownerState:c},d,{style:o({width:k,height:h},v)}))});export{D as S};
@@ -1 +1 @@
1
- import{r as S,d9 as St,i1 as pe,cm as Lt,ci as at,cL as wt,cU as Ge,cV as $e,i2 as Je,aK as c,cY as Te,aE as Pt,aF as Ct,aM as oe,j as P,aG as J,aH as B,cf as ot,ce as nt,cl as lt,eH as dt,aI as $t,cT as Tt,aJ as _t,aL as Y,aN as Rt}from"./index-BowU-Rc8.js";const It={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function At(e,t,a=(l,d)=>l===d){return e.length===t.length&&e.every((l,d)=>a(l,t[d]))}const Mt=2;function pt(e,t){return e-t}function st(e,t){var a;const{index:l}=(a=e.reduce((d,L,C)=>{const m=Math.abs(t-L);return d===null||m<d.distance||m===d.distance?{distance:m,index:C}:d},null))!=null?a:{};return l}function Le(e,t){if(t.current!==void 0&&e.changedTouches){const a=e;for(let l=0;l<a.changedTouches.length;l+=1){const d=a.changedTouches[l];if(d.identifier===t.current)return{x:d.clientX,y:d.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function _e(e,t,a){return(e-t)*100/(a-t)}function zt(e,t,a){return(a-t)*e+t}function Nt(e){if(Math.abs(e)<1){const a=e.toExponential().split("e-"),l=a[0].split(".")[1];return(l?l.length:0)+parseInt(a[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function Et(e,t,a){const l=Math.round((e-a)/t)*t+a;return Number(l.toFixed(Nt(t)))}function it({values:e,newValue:t,index:a}){const l=e.slice();return l[a]=t,l.sort(pt)}function we({sliderRef:e,activeIndex:t,setActive:a}){var l,d;const L=$e(e.current);if(!((l=e.current)!=null&&l.contains(L.activeElement))||Number(L==null||(d=L.activeElement)==null?void 0:d.getAttribute("data-index"))!==t){var C;(C=e.current)==null||C.querySelector(`[type="range"][data-index="${t}"]`).focus()}a&&a(t)}function Pe(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?At(e,t):!1}const Vt={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Ft=e=>e;let Ce;function ut(){return Ce===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Ce=CSS.supports("touch-action","none"):Ce=!0),Ce}function Ht(e){const{"aria-labelledby":t,defaultValue:a,disabled:l=!1,disableSwap:d=!1,isRtl:L=!1,marks:C=!1,max:m=100,min:f=0,name:U,onChange:ne,onChangeCommitted:K,orientation:Q="horizontal",rootRef:fe,scale:le=Ft,step:z=1,shiftStep:se=10,tabIndex:be,value:me}=e,V=S.useRef(),[W,j]=S.useState(-1),[ve,O]=S.useState(-1),[ie,ue]=S.useState(!1),X=S.useRef(0),[_,Z]=St({controlled:me,default:a??f,name:"Slider"}),N=ne&&((r,o,n)=>{const i=r.nativeEvent||r,u=new i.constructor(i.type,i);Object.defineProperty(u,"target",{writable:!0,value:{value:o,name:U}}),ne(u,o,n)}),q=Array.isArray(_);let y=q?_.slice().sort(pt):[_];y=y.map(r=>r==null?f:pe(r,f,m));const ce=C===!0&&z!==null?[...Array(Math.floor((m-f)/z)+1)].map((r,o)=>({value:f+z*o})):C||[],g=ce.map(r=>r.value),{isFocusVisibleRef:R,onBlur:Re,onFocus:Ie,ref:Ae}=Lt(),[he,G]=S.useState(-1),w=S.useRef(),ge=at(Ae,w),ye=at(fe,ge),ee=r=>o=>{var n;const i=Number(o.currentTarget.getAttribute("data-index"));Ie(o),R.current===!0&&G(i),O(i),r==null||(n=r.onFocus)==null||n.call(r,o)},te=r=>o=>{var n;Re(o),R.current===!1&&G(-1),O(-1),r==null||(n=r.onBlur)==null||n.call(r,o)},ke=(r,o)=>{const n=Number(r.currentTarget.getAttribute("data-index")),i=y[n],u=g.indexOf(i);let s=o;if(ce&&z==null){const M=g[g.length-1];s>M?s=M:s<g[0]?s=g[0]:s=s<i?g[u-1]:g[u+1]}if(s=pe(s,f,m),q){d&&(s=pe(s,y[n-1]||-1/0,y[n+1]||1/0));const M=s;s=it({values:y,newValue:s,index:n});let E=n;d||(E=s.indexOf(M)),we({sliderRef:w,activeIndex:E})}Z(s),G(n),N&&!Pe(s,_)&&N(r,s,n),K&&K(r,s)},Me=r=>o=>{var n;if(z!==null){const i=Number(o.currentTarget.getAttribute("data-index")),u=y[i];let s=null;(o.key==="ArrowLeft"||o.key==="ArrowDown")&&o.shiftKey||o.key==="PageDown"?s=Math.max(u-se,f):((o.key==="ArrowRight"||o.key==="ArrowUp")&&o.shiftKey||o.key==="PageUp")&&(s=Math.min(u+se,m)),s!==null&&(ke(o,s),o.preventDefault())}r==null||(n=r.onKeyDown)==null||n.call(r,o)};wt(()=>{if(l&&w.current.contains(document.activeElement)){var r;(r=document.activeElement)==null||r.blur()}},[l]),l&&W!==-1&&j(-1),l&&he!==-1&&G(-1);const ze=r=>o=>{var n;(n=r.onChange)==null||n.call(r,o),ke(o,o.target.valueAsNumber)},xe=S.useRef();let F=Q;L&&Q==="horizontal"&&(F+="-reverse");const v=({finger:r,move:o=!1})=>{const{current:n}=w,{width:i,height:u,bottom:s,left:M}=n.getBoundingClientRect();let E;F.indexOf("vertical")===0?E=(s-r.y)/u:E=(r.x-M)/i,F.indexOf("-reverse")!==-1&&(E=1-E);let p;if(p=zt(E,f,m),z)p=Et(p,z,f);else{const ae=st(g,p);p=g[ae]}p=pe(p,f,m);let $=0;if(q){o?$=xe.current:$=st(y,p),d&&(p=pe(p,y[$-1]||-1/0,y[$+1]||1/0));const ae=p;p=it({values:y,newValue:p,index:$}),d&&o||($=p.indexOf(ae),xe.current=$)}return{newValue:p,activeIndex:$}},b=Ge(r=>{const o=Le(r,V);if(!o)return;if(X.current+=1,r.type==="mousemove"&&r.buttons===0){I(r);return}const{newValue:n,activeIndex:i}=v({finger:o,move:!0});we({sliderRef:w,activeIndex:i,setActive:j}),Z(n),!ie&&X.current>Mt&&ue(!0),N&&!Pe(n,_)&&N(r,n,i)}),I=Ge(r=>{const o=Le(r,V);if(ue(!1),!o)return;const{newValue:n}=v({finger:o,move:!0});j(-1),r.type==="touchend"&&O(-1),K&&K(r,n),V.current=void 0,A()}),D=Ge(r=>{if(l)return;ut()||r.preventDefault();const o=r.changedTouches[0];o!=null&&(V.current=o.identifier);const n=Le(r,V);if(n!==!1){const{newValue:u,activeIndex:s}=v({finger:n});we({sliderRef:w,activeIndex:s,setActive:j}),Z(u),N&&!Pe(u,_)&&N(r,u,s)}X.current=0;const i=$e(w.current);i.addEventListener("touchmove",b,{passive:!0}),i.addEventListener("touchend",I,{passive:!0})}),A=S.useCallback(()=>{const r=$e(w.current);r.removeEventListener("mousemove",b),r.removeEventListener("mouseup",I),r.removeEventListener("touchmove",b),r.removeEventListener("touchend",I)},[I,b]);S.useEffect(()=>{const{current:r}=w;return r.addEventListener("touchstart",D,{passive:ut()}),()=>{r.removeEventListener("touchstart",D),A()}},[A,D]),S.useEffect(()=>{l&&A()},[l,A]);const Ne=r=>o=>{var n;if((n=r.onMouseDown)==null||n.call(r,o),l||o.defaultPrevented||o.button!==0)return;o.preventDefault();const i=Le(o,V);if(i!==!1){const{newValue:s,activeIndex:M}=v({finger:i});we({sliderRef:w,activeIndex:M,setActive:j}),Z(s),N&&!Pe(s,_)&&N(o,s,M)}X.current=0;const u=$e(w.current);u.addEventListener("mousemove",b,{passive:!0}),u.addEventListener("mouseup",I)},x=_e(q?y[0]:f,f,m),re=_e(y[y.length-1],f,m)-x,Ee=(r={})=>{const o=Je(r),n={onMouseDown:Ne(o||{})},i=c({},o,n);return c({},r,{ref:ye},i)},Ve=r=>o=>{var n;(n=r.onMouseOver)==null||n.call(r,o);const i=Number(o.currentTarget.getAttribute("data-index"));O(i)},Fe=r=>o=>{var n;(n=r.onMouseLeave)==null||n.call(r,o),O(-1)};return{active:W,axis:F,axisProps:Vt,dragging:ie,focusedThumbIndex:he,getHiddenInputProps:(r={})=>{var o;const n=Je(r),i={onChange:ze(n||{}),onFocus:ee(n||{}),onBlur:te(n||{}),onKeyDown:Me(n||{})},u=c({},n,i);return c({tabIndex:be,"aria-labelledby":t,"aria-orientation":Q,"aria-valuemax":le(m),"aria-valuemin":le(f),name:U,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(o=e.step)!=null?o:void 0,disabled:l},r,u,{style:c({},It,{direction:L?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Ee,getThumbProps:(r={})=>{const o=Je(r),n={onMouseOver:Ve(o||{}),onMouseLeave:Fe(o||{})};return c({},r,o,n)},marks:ce,open:ve,range:q,rootRef:ye,trackLeap:re,trackOffset:x,values:y,getThumbStyle:r=>({pointerEvents:W!==-1&&W!==r?"none":void 0})}}const jt=e=>!e||!Te(e);function Ot(e){return Ct("MuiSlider",e)}const T=Pt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Dt=e=>{const{open:t}=e;return{offset:oe(t&&T.valueLabelOpen),circle:T.valueLabelCircle,label:T.valueLabelLabel}};function Yt(e){const{children:t,className:a,value:l}=e,d=Dt(e);return t?S.cloneElement(t,{className:oe(t.props.className)},P.jsxs(S.Fragment,{children:[t.props.children,P.jsx("span",{className:oe(d.offset,a),"aria-hidden":!0,children:P.jsx("span",{className:d.circle,children:P.jsx("span",{className:d.label,children:l})})})]})):null}const Bt=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function ct(e){return e}const Ut=J("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[`color${B(a.color)}`],a.size!=="medium"&&t[`size${B(a.size)}`],a.marked&&t.marked,a.orientation==="vertical"&&t.vertical,a.track==="inverted"&&t.trackInverted,a.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${T.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${T.dragging}`]:{[`& .${T.thumb}, & .${T.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(a=>{var l;return((l=e.vars)!=null?l:e).palette[a].main}).map(a=>({props:{color:a},style:{color:(e.vars||e).palette[a].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),Kt=J("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),Wt=J("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(a=>{var l;return((l=e.vars)!=null?l:e).palette[a].main}).map(a=>({props:{color:a,track:"inverted"},style:c({},e.vars?{backgroundColor:e.vars.palette.Slider[`${a}Track`],borderColor:e.vars.palette.Slider[`${a}Track`]}:c({backgroundColor:ot(e.palette[a].main,.62),borderColor:ot(e.palette[a].main,.62)},e.applyStyles("dark",{backgroundColor:nt(e.palette[a].main,.5)}),e.applyStyles("dark",{borderColor:nt(e.palette[a].main,.5)})))}))]}}),Xt=J("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.thumb,t[`thumbColor${B(a.color)}`],a.size!=="medium"&&t[`thumbSize${B(a.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${T.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(a=>{var l;return((l=e.vars)!=null?l:e).palette[a].main}).map(a=>({props:{color:a},style:{[`&:hover, &.${T.focusVisible}`]:c({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${lt(e.palette[a].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${T.active}`]:c({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${lt(e.palette[a].main,.16)}`})}}))]}}),qt=J(Yt,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>c({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${T.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${T.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),Gt=J("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>dt(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:a}=e;return[t.mark,a&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),Jt=J("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>dt(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>c({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),Qt=e=>{const{disabled:t,dragging:a,marked:l,orientation:d,track:L,classes:C,color:m,size:f}=e,U={root:["root",t&&"disabled",a&&"dragging",l&&"marked",d==="vertical"&&"vertical",L==="inverted"&&"trackInverted",L===!1&&"trackFalse",m&&`color${B(m)}`,f&&`size${B(f)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",f&&`thumbSize${B(f)}`,m&&`thumbColor${B(m)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Rt(U,Ot,C)},Zt=({children:e})=>e,tr=S.forwardRef(function(t,a){var l,d,L,C,m,f,U,ne,K,Q,fe,le,z,se,be,me,V,W,j,ve,O,ie,ue,X;const _=$t({props:t,name:"MuiSlider"}),Z=Tt(),{"aria-label":N,"aria-valuetext":q,"aria-labelledby":y,component:ce="span",components:g={},componentsProps:R={},color:Re="primary",classes:Ie,className:Ae,disableSwap:he=!1,disabled:G=!1,getAriaLabel:w,getAriaValueText:ge,marks:ye=!1,max:ee=100,min:te=0,orientation:ke="horizontal",shiftStep:Me=10,size:ze="medium",step:xe=1,scale:F=ct,slotProps:v,slots:b,track:I="normal",valueLabelDisplay:D="off",valueLabelFormat:A=ct}=_,Ne=_t(_,Bt),x=c({},_,{isRtl:Z,max:ee,min:te,classes:Ie,disabled:G,disableSwap:he,orientation:ke,marks:ye,color:Re,size:ze,step:xe,shiftStep:Me,scale:F,track:I,valueLabelDisplay:D,valueLabelFormat:A}),{axisProps:re,getRootProps:Ee,getHiddenInputProps:Ve,getThumbProps:Fe,open:Qe,active:He,axis:de,focusedThumbIndex:r,range:o,dragging:n,marks:i,values:u,trackOffset:s,trackLeap:M,getThumbStyle:E}=Ht(c({},x,{rootRef:a}));x.marked=i.length>0&&i.some(h=>h.label),x.dragging=n,x.focusedThumbIndex=r;const p=Qt(x),$=(l=(d=b==null?void 0:b.root)!=null?d:g.Root)!=null?l:Ut,ae=(L=(C=b==null?void 0:b.rail)!=null?C:g.Rail)!=null?L:Kt,Ze=(m=(f=b==null?void 0:b.track)!=null?f:g.Track)!=null?m:Wt,et=(U=(ne=b==null?void 0:b.thumb)!=null?ne:g.Thumb)!=null?U:Xt,tt=(K=(Q=b==null?void 0:b.valueLabel)!=null?Q:g.ValueLabel)!=null?K:qt,je=(fe=(le=b==null?void 0:b.mark)!=null?le:g.Mark)!=null?fe:Gt,Oe=(z=(se=b==null?void 0:b.markLabel)!=null?se:g.MarkLabel)!=null?z:Jt,rt=(be=(me=b==null?void 0:b.input)!=null?me:g.Input)!=null?be:"input",De=(V=v==null?void 0:v.root)!=null?V:R.root,ft=(W=v==null?void 0:v.rail)!=null?W:R.rail,Ye=(j=v==null?void 0:v.track)!=null?j:R.track,Be=(ve=v==null?void 0:v.thumb)!=null?ve:R.thumb,Ue=(O=v==null?void 0:v.valueLabel)!=null?O:R.valueLabel,bt=(ie=v==null?void 0:v.mark)!=null?ie:R.mark,mt=(ue=v==null?void 0:v.markLabel)!=null?ue:R.markLabel,vt=(X=v==null?void 0:v.input)!=null?X:R.input,ht=Y({elementType:$,getSlotProps:Ee,externalSlotProps:De,externalForwardedProps:Ne,additionalProps:c({},jt($)&&{as:ce}),ownerState:c({},x,De==null?void 0:De.ownerState),className:[p.root,Ae]}),gt=Y({elementType:ae,externalSlotProps:ft,ownerState:x,className:p.rail}),yt=Y({elementType:Ze,externalSlotProps:Ye,additionalProps:{style:c({},re[de].offset(s),re[de].leap(M))},ownerState:c({},x,Ye==null?void 0:Ye.ownerState),className:p.track}),Ke=Y({elementType:et,getSlotProps:Fe,externalSlotProps:Be,ownerState:c({},x,Be==null?void 0:Be.ownerState),className:p.thumb}),kt=Y({elementType:tt,externalSlotProps:Ue,ownerState:c({},x,Ue==null?void 0:Ue.ownerState),className:p.valueLabel}),We=Y({elementType:je,externalSlotProps:bt,ownerState:x,className:p.mark}),Xe=Y({elementType:Oe,externalSlotProps:mt,ownerState:x,className:p.markLabel}),xt=Y({elementType:rt,getSlotProps:Ve,externalSlotProps:vt,ownerState:x});return P.jsxs($,c({},ht,{children:[P.jsx(ae,c({},gt)),P.jsx(Ze,c({},yt)),i.filter(h=>h.value>=te&&h.value<=ee).map((h,k)=>{const qe=_e(h.value,te,ee),Se=re[de].offset(qe);let H;return I===!1?H=u.indexOf(h.value)!==-1:H=I==="normal"&&(o?h.value>=u[0]&&h.value<=u[u.length-1]:h.value<=u[0])||I==="inverted"&&(o?h.value<=u[0]||h.value>=u[u.length-1]:h.value>=u[0]),P.jsxs(S.Fragment,{children:[P.jsx(je,c({"data-index":k},We,!Te(je)&&{markActive:H},{style:c({},Se,We.style),className:oe(We.className,H&&p.markActive)})),h.label!=null?P.jsx(Oe,c({"aria-hidden":!0,"data-index":k},Xe,!Te(Oe)&&{markLabelActive:H},{style:c({},Se,Xe.style),className:oe(p.markLabel,Xe.className,H&&p.markLabelActive),children:h.label})):null]},k)}),u.map((h,k)=>{const qe=_e(h,te,ee),Se=re[de].offset(qe),H=D==="off"?Zt:tt;return P.jsx(H,c({},!Te(H)&&{valueLabelFormat:A,valueLabelDisplay:D,value:typeof A=="function"?A(F(h),k):A,index:k,open:Qe===k||He===k||D==="on",disabled:G},kt,{children:P.jsx(et,c({"data-index":k},Ke,{className:oe(p.thumb,Ke.className,He===k&&p.active,r===k&&p.focusVisible),style:c({},Se,E(k),Ke.style),children:P.jsx(rt,c({"data-index":k,"aria-label":w?w(k):N,"aria-valuenow":F(h),"aria-labelledby":y,"aria-valuetext":ge?ge(F(h),k):q,value:u[k]},xt))}))}),k)})]}))});export{tr as S};
1
+ import{r as S,dd as St,i1 as pe,cs as Lt,co as at,cQ as wt,cZ as Ge,c_ as $e,i2 as Je,aK as c,d1 as Te,aE as Pt,aF as Ct,aM as oe,j as P,aG as J,aH as B,cl as ot,ck as nt,cr as lt,eK as dt,aI as $t,cY as Tt,aJ as _t,aL as Y,aN as Rt}from"./index-CuJ6VeB5.js";const It={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function At(e,t,a=(l,d)=>l===d){return e.length===t.length&&e.every((l,d)=>a(l,t[d]))}const Mt=2;function pt(e,t){return e-t}function st(e,t){var a;const{index:l}=(a=e.reduce((d,L,C)=>{const m=Math.abs(t-L);return d===null||m<d.distance||m===d.distance?{distance:m,index:C}:d},null))!=null?a:{};return l}function Le(e,t){if(t.current!==void 0&&e.changedTouches){const a=e;for(let l=0;l<a.changedTouches.length;l+=1){const d=a.changedTouches[l];if(d.identifier===t.current)return{x:d.clientX,y:d.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function _e(e,t,a){return(e-t)*100/(a-t)}function zt(e,t,a){return(a-t)*e+t}function Nt(e){if(Math.abs(e)<1){const a=e.toExponential().split("e-"),l=a[0].split(".")[1];return(l?l.length:0)+parseInt(a[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function Et(e,t,a){const l=Math.round((e-a)/t)*t+a;return Number(l.toFixed(Nt(t)))}function it({values:e,newValue:t,index:a}){const l=e.slice();return l[a]=t,l.sort(pt)}function we({sliderRef:e,activeIndex:t,setActive:a}){var l,d;const L=$e(e.current);if(!((l=e.current)!=null&&l.contains(L.activeElement))||Number(L==null||(d=L.activeElement)==null?void 0:d.getAttribute("data-index"))!==t){var C;(C=e.current)==null||C.querySelector(`[type="range"][data-index="${t}"]`).focus()}a&&a(t)}function Pe(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?At(e,t):!1}const Vt={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Ft=e=>e;let Ce;function ut(){return Ce===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Ce=CSS.supports("touch-action","none"):Ce=!0),Ce}function Ht(e){const{"aria-labelledby":t,defaultValue:a,disabled:l=!1,disableSwap:d=!1,isRtl:L=!1,marks:C=!1,max:m=100,min:f=0,name:K,onChange:ne,onChangeCommitted:U,orientation:Q="horizontal",rootRef:fe,scale:le=Ft,step:z=1,shiftStep:se=10,tabIndex:be,value:me}=e,V=S.useRef(),[W,j]=S.useState(-1),[ve,O]=S.useState(-1),[ie,ue]=S.useState(!1),X=S.useRef(0),[_,Z]=St({controlled:me,default:a??f,name:"Slider"}),N=ne&&((r,o,n)=>{const i=r.nativeEvent||r,u=new i.constructor(i.type,i);Object.defineProperty(u,"target",{writable:!0,value:{value:o,name:K}}),ne(u,o,n)}),q=Array.isArray(_);let y=q?_.slice().sort(pt):[_];y=y.map(r=>r==null?f:pe(r,f,m));const ce=C===!0&&z!==null?[...Array(Math.floor((m-f)/z)+1)].map((r,o)=>({value:f+z*o})):C||[],g=ce.map(r=>r.value),{isFocusVisibleRef:R,onBlur:Re,onFocus:Ie,ref:Ae}=Lt(),[he,G]=S.useState(-1),w=S.useRef(),ge=at(Ae,w),ye=at(fe,ge),ee=r=>o=>{var n;const i=Number(o.currentTarget.getAttribute("data-index"));Ie(o),R.current===!0&&G(i),O(i),r==null||(n=r.onFocus)==null||n.call(r,o)},te=r=>o=>{var n;Re(o),R.current===!1&&G(-1),O(-1),r==null||(n=r.onBlur)==null||n.call(r,o)},ke=(r,o)=>{const n=Number(r.currentTarget.getAttribute("data-index")),i=y[n],u=g.indexOf(i);let s=o;if(ce&&z==null){const M=g[g.length-1];s>M?s=M:s<g[0]?s=g[0]:s=s<i?g[u-1]:g[u+1]}if(s=pe(s,f,m),q){d&&(s=pe(s,y[n-1]||-1/0,y[n+1]||1/0));const M=s;s=it({values:y,newValue:s,index:n});let E=n;d||(E=s.indexOf(M)),we({sliderRef:w,activeIndex:E})}Z(s),G(n),N&&!Pe(s,_)&&N(r,s,n),U&&U(r,s)},Me=r=>o=>{var n;if(z!==null){const i=Number(o.currentTarget.getAttribute("data-index")),u=y[i];let s=null;(o.key==="ArrowLeft"||o.key==="ArrowDown")&&o.shiftKey||o.key==="PageDown"?s=Math.max(u-se,f):((o.key==="ArrowRight"||o.key==="ArrowUp")&&o.shiftKey||o.key==="PageUp")&&(s=Math.min(u+se,m)),s!==null&&(ke(o,s),o.preventDefault())}r==null||(n=r.onKeyDown)==null||n.call(r,o)};wt(()=>{if(l&&w.current.contains(document.activeElement)){var r;(r=document.activeElement)==null||r.blur()}},[l]),l&&W!==-1&&j(-1),l&&he!==-1&&G(-1);const ze=r=>o=>{var n;(n=r.onChange)==null||n.call(r,o),ke(o,o.target.valueAsNumber)},xe=S.useRef();let F=Q;L&&Q==="horizontal"&&(F+="-reverse");const v=({finger:r,move:o=!1})=>{const{current:n}=w,{width:i,height:u,bottom:s,left:M}=n.getBoundingClientRect();let E;F.indexOf("vertical")===0?E=(s-r.y)/u:E=(r.x-M)/i,F.indexOf("-reverse")!==-1&&(E=1-E);let p;if(p=zt(E,f,m),z)p=Et(p,z,f);else{const ae=st(g,p);p=g[ae]}p=pe(p,f,m);let $=0;if(q){o?$=xe.current:$=st(y,p),d&&(p=pe(p,y[$-1]||-1/0,y[$+1]||1/0));const ae=p;p=it({values:y,newValue:p,index:$}),d&&o||($=p.indexOf(ae),xe.current=$)}return{newValue:p,activeIndex:$}},b=Ge(r=>{const o=Le(r,V);if(!o)return;if(X.current+=1,r.type==="mousemove"&&r.buttons===0){I(r);return}const{newValue:n,activeIndex:i}=v({finger:o,move:!0});we({sliderRef:w,activeIndex:i,setActive:j}),Z(n),!ie&&X.current>Mt&&ue(!0),N&&!Pe(n,_)&&N(r,n,i)}),I=Ge(r=>{const o=Le(r,V);if(ue(!1),!o)return;const{newValue:n}=v({finger:o,move:!0});j(-1),r.type==="touchend"&&O(-1),U&&U(r,n),V.current=void 0,A()}),D=Ge(r=>{if(l)return;ut()||r.preventDefault();const o=r.changedTouches[0];o!=null&&(V.current=o.identifier);const n=Le(r,V);if(n!==!1){const{newValue:u,activeIndex:s}=v({finger:n});we({sliderRef:w,activeIndex:s,setActive:j}),Z(u),N&&!Pe(u,_)&&N(r,u,s)}X.current=0;const i=$e(w.current);i.addEventListener("touchmove",b,{passive:!0}),i.addEventListener("touchend",I,{passive:!0})}),A=S.useCallback(()=>{const r=$e(w.current);r.removeEventListener("mousemove",b),r.removeEventListener("mouseup",I),r.removeEventListener("touchmove",b),r.removeEventListener("touchend",I)},[I,b]);S.useEffect(()=>{const{current:r}=w;return r.addEventListener("touchstart",D,{passive:ut()}),()=>{r.removeEventListener("touchstart",D),A()}},[A,D]),S.useEffect(()=>{l&&A()},[l,A]);const Ne=r=>o=>{var n;if((n=r.onMouseDown)==null||n.call(r,o),l||o.defaultPrevented||o.button!==0)return;o.preventDefault();const i=Le(o,V);if(i!==!1){const{newValue:s,activeIndex:M}=v({finger:i});we({sliderRef:w,activeIndex:M,setActive:j}),Z(s),N&&!Pe(s,_)&&N(o,s,M)}X.current=0;const u=$e(w.current);u.addEventListener("mousemove",b,{passive:!0}),u.addEventListener("mouseup",I)},x=_e(q?y[0]:f,f,m),re=_e(y[y.length-1],f,m)-x,Ee=(r={})=>{const o=Je(r),n={onMouseDown:Ne(o||{})},i=c({},o,n);return c({},r,{ref:ye},i)},Ve=r=>o=>{var n;(n=r.onMouseOver)==null||n.call(r,o);const i=Number(o.currentTarget.getAttribute("data-index"));O(i)},Fe=r=>o=>{var n;(n=r.onMouseLeave)==null||n.call(r,o),O(-1)};return{active:W,axis:F,axisProps:Vt,dragging:ie,focusedThumbIndex:he,getHiddenInputProps:(r={})=>{var o;const n=Je(r),i={onChange:ze(n||{}),onFocus:ee(n||{}),onBlur:te(n||{}),onKeyDown:Me(n||{})},u=c({},n,i);return c({tabIndex:be,"aria-labelledby":t,"aria-orientation":Q,"aria-valuemax":le(m),"aria-valuemin":le(f),name:K,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(o=e.step)!=null?o:void 0,disabled:l},r,u,{style:c({},It,{direction:L?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Ee,getThumbProps:(r={})=>{const o=Je(r),n={onMouseOver:Ve(o||{}),onMouseLeave:Fe(o||{})};return c({},r,o,n)},marks:ce,open:ve,range:q,rootRef:ye,trackLeap:re,trackOffset:x,values:y,getThumbStyle:r=>({pointerEvents:W!==-1&&W!==r?"none":void 0})}}const jt=e=>!e||!Te(e);function Ot(e){return Ct("MuiSlider",e)}const T=Pt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Dt=e=>{const{open:t}=e;return{offset:oe(t&&T.valueLabelOpen),circle:T.valueLabelCircle,label:T.valueLabelLabel}};function Yt(e){const{children:t,className:a,value:l}=e,d=Dt(e);return t?S.cloneElement(t,{className:oe(t.props.className)},P.jsxs(S.Fragment,{children:[t.props.children,P.jsx("span",{className:oe(d.offset,a),"aria-hidden":!0,children:P.jsx("span",{className:d.circle,children:P.jsx("span",{className:d.label,children:l})})})]})):null}const Bt=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function ct(e){return e}const Kt=J("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[`color${B(a.color)}`],a.size!=="medium"&&t[`size${B(a.size)}`],a.marked&&t.marked,a.orientation==="vertical"&&t.vertical,a.track==="inverted"&&t.trackInverted,a.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${T.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${T.dragging}`]:{[`& .${T.thumb}, & .${T.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(a=>{var l;return((l=e.vars)!=null?l:e).palette[a].main}).map(a=>({props:{color:a},style:{color:(e.vars||e).palette[a].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),Ut=J("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),Wt=J("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(a=>{var l;return((l=e.vars)!=null?l:e).palette[a].main}).map(a=>({props:{color:a,track:"inverted"},style:c({},e.vars?{backgroundColor:e.vars.palette.Slider[`${a}Track`],borderColor:e.vars.palette.Slider[`${a}Track`]}:c({backgroundColor:ot(e.palette[a].main,.62),borderColor:ot(e.palette[a].main,.62)},e.applyStyles("dark",{backgroundColor:nt(e.palette[a].main,.5)}),e.applyStyles("dark",{borderColor:nt(e.palette[a].main,.5)})))}))]}}),Xt=J("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.thumb,t[`thumbColor${B(a.color)}`],a.size!=="medium"&&t[`thumbSize${B(a.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${T.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(a=>{var l;return((l=e.vars)!=null?l:e).palette[a].main}).map(a=>({props:{color:a},style:{[`&:hover, &.${T.focusVisible}`]:c({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${lt(e.palette[a].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${T.active}`]:c({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[a].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${lt(e.palette[a].main,.16)}`})}}))]}}),qt=J(Yt,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>c({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${T.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${T.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),Gt=J("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>dt(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:a}=e;return[t.mark,a&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),Jt=J("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>dt(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>c({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),Qt=e=>{const{disabled:t,dragging:a,marked:l,orientation:d,track:L,classes:C,color:m,size:f}=e,K={root:["root",t&&"disabled",a&&"dragging",l&&"marked",d==="vertical"&&"vertical",L==="inverted"&&"trackInverted",L===!1&&"trackFalse",m&&`color${B(m)}`,f&&`size${B(f)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",f&&`thumbSize${B(f)}`,m&&`thumbColor${B(m)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Rt(K,Ot,C)},Zt=({children:e})=>e,tr=S.forwardRef(function(t,a){var l,d,L,C,m,f,K,ne,U,Q,fe,le,z,se,be,me,V,W,j,ve,O,ie,ue,X;const _=$t({props:t,name:"MuiSlider"}),Z=Tt(),{"aria-label":N,"aria-valuetext":q,"aria-labelledby":y,component:ce="span",components:g={},componentsProps:R={},color:Re="primary",classes:Ie,className:Ae,disableSwap:he=!1,disabled:G=!1,getAriaLabel:w,getAriaValueText:ge,marks:ye=!1,max:ee=100,min:te=0,orientation:ke="horizontal",shiftStep:Me=10,size:ze="medium",step:xe=1,scale:F=ct,slotProps:v,slots:b,track:I="normal",valueLabelDisplay:D="off",valueLabelFormat:A=ct}=_,Ne=_t(_,Bt),x=c({},_,{isRtl:Z,max:ee,min:te,classes:Ie,disabled:G,disableSwap:he,orientation:ke,marks:ye,color:Re,size:ze,step:xe,shiftStep:Me,scale:F,track:I,valueLabelDisplay:D,valueLabelFormat:A}),{axisProps:re,getRootProps:Ee,getHiddenInputProps:Ve,getThumbProps:Fe,open:Qe,active:He,axis:de,focusedThumbIndex:r,range:o,dragging:n,marks:i,values:u,trackOffset:s,trackLeap:M,getThumbStyle:E}=Ht(c({},x,{rootRef:a}));x.marked=i.length>0&&i.some(h=>h.label),x.dragging=n,x.focusedThumbIndex=r;const p=Qt(x),$=(l=(d=b==null?void 0:b.root)!=null?d:g.Root)!=null?l:Kt,ae=(L=(C=b==null?void 0:b.rail)!=null?C:g.Rail)!=null?L:Ut,Ze=(m=(f=b==null?void 0:b.track)!=null?f:g.Track)!=null?m:Wt,et=(K=(ne=b==null?void 0:b.thumb)!=null?ne:g.Thumb)!=null?K:Xt,tt=(U=(Q=b==null?void 0:b.valueLabel)!=null?Q:g.ValueLabel)!=null?U:qt,je=(fe=(le=b==null?void 0:b.mark)!=null?le:g.Mark)!=null?fe:Gt,Oe=(z=(se=b==null?void 0:b.markLabel)!=null?se:g.MarkLabel)!=null?z:Jt,rt=(be=(me=b==null?void 0:b.input)!=null?me:g.Input)!=null?be:"input",De=(V=v==null?void 0:v.root)!=null?V:R.root,ft=(W=v==null?void 0:v.rail)!=null?W:R.rail,Ye=(j=v==null?void 0:v.track)!=null?j:R.track,Be=(ve=v==null?void 0:v.thumb)!=null?ve:R.thumb,Ke=(O=v==null?void 0:v.valueLabel)!=null?O:R.valueLabel,bt=(ie=v==null?void 0:v.mark)!=null?ie:R.mark,mt=(ue=v==null?void 0:v.markLabel)!=null?ue:R.markLabel,vt=(X=v==null?void 0:v.input)!=null?X:R.input,ht=Y({elementType:$,getSlotProps:Ee,externalSlotProps:De,externalForwardedProps:Ne,additionalProps:c({},jt($)&&{as:ce}),ownerState:c({},x,De==null?void 0:De.ownerState),className:[p.root,Ae]}),gt=Y({elementType:ae,externalSlotProps:ft,ownerState:x,className:p.rail}),yt=Y({elementType:Ze,externalSlotProps:Ye,additionalProps:{style:c({},re[de].offset(s),re[de].leap(M))},ownerState:c({},x,Ye==null?void 0:Ye.ownerState),className:p.track}),Ue=Y({elementType:et,getSlotProps:Fe,externalSlotProps:Be,ownerState:c({},x,Be==null?void 0:Be.ownerState),className:p.thumb}),kt=Y({elementType:tt,externalSlotProps:Ke,ownerState:c({},x,Ke==null?void 0:Ke.ownerState),className:p.valueLabel}),We=Y({elementType:je,externalSlotProps:bt,ownerState:x,className:p.mark}),Xe=Y({elementType:Oe,externalSlotProps:mt,ownerState:x,className:p.markLabel}),xt=Y({elementType:rt,getSlotProps:Ve,externalSlotProps:vt,ownerState:x});return P.jsxs($,c({},ht,{children:[P.jsx(ae,c({},gt)),P.jsx(Ze,c({},yt)),i.filter(h=>h.value>=te&&h.value<=ee).map((h,k)=>{const qe=_e(h.value,te,ee),Se=re[de].offset(qe);let H;return I===!1?H=u.indexOf(h.value)!==-1:H=I==="normal"&&(o?h.value>=u[0]&&h.value<=u[u.length-1]:h.value<=u[0])||I==="inverted"&&(o?h.value<=u[0]||h.value>=u[u.length-1]:h.value>=u[0]),P.jsxs(S.Fragment,{children:[P.jsx(je,c({"data-index":k},We,!Te(je)&&{markActive:H},{style:c({},Se,We.style),className:oe(We.className,H&&p.markActive)})),h.label!=null?P.jsx(Oe,c({"aria-hidden":!0,"data-index":k},Xe,!Te(Oe)&&{markLabelActive:H},{style:c({},Se,Xe.style),className:oe(p.markLabel,Xe.className,H&&p.markLabelActive),children:h.label})):null]},k)}),u.map((h,k)=>{const qe=_e(h,te,ee),Se=re[de].offset(qe),H=D==="off"?Zt:tt;return P.jsx(H,c({},!Te(H)&&{valueLabelFormat:A,valueLabelDisplay:D,value:typeof A=="function"?A(F(h),k):A,index:k,open:Qe===k||He===k||D==="on",disabled:G},kt,{children:P.jsx(et,c({"data-index":k},Ue,{className:oe(p.thumb,Ue.className,He===k&&p.active,r===k&&p.focusVisible),style:c({},Se,E(k),Ue.style),children:P.jsx(rt,c({"data-index":k,"aria-label":w?w(k):N,"aria-valuenow":F(h),"aria-labelledby":y,"aria-valuetext":ge?ge(F(h),k):q,value:u[k]},xt))}))}),k)})]}))});export{tr as S};
@@ -1 +1 @@
1
- import{dl as b,dm as F,aK as k,dn as g,dp as d,dq as T,dr as D,ds as M,r as p,dt as B,aJ as G,j as N,aM as E,du as O,aN as U,aF as _,dv as h,aG as $,aI as A}from"./index-BowU-Rc8.js";const I=["component","direction","spacing","divider","children","className","useFlexGap"],L=b(),q=F("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,s)=>s.root});function J(e){return O({props:e,name:"MuiStack",defaultTheme:L})}function K(e,s){const n=p.Children.toArray(e).filter(Boolean);return n.reduce((a,c,t)=>(a.push(c),t<n.length-1&&a.push(p.cloneElement(s,{key:`separator-${t}`})),a),[])}const W=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],z=({ownerState:e,theme:s})=>{let n=k({display:"flex",flexDirection:"column"},g({theme:s},d({values:e.direction,breakpoints:s.breakpoints.values}),a=>({flexDirection:a})));if(e.spacing){const a=T(s),c=Object.keys(s.breakpoints.values).reduce((o,r)=>((typeof e.spacing=="object"&&e.spacing[r]!=null||typeof e.direction=="object"&&e.direction[r]!=null)&&(o[r]=!0),o),{}),t=d({values:e.direction,base:c}),m=d({values:e.spacing,base:c});typeof t=="object"&&Object.keys(t).forEach((o,r,i)=>{if(!t[o]){const u=r>0?t[i[r-1]]:"column";t[o]=u}}),n=D(n,g({theme:s},m,(o,r)=>e.useFlexGap?{gap:h(a,o)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${W(r?t[r]:e.direction)}`]:h(a,o)}}))}return n=M(s.breakpoints,n),n};function H(e={}){const{createStyledComponent:s=q,useThemeProps:n=J,componentName:a="MuiStack"}=e,c=()=>U({root:["root"]},o=>_(a,o),{}),t=s(z);return p.forwardRef(function(o,r){const i=n(o),l=B(i),{component:u="div",direction:x="column",spacing:j=0,divider:y,children:v,className:P,useFlexGap:C=!1}=l,S=G(l,I),R={direction:x,spacing:j,useFlexGap:C},V=c();return N.jsx(t,k({as:u,ownerState:R,ref:r,className:E(V.root,P)},S,{children:y?K(v,y):v}))})}const X=H({createStyledComponent:$("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,s)=>s.root}),useThemeProps:e=>A({props:e,name:"MuiStack"})});export{X as S,H as c};
1
+ import{dq as b,dr as F,aK as k,ds as g,dt as d,du as T,dv as D,dw as M,r as p,dx as B,aJ as G,j as N,aM as E,dy as O,aN as U,aF as _,dz as h,aG as $,aI as A}from"./index-CuJ6VeB5.js";const I=["component","direction","spacing","divider","children","className","useFlexGap"],L=b(),q=F("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,s)=>s.root});function z(e){return O({props:e,name:"MuiStack",defaultTheme:L})}function J(e,s){const n=p.Children.toArray(e).filter(Boolean);return n.reduce((a,c,t)=>(a.push(c),t<n.length-1&&a.push(p.cloneElement(s,{key:`separator-${t}`})),a),[])}const K=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],W=({ownerState:e,theme:s})=>{let n=k({display:"flex",flexDirection:"column"},g({theme:s},d({values:e.direction,breakpoints:s.breakpoints.values}),a=>({flexDirection:a})));if(e.spacing){const a=T(s),c=Object.keys(s.breakpoints.values).reduce((o,r)=>((typeof e.spacing=="object"&&e.spacing[r]!=null||typeof e.direction=="object"&&e.direction[r]!=null)&&(o[r]=!0),o),{}),t=d({values:e.direction,base:c}),m=d({values:e.spacing,base:c});typeof t=="object"&&Object.keys(t).forEach((o,r,i)=>{if(!t[o]){const u=r>0?t[i[r-1]]:"column";t[o]=u}}),n=D(n,g({theme:s},m,(o,r)=>e.useFlexGap?{gap:h(a,o)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${K(r?t[r]:e.direction)}`]:h(a,o)}}))}return n=M(s.breakpoints,n),n};function H(e={}){const{createStyledComponent:s=q,useThemeProps:n=z,componentName:a="MuiStack"}=e,c=()=>U({root:["root"]},o=>_(a,o),{}),t=s(W);return p.forwardRef(function(o,r){const i=n(o),l=B(i),{component:u="div",direction:x="column",spacing:j=0,divider:y,children:v,className:P,useFlexGap:C=!1}=l,S=G(l,I),R={direction:x,spacing:j,useFlexGap:C},V=c();return N.jsx(t,k({as:u,ownerState:R,ref:r,className:E(V.root,P)},S,{children:y?J(v,y):v}))})}const X=H({createStyledComponent:$("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,s)=>s.root}),useThemeProps:e=>A({props:e,name:"MuiStack"})});export{X as S,H as c};
@@ -1 +1 @@
1
- import{r as v,aF as w,aE as U,aG as S,aK as s,aI as _,aJ as W,j as i,aM as P,aN as k,at as H,cy as B,aH as V}from"./index-BowU-Rc8.js";const T=v.createContext({}),E=v.createContext({});function G(e){return w("MuiStep",e)}U("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const J=["active","children","className","component","completed","disabled","expanded","index","last"],K=e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e;return k({root:["root",o,n&&"alternativeLabel",a&&"completed"]},G,t)},q=S("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})(({ownerState:e})=>s({},e.orientation==="horizontal"&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})),he=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStep"}),{active:a,children:r,className:u,component:c="div",completed:p,disabled:b,expanded:d=!1,index:l,last:m}=n,R=W(n,J),{activeStep:h,connector:L,alternativeLabel:y,orientation:I,nonLinear:M}=v.useContext(T);let[x=!1,N=!1,f=!1]=[a,p,b];h===l?x=a!==void 0?a:!0:!M&&h>l?N=p!==void 0?p:!0:!M&&h<l&&(f=b!==void 0?b:!0);const j=v.useMemo(()=>({index:l,last:m,expanded:d,icon:l+1,active:x,completed:N,disabled:f}),[l,m,d,x,N,f]),C=s({},n,{active:x,orientation:I,alternativeLabel:y,completed:N,disabled:f,expanded:d,component:c}),$=K(C),z=i.jsxs(q,s({as:c,className:P($.root,u),ref:o,ownerState:C},R,{children:[L&&y&&l!==0?L:null,r]}));return i.jsx(E.Provider,{value:j,children:L&&!y&&l!==0?i.jsxs(v.Fragment,{children:[L,z]}):z})}),O=H(i.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),Q=H(i.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function X(e){return w("MuiStepIcon",e)}const A=U("MuiStepIcon",["root","active","completed","error","text"]);var F;const Y=["active","className","completed","error","icon"],Z=e=>{const{classes:t,active:o,completed:n,error:a}=e;return k({root:["root",o&&"active",n&&"completed",a&&"error"],text:["text"]},X,t)},D=S(B,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${A.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${A.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${A.error}`]:{color:(e.vars||e).palette.error.main}})),ee=S("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})),te=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepIcon"}),{active:a=!1,className:r,completed:u=!1,error:c=!1,icon:p}=n,b=W(n,Y),d=s({},n,{active:a,completed:u,error:c}),l=Z(d);if(typeof p=="number"||typeof p=="string"){const m=P(r,l.root);return c?i.jsx(D,s({as:Q,className:m,ref:o,ownerState:d},b)):u?i.jsx(D,s({as:O,className:m,ref:o,ownerState:d},b)):i.jsxs(D,s({className:m,ref:o,ownerState:d},b,{children:[F||(F=i.jsx("circle",{cx:"12",cy:"12",r:"12"})),i.jsx(ee,{className:l.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:d,children:p})]}))}return p});function oe(e){return w("MuiStepLabel",e)}const g=U("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),ne=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],ae=e=>{const{classes:t,orientation:o,active:n,completed:a,error:r,disabled:u,alternativeLabel:c}=e;return k({root:["root",o,r&&"error",u&&"disabled",c&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",r&&"error",u&&"disabled",c&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",r&&"error",u&&"disabled",c&&"alternativeLabel"],labelContainer:["labelContainer",c&&"alternativeLabel"]},oe,t)},re=S("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})(({ownerState:e})=>s({display:"flex",alignItems:"center",[`&.${g.alternativeLabel}`]:{flexDirection:"column"},[`&.${g.disabled}`]:{cursor:"default"}},e.orientation==="vertical"&&{textAlign:"left",padding:"8px 0"})),le=S("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(({theme:e})=>s({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${g.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${g.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${g.alternativeLabel}`]:{marginTop:16},[`&.${g.error}`]:{color:(e.vars||e).palette.error.main}})),se=S("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${g.alternativeLabel}`]:{paddingRight:0}})),ie=S("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${g.alternativeLabel}`]:{textAlign:"center"}})),ce=v.forwardRef(function(t,o){var n;const a=_({props:t,name:"MuiStepLabel"}),{children:r,className:u,componentsProps:c={},error:p=!1,icon:b,optional:d,slotProps:l={},StepIconComponent:m,StepIconProps:R}=a,h=W(a,ne),{alternativeLabel:L,orientation:y}=v.useContext(T),{active:I,disabled:M,completed:x,icon:N}=v.useContext(E),f=b||N;let j=m;f&&!j&&(j=te);const C=s({},a,{active:I,alternativeLabel:L,completed:x,disabled:M,error:p,orientation:y}),$=ae(C),z=(n=l.label)!=null?n:c.label;return i.jsxs(re,s({className:P($.root,u),ref:o,ownerState:C},h,{children:[f||j?i.jsx(se,{className:$.iconContainer,ownerState:C,children:i.jsx(j,s({completed:x,active:I,error:p,icon:f},R))}):null,i.jsxs(ie,{className:$.labelContainer,ownerState:C,children:[r?i.jsx(le,s({ownerState:C},z,{className:P($.label,z==null?void 0:z.className),children:r})):null,d]})]}))});ce.muiName="StepLabel";function pe(e){return w("MuiStepConnector",e)}U("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const de=["className"],ve=e=>{const{classes:t,orientation:o,alternativeLabel:n,active:a,completed:r,disabled:u}=e,c={root:["root",o,n&&"alternativeLabel",a&&"active",r&&"completed",u&&"disabled"],line:["line",`line${V(o)}`]};return k(c,pe,t)},ue=S("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})(({ownerState:e})=>s({flex:"1 1 auto"},e.orientation==="vertical"&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})),be=S("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${V(o.orientation)}`]]}})(({ownerState:e,theme:t})=>{const o=t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600];return s({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},e.orientation==="horizontal"&&{borderTopStyle:"solid",borderTopWidth:1},e.orientation==="vertical"&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})}),me=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepConnector"}),{className:a}=n,r=W(n,de),{alternativeLabel:u,orientation:c="horizontal"}=v.useContext(T),{active:p,disabled:b,completed:d}=v.useContext(E),l=s({},n,{alternativeLabel:u,orientation:c,active:p,completed:d,disabled:b}),m=ve(l);return i.jsx(ue,s({className:P(m.root,a),ref:o,ownerState:l},r,{children:i.jsx(be,{className:m.line,ownerState:l})}))});function xe(e){return w("MuiStepper",e)}U("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const Se=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Le=e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:a}=e;return k({root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]},xe,a)},fe=S("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})(({ownerState:e})=>s({display:"flex"},e.orientation==="horizontal"&&{flexDirection:"row",alignItems:"center"},e.orientation==="vertical"&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})),Ce=i.jsx(me,{}),ye=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepper"}),{activeStep:a=0,alternativeLabel:r=!1,children:u,className:c,component:p="div",connector:b=Ce,nonLinear:d=!1,orientation:l="horizontal"}=n,m=W(n,Se),R=s({},n,{nonLinear:d,alternativeLabel:r,orientation:l,component:p}),h=Le(R),L=v.Children.toArray(u).filter(Boolean),y=L.map((M,x)=>v.cloneElement(M,s({index:x,last:x+1===L.length},M.props))),I=v.useMemo(()=>({activeStep:a,alternativeLabel:r,connector:b,nonLinear:d,orientation:l}),[a,r,b,d,l]);return i.jsx(T.Provider,{value:I,children:i.jsx(fe,s({as:p,ownerState:R,className:P(h.root,c),ref:o},m,{children:y}))})});export{ye as S,he as a,ce as b,E as c,T as d};
1
+ import{r as v,aF as w,aE as U,aG as S,aK as s,aI as _,aJ as W,j as i,aM as P,aN as k,at as H,cD as B,aH as V}from"./index-CuJ6VeB5.js";const T=v.createContext({}),E=v.createContext({});function G(e){return w("MuiStep",e)}U("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const J=["active","children","className","component","completed","disabled","expanded","index","last"],K=e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e;return k({root:["root",o,n&&"alternativeLabel",a&&"completed"]},G,t)},q=S("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})(({ownerState:e})=>s({},e.orientation==="horizontal"&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})),he=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStep"}),{active:a,children:r,className:u,component:c="div",completed:p,disabled:b,expanded:d=!1,index:l,last:m}=n,R=W(n,J),{activeStep:h,connector:L,alternativeLabel:y,orientation:I,nonLinear:M}=v.useContext(T);let[x=!1,N=!1,f=!1]=[a,p,b];h===l?x=a!==void 0?a:!0:!M&&h>l?N=p!==void 0?p:!0:!M&&h<l&&(f=b!==void 0?b:!0);const j=v.useMemo(()=>({index:l,last:m,expanded:d,icon:l+1,active:x,completed:N,disabled:f}),[l,m,d,x,N,f]),C=s({},n,{active:x,orientation:I,alternativeLabel:y,completed:N,disabled:f,expanded:d,component:c}),$=K(C),z=i.jsxs(q,s({as:c,className:P($.root,u),ref:o,ownerState:C},R,{children:[L&&y&&l!==0?L:null,r]}));return i.jsx(E.Provider,{value:j,children:L&&!y&&l!==0?i.jsxs(v.Fragment,{children:[L,z]}):z})}),O=H(i.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),Q=H(i.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function X(e){return w("MuiStepIcon",e)}const A=U("MuiStepIcon",["root","active","completed","error","text"]);var F;const Y=["active","className","completed","error","icon"],Z=e=>{const{classes:t,active:o,completed:n,error:a}=e;return k({root:["root",o&&"active",n&&"completed",a&&"error"],text:["text"]},X,t)},D=S(B,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${A.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${A.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${A.error}`]:{color:(e.vars||e).palette.error.main}})),ee=S("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})),te=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepIcon"}),{active:a=!1,className:r,completed:u=!1,error:c=!1,icon:p}=n,b=W(n,Y),d=s({},n,{active:a,completed:u,error:c}),l=Z(d);if(typeof p=="number"||typeof p=="string"){const m=P(r,l.root);return c?i.jsx(D,s({as:Q,className:m,ref:o,ownerState:d},b)):u?i.jsx(D,s({as:O,className:m,ref:o,ownerState:d},b)):i.jsxs(D,s({className:m,ref:o,ownerState:d},b,{children:[F||(F=i.jsx("circle",{cx:"12",cy:"12",r:"12"})),i.jsx(ee,{className:l.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:d,children:p})]}))}return p});function oe(e){return w("MuiStepLabel",e)}const g=U("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),ne=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],ae=e=>{const{classes:t,orientation:o,active:n,completed:a,error:r,disabled:u,alternativeLabel:c}=e;return k({root:["root",o,r&&"error",u&&"disabled",c&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",r&&"error",u&&"disabled",c&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",r&&"error",u&&"disabled",c&&"alternativeLabel"],labelContainer:["labelContainer",c&&"alternativeLabel"]},oe,t)},re=S("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})(({ownerState:e})=>s({display:"flex",alignItems:"center",[`&.${g.alternativeLabel}`]:{flexDirection:"column"},[`&.${g.disabled}`]:{cursor:"default"}},e.orientation==="vertical"&&{textAlign:"left",padding:"8px 0"})),le=S("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(({theme:e})=>s({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${g.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${g.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${g.alternativeLabel}`]:{marginTop:16},[`&.${g.error}`]:{color:(e.vars||e).palette.error.main}})),se=S("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${g.alternativeLabel}`]:{paddingRight:0}})),ie=S("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${g.alternativeLabel}`]:{textAlign:"center"}})),ce=v.forwardRef(function(t,o){var n;const a=_({props:t,name:"MuiStepLabel"}),{children:r,className:u,componentsProps:c={},error:p=!1,icon:b,optional:d,slotProps:l={},StepIconComponent:m,StepIconProps:R}=a,h=W(a,ne),{alternativeLabel:L,orientation:y}=v.useContext(T),{active:I,disabled:M,completed:x,icon:N}=v.useContext(E),f=b||N;let j=m;f&&!j&&(j=te);const C=s({},a,{active:I,alternativeLabel:L,completed:x,disabled:M,error:p,orientation:y}),$=ae(C),z=(n=l.label)!=null?n:c.label;return i.jsxs(re,s({className:P($.root,u),ref:o,ownerState:C},h,{children:[f||j?i.jsx(se,{className:$.iconContainer,ownerState:C,children:i.jsx(j,s({completed:x,active:I,error:p,icon:f},R))}):null,i.jsxs(ie,{className:$.labelContainer,ownerState:C,children:[r?i.jsx(le,s({ownerState:C},z,{className:P($.label,z==null?void 0:z.className),children:r})):null,d]})]}))});ce.muiName="StepLabel";function pe(e){return w("MuiStepConnector",e)}U("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const de=["className"],ve=e=>{const{classes:t,orientation:o,alternativeLabel:n,active:a,completed:r,disabled:u}=e,c={root:["root",o,n&&"alternativeLabel",a&&"active",r&&"completed",u&&"disabled"],line:["line",`line${V(o)}`]};return k(c,pe,t)},ue=S("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})(({ownerState:e})=>s({flex:"1 1 auto"},e.orientation==="vertical"&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})),be=S("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${V(o.orientation)}`]]}})(({ownerState:e,theme:t})=>{const o=t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600];return s({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},e.orientation==="horizontal"&&{borderTopStyle:"solid",borderTopWidth:1},e.orientation==="vertical"&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})}),me=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepConnector"}),{className:a}=n,r=W(n,de),{alternativeLabel:u,orientation:c="horizontal"}=v.useContext(T),{active:p,disabled:b,completed:d}=v.useContext(E),l=s({},n,{alternativeLabel:u,orientation:c,active:p,completed:d,disabled:b}),m=ve(l);return i.jsx(ue,s({className:P(m.root,a),ref:o,ownerState:l},r,{children:i.jsx(be,{className:m.line,ownerState:l})}))});function xe(e){return w("MuiStepper",e)}U("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);const Se=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Le=e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:a}=e;return k({root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]},xe,a)},fe=S("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})(({ownerState:e})=>s({display:"flex"},e.orientation==="horizontal"&&{flexDirection:"row",alignItems:"center"},e.orientation==="vertical"&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})),Ce=i.jsx(me,{}),ye=v.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepper"}),{activeStep:a=0,alternativeLabel:r=!1,children:u,className:c,component:p="div",connector:b=Ce,nonLinear:d=!1,orientation:l="horizontal"}=n,m=W(n,Se),R=s({},n,{nonLinear:d,alternativeLabel:r,orientation:l,component:p}),h=Le(R),L=v.Children.toArray(u).filter(Boolean),y=L.map((M,x)=>v.cloneElement(M,s({index:x,last:x+1===L.length},M.props))),I=v.useMemo(()=>({activeStep:a,alternativeLabel:r,connector:b,nonLinear:d,orientation:l}),[a,r,b,d,l]);return i.jsx(T.Provider,{value:I,children:i.jsx(fe,s({as:p,ownerState:R,className:P(h.root,c),ref:o},m,{children:y}))})});export{ye as S,he as a,ce as b,E as c,T as d};
@@ -1 +1 @@
1
- import{aE as q,aF as N,aG as S,aH as $,aK as a,r as L,aI as U,aJ as _,j as i,aM as E,aN as B,da as se}from"./index-BowU-Rc8.js";import{F as ae}from"./FormControl-B9P20sHZ.js";import{I as le}from"./InputLabel-FW_WnrBG.js";import{S as ie,a as ne,F as de,O as ce}from"./Select-DN5ZDrhq.js";import{u as ue,f as pe}from"./useFormControl-CqDUGVwx.js";function me(e){return N("MuiFormHelperText",e)}const j=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var w;const fe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],xe=e=>{const{classes:o,contained:r,size:s,disabled:n,error:d,filled:c,focused:p,required:u}=e,t={root:["root",n&&"disabled",d&&"error",s&&`size${$(s)}`,r&&"contained",p&&"focused",c&&"filled",u&&"required"]};return B(t,me,o)},Fe=S("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:r}=e;return[o.root,r.size&&o[`size${$(r.size)}`],r.contained&&o.contained,r.filled&&o.filled]}})(({theme:e,ownerState:o})=>a({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${j.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${j.error}`]:{color:(e.vars||e).palette.error.main}},o.size==="small"&&{marginTop:4},o.contained&&{marginLeft:14,marginRight:14})),be=L.forwardRef(function(o,r){const s=U({props:o,name:"MuiFormHelperText"}),{children:n,className:d,component:c="p"}=s,p=_(s,fe),u=ue(),t=pe({props:s,muiFormControl:u,states:["variant","size","disabled","error","filled","focused","required"]}),m=a({},s,{component:c,contained:t.variant==="filled"||t.variant==="outlined",variant:t.variant,size:t.size,disabled:t.disabled,error:t.error,filled:t.filled,focused:t.focused,required:t.required}),F=xe(m);return i.jsx(Fe,a({as:c,ownerState:m,className:E(F.root,d),ref:r},p,{children:n===" "?w||(w=i.jsx("span",{className:"notranslate",children:"​"})):n}))});function ve(e){return N("MuiTextField",e)}const Pe=q("MuiTextField",["root"]),Te=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],he={standard:ne,filled:de,outlined:ce},ge=e=>{const{classes:o}=e;return B({root:["root"]},ve,o)},Ce=S(ae,{name:"MuiTextField",slot:"Root",overridesResolver:(e,o)=>o.root})({}),Me=L.forwardRef(function(o,r){const s=U({props:o,name:"MuiTextField"}),{autoComplete:n,autoFocus:d=!1,children:c,className:p,color:u="primary",defaultValue:t,disabled:m=!1,error:F=!1,FormHelperTextProps:O,fullWidth:T=!1,helperText:h,id:W,InputLabelProps:b,inputProps:k,InputProps:V,inputRef:A,label:f,maxRows:D,minRows:G,multiline:R=!1,name:J,onBlur:K,onChange:Q,onFocus:X,placeholder:Y,required:y=!1,rows:Z,select:g=!1,SelectProps:C,type:ee,value:z,variant:v="outlined"}=s,oe=_(s,Te),H=a({},s,{autoFocus:d,color:u,disabled:m,error:F,fullWidth:T,multiline:R,required:y,select:g,variant:v}),te=ge(H),x={};v==="outlined"&&(b&&typeof b.shrink<"u"&&(x.notched=b.shrink),x.label=f),g&&((!C||!C.native)&&(x.id=void 0),x["aria-describedby"]=void 0);const l=se(W),I=h&&l?`${l}-helper-text`:void 0,P=f&&l?`${l}-label`:void 0,re=he[v],M=i.jsx(re,a({"aria-describedby":I,autoComplete:n,autoFocus:d,defaultValue:t,fullWidth:T,multiline:R,name:J,rows:Z,maxRows:D,minRows:G,type:ee,value:z,id:l,inputRef:A,onBlur:K,onChange:Q,onFocus:X,placeholder:Y,inputProps:k},x,V));return i.jsxs(Ce,a({className:E(te.root,p),disabled:m,error:F,fullWidth:T,ref:r,required:y,color:u,variant:v,ownerState:H},oe,{children:[f!=null&&f!==""&&i.jsx(le,a({htmlFor:l,id:P},b,{children:f})),g?i.jsx(ie,a({"aria-describedby":I,id:l,labelId:P,value:z,input:M},C,{children:c})):M,h&&i.jsx(be,a({id:I},O,{children:h}))]}))});export{be as F,Me as T,ve as g,Pe as t};
1
+ import{aE as q,aF as N,aG as S,aH as $,aK as a,r as L,aI as U,aJ as _,j as i,aM as E,aN as B,de as se}from"./index-CuJ6VeB5.js";import{F as ae}from"./FormControl-q_YUYy5V.js";import{I as le}from"./InputLabel-Drb30O7S.js";import{S as ie,a as ne,F as de,O as ce}from"./Select-DBgUfggx.js";import{u as ue,f as pe}from"./useFormControl-CjB4v7or.js";function me(e){return N("MuiFormHelperText",e)}const j=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var w;const fe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],xe=e=>{const{classes:o,contained:r,size:s,disabled:n,error:d,filled:c,focused:p,required:u}=e,t={root:["root",n&&"disabled",d&&"error",s&&`size${$(s)}`,r&&"contained",p&&"focused",c&&"filled",u&&"required"]};return B(t,me,o)},Fe=S("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:r}=e;return[o.root,r.size&&o[`size${$(r.size)}`],r.contained&&o.contained,r.filled&&o.filled]}})(({theme:e,ownerState:o})=>a({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${j.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${j.error}`]:{color:(e.vars||e).palette.error.main}},o.size==="small"&&{marginTop:4},o.contained&&{marginLeft:14,marginRight:14})),be=L.forwardRef(function(o,r){const s=U({props:o,name:"MuiFormHelperText"}),{children:n,className:d,component:c="p"}=s,p=_(s,fe),u=ue(),t=pe({props:s,muiFormControl:u,states:["variant","size","disabled","error","filled","focused","required"]}),m=a({},s,{component:c,contained:t.variant==="filled"||t.variant==="outlined",variant:t.variant,size:t.size,disabled:t.disabled,error:t.error,filled:t.filled,focused:t.focused,required:t.required}),F=xe(m);return i.jsx(Fe,a({as:c,ownerState:m,className:E(F.root,d),ref:r},p,{children:n===" "?w||(w=i.jsx("span",{className:"notranslate",children:"​"})):n}))});function ve(e){return N("MuiTextField",e)}const Pe=q("MuiTextField",["root"]),Te=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],he={standard:ne,filled:de,outlined:ce},ge=e=>{const{classes:o}=e;return B({root:["root"]},ve,o)},Ce=S(ae,{name:"MuiTextField",slot:"Root",overridesResolver:(e,o)=>o.root})({}),Me=L.forwardRef(function(o,r){const s=U({props:o,name:"MuiTextField"}),{autoComplete:n,autoFocus:d=!1,children:c,className:p,color:u="primary",defaultValue:t,disabled:m=!1,error:F=!1,FormHelperTextProps:O,fullWidth:T=!1,helperText:h,id:W,InputLabelProps:b,inputProps:k,InputProps:V,inputRef:A,label:f,maxRows:D,minRows:G,multiline:R=!1,name:J,onBlur:K,onChange:Q,onFocus:X,placeholder:Y,required:y=!1,rows:Z,select:g=!1,SelectProps:C,type:ee,value:z,variant:v="outlined"}=s,oe=_(s,Te),H=a({},s,{autoFocus:d,color:u,disabled:m,error:F,fullWidth:T,multiline:R,required:y,select:g,variant:v}),te=ge(H),x={};v==="outlined"&&(b&&typeof b.shrink<"u"&&(x.notched=b.shrink),x.label=f),g&&((!C||!C.native)&&(x.id=void 0),x["aria-describedby"]=void 0);const l=se(W),I=h&&l?`${l}-helper-text`:void 0,P=f&&l?`${l}-label`:void 0,re=he[v],M=i.jsx(re,a({"aria-describedby":I,autoComplete:n,autoFocus:d,defaultValue:t,fullWidth:T,multiline:R,name:J,rows:Z,maxRows:D,minRows:G,type:ee,value:z,id:l,inputRef:A,onBlur:K,onChange:Q,onFocus:X,placeholder:Y,inputProps:k},x,V));return i.jsxs(Ce,a({className:E(te.root,p),disabled:m,error:F,fullWidth:T,ref:r,required:y,color:u,variant:v,ownerState:H},oe,{children:[f!=null&&f!==""&&i.jsx(le,a({htmlFor:l,id:P},b,{children:f})),g?i.jsx(ie,a({"aria-describedby":I,id:l,labelId:P,value:z,input:M},C,{children:c})):M,h&&i.jsx(be,a({id:I},O,{children:h}))]}))});export{be as F,Me as T,ve as g,Pe as t};
@@ -1 +1 @@
1
- import{aF as d,aE as g,aG as b,aK as e,r as m,aI as v,aJ as f,j as x,aM as T,aN as R}from"./index-BowU-Rc8.js";function C(s){return d("MuiToolbar",s)}const N=g("MuiToolbar",["root","gutters","regular","dense"]),G=["className","component","disableGutters","variant"],M=s=>{const{classes:a,disableGutters:t,variant:o}=s;return R({root:["root",!t&&"gutters",o]},C,a)},j=b("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(s,a)=>{const{ownerState:t}=s;return[a.root,!t.disableGutters&&a.gutters,a[t.variant]]}})(({theme:s,ownerState:a})=>e({position:"relative",display:"flex",alignItems:"center"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}},a.variant==="dense"&&{minHeight:48}),({theme:s,ownerState:a})=>a.variant==="regular"&&s.mixins.toolbar),U=m.forwardRef(function(a,t){const o=v({props:a,name:"MuiToolbar"}),{className:r,component:n="div",disableGutters:l=!1,variant:c="regular"}=o,u=f(o,G),i=e({},o,{component:n,disableGutters:l,variant:c}),p=M(i);return x.jsx(j,e({as:n,className:T(p.root,r),ref:t,ownerState:i},u))});export{U as T,C as g,N as t};
1
+ import{aF as d,aE as g,aG as b,aK as e,r as m,aI as v,aJ as f,j as x,aM as T,aN as R}from"./index-CuJ6VeB5.js";function C(s){return d("MuiToolbar",s)}const N=g("MuiToolbar",["root","gutters","regular","dense"]),G=["className","component","disableGutters","variant"],M=s=>{const{classes:a,disableGutters:t,variant:o}=s;return R({root:["root",!t&&"gutters",o]},C,a)},j=b("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(s,a)=>{const{ownerState:t}=s;return[a.root,!t.disableGutters&&a.gutters,a[t.variant]]}})(({theme:s,ownerState:a})=>e({position:"relative",display:"flex",alignItems:"center"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}},a.variant==="dense"&&{minHeight:48}),({theme:s,ownerState:a})=>a.variant==="regular"&&s.mixins.toolbar),U=m.forwardRef(function(a,t){const o=v({props:a,name:"MuiToolbar"}),{className:r,component:n="div",disableGutters:l=!1,variant:c="regular"}=o,u=f(o,G),i=e({},o,{component:n,disableGutters:l,variant:c}),p=M(i);return x.jsx(j,e({as:n,className:T(p.root,r),ref:t,ownerState:i},u))});export{U as T,C as g,N as t};
@@ -1 +1 @@
1
- import{X as r,Y as t,j as a}from"./index-BowU-Rc8.js";var e={},i=t;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,o=i(r()),d=a;u=e.default=(0,o.default)((0,d.jsx)("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}),"Verified");export{u as d};
1
+ import{X as r,Y as t,j as a}from"./index-CuJ6VeB5.js";var e={},i=t;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,o=i(r()),d=a;u=e.default=(0,o.default)((0,d.jsx)("path",{d:"m23 12-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69zm-12.91 4.72-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48z"}),"Verified");export{u as d};
@@ -1 +1 @@
1
- import{X as e,Y as a,j as r}from"./index-BowU-Rc8.js";var t={},l=a;Object.defineProperty(t,"__esModule",{value:!0});var o=t.default=void 0,d=l(e()),i=r;o=t.default=(0,d.default)((0,i.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");var u={},s=a;Object.defineProperty(u,"__esModule",{value:!0});var f=u.default=void 0,_=s(e()),n=r;f=u.default=(0,_.default)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");var v={},p=a;Object.defineProperty(v,"__esModule",{value:!0});var m=v.default=void 0,j=p(e()),R=r;m=v.default=(0,j.default)((0,R.jsx)("path",{d:"M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"}),"ViewColumn");export{u as C,t as R,v as V,m as a,o as b,f as d};
1
+ import{X as e,Y as a,j as r}from"./index-CuJ6VeB5.js";var t={},l=a;Object.defineProperty(t,"__esModule",{value:!0});var o=t.default=void 0,d=l(e()),i=r;o=t.default=(0,d.default)((0,i.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove");var u={},s=a;Object.defineProperty(u,"__esModule",{value:!0});var f=u.default=void 0,_=s(e()),n=r;f=u.default=(0,_.default)((0,n.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");var v={},p=a;Object.defineProperty(v,"__esModule",{value:!0});var m=v.default=void 0,j=p(e()),R=r;m=v.default=(0,j.default)((0,R.jsx)("path",{d:"M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"}),"ViewColumn");export{u as C,t as R,v as V,m as a,o as b,f as d};
@@ -1 +1 @@
1
- import{X as t,Y as r,j as a}from"./index-BowU-Rc8.js";var e={},i=r;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,v=i(t()),o=a;u=e.default=(0,v.default)((0,o.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList");export{u as d};
1
+ import{X as t,Y as r,j as a}from"./index-CuJ6VeB5.js";var e={},i=r;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,v=i(t()),o=a;u=e.default=(0,v.default)((0,o.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList");export{u as d};
@@ -1,4 +1,4 @@
1
- import{aj as E,u as h,r as l,ak as L,a8 as N,G as o,j as e,B as d,P as g,Z as I,a6 as j,t as y}from"./index-BowU-Rc8.js";import{A as O}from"./config-_6fNEXak.js";import{P}from"./page-header-BmLNlOnD.js";import{S as R}from"./layout-DEXenHhy.js";import{S as b}from"./step-actions-DV3o9hve.js";import{S as v}from"./button-WHxIb92N.js";import{F as T}from"./FormControl-B9P20sHZ.js";import{R as Y,a as B}from"./RadioGroup-F9HJgTgP.js";import{F as D}from"./FormControlLabel-C2tfmf09.js";import"./content-layout-NMxrW85n.js";import"./useFormControl-CqDUGVwx.js";import"./FormGroup-QeEOGRIO.js";import"./Stack-CcM0sATd.js";function C({onNext:s}){const S=E(),{t:c,locale:m}=h(),[i,n]=l.useState(!1),[f,p]=l.useState(""),{blocklet:r}=L();l.useEffect(()=>{var a;const t=N.findServiceFromMeta(r.meta,o.NODE_SERVICES.AUTH);p(((a=t==null?void 0:t.config)==null?void 0:a.whoCanAccess)||o.WHO_CAN_ACCESS.ALL)},[r]);const u=async t=>{let a=o.ACCESS_POLICY_PUBLIC;t===o.WHO_CAN_ACCESS.ALL?a=o.ACCESS_POLICY_PUBLIC:t===o.WHO_CAN_ACCESS.INVITED?a=o.ACCESS_POLICY_INVITED_ONLY:t===o.WHO_CAN_ACCESS.OWNER?a=o.ACCESS_POLICY_OWNER_ONLY:t===o.WHO_CAN_ACCESS.ADMIN&&(a=o.ACCESS_POLICY_ADMIN_ONLY);try{n(!0),await j.updateBlockletSecurityRule({input:{did:r.meta.did,data:{id:o.SECURITY_RULE_DEFAULT_ID,accessPolicyId:a}}}),n(!1)}catch(A){n(!1),y.error(A.message)}},x=async t=>{i||(p(t.target.value),await u(t.target.value))},_={marginRight:4,fontSize:18,verticalAlign:"text-bottom",color:S.palette.text.secondary};return e.jsxs(H,{children:[e.jsx("div",{className:"header",children:e.jsx(P,{title:c("blocklet.config.access.description")})}),e.jsx(T,{component:"fieldset",children:e.jsx(Y,{name:"inherit",value:f,onChange:x,children:O.map(t=>e.jsxs(d,{sx:{mb:2},children:[e.jsx(D,{value:t.value,control:e.jsx(B,{size:"small",color:"primary"}),label:e.jsxs("span",{children:[e.jsx(t.icon,{style:_}),t.title[m]]})}),e.jsx(d,{className:"tip",children:t.description[m]})]},t.value))})}),e.jsx(b,{mt:8,disabled:i,blocklet:r,onStartNow:()=>s("complete"),children:e.jsx(v,{loading:i,variant:"contained",disabled:i,onClick:()=>s(),children:c("setup.continue")})})]})}C.propTypes={onNext:g.func};C.defaultProps={onNext:()=>{}};const H=I(R)`
1
+ import{aj as E,u as h,r as l,ak as L,a8 as N,G as o,j as e,B as d,P as g,Z as I,a6 as j,t as y}from"./index-CuJ6VeB5.js";import{A as O}from"./config-CorOHNK9.js";import{P}from"./page-header-BCyLUbXF.js";import{S as R}from"./layout-Ca1dsvo2.js";import{S as b}from"./step-actions-BXvVbJn6.js";import{S as v}from"./button-D2cbq_RL.js";import{F as T}from"./FormControl-q_YUYy5V.js";import{R as Y,a as B}from"./RadioGroup-j_r-IrLk.js";import{F as D}from"./FormControlLabel-CR4Kl957.js";import"./content-layout-DqjbzyNB.js";import"./useFormControl-CjB4v7or.js";import"./FormGroup-BvXbGEc4.js";import"./Stack-Wwo7KuLi.js";function C({onNext:s}){const S=E(),{t:c,locale:m}=h(),[i,n]=l.useState(!1),[f,p]=l.useState(""),{blocklet:r}=L();l.useEffect(()=>{var a;const t=N.findServiceFromMeta(r.meta,o.NODE_SERVICES.AUTH);p(((a=t==null?void 0:t.config)==null?void 0:a.whoCanAccess)||o.WHO_CAN_ACCESS.ALL)},[r]);const u=async t=>{let a=o.ACCESS_POLICY_PUBLIC;t===o.WHO_CAN_ACCESS.ALL?a=o.ACCESS_POLICY_PUBLIC:t===o.WHO_CAN_ACCESS.INVITED?a=o.ACCESS_POLICY_INVITED_ONLY:t===o.WHO_CAN_ACCESS.OWNER?a=o.ACCESS_POLICY_OWNER_ONLY:t===o.WHO_CAN_ACCESS.ADMIN&&(a=o.ACCESS_POLICY_ADMIN_ONLY);try{n(!0),await j.updateBlockletSecurityRule({input:{did:r.meta.did,data:{id:o.SECURITY_RULE_DEFAULT_ID,accessPolicyId:a}}}),n(!1)}catch(A){n(!1),y.error(A.message)}},x=async t=>{i||(p(t.target.value),await u(t.target.value))},_={marginRight:4,fontSize:18,verticalAlign:"text-bottom",color:S.palette.text.secondary};return e.jsxs(H,{children:[e.jsx("div",{className:"header",children:e.jsx(P,{title:c("blocklet.config.access.description")})}),e.jsx(T,{component:"fieldset",children:e.jsx(Y,{name:"inherit",value:f,onChange:x,children:O.map(t=>e.jsxs(d,{sx:{mb:2},children:[e.jsx(D,{value:t.value,control:e.jsx(B,{size:"small",color:"primary"}),label:e.jsxs("span",{children:[e.jsx(t.icon,{style:_}),t.title[m]]})}),e.jsx(d,{className:"tip",children:t.description[m]})]},t.value))})}),e.jsx(b,{mt:8,disabled:i,blocklet:r,onStartNow:()=>s("complete"),children:e.jsx(v,{loading:i,variant:"contained",disabled:i,onClick:()=>s(),children:c("setup.continue")})})]})}C.propTypes={onNext:g.func};C.defaultProps={onNext:()=>{}};const H=I(R)`
2
2
  height: 100%;
3
3
  overflow-y: auto;
4
4
  .header {
@@ -1 +1 @@
1
- import{r as c,j as a,aC as P,aR as E,aS as v,aT as I,P as p,Z as T}from"./index-BowU-Rc8.js";import{d as C}from"./MoreHoriz-Cwgb_ZWA.js";import{L as D,a as b}from"./Delete-P7WqUbyQ.js";function l({actions:u,size:m,...d}){const[n,r]=c.useState(null),f=!!n,y=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}r(t.currentTarget)},e=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}r(null)};return a.jsxs(k,{...d,children:[a.jsx(P,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"actions-menu-icon",onClick:y,size:m,children:a.jsx(C,{})}),a.jsx(E,{id:"actions-menu","data-cy":"actions-menu",anchorEl:n,keepMounted:!0,open:f,onClose:e,slotProps:{paper:{}},children:u.map((t,s)=>{if(typeof t=="function")return t({close:e});if(t.separator)return a.jsx(v,{},`separator-${s}`);const{icon:h,text:x,render:z,onClick:o,disabled:j=!1,...g}=t;return c.createElement(I,{...g,disabled:j,dense:!0,onClick:async i=>{i.stopPropagation(),await(o==null?void 0:o(i)),e()},key:s,"data-cy":`actions-menu-${s}`},a.jsx(D,{style:{minWidth:24,marginRight:8},children:h}),a.jsx(b,{primary:x}))})})]})}l.propTypes={actions:p.array,size:p.oneOf(["small","medium","large"])};l.defaultProps={actions:[],size:"small"};const k=T.div``;export{l as A};
1
+ import{r as c,j as a,aC as P,aR as E,aS as v,aT as I,P as p,Z as T}from"./index-CuJ6VeB5.js";import{d as C}from"./MoreHoriz-C0Q1loeh.js";import{L as D,a as b}from"./Delete-BCLiBDL0.js";function l({actions:u,size:m,...d}){const[n,r]=c.useState(null),f=!!n,y=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}r(t.currentTarget)},e=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}r(null)};return a.jsxs(k,{...d,children:[a.jsx(P,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"actions-menu-icon",onClick:y,size:m,children:a.jsx(C,{})}),a.jsx(E,{id:"actions-menu","data-cy":"actions-menu",anchorEl:n,keepMounted:!0,open:f,onClose:e,slotProps:{paper:{}},children:u.map((t,s)=>{if(typeof t=="function")return t({close:e});if(t.separator)return a.jsx(v,{},`separator-${s}`);const{icon:h,text:x,render:z,onClick:o,disabled:j=!1,...g}=t;return c.createElement(I,{...g,disabled:j,dense:!0,onClick:async i=>{i.stopPropagation(),await(o==null?void 0:o(i)),e()},key:s,"data-cy":`actions-menu-${s}`},a.jsx(D,{style:{minWidth:24,marginRight:8},children:h}),a.jsx(b,{primary:x}))})})]})}l.propTypes={actions:p.array,size:p.oneOf(["small","medium","large"])};l.defaultProps={actions:[],size:"small"};const k=T.div``;export{l as A};