@abtnode/webapp 1.16.29 → 1.16.30-beta-00e8bdd1

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 (198) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-BIVkDKiV.js → Add-LFKdL73O.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-BSN8E-vL.js → ArrowDropDown-CSu51mHJ.js} +1 -1
  5. package/dist/assets/{Autocomplete-3iEbBt3p.js → Autocomplete-hpS9-5qj.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-B1EjQ7_S.js → Breadcrumbs-CMca_d4s.js} +1 -1
  7. package/dist/assets/{ButtonGroup-5q10mUxm.js → ButtonGroup-0zcah4z_.js} +1 -1
  8. package/dist/assets/{CheckCircle-SQxexLA6.js → CheckCircle-CBkh2h5b.js} +1 -1
  9. package/dist/assets/{ChevronLeft-DGO3AjSX.js → ChevronLeft-B-7gRCbY.js} +1 -1
  10. package/dist/assets/{ChevronRight-DcNBTOQr.js → ChevronRight-D_yeHmtK.js} +1 -1
  11. package/dist/assets/{Close-Dr9bVY_7.js → Close-CNpsilFj.js} +1 -1
  12. package/dist/assets/{Delete-BA9-i54s.js → Delete-srKcBoMM.js} +1 -1
  13. package/dist/assets/{DeleteOutline-BQLCdvYk.js → DeleteOutline-Co4Q4Mxy.js} +1 -1
  14. package/dist/assets/DeleteOutline-DTfdQ1Ck.js +1 -0
  15. package/dist/assets/{Done-CCcZllux.js → Done-CPtHG1xe.js} +1 -1
  16. package/dist/assets/{Edit-BFcAkLvC.js → Edit-C-SmJ8-l.js} +1 -1
  17. package/dist/assets/{EditIcon-Bsk6W7fb.js → EditIcon-jhpUwOtu.js} +1 -1
  18. package/dist/assets/{ExpandMore-rt48LU-T.js → ExpandMore-XdKsbNWv.js} +1 -1
  19. package/dist/assets/{FilterList-qnkLmWiK.js → FilterList-DZulAb2m.js} +4 -4
  20. package/dist/assets/{Google-ZwJqo6k4.js → Google-C5CdgF1q.js} +3 -3
  21. package/dist/assets/{Https-D5FI5kRj.js → Https-BvcwyBP3.js} +1 -1
  22. package/dist/assets/{InputAdornment-O2bgTsbw.js → InputAdornment-BVxF9lVH.js} +1 -1
  23. package/dist/assets/{InputLabel-DKHlRadP.js → InputLabel-CsipaQrT.js} +1 -1
  24. package/dist/assets/{LastPage-DSz-M1aM.js → LastPage-BfMRR4RL.js} +1 -1
  25. package/dist/assets/{Launch-e9NpOcr5.js → Launch-DOqDWG_i.js} +1 -1
  26. package/dist/assets/{Link-CWm9FEnI.js → Link-62LBDRON.js} +1 -1
  27. package/dist/assets/{LoadingButton-D7VQLypv.js → LoadingButton-DSKkFqcs.js} +1 -1
  28. package/dist/assets/{LockIcon-BGABEZ6C.js → LockIcon-CvSsIiE2.js} +1 -1
  29. package/dist/assets/{Loop-v-roMehG.js → Loop-Bsc8xJWe.js} +1 -1
  30. package/dist/assets/{MoreVert-CpEsw2Tj.js → MoreVert-Dcu0-GMt.js} +1 -1
  31. package/dist/assets/{Pagination-BPPkQTXZ.js → Pagination-kp73--RG.js} +1 -1
  32. package/dist/assets/{Public-s40J-s3W.js → Public-GWTOZY7N.js} +1 -1
  33. package/dist/assets/{SchemaReference.es-yLf24oFH.js → SchemaReference.es-BpTVsxuV.js} +1 -1
  34. package/dist/assets/{Search-BvtdswCD.js → Search-BaA9ZKBf.js} +1 -1
  35. package/dist/assets/{Select-6AAHiQjm.js → Select-Djr-8j16.js} +2 -2
  36. package/dist/assets/{Skeleton-8M4ffKSP.js → Skeleton-CeiYEcKB.js} +1 -1
  37. package/dist/assets/{Slider-dM16D4dK.js → Slider-Cr-0XHP3.js} +1 -1
  38. package/dist/assets/{Stepper-qCoo64ls.js → Stepper-BK35oRco.js} +1 -1
  39. package/dist/assets/{TextField-D7-Vl4N2.js → TextField-D-fYaxFC.js} +1 -1
  40. package/dist/assets/{ToggleButtonGroup-C8YC_AbK.js → ToggleButtonGroup-Bq-C5nsv.js} +1 -1
  41. package/dist/assets/{ViewList-ww_Jy26j.js → ViewList-ClcomYiM.js} +1 -1
  42. package/dist/assets/{actions-CfLfEA5o.js → actions-B9RFo3PU.js} +1 -1
  43. package/dist/assets/{actions-DVIIvqI9.js → actions-DxYtgy4b.js} +1 -1
  44. package/dist/assets/{agreement-j9qZoXbi.js → agreement-QhMtmMQJ.js} +5 -5
  45. package/dist/assets/api-B76-JirA.js +1 -0
  46. package/dist/assets/{app-avatar-DX2Wz0PD.js → app-avatar-B_wkAPxy.js} +1 -1
  47. package/dist/assets/{ar-D-8bmv2Q.js → ar-CYspPmSu.js} +1 -1
  48. package/dist/assets/{audit-logs-DtLwS7ge.js → audit-logs-l3Bq0hXU.js} +1 -1
  49. package/dist/assets/blocklet-U0hwansK.js +1 -0
  50. package/dist/assets/{brace-fold.es-MaAtm0YJ.js → brace-fold.es-ify0m_jP.js} +1 -1
  51. package/dist/assets/{bundle-avatar-CzY4FWcT.js → bundle-avatar-DTb6oe8Y.js} +1 -1
  52. package/dist/assets/{chart-CL8fHlYj.js → chart-oYZiK-e5.js} +2 -2
  53. package/dist/assets/{click-to-copy-CRCcWlGf.js → click-to-copy-CVINfAkv.js} +1 -1
  54. package/dist/assets/{closebrackets.es-ClBbybwI.js → closebrackets.es-BqhK2kTP.js} +1 -1
  55. package/dist/assets/{codemirror.es-CVvRjjht.js → codemirror.es-Dt0TXafG.js} +1 -1
  56. package/dist/assets/{comment.es-C82zWRz0.js → comment.es-Ck-iETYS.js} +1 -1
  57. package/dist/assets/{config-navigation-Ba5IHsVi.js → config-navigation-Bg-UzLES.js} +5 -5
  58. package/dist/assets/{de-BXUm1QYV.js → de-DIG5UukX.js} +1 -1
  59. package/dist/assets/{delete-confirm-BGrzi75s.js → delete-confirm-BqGcpgiq.js} +1 -1
  60. package/dist/assets/{detail-dhpUaLCM.js → detail-B6MSmXGq.js} +3 -3
  61. package/dist/assets/{dialog.es-DqPlApF_.js → dialog.es-D_T7Yss2.js} +1 -1
  62. package/dist/assets/{download-C05PPT48.js → download-D0XkeC5D.js} +1 -1
  63. package/dist/assets/{es-CH6tZGrR.js → es-iIE-oygq.js} +1 -1
  64. package/dist/assets/{foldgutter.es-CeF_j6cJ.js → foldgutter.es-Booq0HN6.js} +1 -1
  65. package/dist/assets/{fr-roccVFT3.js → fr-D8XyKysR.js} +1 -1
  66. package/dist/assets/getValidReactChildren-CIj2C3j7.js +1 -0
  67. package/dist/assets/{hi-VN-lZj6f.js → hi-C12r029w.js} +1 -1
  68. package/dist/assets/{hint.es-DNAfoVMm.js → hint.es-CwpaOeu1.js} +1 -1
  69. package/dist/assets/{hint.es2-CU1qoYEt.js → hint.es2-0XlKH7eK.js} +1 -1
  70. package/dist/assets/{id-C-ovCb8b.js → id-BM1nX889.js} +1 -1
  71. package/dist/assets/{iframe-BvKPLFbb.js → iframe-BxFOjzAT.js} +1 -1
  72. package/dist/assets/{index-BwYDd0Tm.js → index-3S1oyYak.js} +1 -1
  73. package/dist/assets/index-3c50PzHB.js +54 -0
  74. package/dist/assets/{index-CcHjeoRT.js → index-69SfANaJ.js} +1 -1
  75. package/dist/assets/{index-CmC3_Eds.js → index-7V15c_6f.js} +1 -1
  76. package/dist/assets/{index-DeHtrQ7P.js → index-B6oAfScX.js} +1 -1
  77. package/dist/assets/{index-ZGnAW8k-.js → index-B9q4xTve.js} +68 -68
  78. package/dist/assets/index-BDqaMQSR.js +309 -0
  79. package/dist/assets/index-BHVuacU2.js +1 -0
  80. package/dist/assets/{index-CwFZQrLE.js → index-BKtKjId8.js} +1 -1
  81. package/dist/assets/{index-CBdRhIVO.js → index-BYxyp5Ck.js} +3 -3
  82. package/dist/assets/{index-CPISMYm_.js → index-Be1LfCt3.js} +1 -1
  83. package/dist/assets/{index-BOqdAGub.js → index-Bi5jIxEm.js} +1 -1
  84. package/dist/assets/{index-BTXMR9xa.js → index-BkF1zCMg.js} +2 -2
  85. package/dist/assets/{index-BmYxQtQ4.js → index-BmimSaL6.js} +1 -1
  86. package/dist/assets/{index-DShKrg-W.js → index-C-KPF3ku.js} +1 -1
  87. package/dist/assets/{index-C0k3BC5k.js → index-C2RJ0Opd.js} +3 -3
  88. package/dist/assets/{index-47g0cU0E.js → index-CO1tIkkw.js} +1 -1
  89. package/dist/assets/{index-CTuqdacw.js → index-CPw_3e9I.js} +1 -1
  90. package/dist/assets/index-CUJg_ZR6.js +262 -0
  91. package/dist/assets/{index-nSc0VxEZ.js → index-CjLebNEZ.js} +1 -1
  92. package/dist/assets/{index-CsDwstJh.js → index-Cvz2D2Se.js} +1 -1
  93. package/dist/assets/{index-DD86vUxF.js → index-DA53wNBt.js} +1 -1
  94. package/dist/assets/index-DS5HF6Nu.js +278 -0
  95. package/dist/assets/{index-COUqkfTn.js → index-DY2dSM6d.js} +1 -1
  96. package/dist/assets/{index-Ck3GPasE.js → index-D_6bopIl.js} +3 -3
  97. package/dist/assets/{index-B47niqg_.js → index-DavTgDQN.js} +3 -3
  98. package/dist/assets/{index-htQb1has.js → index-Dh9zXu4V.js} +1 -1
  99. package/dist/assets/{index-Dpm78Z5H.js → index-DkPTCGqW.js} +1 -1
  100. package/dist/assets/{index-BzvNtIY8.js → index-DrKkKhZU.js} +1 -1
  101. package/dist/assets/{index-C5QsMFdj.js → index-Dw2oEqk9.js} +1 -1
  102. package/dist/assets/{index-B2Ydaom7.js → index-Dwzroz2N.js} +1 -1
  103. package/dist/assets/{index-DbPVOvSO.js → index-KKJRKkcL.js} +1 -1
  104. package/dist/assets/{index-DbXIo2GY.js → index-Pyhbpymd.js} +9 -9
  105. package/dist/assets/{index-2KEUrOnp.js → index-R6KYy11w.js} +1 -1
  106. package/dist/assets/{index-CRpa8mt0.js → index-RVerdREp.js} +5 -5
  107. package/dist/assets/{index-D-60mXOg.js → index-bjJyrxsi.js} +1 -1
  108. package/dist/assets/{index-xdp5_tXH.js → index-ibz1mOjA.js} +1 -1
  109. package/dist/assets/index-j_zkWpJQ.js +1 -0
  110. package/dist/assets/index-keckIN3f.js +288 -0
  111. package/dist/assets/index-kkD7ifup.js +11 -0
  112. package/dist/assets/{index-DxfcfSRi.js → index-lHa-QuEU.js} +1 -1
  113. package/dist/assets/{index-Q8y1koUx.js → index-shAskowG.js} +1 -1
  114. package/dist/assets/{index-Jx4Fqi_s.js → index-tqJUmPvA.js} +28 -28
  115. package/dist/assets/{index-CP_gsEZk.js → index-xdfj_Gf_.js} +1 -1
  116. package/dist/assets/{index.es-hjsi54WY.js → index.es-CjdQLpQc.js} +1 -1
  117. package/dist/assets/{index.esm-w_WP2iFy.js → index.esm-lboQd9dC.js} +1 -1
  118. package/dist/assets/{info-addon.es-BwQtq18_.js → info-addon.es-vzTbYXa-.js} +1 -1
  119. package/dist/assets/{info.es-Bxzc18tW.js → info.es-DVsU6SVd.js} +1 -1
  120. package/dist/assets/{install-from-url-BpQI48sC.js → install-from-url-DcEJ7Ca3.js} +1 -1
  121. package/dist/assets/{invitation-DxXG7nra.js → invitation-BNRwDEVH.js} +8 -8
  122. package/dist/assets/is-path-prefix-equal-Bbv1muGK.js +1 -0
  123. package/dist/assets/{isEqual-DkxHXXMW.js → isEqual-D4RUz7Fw.js} +1 -1
  124. package/dist/assets/{item-CZsxlZnz.js → item-Cf5XyKSd.js} +26 -26
  125. package/dist/assets/{ja-D-sN9ij0.js → ja-D8yfIRFO.js} +1 -1
  126. package/dist/assets/{javascript.es-CGn-ScFl.js → javascript.es-Df6-Npn3.js} +1 -1
  127. package/dist/assets/{jump-to-line.es-CWVtSCYy.js → jump-to-line.es-aGoBCE9o.js} +1 -1
  128. package/dist/assets/{jump.es-DxdpkWWi.js → jump.es-CrN18yKp.js} +1 -1
  129. package/dist/assets/{ko-DFpbqZ_Q.js → ko-BYDKCXC0.js} +1 -1
  130. package/dist/assets/{line-DfRJLxHw.js → line-Brex_I6p.js} +4 -4
  131. package/dist/assets/{lint.es-Cn-NE8s7.js → lint.es-DEOTlz6c.js} +1 -1
  132. package/dist/assets/{lint.es2-DiLIozTW.js → lint.es2-BmcRF08P.js} +1 -1
  133. package/dist/assets/{lint.es3-BKeD_KCD.js → lint.es3-COdxOPeK.js} +1 -1
  134. package/dist/assets/{list-header-Cn6ronu6.js → list-header-BQiWHRqn.js} +1 -1
  135. package/dist/assets/{log-CBd4yiLd.js → log-5GhJqImF.js} +1 -1
  136. package/dist/assets/{lottie-BhIusYBK.js → lottie-qJ8b-yUO.js} +1 -1
  137. package/dist/assets/{matchbrackets.es-C8Sy_DTp.js → matchbrackets.es-BEa-Nj8z.js} +1 -1
  138. package/dist/assets/{memory-CrREi08U.js → memory-1iaH3Or6.js} +1 -1
  139. package/dist/assets/{mode.es-CRX6d_8r.js → mode.es-Byr4pK2u.js} +1 -1
  140. package/dist/assets/{mode.es2-BYlzTYp8.js → mode.es2-qzs8ugCq.js} +1 -1
  141. package/dist/assets/{mode.es3-BlMpLqAY.js → mode.es3-DlukdiVg.js} +1 -1
  142. package/dist/assets/{onlineParser.es-Buh5bsDU.js → onlineParser.es-CklSfcO9.js} +1 -1
  143. package/dist/assets/{overview--S9u2G7d.js → overview-BGyp8F_2.js} +2 -2
  144. package/dist/assets/{pt-BXC7UTMq.js → pt-B9DRiZEN.js} +1 -1
  145. package/dist/assets/{react-C3TTI-Hf.js → react-dn_NPK1J.js} +3 -3
  146. package/dist/assets/{redux-D53RmvG3.js → redux-CDrmL_mc.js} +1 -1
  147. package/dist/assets/{resource-dialog-BqPaioMe.js → resource-dialog-DSWbu09w.js} +2 -2
  148. package/dist/assets/{ru-BbD1NNUC.js → ru-CUxGgO8D.js} +1 -1
  149. package/dist/assets/{runtime-8R1L5Qei.js → runtime-BCmw-_C1.js} +1 -1
  150. package/dist/assets/{schema-vba8ScMR.js → schema-C0fr83dn.js} +1 -1
  151. package/dist/assets/sdk-C0FNPW-W.js +1 -0
  152. package/dist/assets/{search.es-CUmn7XrO.js → search.es-Cn60kLiF.js} +1 -1
  153. package/dist/assets/{searchcursor.es-CnWycfn9.js → searchcursor.es-CHzpyp98.js} +1 -1
  154. package/dist/assets/service-BgoiGac9.js +1 -0
  155. package/dist/assets/{shorten-label-BbyRZw10.js → shorten-label-D2yNd_do.js} +1 -1
  156. package/dist/assets/{show-hint.es-yYddy2nN.js → show-hint.es-CLjt2ZS_.js} +1 -1
  157. package/dist/assets/{slicedToArray-C-ReaQzH.js → slicedToArray-Cdyv9hm5.js} +1 -1
  158. package/dist/assets/{spaces-CHvfSEjC.js → spaces-BGwFOyAS.js} +1 -1
  159. package/dist/assets/{sublime.es-C7Xwv4Fs.js → sublime.es-CsIekldU.js} +1 -1
  160. package/dist/assets/{switch-control-YIGp_J-o.js → switch-control-CtQVsLJE.js} +1 -1
  161. package/dist/assets/{table-icons-Htpo0aNL.js → table-icons-CHIMAIBB.js} +1 -1
  162. package/dist/assets/{tag-CxVWvL3v.js → tag-BtkglRep.js} +1 -1
  163. package/dist/assets/team-C9CS8TWK.js +1 -0
  164. package/dist/assets/{th-VkDcmE_T.js → th-D6abaOt7.js} +1 -1
  165. package/dist/assets/toUpper-6yIzkj7V.js +1 -0
  166. package/dist/assets/{traffic-B7M7MwN4.js → traffic-9mdt3xlJ.js} +1 -1
  167. package/dist/assets/{url-evaluation-DCs4qJ1s.js → url-evaluation-zvcOTlCw.js} +1 -1
  168. package/dist/assets/{url-join-CZQCk0ge.js → url-join-DeR1uj4F.js} +1 -1
  169. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-DePpDQKa.js → use-blocklet-info-for-connect-did-spaces-CcMtzUbo.js} +1 -1
  170. package/dist/assets/{useLocalStorage-Cpx0Qijo.js → useLocalStorage-Cmh7IzOP.js} +1 -1
  171. package/dist/assets/{useThemeProps-DMpUSpUQ.js → useThemeProps-Av0i4kAo.js} +1 -1
  172. package/dist/assets/{util-opsnBGhQ.js → util-BFRwThVd.js} +1 -1
  173. package/dist/assets/{vi-CanFbf1v.js → vi-BsX5AAJJ.js} +1 -1
  174. package/dist/assets/{wait-container-DP8Bb6X-.js → wait-container-DeCL5jAI.js} +1 -1
  175. package/dist/assets/{withStyles-CiarYOCJ.js → withStyles-D6Sb3yPO.js} +1 -1
  176. package/dist/assets/wrap-locale-BKrHiPG8.js +1 -0
  177. package/dist/assets/{zh-BxXo7x1m.js → zh-CIqkKG4c.js} +1 -1
  178. package/dist/assets/{zh-tw-Bvqjz2OU.js → zh-tw-D7VeUoit.js} +1 -1
  179. package/dist/index.html +1 -1
  180. package/dist/service-worker.js +1 -1
  181. package/package.json +1 -1
  182. package/dist/assets/DeleteOutline-BngWwPLv.js +0 -1
  183. package/dist/assets/api-1QhTD3Py.js +0 -1
  184. package/dist/assets/blocklet-F36VtnS3.js +0 -1
  185. package/dist/assets/getValidReactChildren-BulArIz5.js +0 -1
  186. package/dist/assets/index-ByhJ7PKw.js +0 -278
  187. package/dist/assets/index-ByoVNU5z.js +0 -1
  188. package/dist/assets/index-C1yo1XnB.js +0 -1
  189. package/dist/assets/index-C5jvxTRJ.js +0 -309
  190. package/dist/assets/index-D-TSSwe_.js +0 -54
  191. package/dist/assets/index-N35a-P_5.js +0 -288
  192. package/dist/assets/index-W_RWClvn.js +0 -262
  193. package/dist/assets/index-ziy-s42n.js +0 -11
  194. package/dist/assets/is-path-prefix-equal-BiTDqCe2.js +0 -1
  195. package/dist/assets/service-C47VUoeK.js +0 -1
  196. package/dist/assets/team-CgUZDWzH.js +0 -1
  197. package/dist/assets/toUpper-CeMG-5le.js +0 -1
  198. package/dist/assets/wrap-locale-BSVVLHW0.js +0 -1
@@ -0,0 +1,278 @@
1
+ var Ft=Object.defineProperty;var zt=(e,t,n)=>t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Q=(e,t,n)=>(zt(e,typeof t!="symbol"?t+"":t,n),n);import{r as S,aP as Ht,fY as Dt,j as d,ce,fM as G,fZ as et,P as u,f_ as Ut,aO as Bt,ci as Qt,a2 as Vt,dS as Wt,dQ as Zt,f$ as Gt,dP as Jt,d1 as A,a7 as Yt,a8 as Xt,g0 as Kt,O as P,g1 as en,m as tn,g2 as nn,g3 as on,B as rn,g4 as sn,fK as tt,q as te,g5 as cn,g6 as an,cn as ln,g7 as un,s as M,g8 as nt,g9 as fn,c8 as ot,ga as dn,aA as rt,bU as de,bc as pn,co as st,gb as hn}from"./index-B9q4xTve.js";import{d as gn}from"./ExpandMore-XdKsbNWv.js";/**
2
+ * (c) Iconify
3
+ *
4
+ * For the full copyright and license information, please view the license.txt
5
+ * files at https://github.com/iconify/iconify
6
+ *
7
+ * Licensed under MIT.
8
+ *
9
+ * @license MIT
10
+ * @version 1.0.8
11
+ */const it=Object.freeze({left:0,top:0,width:16,height:16}),J=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),U=Object.freeze({...it,...J}),pe=Object.freeze({...U,body:"",hidden:!1}),mn=Object.freeze({width:null,height:null}),ct=Object.freeze({...mn,...J});function yn(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const bn=/[\s,]+/;function xn(e,t){t.split(bn).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const at={...ct,preserveAspectRatio:""};function Ee(e){const t={...at},n=(r,o)=>e.getAttribute(r)||o;return t.width=n("width",null),t.height=n("height",null),t.rotate=yn(n("rotate","")),xn(t,n("flip","")),t.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),t}function wn(e,t){for(const n in at)if(e[n]!==t[n])return!0;return!1}const q=/^[a-z0-9]+(-[a-z0-9]+)*$/,B=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!W(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!W(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!W(a,n)?null:a}return null},W=(e,t)=>e?!!((e.provider===""||e.provider.match(q))&&(t&&e.prefix===""||e.prefix.match(q))&&e.name.match(q)):!1;function vn(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function $e(e,t){const n=vn(e,t);for(const r in pe)r in J?r in e&&!(r in n)&&(n[r]=J[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function kn(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function jn(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=$e(r[a]||o[a],s)}return i(t),n.forEach(i),$e(e,s)}function lt(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=kn(e);for(const o in r){const s=r[o];s&&(t(o,jn(e,o,s)),n.push(o))}return n}const In={provider:"",aliases:{},not_found:{},...it};function ae(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ut(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ae(e,In))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(q)||typeof s.body!="string"||!ae(s,pe))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(q)||typeof i!="string"||!n[i]&&!r[i]||!ae(s,pe))return null}return t}const Y=Object.create(null);function Sn(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function N(e,t){const n=Y[e]||(Y[e]=Object.create(null));return n[t]||(n[t]=Sn(e,t))}function ve(e,t){return ut(t)?lt(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Tn(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function Cn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(Y)).forEach(o=>{(typeof o=="string"&&typeof t=="string"?[t]:Object.keys(Y[o]||{})).forEach(i=>{const a=N(o,i);n=n.concat(Object.keys(a.icons).map(c=>(o!==""?"@"+o+":":"")+i+":"+c))})}),n}let z=!1;function ft(e){return typeof e=="boolean"&&(z=e),z}function H(e){const t=typeof e=="string"?B(e,!0,z):e;if(t){const n=N(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function dt(e,t){const n=B(e,!0,z);if(!n)return!1;const r=N(n.provider,n.prefix);return Tn(r,n.name,t)}function _e(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),z&&!t&&!e.prefix){let o=!1;return ut(e)&&(e.prefix="",lt(e,(s,i)=>{i&&dt(s,i)&&(o=!0)})),o}const n=e.prefix;if(!W({provider:t,prefix:n,name:"a"}))return!1;const r=N(t,n);return!!ve(r,e)}function An(e){return!!H(e)}function Pn(e){const t=H(e);return t?{...U,...t}:null}function Mn(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=N(s,i));let f;a in l.icons?f=t.loaded:i===""||l.missing.has(a)?f=t.missing:f=t.pending;const p={provider:s,prefix:i,name:a};f.push(p)}),t}function pt(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Ln(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||pt([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Nn=0;function Rn(e,t,n){const r=Nn++,o=pt.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}const he=Object.create(null);function qe(e,t){he[e]=t}function ge(e){return he[e]||he[""]}function On(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?B(o,t,n):o;s&&r.push(s)}),r}var En={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function $n(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let y=e.resources.slice(0);for(i=[];y.length>1;){const I=Math.floor(Math.random()*y.length);i.push(y[I]),y=y.slice(0,I).concat(y.slice(I+1))}i=i.concat(y)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,f,p=null,h=[],g=[];typeof r=="function"&&g.push(r);function m(){p&&(clearTimeout(p),p=null)}function x(){c==="pending"&&(c="aborted"),m(),h.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),h=[]}function v(y,I){I&&(g=[]),typeof y=="function"&&g.push(y)}function k(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:h.length,subscribe:v,abort:x}}function b(){c="failed",g.forEach(y=>{y(void 0,f)})}function w(){h.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),h=[]}function C(y,I,L){const T=I!=="success";switch(h=h.filter(R=>R!==y),c){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){f=L,b();return}if(T){f=L,h.length||(i.length?j():b());return}if(m(),w(),!e.random){const R=e.resources.indexOf(y.resource);R!==-1&&R!==e.index&&(e.index=R)}c="completed",g.forEach(R=>{R(L)})}function j(){if(c!=="pending")return;m();const y=i.shift();if(y===void 0){if(h.length){p=setTimeout(()=>{m(),c==="pending"&&(w(),b())},e.timeout);return}b();return}const I={status:"pending",resource:y,callback:(L,T)=>{C(I,L,T)}};h.push(I),l++,p=setTimeout(j,e.rotate),n(y,t,I.callback)}return setTimeout(j),k}function ht(e){const t={...En,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const f=$n(t,a,c,(p,h)=>{r(),l&&l(p,h)});return n.push(f),f}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function ke(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ne=Object.create(null),_=["https://api.simplesvg.com","https://api.unisvg.com"],Z=[];for(;_.length>0;)_.length===1||Math.random()>.5?Z.push(_.shift()):Z.push(_.pop());ne[""]=ke({resources:["https://api.iconify.design"].concat(Z)});function Fe(e,t){const n=ke(t);return n===null?!1:(ne[e]=n,!0)}function oe(e){return ne[e]}function _n(){return Object.keys(ne)}function ze(){}const le=Object.create(null);function qn(e){if(!le[e]){const t=oe(e);if(!t)return;const n=ht(t),r={config:t,redundancy:n};le[e]=r}return le[e]}function gt(e,t,n){let r,o;if(typeof e=="string"){const s=ge(e);if(!s)return n(void 0,424),ze;o=s.send;const i=qn(e);i&&(r=i.redundancy)}else{const s=ke(e);if(s){r=ht(s);const i=e.resources?e.resources[0]:"",a=ge(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),ze):r.query(t,o,n)().abort}const He="iconify2",D="iconify",mt=D+"-count",De=D+"-version",yt=36e5,Fn=168;function me(e,t){try{return e.getItem(t)}catch{}}function je(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ue(e,t){try{e.removeItem(t)}catch{}}function ye(e,t){return je(e,mt,t.toString())}function be(e){return parseInt(me(e,mt))||0}const O={local:!0,session:!0},bt={local:new Set,session:new Set};let Ie=!1;function zn(e){Ie=e}let V=typeof window>"u"?{}:window;function xt(e){const t=e+"Storage";try{if(V&&V[t]&&typeof V[t].length=="number")return V[t]}catch{}O[e]=!1}function wt(e,t){const n=xt(e);if(!n)return;const r=me(n,De);if(r!==He){if(r){const a=be(n);for(let c=0;c<a;c++)Ue(n,D+c.toString())}je(n,De,He),ye(n,0);return}const o=Math.floor(Date.now()/yt)-Fn,s=a=>{const c=D+a.toString(),l=me(n,c);if(typeof l=="string"){try{const f=JSON.parse(l);if(typeof f=="object"&&typeof f.cached=="number"&&f.cached>o&&typeof f.provider=="string"&&typeof f.data=="object"&&typeof f.data.prefix=="string"&&t(f,a))return!0}catch{}Ue(n,c)}};let i=be(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,ye(n,i)):bt[e].add(a))}function vt(){if(!Ie){zn(!0);for(const e in O)wt(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=N(r,o);if(!ve(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function Hn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in O)wt(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Dn(e,t){Ie||vt();function n(r){let o;if(!O[r]||!(o=xt(r)))return;const s=bt[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=be(o),!ye(o,i+1))return;const a={cached:Math.floor(Date.now()/yt),provider:e.provider,data:t};return je(o,D+i.toString(),JSON.stringify(a))}t.lastModified&&!Hn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Be(){}function Un(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Ln(e)}))}function Bn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=ge(n)))return;s.prepare(n,r,o).forEach(a=>{gt(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=ve(e,c);if(!l.length)return;const f=e.pendingIcons;f&&l.forEach(p=>{f.delete(p)}),Dn(e,c)}catch(l){console.error(l)}Un(e)})})}))}const Se=(e,t)=>{const n=On(e,!0,ft()),r=Mn(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Be)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:f}=c;if(f===a&&l===i)return;i=l,a=f,s.push(N(l,f));const p=o[l]||(o[l]=Object.create(null));p[f]||(p[f]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:f,name:p}=c,h=N(l,f),g=h.pendingIcons||(h.pendingIcons=new Set);g.has(p)||(g.add(p),o[l][f].push(p))}),s.forEach(c=>{const{provider:l,prefix:f}=c;o[l][f].length&&Bn(c,o[l][f])}),t?Rn(t,r,s):Be},Qn=e=>new Promise((t,n)=>{const r=typeof e=="string"?B(e,!0):e;if(!r){n(e);return}Se([r||e],o=>{if(o.length&&r){const s=H(r);if(s){t({...U,...s});return}}n(e)})});function Vn(e){try{const t=typeof e=="string"?JSON.parse(e):e;if(typeof t.body=="string")return{...t}}catch{}}function Wn(e,t){const n=typeof e=="string"?B(e,!0,!0):null;if(!n){const s=Vn(e);return{value:e,data:s}}const r=H(n);if(r!==void 0||!n.prefix)return{value:e,name:n,data:r};const o=Se([n],()=>t(e,n,H(n)));return{value:e,name:n,loading:o}}function ue(e){return e.hasAttribute("inline")}let kt=!1;try{kt=navigator.vendor.indexOf("Apple")===0}catch{}function Zn(e,t){switch(t){case"svg":case"bg":case"mask":return t}return t!=="style"&&(kt||e.indexOf("<a")===-1)?"svg":e.indexOf("currentColor")===-1?"bg":"mask"}const Gn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Jn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function xe(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Gn);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=Jn.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const Yn=e=>e==="unset"||e==="undefined"||e==="none";function jt(e,t){const n={...U,...e},r={...ct,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(m=>{const x=[],v=m.hFlip,k=m.vFlip;let b=m.rotate;v?k?b+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):k&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let w;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:w=o.height/2+o.top,x.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,x.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}b%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),x.length&&(s='<g transform="'+x.join(" ")+'">'+s+"</g>")});const i=r.width,a=r.height,c=o.width,l=o.height;let f,p;i===null?(p=a===null?"1em":a==="auto"?l:a,f=xe(p,c/l)):(f=i==="auto"?c:i,p=a===null?xe(f,l/c):a==="auto"?l:a);const h={},g=(m,x)=>{Yn(x)||(h[m]=x.toString())};return g("width",f),g("height",p),h.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:h,body:s}}const Xn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let X=Xn();function Kn(e){X=e}function eo(){return X}function to(e,t){const n=oe(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function no(e){return e===404}const oo=(e,t,n)=>{const r=[],o=to(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function ro(e){if(typeof e=="string"){const t=oe(e);if(t)return t.path}return"/"}const so=(e,t,n)=>{if(!X){n("abort",424);return}let r=ro(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;X(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(no(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},io={prepare:oo,send:so};function Qe(e,t){switch(e){case"local":case"session":O[e]=t;break;case"all":for(const n in O)O[n]=t;break}}const fe="data-style";let It="";function co(e){It=e}function Ve(e,t){let n=Array.from(e.childNodes).find(r=>r.hasAttribute&&r.hasAttribute(fe));n||(n=document.createElement("style"),n.setAttribute(fe,fe),e.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(t?"-0.125em":"0")+"}span,svg{display:block}"+It}function St(){qe("",io),ft(!0);let e;try{e=window}catch{}if(e){if(vt(),e.IconifyPreload!==void 0){const n=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!_e(o))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(const r in n){const o="IconifyProviders["+r+"] is invalid.";try{const s=n[r];if(typeof s!="object"||!s||s.resources===void 0)continue;Fe(r,s)||console.error(o)}catch{console.error(o)}}}}return{enableCache:n=>Qe(n,!0),disableCache:n=>Qe(n,!1),iconExists:An,getIcon:Pn,listIcons:Cn,addIcon:dt,addCollection:_e,calculateSize:xe,buildIcon:jt,loadIcons:Se,loadIcon:Qn,addAPIProvider:Fe,appendCustomStyle:co,_api:{getAPIConfig:oe,setAPIModule:qe,sendAPIQuery:gt,setFetch:Kn,getFetch:eo,listAPIProviders:_n}}}function Tt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function ao(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function lo(e){return"data:image/svg+xml,"+ao(e)}function uo(e){return'url("'+lo(e)+'")'}const we={"background-color":"currentColor"},Ct={"background-color":"transparent"},We={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Ze={"-webkit-mask":we,mask:we,background:Ct};for(const e in Ze){const t=Ze[e];for(const n in We)t[e+"-"+n]=We[n]}function Ge(e){return e?e+(e.match(/^[-0-9.]+$/)?"px":""):"inherit"}function fo(e,t,n){const r=document.createElement("span");let o=e.body;o.indexOf("<a")!==-1&&(o+="<!-- "+Date.now()+" -->");const s=e.attributes,i=Tt(o,{...s,width:t.width+"",height:t.height+""}),a=uo(i),c=r.style,l={"--svg":a,width:Ge(s.width),height:Ge(s.height),...n?we:Ct};for(const f in l)c.setProperty(f,l[f]);return r}let F;function po(){try{F=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{F=null}}function ho(e){return F===void 0&&po(),F?F.createHTML(e):e}function go(e){const t=document.createElement("span"),n=e.attributes;let r="";n.width||(r="width: inherit;"),n.height||(r+="height: inherit;"),r&&(n.style=r);const o=Tt(e.body,n);return t.innerHTML=ho(o),t.firstChild}function Je(e,t){const n=t.icon.data,r=t.customisations,o=jt(n,r);r.preserveAspectRatio&&(o.attributes.preserveAspectRatio=r.preserveAspectRatio);const s=t.renderedMode;let i;switch(s){case"svg":i=go(o);break;default:i=fo(o,{...U,...n},s==="mask")}const a=Array.from(e.childNodes).find(c=>{const l=c.tagName&&c.tagName.toUpperCase();return l==="SPAN"||l==="SVG"});a?i.tagName==="SPAN"&&a.tagName===i.tagName?a.setAttribute("style",i.getAttribute("style")):e.replaceChild(i,a):e.appendChild(i)}function Ye(e,t,n){const r=n&&(n.rendered?n:n.lastRender);return{rendered:!1,inline:t,icon:e,lastRender:r}}function mo(e="iconify-icon"){let t,n;try{t=window.customElements,n=window.HTMLElement}catch{return}if(!t||!n)return;const r=t.get(e);if(r)return r;const o=["icon","mode","inline","width","height","rotate","flip"],s=class extends n{constructor(){super();Q(this,"_shadowRoot");Q(this,"_state");Q(this,"_checkQueued",!1);const c=this._shadowRoot=this.attachShadow({mode:"open"}),l=ue(this);Ve(c,l),this._state=Ye({value:""},l),this._queueCheck()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(c){if(c==="inline"){const l=ue(this),f=this._state;l!==f.inline&&(f.inline=l,Ve(this._shadowRoot,l))}else this._queueCheck()}get icon(){const c=this.getAttribute("icon");if(c&&c.slice(0,1)==="{")try{return JSON.parse(c)}catch{}return c}set icon(c){typeof c=="object"&&(c=JSON.stringify(c)),this.setAttribute("icon",c)}get inline(){return ue(this)}set inline(c){c?this.setAttribute("inline","true"):this.removeAttribute("inline")}restartAnimation(){const c=this._state;if(c.rendered){const l=this._shadowRoot;if(c.renderedMode==="svg")try{l.lastChild.setCurrentTime(0);return}catch{}Je(l,c)}}get status(){const c=this._state;return c.rendered?"rendered":c.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const c=this._state,l=this.getAttribute("icon");if(l!==c.icon.value){this._iconChanged(l);return}if(!c.rendered)return;const f=this.getAttribute("mode"),p=Ee(this);(c.attrMode!==f||wn(c.customisations,p))&&this._renderIcon(c.icon,p,f)}_iconChanged(c){const l=Wn(c,(f,p,h)=>{const g=this._state;if(g.rendered||this.getAttribute("icon")!==f)return;const m={value:f,name:p,data:h};m.data?this._gotIconData(m):g.icon=m});l.data?this._gotIconData(l):this._state=Ye(l,this._state.inline,this._state)}_gotIconData(c){this._checkQueued=!1,this._renderIcon(c,Ee(this),this.getAttribute("mode"))}_renderIcon(c,l,f){const p=Zn(c.data.body,f),h=this._state.inline;Je(this._shadowRoot,this._state={rendered:!0,icon:c,inline:h,customisations:l,attrMode:f,renderedMode:p})}};o.forEach(a=>{a in s.prototype||Object.defineProperty(s.prototype,a,{get:function(){return this.getAttribute(a)},set:function(c){c!==null?this.setAttribute(a,c):this.removeAttribute(a)}})});const i=St();for(const a in i)s[a]=s.prototype[a]=i[a];return t.define(e,s),s}mo()||St();const E=(e,t,n="children")=>e.map(r=>Array.isArray(r[n])?t({...r,[n]:E(r[n],t,n)}):t(r)),At=(e,t="children")=>{const n=[];return E(e,r=>n.push(r),t),n},Te=(e,t,n="children")=>e.map(r=>({...r})).filter(r=>{const o=r[n];if(Array.isArray(o)){const i=Te(o,t,n);r[n]=i!=null&&i.length?i:void 0}const s={filteredChildren:r[n],isLeaf:!(o!=null&&o.length)};return t(r,s)}),Pt=e=>/^https?:\/\//.test(e),yo=e=>{if(!e||!(e!=null&&e.startsWith("/")))return!1;const t=o=>o.endsWith("/")?o:`${o}/`,n=t(window.location.pathname),r=t(new URL(e,window.location.origin).pathname);return n.startsWith(r)},Mt=(e=[])=>{const t=e.map((r,o)=>({path:r,index:o})).filter(r=>yo(r.path));return t!=null&&t.length?t.slice(1).reduce((r,o)=>r.path.length>=o.path.length?r:o,t[0]).index:-1};function Ce({icon:e,size:t,sx:n,...r}){const o=[...Array.isArray(n)?n:[n]];t&&o.push({width:t,height:t});const[s,i]=S.useState(!1),[a,c]=S.useState(!0);if(Ht(async()=>{c(!0);try{await Dt(e),i(!0)}catch{i(!1)}c(!1)},[e]),r.variant||o.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),Pt(e))return d.jsx(ce,{component:"span",...r,src:e,sx:o});const l=t?.6*t+4:0;return a?d.jsx(G,{icon:"codicon:blank",height:l||void 0}):s?d.jsx(ce,{component:"span",...r,sx:o,children:d.jsx(G,{icon:e,height:l||void 0})}):e&&typeof e=="string"?(o.push({"&.MuiAvatar-root":{display:"inline-flex",...t&&{fontSize:t-2}}}),d.jsx(ce,{component:"span",...r,sx:o,children:Array.from(e)[0]})):null}const bo=et();function re({theme:e,children:t}){const n=e?et(e):bo;return d.jsx(Ut,{theme:n,children:t})}re.propTypes={children:u.any.isRequired,theme:u.object};re.defaultProps={theme:null};var Xe,Ke;const K=((Xe=window==null?void 0:window.blocklet)==null?void 0:Xe.groupPrefix)||((Ke=window==null?void 0:window.blocklet)==null?void 0:Ke.prefix)||"/",xo=e=>{const t={...e},n=e==null?void 0:e.background;return typeof n=="string"?t.background={header:n,footer:n,default:n}:n&&typeof n=="object"&&(t.background={header:n.header||n.default,footer:n.footer||n.default,default:n.default}),t},$=(e,t="en")=>{if(!(e!=null&&e.length))return e;const n=(o,s)=>typeof o=="string"?o:typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o,r=(o,s)=>{if(typeof o=="string"){if(Pt(o)){const a=new URL(o);return a.searchParams.set("locale",s),a.href}const i=new URL(o,window.location.origin);return i.searchParams.set("locale",s),i.pathname+i.search}return typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o};return E(e,o=>{var s;return{...o,title:n(o.title,t),link:(s=o.items)!=null&&s.length?o.link:r(o.link,t),_rawLink:o.link}},"items")},wo=e=>E(e,t=>t.role?{...t,role:Array.isArray(t.role)?t.role:[t.role]}:t,"items"),vo=e=>{if(!(e!=null&&e.length))return null;const t=wo(e),n={header:[],footer:[],social:[],bottom:[],dashboard:[],sessionManager:[],userCenter:[]};return t.forEach(r=>{var o;r.section?Array.isArray(r.section)?r.section.forEach(s=>{var i;(i=n[s])==null||i.push(r)}):typeof r.section=="string"&&((o=n[r.section])==null||o.push(r)):n.header.push(r)}),n},Ae=e=>{if(!e)return null;const t={...e};return t.theme=xo(t.theme),t.navigation=vo(ko(t.navigation)),t},ko=(e=[])=>Te(e,(t,n)=>{var r;return!!t.link||((r=n.filteredChildren)==null?void 0:r.length)},"items"),Lt=(e,t)=>Te(e,(n,r)=>{var s;const o=!n.role||t&&n.role.includes(t);return r.isLeaf?o:o&&((s=r.filteredChildren)==null?void 0:s.length)},"items"),jo={top:-960,width:960,height:960,body:'<path fill="currentColor" d="M510-600v-210q0-12.75 8.625-21.375T540-840h270q12.75 0 21.375 8.625T840-810v210q0 12.75-8.625 21.375T810-570H540q-12.75 0-21.375-8.625T510-600M120-480v-330q0-12.75 8.625-21.375T150-840h270q12.75 0 21.375 8.625T450-810v330q0 12.75-8.625 21.375T420-450H150q-12.75 0-21.375-8.625T120-480m390 330v-330q0-12.75 8.625-21.375T540-510h270q12.75 0 21.375 8.625T840-480v330q0 12.75-8.625 21.375T810-120H540q-12.75 0-21.375-8.625T510-150m-390 0v-210q0-12.75 8.625-21.375T150-390h270q12.75 0 21.375 8.625T450-360v210q0 12.75-8.625 21.375T420-120H150q-12.75 0-21.375-8.625T120-150m60-360h210v-270H180zm390 330h210v-270H570zm0-450h210v-150H570zM180-180h210v-150H180zm210-150"/>'},Io={width:24,height:24,body:'<path fill="currentColor" d="M15.95 12.3L11.7 8.05q-.15-.15-.212-.325t-.063-.375q0-.2.063-.375t.212-.325l4.25-4.25q.15-.15.325-.212t.375-.063q.2 0 .375.063t.325.212l4.25 4.25q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.25 4.25q-.15.15-.325.213t-.375.062q-.2 0-.375-.062t-.325-.213ZM3 10V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v6q0 .425-.288.713T10 11H4q-.425 0-.713-.288T3 10Zm10 10v-6q0-.425.288-.713T14 13h6q.425 0 .713.288T21 14v6q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-6q0-.425.288-.713T4 13h6q.425 0 .713.288T11 14v6q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20ZM5 9h4V5H5v4Zm11.675 1.2L19.5 7.375L16.675 4.55L13.85 7.375l2.825 2.825ZM15 19h4v-4h-4v4ZM5 19h4v-4H5v4ZM9 9Zm4.85-1.625ZM9 15Zm6 0Z"/>'};function Pe({session:e,locale:t,size:n}){const r=(window==null?void 0:window.blocklet)||{},o=(r.navigation||[]).filter(c=>c.section==="sessionManager"&&!["/sessionManager"].includes(c.id)).filter(c=>{var l;return!!((c==null?void 0:c.role)||[]).includes(((l=e==null?void 0:e.user)==null?void 0:l.role)||"guest")}).map(c=>{const l=((r==null?void 0:r.componentMountPoints)||[]).find(f=>c.component===f.name);return{...c,component:l}}),s=S.useRef(null),i=Bt({open:!1}),a=Qt((c=!i.open)=>{i.open=c});return o.length===0||!(e!=null&&e.user)?null:d.jsxs(d.Fragment,{children:[d.jsx(Vt,{size:"medium",ref:s,onClick:()=>a(),children:d.jsx(G,{icon:jo,fontSize:n,style:{transform:"scale(1.08)"}})}),d.jsx(Wt,{open:i.open,onClose:()=>a(!1),anchorEl:s.current,transition:!0,placement:"bottom-end",sx:{zIndex:1600},children:({TransitionProps:c})=>d.jsx(Zt,{onClickAway:l=>{l.preventDefault(),l.stopPropagation(),a(!1)},children:d.jsx(Gt,{...c,timeout:350,children:d.jsxs(Jt,{variant:"outlined",sx:{borderRadius:3,width:350,maxWidth:"90vw",borderColor:A.lineStep,p:2,border:"0 !important",boxShadow:`0px 8px 16px 0px ${A.gray6}, 0px 0px 0px 1px ${A.gray6}`},children:[d.jsx(Yt,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, 100px)",gridAutoRows:"minmax(100px, max-content)",justifyContent:"space-between",maxHeight:350,overflowY:"auto",p:0},children:o.map(l=>{var f;return d.jsx(Xt,{disablePadding:!0,children:d.jsxs(Kt,{href:l.link,sx:{p:1,display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",height:"100%",borderRadius:2,"&:hover":{backgroundColor:A.surfacePrimarySubtitle}},children:[(f=l==null?void 0:l.component)!=null&&f.did?d.jsx(P,{component:"img",src:`${en}/blocklet/logo-bundle/${l.component.did}`,sx:{borderRadius:2,width:50,height:50,objectFit:"contain"}}):d.jsx(G,{fontSize:50,icon:l.icon||Io,color:A.textSubtitle}),d.jsx(tn,{sx:{fontSize:"12px",color:A.textBase,textAlign:"center",lineHeight:"normal"},children:nn(l.title,t)})]})},l.id)})}),d.jsx(on,{session:e,children:d.jsx(rn,{variant:"outlined",fullWidth:!0,href:sn,sx:{mt:1,borderRadius:2,color:A.textBase,borderColor:A.lineBorderStrong,"&:hover":{color:A.primaryBase,borderColor:A.primaryBase}},children:t==="zh"?"管理":"Manage"})})]})})})})]})}Pe.propTypes={session:u.object.isRequired,locale:u.string,size:u.number};Pe.defaultProps={locale:"en",size:24};const Nt=u.shape({appLogo:u.node,appName:u.string,theme:u.shape({background:u.string}),enableConnect:u.bool,enableLocale:u.bool,navigation:u.arrayOf(u.shape({title:u.oneOfType([u.string,u.object]),link:u.oneOfType([u.string,u.object]),icon:u.string,items:u.arrayOf(u.shape({title:u.oneOfType([u.string,u.object]),link:u.oneOfType([u.string,u.object])}))}))}),Rt=u.shape({showText:u.bool,showRole:u.bool,switchDid:u.bool,switchProfile:u.bool,switchPassport:u.bool,disableLogout:u.bool,onLogin:u.func,onLogout:u.func,onSwitchDid:u.func,onSwitchProfile:u.func,onSwitchPassport:u.func,menu:u.array,menuRender:u.func,dark:u.bool,size:u.number});function se({formattedBlocklet:e,addons:t,sessionManagerProps:n}){var h,g,m,x;const r=S.useContext(tt),{locale:o}=te()||{},{enableConnect:s=!0,enableLocale:i=!0}=e,a=!!((h=r==null?void 0:r.session)!=null&&h.user);let c=$((g=e==null?void 0:e.navigation)==null?void 0:g.sessionManager,o)||[];c=Lt(c,(x=(m=r==null?void 0:r.session)==null?void 0:m.user)==null?void 0:x.role);const f=(()=>{if(t&&typeof t!="function")return Array.isArray(t)?t:[t];let v=[];if(i&&o&&v.push(d.jsx(cn,{showText:!1},"locale-selector")),s&&r){const k=[];a&&(c?c.slice(0,5):[]).forEach(w=>{k.push({label:w.title,icon:w.icon?d.jsx("iconify-icon",{icon:w.icon,height:24,style:{marginRight:8}}):null,component:"a",href:w.link,key:w.link})}),v.push(d.jsx(Pe,{session:r.session,locale:o},"session-blocklet")),v.push(d.jsx(an,{session:r.session,locale:o,menu:k,showRole:!0,...n},"session-user"))}return typeof t=="function"&&(v=t(v)||[]),v})();return S.createElement(d.Fragment,null,...Array.isArray(f)?f:[f])}se.propTypes={formattedBlocklet:u.object.isRequired,addons:u.oneOfType([u.func,u.node]),sessionManagerProps:Rt};se.defaultProps={addons:null,sessionManagerProps:{showRole:!0}};const Ot=()=>{const e=ln();S.useEffect(()=>{e.wallet&&un.call("arcHideTopBar","{}")},[e])},So=e=>{if(!(e!=null&&e.length))return{navItems:[],activeId:null};let t=1;const r=E(e,i=>{var l,f;const a=i.icon?d.jsx(Ce,{icon:i.icon}):null;if(i.items)return{id:`${t++}`,label:i.title,icon:a,children:i.items};let c={};return((l=i.link)!=null&&l.startsWith("http://")||(f=i.link)!=null&&f.startsWith("https://"))&&(c={target:"_blank",rel:"noreferrer"}),{id:`${t++}`,label:d.jsx("a",{href:i.link,...c,children:i.title}),icon:a,link:i.link}},"items"),o=At(r),s=Mt(o.map(i=>i.link));return{navItems:r,activeId:s>=0?o[s].id:null}};function To({meta:e={},addons:t,sessionManagerProps:n={showRole:!0},homeLink:r=K,theme:o,hideNavMenu:s=!1,...i}){var b,w;Ot();const{locale:a}=te()||{},c=S.useMemo(()=>{const C=Object.assign({},window.blocklet,e);try{return Ae(C)}catch(j){return console.error("Failed to format blocklet info",j,C),C}},[e]);if(!c.appName)return null;const{appLogo:l,appLogoRect:f,theme:p}=c,h=$((b=c==null?void 0:c.navigation)==null?void 0:b.header,a),g=So(h),{navItems:m,activeId:x}=g,v=typeof t=="function"?C=>t(C,{navigation:g}):t,k=d.jsx(se,{formattedBlocklet:c,addons:v,sessionManagerProps:n});return d.jsx(re,{theme:o,children:d.jsx(Co,{homeLink:r,logo:d.jsx("img",{src:f||l,alt:"logo"}),addons:k,...ot(i,["bordered"]),$bordered:i==null?void 0:i.bordered,$bgcolor:(w=p==null?void 0:p.background)==null?void 0:w.header,children:s||!(m!=null&&m.length)?null:({isMobile:C})=>d.jsx(dn,{mode:C?"inline":"horizontal",activeId:x,items:m,className:"header-nav",bgColor:"transparent",textColor:"#777"})})})}const Co=M(fn)`
12
+ ${({$bgcolor:e})=>`background-color: ${e||"#fff"};`}
13
+ font-family: Inter, Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
14
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
15
+ .header-logo {
16
+ min-width: 44px;
17
+ }
18
+ ${({$bordered:e})=>e?`border-bottom: 1px solid ${A.strokeSep};`:""}
19
+ ${e=>e.theme.breakpoints.down("md")} {
20
+ .header-logo {
21
+ min-width: 32px;
22
+ }
23
+ }
24
+ .header-nav {
25
+ .navmenu-sub .navmenu-item {
26
+ min-width: 80px;
27
+ }
28
+ }
29
+ .header-nav.navmenu--horizontal {
30
+ .navmenu-root > .navmenu-sub,
31
+ .navmenu-root > .navmenu-item {
32
+ padding: 16px 4px;
33
+
34
+ .navmenu-sub-container {
35
+ padding-top: 0;
36
+ }
37
+ }
38
+ .navmenu-item-icon > .MuiAvatar-root,
39
+ .navmenu-sub-icon > .MuiAvatar-root {
40
+ width: 20px;
41
+ height: 20px;
42
+ }
43
+ }
44
+ `,zo=nt(To,{FallbackComponent:rt});function Me({name:e,logo:t,description:n,...r}){if(!e&&!t&&!n)return null;const o=S.isValidElement(t)?t:d.jsx("img",{src:t,alt:e});return d.jsxs(Ao,{...r,children:[d.jsxs("div",{children:[t&&d.jsx(P,{component:"a",href:"/",className:"footer-brand-logo",children:o}),e&&d.jsx("div",{className:"footer-brand-name",children:e})]}),n&&d.jsx("div",{className:"footer-brand-desc",children:n})]})}Me.propTypes={name:u.node,logo:u.node,description:u.string};Me.defaultProps={name:"",logo:"",description:""};const Ao=M("div")`
45
+ display: flex;
46
+ flex-direction: column;
47
+ font-size: 14px;
48
+ a {
49
+ text-decoration: none;
50
+ color: inherit;
51
+ }
52
+ > div:first-of-type {
53
+ display: flex;
54
+ align-items: center;
55
+ }
56
+ .footer-brand-logo {
57
+ display: flex;
58
+ align-items: center;
59
+ margin-right: 16px;
60
+ line-height: 1;
61
+ img,
62
+ svg {
63
+ width: auto;
64
+ height: 44px;
65
+ max-height: 44px;
66
+ }
67
+ }
68
+ .footer-brand-name {
69
+ font-size: 16px;
70
+ font-weight: bold;
71
+ }
72
+ .footer-brand-desc {
73
+ margin-top: 16px;
74
+ }
75
+
76
+ ${e=>e.theme.breakpoints.down("sm")} {
77
+ width: auto;
78
+ }
79
+
80
+ ${e=>e.theme.breakpoints.down("md")} {
81
+ .footer-brand-logo {
82
+ img,
83
+ svg {
84
+ height: 32px;
85
+ max-height: 32px;
86
+ }
87
+ }
88
+ }
89
+ `;function ee({links:e,flowLayout:t,...n}){const[r,o]=S.useState(-1);if(!(e!=null&&e.length))return null;const s=e.some(a=>{var c;return(c=a.items)==null?void 0:c.length}),i=({label:a,link:c,icon:l,render:f,props:p})=>{let h=a;return f?h=f({label:a,link:c,props:p}):c&&(h=d.jsx("a",{href:c,"aria-label":`Footer link for ${a}`,...p,children:a})),d.jsxs(d.Fragment,{children:[l&&d.jsx(Ce,{icon:l,size:20,sx:{mr:.5}}),h]})};return d.jsx(Po,{...n,className:de(n.className,{"footer-links--grouped":s,"footer-links--flow":t}),children:d.jsxs("div",{className:"footer-links-inner",children:[t&&e.map((a,c)=>d.jsx("span",{className:"footer-links-item",children:i(a)},c)),!t&&e.map((a,c)=>{const{items:l}=a,f=c===r;return d.jsxs("div",{className:de("footer-links-group",{"footer-links-group--active":f}),onClick:()=>o(r===c?-1:c),children:[d.jsxs("span",{className:"footer-links-item",children:[i(a),!!(l!=null&&l.length)&&d.jsx("span",{className:"footer-links-group-expand-icon",children:d.jsx(gn,{style:{transform:`rotate(${f?180:0}deg)`}})})]}),!!(l!=null&&l.length)&&d.jsx("div",{className:"footer-links-sub",children:l.map((p,h)=>d.jsx("span",{className:"footer-links-item",children:i(p)},h))})]},c)})]})})}ee.propTypes={links:u.arrayOf(u.shape({label:u.string,link:u.string,render:u.func,props:u.object})),flowLayout:u.bool};ee.defaultProps={links:[],flowLayout:!1};const Po=M("div")`
90
+ overflow: hidden;
91
+ color: ${e=>e.theme.palette.grey[600]};
92
+ .footer-links-inner {
93
+ display: flex;
94
+ justify-content: space-between;
95
+ margin: 0 -8px;
96
+ }
97
+ .footer-links-group,
98
+ .footer-links-sub {
99
+ display: flex;
100
+ flex-direction: column;
101
+ }
102
+ .footer-links-sub .footer-links-item {
103
+ color: ${e=>e.theme.palette.grey[900]};
104
+ }
105
+ .footer-links-group-expand-icon {
106
+ display: none;
107
+ position: absolute;
108
+ right: 16px;
109
+ top: 50%;
110
+ transform: translate(0, -50%);
111
+ line-height: 1;
112
+ svg {
113
+ width: auto;
114
+ height: 0.75em;
115
+ }
116
+ }
117
+ .footer-links-item {
118
+ display: inline-flex;
119
+ align-items: center;
120
+ position: relative;
121
+ padding: 4px 8px;
122
+ font-size: 14px;
123
+ }
124
+ &.footer-links--grouped {
125
+ .footer-links-group {
126
+ > .footer-links-item {
127
+ font-weight: bold;
128
+ }
129
+ .footer-links-sub {
130
+ margin-top: 8px;
131
+ }
132
+ }
133
+ }
134
+ a {
135
+ display: inline-block;
136
+ max-width: 150px;
137
+ color: inherit;
138
+ text-decoration: none;
139
+ &:hover {
140
+ text-decoration: underline;
141
+ }
142
+ }
143
+
144
+ &.footer-links--flow {
145
+ display: inline-flex;
146
+ .footer-links-inner {
147
+ justify-content: center;
148
+ flex-wrap: wrap;
149
+ margin: 0 -8px;
150
+ .footer-links-item {
151
+ padding: 0 8px;
152
+ }
153
+ .footer-links-item + .footer-links-item::before {
154
+ content: '';
155
+ position: absolute;
156
+ left: 0;
157
+ top: 50%;
158
+ transform: translate(0, -50%);
159
+ height: 1em;
160
+ border-left: 1px solid ${e=>e.theme.palette.grey[400]};
161
+ }
162
+ }
163
+ }
164
+
165
+ ${e=>e.theme.breakpoints.down("md")} {
166
+ .footer-links-inner {
167
+ flex-direction: column;
168
+ margin: 0;
169
+ }
170
+ .footer-links-sub {
171
+ display: none;
172
+ }
173
+ .footer-links-group {
174
+ position: relative;
175
+ padding: 12px 0;
176
+ .footer-links-item .footer-links-group-expand-icon {
177
+ display: inline-block;
178
+ }
179
+ }
180
+ .footer-links-group + .footer-links-group {
181
+ border-top: 1px solid ${e=>e.theme.palette.grey[200]};
182
+ }
183
+ .footer-links-group--active {
184
+ .footer-links-sub {
185
+ display: flex;
186
+ flex-direction: row;
187
+ flex-wrap: wrap;
188
+ .footer-links-item {
189
+ flex: 0 0 50%;
190
+ }
191
+ }
192
+ }
193
+ .footer-links-item {
194
+ padding-left: 0;
195
+ padding-right: 0;
196
+ font-size: 13px;
197
+ }
198
+ &.footer-links--grouped {
199
+ .footer-links-group {
200
+ > .footer-links-item {
201
+ font-size: 14px;
202
+ }
203
+ }
204
+ }
205
+
206
+ &.footer-links--flow {
207
+ .footer-links-inner {
208
+ flex-direction: row;
209
+ }
210
+ }
211
+ }
212
+ `;function Le({items:e,...t}){const n=pn();return e!=null&&e.length?d.jsx(Mo,{...t,children:e.map((r,o)=>d.jsx("a",{href:r.link,target:"_blank","aria-label":`Social media icon${r.title?` for ${r.title}`:""}`,rel:"noreferrer",children:d.jsx(Ce,{icon:r.icon||r.title,sx:{bgcolor:n.palette.grey[600],color:"#fff"},size:24,component:"span"})},o))}):null}Le.propTypes={items:u.arrayOf(u.shape({icon:u.string,link:u.string}))};Le.defaultProps={items:null};const Mo=M("div")`
213
+ display: inline-flex;
214
+ flex-wrap: wrap;
215
+ align-items: center;
216
+ justify-content: center;
217
+ gap: 20px;
218
+ a {
219
+ color: ${e=>e.theme.palette.grey[400]};
220
+ text-decoration: none;
221
+ &:hover {
222
+ color: ${e=>e.theme.palette.primary.light};
223
+ }
224
+ }
225
+ ${e=>e.theme.breakpoints.down("md")} {
226
+ gap: 12px;
227
+ }
228
+ `;function Ne({owner:e,year:t,...n}){return d.jsxs(Lo,{...n,children:["Copyright © ",t," ",e]})}Ne.propTypes={owner:u.string,year:u.string};Ne.defaultProps={owner:"ArcBlock",year:`${new Date().getFullYear()}`};const Lo=M("p")`
229
+ display: flex;
230
+ align-items: center;
231
+ margin: 0;
232
+ font-size: 13px;
233
+ `;function ie({children:e,autoCenter:t,...n}){return e?d.jsx(No,{...n,className:de(n.className,{"footer-row-auto-center":t}),children:e}):null}ie.propTypes={children:u.any,autoCenter:u.bool};ie.defaultProps={children:null,autoCenter:!1};const No=M(P)`
234
+ display: flex;
235
+ justify-content: space-between;
236
+ & + & {
237
+ margin-top: 24px;
238
+ }
239
+ &.footer-row-auto-center > *:only-child {
240
+ margin: 0 auto;
241
+ }
242
+
243
+ ${e=>e.theme.breakpoints.down("md")} {
244
+ align-items: stretch;
245
+ flex-direction: column;
246
+ gap: 16px;
247
+ > * {
248
+ flex: 1 0 100%;
249
+ }
250
+ &.footer-row-auto-center > * {
251
+ margin: 0 auto;
252
+ }
253
+ }
254
+ `;function Et({elements:e,data:t,...n}){var r;return d.jsx(Ro,{...n,children:d.jsxs(st,{children:[d.jsxs(P,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:{xs:"center",md:"space-between"},gap:2,pb:3},children:[d.jsx(P,{children:e.brand}),d.jsx(P,{lineHeight:1,children:e.socialMedia})]}),!!((r=t.navigation)!=null&&r.length)&&d.jsx(P,{sx:{mb:6,pt:3,borderTop:1,borderColor:"grey.200"},children:e.navigation}),d.jsxs(ie,{sx:{pt:3,borderTop:1,borderColor:"grey.200"},autoCenter:!0,children:[e.copyright,e.links]})]})})}Et.propTypes={elements:u.shape({brand:u.element,navigation:u.element,socialMedia:u.element,copyright:u.element,links:u.element}).isRequired,data:u.object.isRequired};const Ro=M("div")`
255
+ padding: 32px 0 24px 0;
256
+ .footer-brand-name,
257
+ .footer-brand-desc {
258
+ display: none;
259
+ }
260
+ && .footer-brand-logo {
261
+ margin-right: 0;
262
+ }
263
+ `;function $t({elements:e,data:t,...n}){return d.jsx(Oo,{...n,children:d.jsxs(st,{className:"plain-layout-container",children:[!!t.links&&d.jsxs(ie,{sx:{width:1},autoCenter:!0,children:[e.copyright,e.links]}),!t.links&&d.jsxs(d.Fragment,{children:[S.cloneElement(e.brand,{name:null,description:null}),e.copyright]})]})})}$t.propTypes={elements:u.shape({brand:u.element,navigation:u.element,socialMedia:u.element,copyright:u.element,links:u.element}).isRequired,data:u.object.isRequired};const Oo=M("div")`
264
+ padding: 24px 0;
265
+ .plain-layout-container {
266
+ display: flex;
267
+ justify-content: space-between;
268
+ align-items: center;
269
+ flex-wrap: wrap;
270
+ gap: 8px;
271
+ }
272
+ `,_t=[{name:"plain",support:(e,t)=>{var n,r;return!((n=t.navigation)!=null&&n.length)&&!((r=t.socialMedia)!=null&&r.length)},component:$t},{name:"standard",support:()=>!0,component:Et}],Eo=_t.reduce((e,t)=>({...e,[t.name]:t}),{});function Re(e){var x,v;const{brand:t,navigation:n,socialMedia:r,copyright:o,links:s,layout:i,...a}=e,c=()=>t?d.jsx(Me,{...t}):null,l=()=>n!=null&&n.length?d.jsx(ee,{links:n}):null,f=()=>r!=null&&r.length?d.jsx(Le,{items:r}):null,p=()=>{const k=(o==null?void 0:o.owner)||(t==null?void 0:t.name);return k?d.jsx(Ne,{owner:k,year:(o==null?void 0:o.year)||void 0}):null},h=()=>s!=null&&s.length?d.jsx(ee,{flowLayout:!0,links:s}):null,g={brand:c(),navigation:l(),socialMedia:f(),copyright:p(),links:h()};let m=null;if(i==="auto"?m=_t.find(k=>k.support(g,e)).component:m=(x=Eo[i])==null?void 0:x.component,!m)throw new Error(`layout ${i} is not supported.`);return d.jsxs(P,{position:"relative",...a,children:[d.jsx(m,{elements:g,data:e}),d.jsx(P,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(v=window==null?void 0:window.blocklet)==null?void 0:v.version})]})}Re.propTypes={brand:u.shape({name:u.node,description:u.string,logo:u.node}),navigation:u.arrayOf(u.shape({label:u.node,link:u.string})),socialMedia:u.arrayOf(u.shape({icon:u.node,link:u.string})),copyright:u.shape({owner:u.string,year:u.oneOfType([u.string,u.number])}),links:u.arrayOf(u.shape({label:u.node,link:u.string})),layout:u.oneOf(["auto","standard","plain"])};Re.defaultProps={brand:null,navigation:null,copyright:null,socialMedia:null,links:null,layout:"auto"};function Oe({meta:e,theme:t,...n}){var m,x,v,k;const{locale:r}=te()||{},o=S.useMemo(()=>{const b=Object.assign({},window.blocklet,e);try{return Ae(b)}catch(w){return console.error("Failed to format blocklet info",w,b),b}},[e]);if(!o.appName)return null;const{appLogo:s,appLogoRect:i,appName:a,appDescription:c,description:l,theme:f,copyright:p}=o,h={footerNav:$((m=o==null?void 0:o.navigation)==null?void 0:m.footer,r)||[],socialMedia:$((x=o==null?void 0:o.navigation)==null?void 0:x.social,r)||[],links:$((v=o==null?void 0:o.navigation)==null?void 0:v.bottom,r)||[]},g={brand:{name:a,description:c||l,logo:i||s},navigation:E(h.footerNav,b=>({...b,label:b.title,link:b.link}),"items"),copyright:p,socialMedia:h.socialMedia,links:h.links.map(b=>({...b,label:b.title}))};return d.jsx(re,{theme:t,children:d.jsx($o,{...g,...ot(n,["bordered"]),$bordered:n==null?void 0:n.bordered,$bgcolor:(k=f==null?void 0:f.background)==null?void 0:k.footer})})}Oe.propTypes={meta:Nt,theme:u.object};Oe.defaultProps={meta:{},theme:null};const $o=M(Re)`
273
+ ${({$bordered:e})=>`border-top: 1px solid ${e?A.strokeSep:"#eee"};`}
274
+ color: ${e=>e.theme.palette.grey[600]};
275
+ ${({$bgcolor:e})=>e&&`background-color: ${e};`}
276
+ font-family: Inter, Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
277
+ 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
278
+ `,Ho=nt(Oe,{FallbackComponent:rt});function qt({meta:e,fallbackUrl:t,invalidPathFallback:n,headerAddons:r,sessionManagerProps:o,links:s,...i}){var C;Ot();const a=S.useContext(tt),c=(C=a==null?void 0:a.session)==null?void 0:C.user,l=c==null?void 0:c.role,{locale:f}=te()||{},p=S.useMemo(()=>{const j=Object.assign({},window.blocklet,e);try{return Ae(j)}catch(y){return console.error("Failed to format blocklet info",y,j),j}},[e]),{localizedNav:h,flattened:g,matchedIndex:m}=S.useMemo(()=>{var L;let j=$((L=p==null?void 0:p.navigation)==null?void 0:L.dashboard,f)||[];j=Lt(j,l),j=E(j,T=>({title:T.title,url:T.link,icon:T.icon?d.jsx("iconify-icon",{height:"100%",width:"100%",icon:T.icon}):null,external:!0,children:T.items}),"items");const y=At(j).filter(T=>!!T.url),I=Mt(y.map(T=>T.url));return I!==-1&&(y[I].active=!0),{localizedNav:j,flattened:y,matchedIndex:I}},[p,f,l]),x=typeof s=="function"?s(h):[...h,...s];if(S.useLayoutEffect(()=>{c&&!(g!=null&&g.length)&&t&&(window.location.href=t)},[t]),S.useLayoutEffect(()=>{c&&(g!=null&&g.length)&&m===-1&&n&&n()},[n,g,m]),!p.appName)return null;const{appLogo:v,appLogoRect:k,appName:b}=p,w=d.jsx(se,{formattedBlocklet:p,addons:r,sessionManagerProps:o});return d.jsx(hn,{title:b,fullWidth:!0,sidebarWidth:128,legacy:!1,links:x,...i,headerProps:{homeLink:K,logo:d.jsx("img",{src:k||v,alt:"logo"}),addons:w,...i.headerProps}})}qt.propTypes={meta:Nt,fallbackUrl:u.string,invalidPathFallback:u.func,headerAddons:u.oneOfType([u.func,u.node]),sessionManagerProps:Rt,links:u.oneOfType([u.array,u.func])};qt.defaultProps={meta:{},fallbackUrl:K,invalidPathFallback:null,headerAddons:void 0,sessionManagerProps:{showRole:!0,onLogout:()=>{window.location.href=K}},links:[]};export{qt as D,Ho as F,zo as H};
@@ -1,4 +1,4 @@
1
- import{g as O,_ as F,P as o,s as Q,j as e,I as Y,r as p,u as q,c as X,a as P,b as R,L as J,d as K,e as Z,f as ee,h as ne,W as T,i as te,T as j,k as ae,l as b,m as g,G as v,n as V,p as se,C as re,o as L}from"./index-ZGnAW8k-.js";import{f as oe}from"./index-D9k2I5J1.js";import{I as E}from"./index-DeHtrQ7P.js";import{C as I}from"./click-to-copy-CRCcWlGf.js";import{w as ie}from"./withStyles-CiarYOCJ.js";var le=F,ce=le(function(n,i,r){return n+(r?" ":"")+i.toLowerCase()}),me=ce;const de=O(me);function w({icon:n,value:i,name:r,url:x,animated:c,LinkComponent:l,prefix:d}){const s=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"metric__image",children:e.jsx(Y,{name:n,alt:typeof r=="string"?r:"",size:30,prefix:d,color:"#222222"})}),e.jsxs("div",{children:[e.jsx("div",{className:`metric__number ${c?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:i}}),e.jsx("div",{className:"metric__name",children:r})]})]});return e.jsx(ue,{children:x?e.jsx(l,{to:x,children:s}):s})}w.propTypes={icon:o.string.isRequired,value:o.oneOfType([o.string,o.number]).isRequired,name:o.node.isRequired,animated:o.bool,url:o.string,LinkComponent:o.any,prefix:o.string};w.defaultProps={animated:!1,url:"",LinkComponent:null,prefix:"/images"};const ue=Q("div")`
1
+ import{g as O,_ as F,P as o,s as Q,j as e,I as Y,r as p,u as q,c as X,a as P,b as R,L as J,d as K,e as Z,f as ee,h as ne,W as T,i as te,T as j,k as ae,l as b,m as g,G as v,n as V,p as se,C as re,o as L}from"./index-B9q4xTve.js";import{f as oe}from"./index-D9k2I5J1.js";import{I as E}from"./index-B6oAfScX.js";import{C as I}from"./click-to-copy-CVINfAkv.js";import{w as ie}from"./withStyles-D6Sb3yPO.js";var le=F,ce=le(function(n,i,r){return n+(r?" ":"")+i.toLowerCase()}),me=ce;const de=O(me);function w({icon:n,value:i,name:r,url:x,animated:c,LinkComponent:l,prefix:d}){const s=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"metric__image",children:e.jsx(Y,{name:n,alt:typeof r=="string"?r:"",size:30,prefix:d,color:"#222222"})}),e.jsxs("div",{children:[e.jsx("div",{className:`metric__number ${c?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:i}}),e.jsx("div",{className:"metric__name",children:r})]})]});return e.jsx(ue,{children:x?e.jsx(l,{to:x,children:s}):s})}w.propTypes={icon:o.string.isRequired,value:o.oneOfType([o.string,o.number]).isRequired,name:o.node.isRequired,animated:o.bool,url:o.string,LinkComponent:o.any,prefix:o.string};w.defaultProps={animated:!1,url:"",LinkComponent:null,prefix:"/images"};const ue=Q("div")`
2
2
  border-left: 1px solid ${n=>n.theme.typography.color.main};
3
3
  padding: 10px 0 10px 16px;
4
4
  @media (max-width: ${n=>n.theme.breakpoints.values.sm}px) {
@@ -1,9 +1,9 @@
1
- import{fl as C,g as P,fm as R}from"./index-ZGnAW8k-.js";import{o as F}from"./index-ZG7jWpak.js";var O={},d,k;function $(){if(k)return d;k=1;var g,r,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1
+ import{fk as C,g as P,fl as R}from"./index-B9q4xTve.js";import{o as F}from"./index-ZG7jWpak.js";var O={},d,N;function $(){if(N)return d;N=1;var g,r,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
2
2
  `,r:"\r",t:" "},v;function s(i){throw{name:"SyntaxError",message:i,at:g,text:v}}function t(i){return i&&i!==r&&s("Expected '"+i+"' instead of '"+r+"'"),r=v.charAt(g),g+=1,r}function h(){var i,n="";for(r==="-"&&(n="-",t("-"));r>="0"&&r<="9";)n+=r,t();if(r===".")for(n+=".";t()&&r>="0"&&r<="9";)n+=r;if(r==="e"||r==="E")for(n+=r,t(),(r==="-"||r==="+")&&(n+=r,t());r>="0"&&r<="9";)n+=r,t();return i=Number(n),isFinite(i)||s("Bad number"),i}function p(){var i,n,a="",y;if(r==='"')for(;t();){if(r==='"')return t(),a;if(r==="\\")if(t(),r==="u"){for(y=0,n=0;n<4&&(i=parseInt(t(),16),!!isFinite(i));n+=1)y=y*16+i;a+=String.fromCharCode(y)}else if(typeof o[r]=="string")a+=o[r];else break;else a+=r}s("Bad string")}function f(){for(;r&&r<=" ";)t()}function u(){switch(r){case"t":return t("t"),t("r"),t("u"),t("e"),!0;case"f":return t("f"),t("a"),t("l"),t("s"),t("e"),!1;case"n":return t("n"),t("u"),t("l"),t("l"),null;default:s("Unexpected '"+r+"'")}}function l(){var i=[];if(r==="["){if(t("["),f(),r==="]")return t("]"),i;for(;r;){if(i.push(e()),f(),r==="]")return t("]"),i;t(","),f()}}s("Bad array")}function c(){var i,n={};if(r==="{"){if(t("{"),f(),r==="}")return t("}"),n;for(;r;){if(i=p(),f(),t(":"),Object.prototype.hasOwnProperty.call(n,i)&&s('Duplicate key "'+i+'"'),n[i]=e(),f(),r==="}")return t("}"),n;t(","),f()}}s("Bad object")}function e(){switch(f(),r){case"{":return c();case"[":return l();case'"':return p();case"-":return h();default:return r>="0"&&r<="9"?h():u()}}return d=function(i,n){var a;return v=i,g=0,r=" ",a=e(),f(),r&&s("Syntax error"),typeof n=="function"?function y(w,m){var b,S,j=w[m];if(j&&typeof j=="object")for(b in e)Object.prototype.hasOwnProperty.call(j,b)&&(S=y(j,b),typeof S>"u"?delete j[b]:j[b]=S);return n.call(w,m,j)}({"":a},""):a},d}var J,A;function D(){if(A)return J;A=1;var g=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r,o,v={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},s;function t(p){return g.lastIndex=0,g.test(p)?'"'+p.replace(g,function(f){var u=v[f];return typeof u=="string"?u:"\\u"+("0000"+f.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+p+'"'}function h(p,f){var u,l,c,e,i=r,n,a=f[p];switch(a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(p)),typeof s=="function"&&(a=s.call(f,p,a)),typeof a){case"string":return t(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";if(r+=o,n=[],Object.prototype.toString.apply(a)==="[object Array]"){for(e=a.length,u=0;u<e;u+=1)n[u]=h(u,a)||"null";return c=n.length===0?"[]":r?`[
3
3
  `+r+n.join(`,
4
4
  `+r)+`
5
5
  `+i+"]":"["+n.join(",")+"]",r=i,c}if(s&&typeof s=="object")for(e=s.length,u=0;u<e;u+=1)l=s[u],typeof l=="string"&&(c=h(l,a),c&&n.push(t(l)+(r?": ":":")+c));else for(l in a)Object.prototype.hasOwnProperty.call(a,l)&&(c=h(l,a),c&&n.push(t(l)+(r?": ":":")+c));return c=n.length===0?"{}":r?`{
6
6
  `+r+n.join(`,
7
7
  `+r)+`
8
- `+i+"}":"{"+n.join(",")+"}",r=i,c}}return J=function(p,f,u){var l;if(r="",o="",typeof u=="number")for(l=0;l<u;l+=1)o+=" ";else typeof u=="string"&&(o=u);if(s=f,f&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw new Error("JSON.stringify");return h("",{"":p})},J}var B;function I(){return B||(B=1,O.parse=$(),O.stringify=D()),O}var K={}.toString,T=Array.isArray||function(g){return K.call(g)=="[object Array]"},x=(typeof JSON<"u"?JSON:I()).stringify,U=T,z=F,G=R,E=C,_=E("Array.prototype.join"),N=E("Array.prototype.push"),q=function(r,o){for(var v="",s=0;s<r;s+=1)v+=o;return v},H=function(g,r,o){return o},L=function(r){var o=arguments.length>1?arguments[1]:void 0,v=o&&o.space||"";typeof v=="number"&&(v=q(v," "));var s=!!o&&typeof o.cycles=="boolean"&&o.cycles,t=o&&o.replacer?G(o.replacer):H,h=typeof o=="function"?o:o&&o.cmp,p=h&&function(u){var l=h.length>2&&function(e){return u[e]};return function(c,e){return h({key:c,value:u[c]},{key:e,value:u[e]},l?{__proto__:null,get:l}:void 0)}},f=[];return function u(l,c,e,i){var n=v?`
9
- `+q(i,v):"",a=v?": ":":";if(e&&e.toJSON&&typeof e.toJSON=="function"&&(e=e.toJSON()),e=t(l,c,e),e!==void 0){if(typeof e!="object"||e===null)return x(e);if(U(e)){for(var b=[],y=0;y<e.length;y++){var w=u(e,y,e[y],i+1)||x(null);N(b,n+v+w)}return"["+_(b,",")+n+"]"}if(f.indexOf(e)!==-1){if(s)return x("__cycle__");throw new TypeError("Converting circular structure to JSON")}else N(f,e);for(var m=z(e).sort(p&&p(e)),b=[],y=0;y<m.length;y++){var c=m[y],S=u(e,c,e[c],i+1);if(S){var j=x(c)+a+S;N(b,n+v+j)}}return f.splice(f.indexOf(e),1),"{"+_(b,",")+n+"}"}}({"":r},"",r,0)};const V=P(L);export{L as j,V as s};
8
+ `+i+"}":"{"+n.join(",")+"}",r=i,c}}return J=function(p,f,u){var l;if(r="",o="",typeof u=="number")for(l=0;l<u;l+=1)o+=" ";else typeof u=="string"&&(o=u);if(s=f,f&&typeof f!="function"&&(typeof f!="object"||typeof f.length!="number"))throw new Error("JSON.stringify");return h("",{"":p})},J}var B;function I(){return B||(B=1,O.parse=$(),O.stringify=D()),O}var K={}.toString,T=Array.isArray||function(g){return K.call(g)=="[object Array]"},x=(typeof JSON<"u"?JSON:I()).stringify,U=T,z=F,G=R,E=C,_=E("Array.prototype.join"),k=E("Array.prototype.push"),q=function(r,o){for(var v="",s=0;s<r;s+=1)v+=o;return v},H=function(g,r,o){return o},L=function(r){var o=arguments.length>1?arguments[1]:void 0,v=o&&o.space||"";typeof v=="number"&&(v=q(v," "));var s=!!o&&typeof o.cycles=="boolean"&&o.cycles,t=o&&o.replacer?G(o.replacer):H,h=typeof o=="function"?o:o&&o.cmp,p=h&&function(u){var l=h.length>2&&function(e){return u[e]};return function(c,e){return h({key:c,value:u[c]},{key:e,value:u[e]},l?{__proto__:null,get:l}:void 0)}},f=[];return function u(l,c,e,i){var n=v?`
9
+ `+q(i,v):"",a=v?": ":":";if(e&&e.toJSON&&typeof e.toJSON=="function"&&(e=e.toJSON()),e=t(l,c,e),e!==void 0){if(typeof e!="object"||e===null)return x(e);if(U(e)){for(var b=[],y=0;y<e.length;y++){var w=u(e,y,e[y],i+1)||x(null);k(b,n+v+w)}return"["+_(b,",")+n+"]"}if(f.indexOf(e)!==-1){if(s)return x("__cycle__");throw new TypeError("Converting circular structure to JSON")}else k(f,e);for(var m=z(e).sort(p&&p(e)),b=[],y=0;y<m.length;y++){var c=m[y],S=u(e,c,e[c],i+1);if(S){var j=x(c)+a+S;k(b,n+v+j)}}return f.splice(f.indexOf(e),1),"{"+_(b,",")+n+"}"}}({"":r},"",r,0)};const V=P(L);export{L as j,V as s};