@abtnode/blocklet-services 1.16.39-beta-20250215-130252-43410928 → 1.16.39-beta-20250218-132815-6baaf20e

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 (132) hide show
  1. package/api/index.js +6 -2
  2. package/api/libs/email.js +2 -2
  3. package/api/services/notification/index.js +4 -2
  4. package/api/services/notification/notification-queue.js +671 -0
  5. package/api/socket/channel/did.js +146 -473
  6. package/dist/assets/{Add-TglZpKpw.js → Add-meGhscd6.js} +1 -1
  7. package/dist/assets/{ArrowDropDown-DCM27ed6.js → ArrowDropDown-B7S4xnEe.js} +1 -1
  8. package/dist/assets/{CheckCircle-CH8SYy4d.js → CheckCircle-CnvZ4oB1.js} +1 -1
  9. package/dist/assets/{ChevronLeft-B7m8AFzR.js → ChevronLeft-D1qkw0FM.js} +1 -1
  10. package/dist/assets/{ChevronRight-DeRklga5.js → ChevronRight-CEkTH0up.js} +1 -1
  11. package/dist/assets/{DeleteOutline-DZA1YKE4.js → DeleteOutline-BjrgG_HY.js} +1 -1
  12. package/dist/assets/{Done-CVdTMvGH.js → Done-7hvoRcVZ.js} +1 -1
  13. package/dist/assets/{Download-DECMRaRC.js → Download-CMvqPsK9.js} +1 -1
  14. package/dist/assets/{Error-B61ZB0Rr.js → Error-D3I1nNnO.js} +1 -1
  15. package/dist/assets/{Google-D_UbrpMW.js → Google-TNOfJ3uU.js} +1 -1
  16. package/dist/assets/{InfoOutlined-QBw5AmWP.js → InfoOutlined-CwoytfGr.js} +1 -1
  17. package/dist/assets/{Launch-Cpp3LVnV.js → Launch-wyBVNKfb.js} +1 -1
  18. package/dist/assets/{LaunchOutlined-WdAKKV2H.js → LaunchOutlined-B2ZU9fkg.js} +1 -1
  19. package/dist/assets/{Loop-CbPhaPlF.js → Loop-CQAI5rIS.js} +1 -1
  20. package/dist/assets/{MoreHoriz-BsTY94ce.js → MoreHoriz-CyCcv2bV.js} +1 -1
  21. package/dist/assets/{PlayArrow-BgVzxA9Q.js → PlayArrow-B5ZFUKPq.js} +1 -1
  22. package/dist/assets/{ViewList-DBUe2NSG.js → ViewList-C8AcRueZ.js} +1 -1
  23. package/dist/assets/{access-control-DeqFMOm5.js → access-control-ClVHa3J1.js} +1 -1
  24. package/dist/assets/{actions-DP_Rm54e.js → actions-C0a0eUYM.js} +1 -1
  25. package/dist/assets/{add-component-core-BnP0_g-C.js → add-component-core-CK3SAdlQ.js} +1 -1
  26. package/dist/assets/{add-resource-B26HHRU4.js → add-resource-hs_iM1xk.js} +1 -1
  27. package/dist/assets/{addon-DH34oI6i.js → addon-C7fx4MJ0.js} +1 -1
  28. package/dist/assets/{analytics-DPn53GmC.js → analytics-CjaAB5m2.js} +1 -1
  29. package/dist/assets/{ar-BJD4HTM3.js → ar-BFUPmTkR.js} +1 -1
  30. package/dist/assets/{audit-logs-C1oUmr2S.js → audit-logs-bl5st5Lr.js} +1 -1
  31. package/dist/assets/{base32-CwwDjweV.js → base32-9oQoOkFy.js} +1 -1
  32. package/dist/assets/{branding-DFfBkuOI.js → branding-5S3zjZlC.js} +2 -2
  33. package/dist/assets/{bundle-avatar-Cv2R2iWI.js → bundle-avatar-Dnk7mw7b.js} +1 -1
  34. package/dist/assets/{button-4qfNeG4u.js → button-BTVoaDd7.js} +1 -1
  35. package/dist/assets/{click-to-copy-886R1sA9.js → click-to-copy-C9X-UQyL.js} +1 -1
  36. package/dist/assets/{complete-Cz6Vt9yr.js → complete-C3yyjx_N.js} +2 -2
  37. package/dist/assets/{component-BOGOOyWw.js → component-B0WI6_H4.js} +1 -1
  38. package/dist/assets/{config-BBRmjpUL.js → config-C0wq7rMr.js} +1 -1
  39. package/dist/assets/{config-CE9eJ5Ce.js → config-DINcJX6A.js} +1 -1
  40. package/dist/assets/{config-navigation-ZGyHDU_V.js → config-navigation-Dskr7Yic.js} +3 -3
  41. package/dist/assets/config-space-BYYAVRcS.js +1 -0
  42. package/dist/assets/{confirm-f60NfF3X.js → confirm-BmLsHbj9.js} +1 -1
  43. package/dist/assets/{connect-D9S16wyT.js → connect-06lWrPrR.js} +1 -1
  44. package/dist/assets/{connect-B2VVyCQY.js → connect-hhGPDSK8.js} +1 -1
  45. package/dist/assets/{connect-to-BSmtnPV9.js → connect-to-DIJ57-hM.js} +1 -1
  46. package/dist/assets/{dashboard-BoV1-CrH.js → dashboard-PlqPcVrd.js} +4 -4
  47. package/dist/assets/{de-CaPBInxb.js → de-hV0yD3gq.js} +1 -1
  48. package/dist/assets/{did-address-CgDvtQbT.js → did-address-Bl2N44vc.js} +1 -1
  49. package/dist/assets/{domain-DLGsAByD.js → domain-DDa_Ldun.js} +1 -1
  50. package/dist/assets/{domain-list-BLV11Y6_.js → domain-list-DXbfS21Z.js} +2 -2
  51. package/dist/assets/{email-Fgr58FLV.js → email-9CbD02fM.js} +1 -1
  52. package/dist/assets/{es-hhXhgxGX.js → es-BcSAobJW.js} +1 -1
  53. package/dist/assets/{exchange-passport-CcsLEfpo.js → exchange-passport-ZTeqENxf.js} +1 -1
  54. package/dist/assets/{form-text-input-CbMAGh7u.js → form-text-input-DEadnM80.js} +1 -1
  55. package/dist/assets/{fr-BwQvAhhM.js → fr-8qti32p1.js} +1 -1
  56. package/dist/assets/{fuel-B8r20ueU.js → fuel-AxStjHWS.js} +1 -1
  57. package/dist/assets/{fullpage-DLk_Ap1u.js → fullpage-BXvfrD1C.js} +1 -1
  58. package/dist/assets/{get-safe-url-BzE2b8Zw.js → get-safe-url-BVjMxmwp.js} +1 -1
  59. package/dist/assets/{get-safe-url-C2hTfmjV.js → get-safe-url-BxZD1oA_.js} +1 -1
  60. package/dist/assets/{hi-CRWmR5oy.js → hi-DDEUhQcX.js} +1 -1
  61. package/dist/assets/{home-B30MMEWW.js → home-CrkVy1DG.js} +1 -1
  62. package/dist/assets/{id-Dlr6Q1sk.js → id-DkUYINLx.js} +1 -1
  63. package/dist/assets/{iframe-DvysnY8O.js → iframe-BcWepstA.js} +1 -1
  64. package/dist/assets/{index-B4_ve2gt.js → index-BBOSdbE7.js} +1 -1
  65. package/dist/assets/{index-EDdyNc1F.js → index-BJA4YPaC.js} +1 -1
  66. package/dist/assets/{index-DFM7u7wl.js → index-BSC2apzE.js} +1 -1
  67. package/dist/assets/{index-B6CyLMos.js → index-BXlJ03I_.js} +1 -1
  68. package/dist/assets/index-Be9vrMiA.js +5 -0
  69. package/dist/assets/{index-uSZNIR4c.js → index-BtFCAsqh.js} +1 -1
  70. package/dist/assets/{index-j5s7Rpz_.js → index-CDvqNewi.js} +1 -1
  71. package/dist/assets/{index-RoF9rzF3.js → index-CoxJ8G1A.js} +1 -1
  72. package/dist/assets/{index-C-yw0A3M.js → index-DIQ33Q8Z.js} +1 -1
  73. package/dist/assets/{index-V7v6XM-s.js → index-DfBNyFsV.js} +1 -1
  74. package/dist/assets/{index-EIsfexf1.js → index-DgaUl_lv.js} +1 -1
  75. package/dist/assets/{index-CM-Ew9KZ.js → index-DkVoxpR-.js} +1 -1
  76. package/dist/assets/index-DkufOgYs.js +125 -0
  77. package/dist/assets/{index-U8kTDDEm.js → index-MxM82EtU.js} +4 -4
  78. package/dist/assets/{index-r2Lf0YIw.js → index-uYcwdGZL.js} +46 -46
  79. package/dist/assets/{invitation-ZW3n52Yc.js → invitation-BzHMoDRH.js} +1 -1
  80. package/dist/assets/{invite-B8cpjqrT.js → invite-BBcuJaUv.js} +1 -1
  81. package/dist/assets/{issue-passport-DrbTLcdD.js → issue-passport-sgBfFZ4Y.js} +1 -1
  82. package/dist/assets/{item-BVrq9ZQD.js → item-C5sAxGxS.js} +1 -1
  83. package/dist/assets/{ja-CmKylH6K.js → ja-C2LP4WQG.js} +1 -1
  84. package/dist/assets/{ko-Blp8936a.js → ko-C-DMeONa.js} +1 -1
  85. package/dist/assets/{layout-Dw2Qx7hs.js → layout-CGas_HfS.js} +1 -1
  86. package/dist/assets/{list-BwH5q_Zc.js → list-cZ-OXxN0.js} +1 -1
  87. package/dist/assets/{list-header-BBHpD8dC.js → list-header-Dd4BEf4y.js} +1 -1
  88. package/dist/assets/{localization-Ciwo-y3M.js → localization-Z_CTe1Z8.js} +1 -1
  89. package/dist/assets/{log-Ba7iTEJj.js → log-BFj6TDz5.js} +1 -1
  90. package/dist/assets/{login-BewdlPwi.js → login-B-6s411x.js} +1 -1
  91. package/dist/assets/{login-oauth-callback-D_bP2yYx.js → login-oauth-callback-aKbzfltj.js} +1 -1
  92. package/dist/assets/{logo-uploader-CneV6CnS.js → logo-uploader-pyVqJwKp.js} +3 -3
  93. package/dist/assets/{lost-passport-CNuZ281r.js → lost-passport-DKkxzCH8.js} +1 -1
  94. package/dist/assets/{open-window-Q0PVNWdu.js → open-window-Cvetj9Mn.js} +1 -1
  95. package/dist/assets/{overview-giDiT6rf.js → overview-BxbJCUbS.js} +1 -1
  96. package/dist/assets/{page-header-BDwGXuEW.js → page-header--y63DY5K.js} +1 -1
  97. package/dist/assets/{permission-Cqed8iP-.js → permission-Be_APIVZ.js} +1 -1
  98. package/dist/assets/{preferences-CBm0eML7.js → preferences-D-NDmLhf.js} +1 -1
  99. package/dist/assets/{pt-BbwAvpfn.js → pt-CbxvF__Z.js} +1 -1
  100. package/dist/assets/publish-resource-CxkiI4_n.js +1 -0
  101. package/dist/assets/{react-beautiful-dnd.esm-BTWrOgJp.js → react-beautiful-dnd.esm-Czr1mmuu.js} +1 -1
  102. package/dist/assets/{relative-time-Bt6RtG4o.js → relative-time-D0P0AJUI.js} +1 -1
  103. package/dist/assets/{ru-DgfLeWul.js → ru-DLHrAeE7.js} +1 -1
  104. package/dist/assets/sdk-NKQJT0FS.js +1 -0
  105. package/dist/assets/{session-BKdZFtFw.js → session-CV6ez46v.js} +1 -1
  106. package/dist/assets/{setup-BdFkCCIb.js → setup-CF2VhAxD.js} +3 -3
  107. package/dist/assets/{start-Cy0MNYb6.js → start-BjFFihjS.js} +1 -1
  108. package/dist/assets/{step-actions-CPEQpBG3.js → step-actions-qXq3r5tX.js} +1 -1
  109. package/dist/assets/{studio-BzK2t7MU.js → studio-BNGylnt7.js} +1 -1
  110. package/dist/assets/{switch-control-BSKk9hbF.js → switch-control-DmKC0hpm.js} +1 -1
  111. package/dist/assets/{th-DXRi_ppC.js → th-Dil9kwjH.js} +1 -1
  112. package/dist/assets/{traffic-BQRcq8gg.js → traffic-Djmt2Ph8.js} +1 -1
  113. package/dist/assets/{transfer-DhNfOwE1.js → transfer-B9ohZjja.js} +1 -1
  114. package/dist/assets/{unsubscribe-C0PztwA5.js → unsubscribe-6xRksnNz.js} +1 -1
  115. package/dist/assets/{useLocalStorage-Bx8dJwZw.js → useLocalStorage-B5t6MEw6.js} +1 -1
  116. package/dist/assets/{user-center-BshF32Jc.js → user-center-DEGm9vzv.js} +1 -1
  117. package/dist/assets/{util-BPubgk5p.js → util-Bl4vyFsm.js} +1 -1
  118. package/dist/assets/{util-CWVLbRLp.js → util-PzCAH0nE.js} +1 -1
  119. package/dist/assets/{vendor-arcblock-HzAExiTd.js → vendor-arcblock-BFUPp1Ez.js} +7 -7
  120. package/dist/assets/{vi-nO7JrO24.js → vi-B46hyfUM.js} +1 -1
  121. package/dist/assets/wrap-locale-6MxBCfA2.js +1 -0
  122. package/dist/assets/{zh-CEvYioAt.js → zh-DWWuPzr1.js} +1 -1
  123. package/dist/assets/{zh-tw-BjfRYnXu.js → zh-tw-Ci21sS2Y.js} +1 -1
  124. package/dist/index.html +2 -2
  125. package/dist/service-worker.js +1 -1
  126. package/package.json +31 -31
  127. package/dist/assets/config-space-Bgt2MtPU.js +0 -1
  128. package/dist/assets/index-4zAH1uuX.js +0 -5
  129. package/dist/assets/index-BkZLaapf.js +0 -123
  130. package/dist/assets/publish-resource-CQLawfAh.js +0 -1
  131. package/dist/assets/sdk-B4wNFenI.js +0 -1
  132. package/dist/assets/wrap-locale-DrPh3OVK.js +0 -1
@@ -1,4 +1,4 @@
1
- var Sw=Object.defineProperty;var Pw=(e,t,n)=>t in e?Sw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Uo=(e,t,n)=>Pw(e,typeof t!="symbol"?t+"":t,n);import{cD as Tw,cr as Te,cq as Ze,co as kw,a1 as Se,j as w,a3 as Re,a4 as Fn,E as ie,cE as Qb,cF as Zb,cG as Dw,bs as Jb,aa as Lt,cH as Js,bS as Gt,H as el,cI as di,bo as Xn,c3 as ut,aw as Ot,cJ as Rw,cK as Ew,c as Pe,_ as L,cL as gr,cM as Ke,cN as Mw,cO as bs,b as zn,cP as Ka,cQ as $w,c4 as Ow,cR as Iw,bT as _w,cl as Aw,cS as Bw,c5 as jw,g as ze,a as Le,k as Fe,cT as ev,u as Ht,cU as Lw,d as tn,cV as tl,cW as Mp,o as rn,cX as tv,i as jr,cY as Nw,cZ as fi,c_ as Fw,c$ as $p,f as hd,d0 as nv,d1 as zw,d2 as Ww,p as nl,J as Vw,d3 as Uw,bj as Op,ad as Ip,M as Zt,I as bn,t as qw,al as Hn,T as vs,a2 as Lr,e as Hw,aM as Gw,bp as rl,d4 as Kw,bx as Yw,aN as Su,by as _p,aK as rv,x as Xw,D as Ap,ab as Bp,r as jp,bL as Lp,bO as Bi,y as Qw,aO as Zw}from"./vendor-mui-core-xF5F4eT7.js";import{$ as Jw,az as eS,x as ov}from"./vendor-utils-5TjOM6td.js";import{r as S,R as tS,d as pi,a as $e,g as gd,b as tt,e as av,c as nS,k as iv}from"./vendor-react-D-afvo_7.js";import{bE as Ce,a0 as wr,e as Xt,j as ot,bQ as rS,bR as oS,ay as Np,az as aS,aA as iS,aB as sS,aL as lS,aa as mi,ap as Fp,aJ as cS,bS as uS,bT as dS,a2 as Sr,an as fS,a7 as bd,b as je,y as pS,ac as mS,aD as Yn,a3 as ji,av as hS}from"./vendor-arcblock-HzAExiTd.js";import{d as sv}from"./Add-TglZpKpw.js";import{F as gS,d as vd}from"./form-text-input-CbMAGh7u.js";import{z as Kt,C as Wr,Q as Ya,h as Gn,f as mt,O as bo,aC as bS,a8 as Nr,a7 as yd,a6 as Pu,ap as lv,aD as cv,b as $a,m as oc,aE as vS}from"./index-r2Lf0YIw.js";import{c as yS,W as vo,e as CS,f as Cd,B as uv,b as xS}from"./dashboard-BoV1-CrH.js";import{S as wS}from"./switch-control-BSKk9hbF.js";import{P as Tu,w as Do}from"./permission-Cqed8iP-.js";import{r as SS}from"./index-DcfIKM1A.js";import{d as zp,c as PS,b as nt,_ as Je,o as TS,e as kS,i as DS,p as RS,g as ES,r as Pr}from"./slicedToArray-CXBLQZX4.js";import{r as Ye,A as xd,B as Yt,C as ys,D as ku,t as qe,E as dv,F as fv,j as Du,m as MS,G as ar,H as $S,I as OS,J as Ru,K as pv,L as IS,M as _S,N as mv,O as wd,P as Wp,Q as AS,R as Vp,S as BS,T as jS,p as LS,e as Up,g as NS,b as ac,a as qp,c as FS,q as Li,o as Yr,i as zS,d as WS,k as Ni,l as ic,h as Fi,s as sc,f as lc,x as VS,z as US,n as qS,u as HS,v as GS,w as KS,U as YS,y as XS,V as QS,W as ZS}from"./index-C-D-nCB1.js";import{a as Qe,u as Me,r as Xa,d as Vr,b as JS,w as Cs,g as hv,e as gv,c as e1,o as Eu}from"./raf-schd.esm-Cxhj8umC.js";import{C as Hp}from"./click-to-copy-886R1sA9.js";import{d as Gp}from"./ChevronRight-DeRklga5.js";import{d as t1}from"./ChevronLeft-B7m8AFzR.js";import{d as n1}from"./ArrowDropDown-DCM27ed6.js";import{f as fn}from"./format-error-C0Ke3VXF.js";import{A as r1,a as o1,b as a1,d as bv,B as i1,f as s1,c as l1}from"./add-component-core-BnP0_g-C.js";import{C as Ro}from"./confirm-f60NfF3X.js";import{v as c1,a as xs}from"./util-CWVLbRLp.js";import{d as u1}from"./LockIcon-D-W4Rph6.js";import{d as vv}from"./Launch-Cpp3LVnV.js";import{C as d1}from"./item-BVrq9ZQD.js";import{d as f1}from"./InfoOutlined-QBw5AmWP.js";import{B as p1}from"./bundle-avatar-Cv2R2iWI.js";import{d as m1}from"./PlayArrow-BgVzxA9Q.js";import{A as yv}from"./actions-DP_Rm54e.js";import{I as cc}from"./index-B4_ve2gt.js";import{W as h1}from"./did-address-CgDvtQbT.js";import"./vendor-hooks-BKxTDk_P.js";import"./Done-CVdTMvGH.js";import"./logo-uploader-CneV6CnS.js";import"./index-DoZ2YM4T.js";import"./EditIcon-BOr0kf6I.js";import"./useLocalStorage-Bx8dJwZw.js";import"./get-safe-url-C2hTfmjV.js";import"./index-C-yw0A3M.js";import"./session-BKdZFtFw.js";import"./useAsyncRetry-Bmo6a1Zp.js";import"./useAsync-Ua5iss51.js";import"./useSetState-Crt4S51m.js";import"./launch-result-message-keU5grqY.js";import"./page-header-BDwGXuEW.js";import"./config-space-Bgt2MtPU.js";import"./api-K65cLqol.js";import"./index-j5s7Rpz_.js";import"./Google-D_UbrpMW.js";import"./cloneDeep-BRiLvZjr.js";import"./index-ChSPqVLh.js";import"./index-C2fPoxDR.js";import"./use-mobile-DnWfrhc7.js";import"./content-layout-cWwRTmIc.js";import"./connect-to-BSmtnPV9.js";import"./DeleteOutline-DZA1YKE4.js";import"./shorten-label-J69eHfMN.js";import"./MoreHoriz-BsTY94ce.js";var g1=36e5;function b1(e,t){Ye(2,arguments);var n=Yt(t);return xd(e,n*g1)}var v1=864e5;function y1(e,t){Ye(2,arguments);var n=ys(e),r=ys(t),o=n.getTime()-ku(n),a=r.getTime()-ku(r);return Math.round((o-a)/v1)}var C1=6e4;function x1(e,t){Ye(2,arguments);var n=Yt(t);return xd(e,n*C1)}function w1(e,t){Ye(2,arguments);var n=Yt(t);return xd(e,n*1e3)}function La(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function S1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getFullYear()-r.getFullYear()}function Kp(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Cv(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=Kp(n,r),a=Math.abs(y1(n,r));n.setDate(n.getDate()-o*a);var i=+(Kp(n,r)===-o),s=o*(a-i);return s===0?0:s}function ol(e,t){return Ye(2,arguments),qe(e).getTime()-qe(t).getTime()}var Yp={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},P1="trunc";function hi(e){return e?Yp[e]:Yp[P1]}function T1(e,t,n){Ye(2,arguments);var r=ol(e,t)/dv;return hi(void 0)(r)}function k1(e,t,n){Ye(2,arguments);var r=ol(e,t)/fv;return hi(void 0)(r)}function Mu(e){Ye(1,arguments);var t=qe(e);return t.setHours(23,59,59,999),t}function D1(e){Ye(1,arguments);var t=qe(e);return Mu(t).getTime()===Du(t).getTime()}function xv(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=La(n,r),a=Math.abs(MS(n,r)),i;if(a<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*a);var s=La(n,r)===-o;D1(qe(e))&&a===1&&La(e,r)===1&&(s=!1),i=o*(a-Number(s))}return i===0?0:i}function R1(e,t,n){Ye(2,arguments);var r=xv(e,t)/3;return hi(void 0)(r)}function E1(e,t,n){Ye(2,arguments);var r=ol(e,t)/1e3;return hi(void 0)(r)}function M1(e,t,n){Ye(2,arguments);var r=Cv(e,t)/7;return hi(void 0)(r)}function $1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=La(n,r),a=Math.abs(S1(n,r));n.setFullYear(1584),r.setFullYear(1584);var i=La(n,r)===-o,s=o*(a-Number(i));return s===0?0:s}function O1(e,t){var n;Ye(1,arguments);var r=e||{},o=qe(r.start),a=qe(r.end),i=a.getTime();if(!(o.getTime()<=i))throw new RangeError("Invalid interval");var s=[],c=o;c.setHours(0,0,0,0);var l=Number((n=void 0)!==null&&n!==void 0?n:1);if(l<1||isNaN(l))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=i;)s.push(qe(c)),c.setDate(c.getDate()+l),c.setHours(0,0,0,0);return s}function I1(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function _1(e,t){var n,r;Ye(1,arguments);var o=qe(e);if(isNaN(o.getTime()))throw new RangeError("Invalid time value");var a=String((n=t==null?void 0:t.format)!==null&&n!==void 0?n:"extended"),i=String((r=t==null?void 0:t.representation)!==null&&r!==void 0?r:"complete");if(a!=="extended"&&a!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(i!=="date"&&i!=="time"&&i!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",c="",l=a==="extended"?"-":"",d=a==="extended"?":":"";if(i!=="time"){var u=ar(o.getDate(),2),f=ar(o.getMonth()+1,2),m=ar(o.getFullYear(),4);s="".concat(m).concat(l).concat(f).concat(l).concat(u)}if(i!=="date"){var b=o.getTimezoneOffset();if(b!==0){var h=Math.abs(b),x=ar(Math.floor(h/60),2),v=ar(h%60,2),g=b<0?"+":"-";c="".concat(g).concat(x,":").concat(v)}else c="Z";var p=ar(o.getHours(),2),y=ar(o.getMinutes(),2),D=ar(o.getSeconds(),2),P=s===""?"":"T",T=[p,y,D].join(d);s="".concat(s).concat(P).concat(T).concat(c)}return s}function A1(e){Ye(1,arguments);var t=qe(e),n=t.getDay();return n}function B1(e){Ye(1,arguments);var t=qe(e),n=t.getHours();return n}function j1(e){Ye(1,arguments);var t=qe(e),n=t.getMinutes();return n}function L1(e){Ye(1,arguments);var t=qe(e),n=t.getSeconds();return n}function N1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getTime()===r.getTime()}function Xp(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Tw(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ var Sw=Object.defineProperty;var Pw=(e,t,n)=>t in e?Sw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Uo=(e,t,n)=>Pw(e,typeof t!="symbol"?t+"":t,n);import{cD as Tw,cr as Te,cq as Ze,co as kw,a1 as Se,j as w,a3 as Re,a4 as Fn,E as ie,cE as Qb,cF as Zb,cG as Dw,bs as Jb,aa as Lt,cH as Js,bS as Gt,H as el,cI as di,bo as Xn,c3 as ut,aw as Ot,cJ as Rw,cK as Ew,c as Pe,_ as L,cL as gr,cM as Ke,cN as Mw,cO as bs,b as zn,cP as Ka,cQ as $w,c4 as Ow,cR as Iw,bT as _w,cl as Aw,cS as Bw,c5 as jw,g as ze,a as Le,k as Fe,cT as ev,u as Ht,cU as Lw,d as tn,cV as tl,cW as Mp,o as rn,cX as tv,i as jr,cY as Nw,cZ as fi,c_ as Fw,c$ as $p,f as hd,d0 as nv,d1 as zw,d2 as Ww,p as nl,J as Vw,d3 as Uw,bj as Op,ad as Ip,M as Zt,I as bn,t as qw,al as Hn,T as vs,a2 as Lr,e as Hw,aM as Gw,bp as rl,d4 as Kw,bx as Yw,aN as Su,by as _p,aK as rv,x as Xw,D as Ap,ab as Bp,r as jp,bL as Lp,bO as Bi,y as Qw,aO as Zw}from"./vendor-mui-core-xF5F4eT7.js";import{$ as Jw,az as eS,x as ov}from"./vendor-utils-5TjOM6td.js";import{r as S,R as tS,d as pi,a as $e,g as gd,b as tt,e as av,c as nS,k as iv}from"./vendor-react-D-afvo_7.js";import{bE as Ce,a0 as wr,e as Xt,j as ot,bQ as rS,bR as oS,ay as Np,az as aS,aA as iS,aB as sS,aL as lS,aa as mi,ap as Fp,aJ as cS,bS as uS,bT as dS,a2 as Sr,an as fS,a7 as bd,b as je,z as pS,ac as mS,aD as Yn,a3 as ji,av as hS}from"./vendor-arcblock-BFUPp1Ez.js";import{d as sv}from"./Add-meGhscd6.js";import{F as gS,d as vd}from"./form-text-input-DEadnM80.js";import{z as Kt,C as Wr,Q as Ya,h as Gn,f as mt,O as bo,aC as bS,a8 as Nr,a7 as yd,a6 as Pu,ap as lv,aD as cv,b as $a,m as oc,aE as vS}from"./index-uYcwdGZL.js";import{e as yS,W as vo,c as CS,f as Cd,B as uv,b as xS}from"./dashboard-PlqPcVrd.js";import{S as wS}from"./switch-control-DmKC0hpm.js";import{P as Tu,w as Do}from"./permission-Be_APIVZ.js";import{r as SS}from"./index-DcfIKM1A.js";import{d as zp,c as PS,b as nt,_ as Je,o as TS,e as kS,i as DS,p as RS,g as ES,r as Pr}from"./slicedToArray-CXBLQZX4.js";import{r as Ye,A as xd,B as Yt,C as ys,D as ku,t as qe,E as dv,F as fv,j as Du,m as MS,G as ar,H as $S,I as OS,J as Ru,K as pv,L as IS,M as _S,N as mv,O as wd,P as Wp,Q as AS,R as Vp,S as BS,T as jS,p as LS,e as Up,g as NS,b as ac,a as qp,c as FS,q as Li,o as Yr,i as zS,d as WS,k as Ni,l as ic,h as Fi,s as sc,f as lc,x as VS,z as US,n as qS,u as HS,v as GS,w as KS,U as YS,y as XS,V as QS,W as ZS}from"./index-C-D-nCB1.js";import{a as Qe,u as Me,r as Xa,d as Vr,b as JS,w as Cs,g as hv,e as gv,c as e1,o as Eu}from"./raf-schd.esm-Cxhj8umC.js";import{C as Hp}from"./click-to-copy-C9X-UQyL.js";import{d as Gp}from"./ChevronRight-CEkTH0up.js";import{d as t1}from"./ChevronLeft-D1qkw0FM.js";import{d as n1}from"./ArrowDropDown-B7S4xnEe.js";import{f as fn}from"./format-error-C0Ke3VXF.js";import{A as r1,a as o1,b as a1,d as bv,B as i1,f as s1,c as l1}from"./add-component-core-CK3SAdlQ.js";import{C as Ro}from"./confirm-BmLsHbj9.js";import{v as c1,a as xs}from"./util-PzCAH0nE.js";import{d as u1}from"./LockIcon-D-W4Rph6.js";import{d as vv}from"./Launch-wyBVNKfb.js";import{C as d1}from"./item-C5sAxGxS.js";import{d as f1}from"./InfoOutlined-CwoytfGr.js";import{B as p1}from"./bundle-avatar-Dnk7mw7b.js";import{d as m1}from"./PlayArrow-B5ZFUKPq.js";import{A as yv}from"./actions-C0a0eUYM.js";import{I as cc}from"./index-BBOSdbE7.js";import{W as h1}from"./did-address-Bl2N44vc.js";import"./vendor-hooks-BKxTDk_P.js";import"./Done-7hvoRcVZ.js";import"./logo-uploader-pyVqJwKp.js";import"./index-DoZ2YM4T.js";import"./EditIcon-BOr0kf6I.js";import"./useLocalStorage-B5t6MEw6.js";import"./get-safe-url-BVjMxmwp.js";import"./index-DIQ33Q8Z.js";import"./session-CV6ez46v.js";import"./useAsyncRetry-Bmo6a1Zp.js";import"./useAsync-Ua5iss51.js";import"./useSetState-Crt4S51m.js";import"./launch-result-message-keU5grqY.js";import"./page-header--y63DY5K.js";import"./config-space-BYYAVRcS.js";import"./api-K65cLqol.js";import"./index-CDvqNewi.js";import"./Google-TNOfJ3uU.js";import"./cloneDeep-BRiLvZjr.js";import"./index-ChSPqVLh.js";import"./index-C2fPoxDR.js";import"./use-mobile-DnWfrhc7.js";import"./content-layout-cWwRTmIc.js";import"./connect-to-DIJ57-hM.js";import"./DeleteOutline-BjrgG_HY.js";import"./shorten-label-J69eHfMN.js";import"./MoreHoriz-CyCcv2bV.js";var g1=36e5;function b1(e,t){Ye(2,arguments);var n=Yt(t);return xd(e,n*g1)}var v1=864e5;function y1(e,t){Ye(2,arguments);var n=ys(e),r=ys(t),o=n.getTime()-ku(n),a=r.getTime()-ku(r);return Math.round((o-a)/v1)}var C1=6e4;function x1(e,t){Ye(2,arguments);var n=Yt(t);return xd(e,n*C1)}function w1(e,t){Ye(2,arguments);var n=Yt(t);return xd(e,n*1e3)}function La(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function S1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getFullYear()-r.getFullYear()}function Kp(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Cv(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=Kp(n,r),a=Math.abs(y1(n,r));n.setDate(n.getDate()-o*a);var i=+(Kp(n,r)===-o),s=o*(a-i);return s===0?0:s}function ol(e,t){return Ye(2,arguments),qe(e).getTime()-qe(t).getTime()}var Yp={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},P1="trunc";function hi(e){return e?Yp[e]:Yp[P1]}function T1(e,t,n){Ye(2,arguments);var r=ol(e,t)/dv;return hi(void 0)(r)}function k1(e,t,n){Ye(2,arguments);var r=ol(e,t)/fv;return hi(void 0)(r)}function Mu(e){Ye(1,arguments);var t=qe(e);return t.setHours(23,59,59,999),t}function D1(e){Ye(1,arguments);var t=qe(e);return Mu(t).getTime()===Du(t).getTime()}function xv(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=La(n,r),a=Math.abs(MS(n,r)),i;if(a<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-o*a);var s=La(n,r)===-o;D1(qe(e))&&a===1&&La(e,r)===1&&(s=!1),i=o*(a-Number(s))}return i===0?0:i}function R1(e,t,n){Ye(2,arguments);var r=xv(e,t)/3;return hi(void 0)(r)}function E1(e,t,n){Ye(2,arguments);var r=ol(e,t)/1e3;return hi(void 0)(r)}function M1(e,t,n){Ye(2,arguments);var r=Cv(e,t)/7;return hi(void 0)(r)}function $1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=La(n,r),a=Math.abs(S1(n,r));n.setFullYear(1584),r.setFullYear(1584);var i=La(n,r)===-o,s=o*(a-Number(i));return s===0?0:s}function O1(e,t){var n;Ye(1,arguments);var r=e||{},o=qe(r.start),a=qe(r.end),i=a.getTime();if(!(o.getTime()<=i))throw new RangeError("Invalid interval");var s=[],c=o;c.setHours(0,0,0,0);var l=Number((n=void 0)!==null&&n!==void 0?n:1);if(l<1||isNaN(l))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=i;)s.push(qe(c)),c.setDate(c.getDate()+l),c.setHours(0,0,0,0);return s}function I1(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function _1(e,t){var n,r;Ye(1,arguments);var o=qe(e);if(isNaN(o.getTime()))throw new RangeError("Invalid time value");var a=String((n=t==null?void 0:t.format)!==null&&n!==void 0?n:"extended"),i=String((r=t==null?void 0:t.representation)!==null&&r!==void 0?r:"complete");if(a!=="extended"&&a!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(i!=="date"&&i!=="time"&&i!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",c="",l=a==="extended"?"-":"",d=a==="extended"?":":"";if(i!=="time"){var u=ar(o.getDate(),2),f=ar(o.getMonth()+1,2),m=ar(o.getFullYear(),4);s="".concat(m).concat(l).concat(f).concat(l).concat(u)}if(i!=="date"){var b=o.getTimezoneOffset();if(b!==0){var h=Math.abs(b),x=ar(Math.floor(h/60),2),v=ar(h%60,2),g=b<0?"+":"-";c="".concat(g).concat(x,":").concat(v)}else c="Z";var p=ar(o.getHours(),2),y=ar(o.getMinutes(),2),D=ar(o.getSeconds(),2),P=s===""?"":"T",T=[p,y,D].join(d);s="".concat(s).concat(P).concat(T).concat(c)}return s}function A1(e){Ye(1,arguments);var t=qe(e),n=t.getDay();return n}function B1(e){Ye(1,arguments);var t=qe(e),n=t.getHours();return n}function j1(e){Ye(1,arguments);var t=qe(e),n=t.getMinutes();return n}function L1(e){Ye(1,arguments);var t=qe(e),n=t.getSeconds();return n}function N1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getTime()===r.getTime()}function Xp(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Tw(e))||t){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return i=l.done,l},e:function(l){s=!0,a=l},f:function(){try{i||n.return==null||n.return()}finally{if(s)throw a}}}}function wv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(wv=function(){return!!e})()}function rt(e){var t=wv();return function(){var n,r=zp(e);if(t){var o=zp(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return PS(this,n)}}var F1=10,Sv=function(){function e(){Je(this,e),Ce(this,"priority",void 0),Ce(this,"subPriority",0)}return Ze(e,[{key:"validate",value:function(n,r){return!0}}]),e}(),z1=function(e){nt(n,e);var t=rt(n);function n(r,o,a,i,s){var c;return Je(this,n),c=t.call(this),c.value=r,c.validateValue=o,c.setValue=a,c.priority=i,s&&(c.subPriority=s),c}return Ze(n,[{key:"validate",value:function(o,a){return this.validateValue(o,this.value,a)}},{key:"set",value:function(o,a,i){return this.setValue(o,a,this.value,i)}}]),n}(Sv),W1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",F1),Ce(Te(r),"subPriority",-1),r}return Ze(n,[{key:"set",value:function(o,a){if(a.timestampIsSet)return o;var i=new Date(0);return i.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),i.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),i}}]),n}(Sv),at=function(){function e(){Je(this,e),Ce(this,"incompatibleTokens",void 0),Ce(this,"priority",void 0),Ce(this,"subPriority",void 0)}return Ze(e,[{key:"run",value:function(n,r,o,a){var i=this.parse(n,r,o,a);return i?{setter:new z1(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(n,r,o){return!0}}]),e}(),V1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",140),Ce(Te(r),"incompatibleTokens",["R","u","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"G":case"GG":case"GGG":return i.era(o,{width:"abbreviated"})||i.era(o,{width:"narrow"});case"GGGGG":return i.era(o,{width:"narrow"});case"GGGG":default:return i.era(o,{width:"wide"})||i.era(o,{width:"abbreviated"})||i.era(o,{width:"narrow"})}}},{key:"set",value:function(o,a,i){return a.era=i,o.setUTCFullYear(i,0,1),o.setUTCHours(0,0,0,0),o}}]),n}(at),kt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},jn={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Dt(e,t){return e&&{value:t(e.value),rest:e.rest}}function bt(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ln(e,t){var n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};var r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,i=n[5]?parseInt(n[5],10):0;return{value:r*(o*dv+a*fv+i*$S),rest:t.slice(n[0].length)}}function Pv(e){return bt(kt.anyDigitsSigned,e)}function Tt(e,t){switch(e){case 1:return bt(kt.singleDigit,t);case 2:return bt(kt.twoDigits,t);case 3:return bt(kt.threeDigits,t);case 4:return bt(kt.fourDigits,t);default:return bt(new RegExp("^\\d{1,"+e+"}"),t)}}function ws(e,t){switch(e){case 1:return bt(kt.singleDigitSigned,t);case 2:return bt(kt.twoDigitsSigned,t);case 3:return bt(kt.threeDigitsSigned,t);case 4:return bt(kt.fourDigitsSigned,t);default:return bt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Sd(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Tv(e,t){var n=t>0,r=n?t:1-t,o;if(r<=50)o=e||100;else{var a=r+50,i=Math.floor(a/100)*100,s=e>=a%100;o=e+i-(s?100:0)}return n?o:1-o}function kv(e){return e%400===0||e%4===0&&e%100!==0}var U1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",130),Ce(Te(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){var s=function(l){return{year:l,isTwoDigitYear:a==="yy"}};switch(a){case"y":return Dt(Tt(4,o),s);case"yo":return Dt(i.ordinalNumber(o,{unit:"year"}),s);default:return Dt(Tt(a.length,o),s)}}},{key:"validate",value:function(o,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(o,a,i){var s=o.getUTCFullYear();if(i.isTwoDigitYear){var c=Tv(i.year,s);return o.setUTCFullYear(c,0,1),o.setUTCHours(0,0,0,0),o}var l=!("era"in a)||a.era===1?i.year:1-i.year;return o.setUTCFullYear(l,0,1),o.setUTCHours(0,0,0,0),o}}]),n}(at),q1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",130),Ce(Te(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){var s=function(l){return{year:l,isTwoDigitYear:a==="YY"}};switch(a){case"Y":return Dt(Tt(4,o),s);case"Yo":return Dt(i.ordinalNumber(o,{unit:"year"}),s);default:return Dt(Tt(a.length,o),s)}}},{key:"validate",value:function(o,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(o,a,i,s){var c=OS(o,s);if(i.isTwoDigitYear){var l=Tv(i.year,c);return o.setUTCFullYear(l,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),Ru(o,s)}var d=!("era"in a)||a.era===1?i.year:1-i.year;return o.setUTCFullYear(d,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),Ru(o,s)}}]),n}(at),H1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",130),Ce(Te(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a){return ws(a==="R"?4:a.length,o)}},{key:"set",value:function(o,a,i){var s=new Date(0);return s.setUTCFullYear(i,0,4),s.setUTCHours(0,0,0,0),pv(s)}}]),n}(at),G1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",130),Ce(Te(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a){return ws(a==="u"?4:a.length,o)}},{key:"set",value:function(o,a,i){return o.setUTCFullYear(i,0,1),o.setUTCHours(0,0,0,0),o}}]),n}(at),K1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",120),Ce(Te(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"Q":case"QQ":return Tt(a.length,o);case"Qo":return i.ordinalNumber(o,{unit:"quarter"});case"QQQ":return i.quarter(o,{width:"abbreviated",context:"formatting"})||i.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(o,{width:"wide",context:"formatting"})||i.quarter(o,{width:"abbreviated",context:"formatting"})||i.quarter(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=1&&a<=4}},{key:"set",value:function(o,a,i){return o.setUTCMonth((i-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),n}(at),Y1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",120),Ce(Te(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"q":case"qq":return Tt(a.length,o);case"qo":return i.ordinalNumber(o,{unit:"quarter"});case"qqq":return i.quarter(o,{width:"abbreviated",context:"standalone"})||i.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(o,{width:"wide",context:"standalone"})||i.quarter(o,{width:"abbreviated",context:"standalone"})||i.quarter(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,a){return a>=1&&a<=4}},{key:"set",value:function(o,a,i){return o.setUTCMonth((i-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),n}(at),X1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Ce(Te(r),"priority",110),r}return Ze(n,[{key:"parse",value:function(o,a,i){var s=function(l){return l-1};switch(a){case"M":return Dt(bt(kt.month,o),s);case"MM":return Dt(Tt(2,o),s);case"Mo":return Dt(i.ordinalNumber(o,{unit:"month"}),s);case"MMM":return i.month(o,{width:"abbreviated",context:"formatting"})||i.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(o,{width:"wide",context:"formatting"})||i.month(o,{width:"abbreviated",context:"formatting"})||i.month(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=11}},{key:"set",value:function(o,a,i){return o.setUTCMonth(i,1),o.setUTCHours(0,0,0,0),o}}]),n}(at),Q1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",110),Ce(Te(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){var s=function(l){return l-1};switch(a){case"L":return Dt(bt(kt.month,o),s);case"LL":return Dt(Tt(2,o),s);case"Lo":return Dt(i.ordinalNumber(o,{unit:"month"}),s);case"LLL":return i.month(o,{width:"abbreviated",context:"standalone"})||i.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(o,{width:"wide",context:"standalone"})||i.month(o,{width:"abbreviated",context:"standalone"})||i.month(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=11}},{key:"set",value:function(o,a,i){return o.setUTCMonth(i,1),o.setUTCHours(0,0,0,0),o}}]),n}(at);function Z1(e,t,n){Ye(2,arguments);var r=qe(e),o=Yt(t),a=IS(r,n)-o;return r.setUTCDate(r.getUTCDate()-a*7),r}var J1=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",100),Ce(Te(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"w":return bt(kt.week,o);case"wo":return i.ordinalNumber(o,{unit:"week"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=53}},{key:"set",value:function(o,a,i,s){return Ru(Z1(o,i,s),s)}}]),n}(at);function eP(e,t){Ye(2,arguments);var n=qe(e),r=Yt(t),o=_S(n)-r;return n.setUTCDate(n.getUTCDate()-o*7),n}var tP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",100),Ce(Te(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"I":return bt(kt.week,o);case"Io":return i.ordinalNumber(o,{unit:"week"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=53}},{key:"set",value:function(o,a,i){return pv(eP(o,i))}}]),n}(at),nP=[31,28,31,30,31,30,31,31,30,31,30,31],rP=[31,29,31,30,31,30,31,31,30,31,30,31],oP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",90),Ce(Te(r),"subPriority",1),Ce(Te(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"d":return bt(kt.date,o);case"do":return i.ordinalNumber(o,{unit:"date"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){var i=o.getUTCFullYear(),s=kv(i),c=o.getUTCMonth();return s?a>=1&&a<=rP[c]:a>=1&&a<=nP[c]}},{key:"set",value:function(o,a,i){return o.setUTCDate(i),o.setUTCHours(0,0,0,0),o}}]),n}(at),aP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",90),Ce(Te(r),"subpriority",1),Ce(Te(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"D":case"DD":return bt(kt.dayOfYear,o);case"Do":return i.ordinalNumber(o,{unit:"date"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){var i=o.getUTCFullYear(),s=kv(i);return s?a>=1&&a<=366:a>=1&&a<=365}},{key:"set",value:function(o,a,i){return o.setUTCMonth(0,i),o.setUTCHours(0,0,0,0),o}}]),n}(at);function Pd(e,t,n){var r,o,a,i,s,c,l,d;Ye(2,arguments);var u=mv(),f=Yt((r=(o=(a=(i=n==null?void 0:n.weekStartsOn)!==null&&i!==void 0?i:n==null||(s=n.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&a!==void 0?a:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=qe(e),b=Yt(t),h=m.getUTCDay(),x=b%7,v=(x+7)%7,g=(v<f?7:0)+b-h;return m.setUTCDate(m.getUTCDate()+g),m}var iP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",90),Ce(Te(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"E":case"EE":case"EEE":return i.day(o,{width:"abbreviated",context:"formatting"})||i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(o,{width:"wide",context:"formatting"})||i.day(o,{width:"abbreviated",context:"formatting"})||i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=6}},{key:"set",value:function(o,a,i,s){return o=Pd(o,i,s),o.setUTCHours(0,0,0,0),o}}]),n}(at),sP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",90),Ce(Te(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i,s){var c=function(d){var u=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+u};switch(a){case"e":case"ee":return Dt(Tt(a.length,o),c);case"eo":return Dt(i.ordinalNumber(o,{unit:"day"}),c);case"eee":return i.day(o,{width:"abbreviated",context:"formatting"})||i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(o,{width:"wide",context:"formatting"})||i.day(o,{width:"abbreviated",context:"formatting"})||i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=6}},{key:"set",value:function(o,a,i,s){return o=Pd(o,i,s),o.setUTCHours(0,0,0,0),o}}]),n}(at),lP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",90),Ce(Te(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i,s){var c=function(d){var u=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+u};switch(a){case"c":case"cc":return Dt(Tt(a.length,o),c);case"co":return Dt(i.ordinalNumber(o,{unit:"day"}),c);case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"})||i.day(o,{width:"short",context:"standalone"})||i.day(o,{width:"narrow",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"})||i.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(o,{width:"wide",context:"standalone"})||i.day(o,{width:"abbreviated",context:"standalone"})||i.day(o,{width:"short",context:"standalone"})||i.day(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=6}},{key:"set",value:function(o,a,i,s){return o=Pd(o,i,s),o.setUTCHours(0,0,0,0),o}}]),n}(at);function cP(e,t){Ye(2,arguments);var n=Yt(t);n%7===0&&(n=n-7);var r=1,o=qe(e),a=o.getUTCDay(),i=n%7,s=(i+7)%7,c=(s<r?7:0)+n-a;return o.setUTCDate(o.getUTCDate()+c),o}var uP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",90),Ce(Te(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){var s=function(l){return l===0?7:l};switch(a){case"i":case"ii":return Tt(a.length,o);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return Dt(i.day(o,{width:"abbreviated",context:"formatting"})||i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"}),s);case"iiiii":return Dt(i.day(o,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Dt(i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Dt(i.day(o,{width:"wide",context:"formatting"})||i.day(o,{width:"abbreviated",context:"formatting"})||i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(o,a){return a>=1&&a<=7}},{key:"set",value:function(o,a,i){return o=cP(o,i),o.setUTCHours(0,0,0,0),o}}]),n}(at),dP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",80),Ce(Te(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"a":case"aa":case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"})||i.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(o,{width:"wide",context:"formatting"})||i.dayPeriod(o,{width:"abbreviated",context:"formatting"})||i.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,a,i){return o.setUTCHours(Sd(i),0,0,0),o}}]),n}(at),fP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",80),Ce(Te(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"b":case"bb":case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"})||i.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(o,{width:"wide",context:"formatting"})||i.dayPeriod(o,{width:"abbreviated",context:"formatting"})||i.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,a,i){return o.setUTCHours(Sd(i),0,0,0),o}}]),n}(at),pP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",80),Ce(Te(r),"incompatibleTokens",["a","b","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"})||i.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(o,{width:"wide",context:"formatting"})||i.dayPeriod(o,{width:"abbreviated",context:"formatting"})||i.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,a,i){return o.setUTCHours(Sd(i),0,0,0),o}}]),n}(at),mP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",70),Ce(Te(r),"incompatibleTokens",["H","K","k","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"h":return bt(kt.hour12h,o);case"ho":return i.ordinalNumber(o,{unit:"hour"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=12}},{key:"set",value:function(o,a,i){var s=o.getUTCHours()>=12;return s&&i<12?o.setUTCHours(i+12,0,0,0):!s&&i===12?o.setUTCHours(0,0,0,0):o.setUTCHours(i,0,0,0),o}}]),n}(at),hP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",70),Ce(Te(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"H":return bt(kt.hour23h,o);case"Ho":return i.ordinalNumber(o,{unit:"hour"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=23}},{key:"set",value:function(o,a,i){return o.setUTCHours(i,0,0,0),o}}]),n}(at),gP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",70),Ce(Te(r),"incompatibleTokens",["h","H","k","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"K":return bt(kt.hour11h,o);case"Ko":return i.ordinalNumber(o,{unit:"hour"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=11}},{key:"set",value:function(o,a,i){var s=o.getUTCHours()>=12;return s&&i<12?o.setUTCHours(i+12,0,0,0):o.setUTCHours(i,0,0,0),o}}]),n}(at),bP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",70),Ce(Te(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"k":return bt(kt.hour24h,o);case"ko":return i.ordinalNumber(o,{unit:"hour"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=24}},{key:"set",value:function(o,a,i){var s=i<=24?i%24:i;return o.setUTCHours(s,0,0,0),o}}]),n}(at),vP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",60),Ce(Te(r),"incompatibleTokens",["t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"m":return bt(kt.minute,o);case"mo":return i.ordinalNumber(o,{unit:"minute"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=59}},{key:"set",value:function(o,a,i){return o.setUTCMinutes(i,0,0),o}}]),n}(at),yP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",50),Ce(Te(r),"incompatibleTokens",["t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"s":return bt(kt.second,o);case"so":return i.ordinalNumber(o,{unit:"second"});default:return Tt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=59}},{key:"set",value:function(o,a,i){return o.setUTCSeconds(i,0),o}}]),n}(at),CP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",30),Ce(Te(r),"incompatibleTokens",["t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a){var i=function(c){return Math.floor(c*Math.pow(10,-a.length+3))};return Dt(Tt(a.length,o),i)}},{key:"set",value:function(o,a,i){return o.setUTCMilliseconds(i),o}}]),n}(at),xP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",10),Ce(Te(r),"incompatibleTokens",["t","T","x"]),r}return Ze(n,[{key:"parse",value:function(o,a){switch(a){case"X":return Ln(jn.basicOptionalMinutes,o);case"XX":return Ln(jn.basic,o);case"XXXX":return Ln(jn.basicOptionalSeconds,o);case"XXXXX":return Ln(jn.extendedOptionalSeconds,o);case"XXX":default:return Ln(jn.extended,o)}}},{key:"set",value:function(o,a,i){return a.timestampIsSet?o:new Date(o.getTime()-i)}}]),n}(at),wP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",10),Ce(Te(r),"incompatibleTokens",["t","T","X"]),r}return Ze(n,[{key:"parse",value:function(o,a){switch(a){case"x":return Ln(jn.basicOptionalMinutes,o);case"xx":return Ln(jn.basic,o);case"xxxx":return Ln(jn.basicOptionalSeconds,o);case"xxxxx":return Ln(jn.extendedOptionalSeconds,o);case"xxx":default:return Ln(jn.extended,o)}}},{key:"set",value:function(o,a,i){return a.timestampIsSet?o:new Date(o.getTime()-i)}}]),n}(at),SP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",40),Ce(Te(r),"incompatibleTokens","*"),r}return Ze(n,[{key:"parse",value:function(o){return Pv(o)}},{key:"set",value:function(o,a,i){return[new Date(i*1e3),{timestampIsSet:!0}]}}]),n}(at),PP=function(e){nt(n,e);var t=rt(n);function n(){var r;Je(this,n);for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=t.call.apply(t,[this].concat(a)),Ce(Te(r),"priority",20),Ce(Te(r),"incompatibleTokens","*"),r}return Ze(n,[{key:"parse",value:function(o){return Pv(o)}},{key:"set",value:function(o,a,i){return[new Date(i),{timestampIsSet:!0}]}}]),n}(at),TP={G:new V1,y:new U1,Y:new q1,R:new H1,u:new G1,Q:new K1,q:new Y1,M:new X1,L:new Q1,w:new J1,I:new tP,d:new oP,D:new aP,E:new iP,e:new sP,c:new lP,i:new uP,a:new dP,b:new fP,B:new pP,h:new mP,H:new hP,K:new gP,k:new bP,m:new vP,s:new yP,S:new CP,X:new xP,x:new wP,t:new SP,T:new PP},kP=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,DP=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,RP=/^'([^]*?)'?$/,EP=/''/g,MP=/\S/,$P=/[a-zA-Z]/;function OP(e,t,n,r){var o,a,i,s,c,l,d,u,f,m,b,h,x,v,g,p,y,D;Ye(3,arguments);var P=String(e),T=String(t),k=mv(),C=(o=(a=r==null?void 0:r.locale)!==null&&a!==void 0?a:k.locale)!==null&&o!==void 0?o:wd;if(!C.match)throw new RangeError("locale must contain match property");var R=Yt((i=(s=(c=(l=r==null?void 0:r.firstWeekContainsDate)!==null&&l!==void 0?l:r==null||(d=r.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&c!==void 0?c:k.firstWeekContainsDate)!==null&&s!==void 0?s:(f=k.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(R>=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=Yt((b=(h=(x=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(g=r.locale)===null||g===void 0||(p=g.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&x!==void 0?x:k.weekStartsOn)!==null&&h!==void 0?h:(y=k.locale)===null||y===void 0||(D=y.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&b!==void 0?b:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(T==="")return P===""?qe(n):new Date(NaN);var $={firstWeekContainsDate:R,weekStartsOn:M,locale:C},O=[new W1],I=T.match(DP).map(function(H){var K=H[0];if(K in Wp){var Q=Wp[K];return Q(H,C.formatLong)}return H}).join("").match(kP),A=[],B=Xp(I),N;try{var j=function(){var K=N.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&AS(K)&&Vp(K,T,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&BS(K)&&Vp(K,T,e);var Q=K[0],ae=TP[Q];if(ae){var Y=ae.incompatibleTokens;if(Array.isArray(Y)){var J=A.find(function(be){return Y.includes(be.token)||be.token===Q});if(J)throw new RangeError("The format string mustn't contain `".concat(J.fullToken,"` and `").concat(K,"` at the same time"))}else if(ae.incompatibleTokens==="*"&&A.length>0)throw new RangeError("The format string mustn't contain `".concat(K,"` and any other token at the same time"));A.push({token:Q,fullToken:K});var re=ae.run(P,K,C.match,$);if(!re)return{v:new Date(NaN)};O.push(re.setter),P=re.rest}else{if(Q.match($P))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");if(K==="''"?K="'":Q==="'"&&(K=IP(K)),P.indexOf(K)===0)P=P.slice(K.length);else return{v:new Date(NaN)}}};for(B.s();!(N=B.n()).done;){var W=j();if(kw(W)==="object")return W.v}}catch(H){B.e(H)}finally{B.f()}if(P.length>0&&MP.test(P))return new Date(NaN);var G=O.map(function(H){return H.priority}).sort(function(H,K){return K-H}).filter(function(H,K,Q){return Q.indexOf(H)===K}).map(function(H){return O.filter(function(K){return K.priority===H}).sort(function(K,Q){return Q.subPriority-K.subPriority})}).map(function(H){return H[0]}),E=qe(n);if(isNaN(E.getTime()))return new Date(NaN);var U=jS(E,ku(E)),V={},_=Xp(G),z;try{for(_.s();!(z=_.n()).done;){var F=z.value;if(!F.validate(U,$))return new Date(NaN);var q=F.set(U,V,$);Array.isArray(q)?(U=q[0],I1(V,q[1])):U=q}}catch(H){_.e(H)}finally{_.f()}return U}function IP(e){return e.match(RP)[1].replace(EP,"'")}function Qp(e){Ye(1,arguments);var t=qe(e);return t.setMinutes(0,0,0),t}function _P(e,t){Ye(2,arguments);var n=Qp(e),r=Qp(t);return n.getTime()===r.getTime()}function AP(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getFullYear()===r.getFullYear()}function BP(e,t){Ye(2,arguments);var n=qe(e),r=Yt(t);return n.setDate(r),n}function jP(e,t){Ye(2,arguments);var n=qe(e),r=Yt(t);return n.setHours(r),n}function LP(e,t){Ye(2,arguments);var n=qe(e),r=Yt(t);return n.setMinutes(r),n}function NP(e,t){Ye(2,arguments);var n=qe(e),r=Yt(t);return n.setSeconds(r),n}var Td={},FP=Se;Object.defineProperty(Td,"__esModule",{value:!0});var Dv=Td.default=void 0,zP=FP(wr()),WP=w;Dv=Td.default=(0,zP.default)((0,WP.jsx)("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"}),"Update");var kd={},VP=Se;Object.defineProperty(kd,"__esModule",{value:!0});var Rv=kd.default=void 0,UP=VP(wr()),qP=w;Rv=kd.default=(0,UP.default)((0,qP.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");function Dd({children:e,...t}){var l;const{t:n}=Xt(),{api:r}=Kt(),{blocklet:o}=Wr(),a=(l=o==null?void 0:o.settings)==null?void 0:l.autoCheckUpdate,i=async d=>{await r.updateAutoCheckUpdate({input:{did:o.meta.did,autoCheckUpdate:d}})},s=async()=>{try{const d=!(a!=null&&a.enabled);await i({enabled:d}),ot.success(n(d?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(d){ot.error(d.message)}},c=!!(a!=null&&a.enabled);return w.jsxs(Re,{display:"flex",flexDirection:"row",alignItems:"center",children:[e,w.jsx(Fn,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:w.jsx("div",{children:w.jsx(wS,{checked:c,onChange:s,name:"enableWelcomePage",style:{...t.style,zoom:.8}})})})]})}Dd.propTypes={children:ie.any};Dd.defaultProps={children:null};var Rd={},HP=Se;Object.defineProperty(Rd,"__esModule",{value:!0});var al=Rd.default=void 0,GP=HP(wr()),KP=w;al=Rd.default=(0,GP.default)((0,KP.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");var Ev={},qo={},uc={};function Mv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Mv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ye(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Mv(e))&&(r&&(r+=" "),r+=t);return r}function Ne(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let c=0;c<a.length;c+=1){const l=a[c];l&&(i+=(s===!0?"":" ")+t(l),s=!1,n&&n[l]&&(i+=" "+n[l]))}r[o]=i}return r}function Ss(e){return typeof e=="string"}function $u(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function $v(e){if(typeof e!="string")throw new Error($u(7));return e.charAt(0).toUpperCase()+e.slice(1)}function fr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ov(e){if(!fr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ov(e[n])}),t}function Br(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return fr(e)&&fr(t)&&Object.keys(t).forEach(o=>{fr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&fr(e[o])?r[o]=Br(e[o],t[o],n):n.clone?r[o]=fr(t[o])?Ov(t[o]):t[o]:r[o]=t[o]}),r}function Na(e,t){return t?Br(e,t,{clone:!1}):e}function YP(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var i,s;const a=/min-width:\s*([0-9.]+)/;return+(((i=r.match(a))==null?void 0:i[1])||0)-+(((s=o.match(a))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const a=t[o];return delete r[o],r[o]=a,r},{...t}):t}function XP(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function QP(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}function ZP(e){const t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function n(a,i){a.up=(...s)=>t(e.breakpoints.up(...s),i),a.down=(...s)=>t(e.breakpoints.down(...s),i),a.between=(...s)=>t(e.breakpoints.between(...s),i),a.only=(...s)=>t(e.breakpoints.only(...s),i),a.not=(...s)=>{const c=t(e.breakpoints.not(...s),i);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const r={},o=a=>(n(r,a),r);return n(o),{...e,containerQueries:o}}const il={xs:0,sm:600,md:900,lg:1200,xl:1536},Zp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${il[e]}px)`},JP={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:il[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Qn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Zp;return t.reduce((i,s,c)=>(i[a.up(a.keys[c])]=n(t[c]),i),{})}if(typeof t=="object"){const a=r.breakpoints||Zp;return Object.keys(t).reduce((i,s)=>{if(XP(a.keys,s)){const c=QP(r.containerQueries?r:JP,s);c&&(i[c]=n(t[s],s))}else if(Object.keys(a.values||il).includes(s)){const c=a.up(s);i[c]=n(t[s],s)}else{const c=s;i[c]=t[c]}return i},{})}return n(t)}function eT(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function tT(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function sl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ps(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=sl(e,n)||r,t&&(o=t(o,r,e)),o}function Et(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],c=i.theme,l=sl(c,r)||{};return Qn(i,s,u=>{let f=Ps(l,o,u);return u===f&&typeof u=="string"&&(f=Ps(l,o,`${t}${u==="default"?"":$v(u)}`,u)),n===!1?f:{[n]:f}})};return a.propTypes={},a.filterProps=[t],a}function nT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const rT={m:"margin",p:"padding"},oT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Jp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},aT=nT(e=>{if(e.length>2)if(Jp[e])e=Jp[e];else return[e];const[t,n]=e.split(""),r=rT[t],o=oT[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),Ed=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Md=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ed,...Md];function gi(e,t,n,r){const o=sl(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:typeof o=="string"?`calc(${a} * ${o})`:o*a:Array.isArray(o)?a=>{if(typeof a=="string")return a;const i=Math.abs(a),s=o[i];return a>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function $d(e){return gi(e,"spacing",8)}function bi(e,t){return typeof t=="string"||t==null?t:e(t)}function iT(e,t){return n=>e.reduce((r,o)=>(r[o]=bi(t,n),r),{})}function sT(e,t,n,r){if(!t.includes(n))return null;const o=aT(n),a=iT(o,r),i=e[n];return Qn(e,i,a)}function Iv(e,t){const n=$d(e.theme);return Object.keys(e).map(r=>sT(e,t,r,n)).reduce(Na,{})}function Ct(e){return Iv(e,Ed)}Ct.propTypes={};Ct.filterProps=Ed;function xt(e){return Iv(e,Md)}xt.propTypes={};xt.filterProps=Md;function ll(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?Na(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function pn(e){return typeof e!="number"?e:`${e}px solid`}function Pn(e,t){return Et({prop:e,themeKey:"borders",transform:t})}const lT=Pn("border",pn),cT=Pn("borderTop",pn),uT=Pn("borderRight",pn),dT=Pn("borderBottom",pn),fT=Pn("borderLeft",pn),pT=Pn("borderColor"),mT=Pn("borderTopColor"),hT=Pn("borderRightColor"),gT=Pn("borderBottomColor"),bT=Pn("borderLeftColor"),vT=Pn("outline",pn),yT=Pn("outlineColor"),cl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=gi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:bi(t,r)});return Qn(e,e.borderRadius,n)}return null};cl.propTypes={};cl.filterProps=["borderRadius"];ll(lT,cT,uT,dT,fT,pT,mT,hT,gT,bT,cl,vT,yT);const ul=e=>{if(e.gap!==void 0&&e.gap!==null){const t=gi(e.theme,"spacing",8),n=r=>({gap:bi(t,r)});return Qn(e,e.gap,n)}return null};ul.propTypes={};ul.filterProps=["gap"];const dl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=gi(e.theme,"spacing",8),n=r=>({columnGap:bi(t,r)});return Qn(e,e.columnGap,n)}return null};dl.propTypes={};dl.filterProps=["columnGap"];const fl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=gi(e.theme,"spacing",8),n=r=>({rowGap:bi(t,r)});return Qn(e,e.rowGap,n)}return null};fl.propTypes={};fl.filterProps=["rowGap"];const CT=Et({prop:"gridColumn"}),xT=Et({prop:"gridRow"}),wT=Et({prop:"gridAutoFlow"}),ST=Et({prop:"gridAutoColumns"}),PT=Et({prop:"gridAutoRows"}),TT=Et({prop:"gridTemplateColumns"}),kT=Et({prop:"gridTemplateRows"}),DT=Et({prop:"gridTemplateAreas"}),RT=Et({prop:"gridArea"});ll(ul,dl,fl,CT,xT,wT,ST,PT,TT,kT,DT,RT);function fo(e,t){return t==="grey"?t:e}const ET=Et({prop:"color",themeKey:"palette",transform:fo}),MT=Et({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fo}),$T=Et({prop:"backgroundColor",themeKey:"palette",transform:fo});ll(ET,MT,$T);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const OT=Et({prop:"width",transform:Jt}),Od=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,a,i,s,c;const r=((i=(a=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:a.values)==null?void 0:i[n])||il[n];return r?((c=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:c.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Jt(n)}};return Qn(e,e.maxWidth,t)}return null};Od.filterProps=["maxWidth"];const IT=Et({prop:"minWidth",transform:Jt}),_T=Et({prop:"height",transform:Jt}),AT=Et({prop:"maxHeight",transform:Jt}),BT=Et({prop:"minHeight",transform:Jt});Et({prop:"size",cssProperty:"width",transform:Jt});Et({prop:"size",cssProperty:"height",transform:Jt});const jT=Et({prop:"boxSizing"});ll(OT,Od,IT,_T,AT,BT,jT);const vi={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:pn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cl},color:{themeKey:"palette",transform:fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fo},backgroundColor:{themeKey:"palette",transform:fo},p:{style:xt},pt:{style:xt},pr:{style:xt},pb:{style:xt},pl:{style:xt},px:{style:xt},py:{style:xt},padding:{style:xt},paddingTop:{style:xt},paddingRight:{style:xt},paddingBottom:{style:xt},paddingLeft:{style:xt},paddingX:{style:xt},paddingY:{style:xt},paddingInline:{style:xt},paddingInlineStart:{style:xt},paddingInlineEnd:{style:xt},paddingBlock:{style:xt},paddingBlockStart:{style:xt},paddingBlockEnd:{style:xt},m:{style:Ct},mt:{style:Ct},mr:{style:Ct},mb:{style:Ct},ml:{style:Ct},mx:{style:Ct},my:{style:Ct},margin:{style:Ct},marginTop:{style:Ct},marginRight:{style:Ct},marginBottom:{style:Ct},marginLeft:{style:Ct},marginX:{style:Ct},marginY:{style:Ct},marginInline:{style:Ct},marginInlineStart:{style:Ct},marginInlineEnd:{style:Ct},marginBlock:{style:Ct},marginBlockStart:{style:Ct},marginBlockEnd:{style:Ct},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ul},rowGap:{style:fl},columnGap:{style:dl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:Od},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function LT(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function NT(e,t){return typeof e=="function"?e(t):e}function FT(){function e(n,r,o,a){const i={[n]:r,theme:o},s=a[n];if(!s)return{[n]:r};const{cssProperty:c=n,themeKey:l,transform:d,style:u}=s;if(r==null)return null;if(l==="typography"&&r==="inherit")return{[n]:r};const f=sl(o,l)||{};return u?u(i):Qn(i,r,b=>{let h=Ps(f,d,b);return b===h&&typeof b=="string"&&(h=Ps(f,d,`${n}${b==="default"?"":$v(b)}`,b)),c===!1?h:{[c]:h}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??vi;function i(s){let c=s;if(typeof s=="function")c=s(o);else if(typeof s!="object")return s;if(!c)return null;const l=eT(o.breakpoints),d=Object.keys(l);let u=l;return Object.keys(c).forEach(f=>{const m=NT(c[f],o);if(m!=null)if(typeof m=="object")if(a[f])u=Na(u,e(f,m,o,a));else{const b=Qn({theme:o},m,h=>({[f]:h}));LT(b,m)?u[f]=t({sx:m,theme:o}):u=Na(u,b)}else u=Na(u,e(f,m,o,a))}),YP(o,tT(d,u))}return Array.isArray(r)?r.map(i):i(r)}return t}const Ur=FT();Ur.filterProps=["sx"];const zT=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??vi;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function _v(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=zT(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...i)=>{const s=t(...i);return fr(s)?{...r,...s}:r}:a={...r,...t},{...o,sx:a}}const WT=e=>{const t=Zb(e);class n extends Dw{constructor(o){super(o),this.prepend=t.sheet.prepend}}return t.sheet=new n({key:t.key,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy,prepend:t.sheet.prepend,insertionPoint:t.sheet.insertionPoint}),t};let Ou;typeof document=="object"&&(Ou=WT({key:"css",prepend:!0}));function VT(e){const{injectFirst:t,children:n}=e;return t&&Ou?w.jsx(Qb,{value:Ou,children:n}):n}function UT(e){return e==null||Object.keys(e).length===0}function Av(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(UT(o)?n:o):t;return w.jsx(Jb,{styles:r})}/**
3
3
  * @mui/styled-engine v6.1.0
4
4
  *
@@ -1 +1 @@
1
- import{a1 as t,j as a}from"./vendor-mui-core-xF5F4eT7.js";import{a0 as c,b as e}from"./vendor-arcblock-HzAExiTd.js";var r={},p=t;Object.defineProperty(r,"__esModule",{value:!0});var l=r.default=void 0,_=p(c()),f=a;l=r.default=(0,_.default)((0,f.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock");var o={},h=t;Object.defineProperty(o,"__esModule",{value:!0});var u=o.default=void 0,m=h(c()),s=a;u=o.default=(0,m.default)([(0,s.jsx)("path",{d:"M18 11c.7 0 1.37.1 2 .29V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6.26c-.79-1.13-1.26-2.51-1.26-4 0-3.87 3.13-7 7-7M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9z"},"0"),(0,s.jsx)("path",{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 2c.83 0 1.5.67 1.5 1.5S18.83 18 18 18s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m0 6c-1.03 0-1.94-.52-2.48-1.32.73-.42 1.57-.68 2.48-.68s1.75.26 2.48.68c-.54.8-1.45 1.32-2.48 1.32"},"1")],"LockPerson");var n={},C=t;Object.defineProperty(n,"__esModule",{value:!0});var v=n.default=void 0,S=C(c()),j=a;v=n.default=(0,S.default)((0,j.jsx)("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"}),"ContactMail");var i={},O=t;Object.defineProperty(i,"__esModule",{value:!0});var d=i.default=void 0,z=O(c()),A=a;d=i.default=(0,z.default)((0,A.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public");const $=[{value:e.WHO_CAN_ACCESS.ALL,icon:d,title:{zh:"所有人可访问",en:"Accessible to all"},description:{zh:"向所有人开放,无需通行证即可访问应用",en:"Open to the world anyone can access without passport"}},{value:e.WHO_CAN_ACCESS.INVITED,icon:v,title:{zh:"只有被邀请的人可以访问",en:"Only invited people can access"},description:{zh:"稍后您可以在管理页面中邀请成员",en:"You can invite members later in the admin page"}},{value:e.WHO_CAN_ACCESS.ADMIN,icon:u,title:{zh:"只有管理员可以访问",en:"Only Owner or Admin of the blocklet can access"},description:{zh:"必须提供管理员通行证才能访问应用",en:"You must provide owner or admin passport to access this application"}},{value:e.WHO_CAN_ACCESS.OWNER,icon:l,title:{zh:"只有应用所有者可以访问",en:"Only Owner of the blocklet can access"},description:{zh:"必须提供所有者通行证才能访问应用",en:"You must provide owner passport to access this application"}}];export{$ as A,l as d};
1
+ import{a1 as t,j as a}from"./vendor-mui-core-xF5F4eT7.js";import{a0 as c,b as e}from"./vendor-arcblock-BFUPp1Ez.js";var r={},p=t;Object.defineProperty(r,"__esModule",{value:!0});var l=r.default=void 0,_=p(c()),f=a;l=r.default=(0,_.default)((0,f.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock");var o={},h=t;Object.defineProperty(o,"__esModule",{value:!0});var u=o.default=void 0,m=h(c()),s=a;u=o.default=(0,m.default)([(0,s.jsx)("path",{d:"M18 11c.7 0 1.37.1 2 .29V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6.26c-.79-1.13-1.26-2.51-1.26-4 0-3.87 3.13-7 7-7M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9z"},"0"),(0,s.jsx)("path",{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 2c.83 0 1.5.67 1.5 1.5S18.83 18 18 18s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m0 6c-1.03 0-1.94-.52-2.48-1.32.73-.42 1.57-.68 2.48-.68s1.75.26 2.48.68c-.54.8-1.45 1.32-2.48 1.32"},"1")],"LockPerson");var n={},C=t;Object.defineProperty(n,"__esModule",{value:!0});var v=n.default=void 0,S=C(c()),j=a;v=n.default=(0,S.default)((0,j.jsx)("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"}),"ContactMail");var i={},O=t;Object.defineProperty(i,"__esModule",{value:!0});var d=i.default=void 0,z=O(c()),A=a;d=i.default=(0,z.default)((0,A.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public");const $=[{value:e.WHO_CAN_ACCESS.ALL,icon:d,title:{zh:"所有人可访问",en:"Accessible to all"},description:{zh:"向所有人开放,无需通行证即可访问应用",en:"Open to the world anyone can access without passport"}},{value:e.WHO_CAN_ACCESS.INVITED,icon:v,title:{zh:"只有被邀请的人可以访问",en:"Only invited people can access"},description:{zh:"稍后您可以在管理页面中邀请成员",en:"You can invite members later in the admin page"}},{value:e.WHO_CAN_ACCESS.ADMIN,icon:u,title:{zh:"只有管理员可以访问",en:"Only Owner or Admin of the blocklet can access"},description:{zh:"必须提供管理员通行证才能访问应用",en:"You must provide owner or admin passport to access this application"}},{value:e.WHO_CAN_ACCESS.OWNER,icon:l,title:{zh:"只有应用所有者可以访问",en:"Only Owner of the blocklet can access"},description:{zh:"必须提供所有者通行证才能访问应用",en:"You must provide owner passport to access this application"}}];export{$ as A,l as d};
@@ -1,4 +1,4 @@
1
- import{j as n,aa as I,E as g,t as U}from"./vendor-mui-core-xF5F4eT7.js";import{r as l}from"./vendor-react-D-afvo_7.js";import{x as q,U as F,ad as G,G as M}from"./vendor-utils-5TjOM6td.js";import{e as z,b as H,j as D}from"./vendor-arcblock-HzAExiTd.js";import{S as Y}from"./index-j5s7Rpz_.js";import{P as Q}from"./page-header-BDwGXuEW.js";import{o as $,J as V,h as u,f as T}from"./index-r2Lf0YIw.js";import{S as W}from"./layout-Dw2Qx7hs.js";import{S as J}from"./step-actions-CPEQpBG3.js";import{S as X}from"./button-4qfNeG4u.js";import"./vendor-hooks-BKxTDk_P.js";import"./Done-CVdTMvGH.js";import"./Google-D_UbrpMW.js";import"./cloneDeep-BRiLvZjr.js";import"./logo-uploader-CneV6CnS.js";import"./index-DoZ2YM4T.js";import"./content-layout-cWwRTmIc.js";function x({children:C,bottom:E,onBottomFix:f}){const i=l.useRef(null),s=l.useRef(null),m=l.useRef(null),r=l.useRef(null),[L,h]=l.useState(!1);return l.useEffect(()=>{let t;const a=()=>{t||(t=setTimeout(()=>{s.current&&(s.current.scrollHeight>i.current.clientHeight-m.current.clientHeight?(r.current!=="fix"&&(f("fix"),r.current="fix"),h(!0)):(r.current!=="scroll"&&(f("scroll"),r.current="scroll"),h(!1))),t=null},50))};let d;return window.ResizeObserver?d=new ResizeObserver(a):window.addEventListener("resize",a),d.observe(i.current),d.observe(s.current),()=>{d?d.disconnect():window.removeEventListener("resize",a),t&&clearTimeout(t)}},[f]),n.jsxs(Z,{ref:i,className:`${L?"scroll-mode":""}`,children:[n.jsx("div",{className:"compact-context",ref:s,children:C}),n.jsx("div",{className:"fix-container",ref:m,children:E})]})}const Z=I.div`
1
+ import{j as n,aa as I,E as g,t as U}from"./vendor-mui-core-xF5F4eT7.js";import{r as l}from"./vendor-react-D-afvo_7.js";import{x as q,U as F,ad as G,G as M}from"./vendor-utils-5TjOM6td.js";import{e as z,b as H,j as D}from"./vendor-arcblock-BFUPp1Ez.js";import{S as Y}from"./index-CDvqNewi.js";import{P as Q}from"./page-header--y63DY5K.js";import{o as $,J as V,h as u,f as T}from"./index-uYcwdGZL.js";import{S as W}from"./layout-CGas_HfS.js";import{S as J}from"./step-actions-qXq3r5tX.js";import{S as X}from"./button-BTVoaDd7.js";import"./vendor-hooks-BKxTDk_P.js";import"./Done-7hvoRcVZ.js";import"./Google-TNOfJ3uU.js";import"./cloneDeep-BRiLvZjr.js";import"./logo-uploader-pyVqJwKp.js";import"./index-DoZ2YM4T.js";import"./content-layout-cWwRTmIc.js";function x({children:C,bottom:E,onBottomFix:f}){const i=l.useRef(null),s=l.useRef(null),m=l.useRef(null),r=l.useRef(null),[L,h]=l.useState(!1);return l.useEffect(()=>{let t;const a=()=>{t||(t=setTimeout(()=>{s.current&&(s.current.scrollHeight>i.current.clientHeight-m.current.clientHeight?(r.current!=="fix"&&(f("fix"),r.current="fix"),h(!0)):(r.current!=="scroll"&&(f("scroll"),r.current="scroll"),h(!1))),t=null},50))};let d;return window.ResizeObserver?d=new ResizeObserver(a):window.addEventListener("resize",a),d.observe(i.current),d.observe(s.current),()=>{d?d.disconnect():window.removeEventListener("resize",a),t&&clearTimeout(t)}},[f]),n.jsxs(Z,{ref:i,className:`${L?"scroll-mode":""}`,children:[n.jsx("div",{className:"compact-context",ref:s,children:C}),n.jsx("div",{className:"fix-container",ref:m,children:E})]})}const Z=I.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;