@abtnode/blocklet-services 1.16.39-beta-20250221-133434-22e84449 → 1.16.39-beta-20250222-094928-e54632fa
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.
- package/dist/assets/{Add-udgpbcQ-.js → Add-D5aJYF-w.js} +1 -1
- package/dist/assets/{ArrowDropDown-CP8sFDTn.js → ArrowDropDown-Cl8c24xY.js} +1 -1
- package/dist/assets/{CheckCircle-CL1MZKeF.js → CheckCircle-C8i0xLNv.js} +1 -1
- package/dist/assets/{ChevronLeft-Dxe-8OAb.js → ChevronLeft-BCqszL0Z.js} +1 -1
- package/dist/assets/{ChevronRight-Jj-tneRk.js → ChevronRight-B-QUfWQJ.js} +1 -1
- package/dist/assets/{DeleteOutline-B2EIRfvm.js → DeleteOutline-CRGsqlBB.js} +1 -1
- package/dist/assets/{Done-BmN-n4Md.js → Done-JsgXq87T.js} +1 -1
- package/dist/assets/{Download-T0esN2Wf.js → Download-D8FYfZjb.js} +1 -1
- package/dist/assets/{Error-DxGYBrX_.js → Error-CBK0TIhk.js} +1 -1
- package/dist/assets/{Google-C8v_Y3AW.js → Google-B-PtsEiN.js} +1 -1
- package/dist/assets/{InfoOutlined-BoujVod4.js → InfoOutlined-DXbe7-Vo.js} +1 -1
- package/dist/assets/{Launch-mtPFLcSN.js → Launch-C0WU9j27.js} +1 -1
- package/dist/assets/{LaunchOutlined-BqUlBjUr.js → LaunchOutlined-BqIvI1Me.js} +1 -1
- package/dist/assets/{Loop-Cxat_C59.js → Loop-BQEttF_G.js} +1 -1
- package/dist/assets/{MoreHoriz-DVyDe-n2.js → MoreHoriz-B7JSMM__.js} +1 -1
- package/dist/assets/{PlayArrow-CbK5B-2U.js → PlayArrow-DisvYm5k.js} +1 -1
- package/dist/assets/{ViewList-B-1WiukK.js → ViewList-BXtBGGyL.js} +1 -1
- package/dist/assets/{access-control-DFyNDuUU.js → access-control-CHcoAvOI.js} +1 -1
- package/dist/assets/{actions-DHK1GfXI.js → actions-1ozfktYK.js} +1 -1
- package/dist/assets/{add-component-core-vkvnRJpn.js → add-component-core-DUCI1k0g.js} +1 -1
- package/dist/assets/{add-resource-CTeUMZhV.js → add-resource-CrWGj-vL.js} +1 -1
- package/dist/assets/{addon-DrUHZbxW.js → addon-Crm5Vlr1.js} +1 -1
- package/dist/assets/{analytics-BnE3HnyH.js → analytics-COHAoW1P.js} +1 -1
- package/dist/assets/{audit-logs-DDZXYPO2.js → audit-logs-kFhZOUsJ.js} +1 -1
- package/dist/assets/{base32-Bg7zWLHM.js → base32-Gx8S-X9Y.js} +1 -1
- package/dist/assets/{branding-GXnswdtg.js → branding-DWwsUSwn.js} +2 -2
- package/dist/assets/{bundle-avatar-kmTWjmMZ.js → bundle-avatar-DZAhgQge.js} +1 -1
- package/dist/assets/{button-CImZba-M.js → button-DklX5vfm.js} +1 -1
- package/dist/assets/{click-to-copy-SPoXGjhb.js → click-to-copy-D4eMUY2Y.js} +1 -1
- package/dist/assets/{complete-DCu0ecH1.js → complete-Bk6neZ6g.js} +1 -1
- package/dist/assets/{component-D9VIwsjz.js → component-BddYxBoS.js} +1 -1
- package/dist/assets/{config-BqevGx2X.js → config-BLMVw_7t.js} +1 -1
- package/dist/assets/{config-BQu2I3z_.js → config-CKSNoSqf.js} +1 -1
- package/dist/assets/{config-navigation-C6p-GCJ-.js → config-navigation-B8D15rni.js} +3 -3
- package/dist/assets/{config-space-BVsaPZS_.js → config-space-DsOEvFAI.js} +1 -1
- package/dist/assets/{confirm-BckBMOcL.js → confirm-B3CehVfh.js} +1 -1
- package/dist/assets/{connect-Bk35jyN7.js → connect-BFxfmoDy.js} +1 -1
- package/dist/assets/{connect-D0XKtcMb.js → connect-EfireciW.js} +1 -1
- package/dist/assets/{connect-to-BWpqHCU5.js → connect-to-DHOAMvIW.js} +1 -1
- package/dist/assets/{dashboard-DJwyQ0IN.js → dashboard-kggzA59O.js} +3 -3
- package/dist/assets/{delete-confirm-C4GbidLm.js → delete-confirm-d-OlwIQw.js} +1 -1
- package/dist/assets/{did-address-DsaXravU.js → did-address-C1Gnyot5.js} +1 -1
- package/dist/assets/{domain-B6CfBBp6.js → domain-CvFfaIN6.js} +1 -1
- package/dist/assets/{domain-action-card-B8cJWHEv.js → domain-action-card-B79yRdQ6.js} +1 -1
- package/dist/assets/domains-CoLKQx_U.js +1 -0
- package/dist/assets/{email-CK1jC5WM.js → email-eWqmZSiB.js} +1 -1
- package/dist/assets/{exchange-passport-D6VbniS0.js → exchange-passport-DupfOJy6.js} +1 -1
- package/dist/assets/{form-text-input-DFFNKfWp.js → form-text-input-Vd1x-3r7.js} +1 -1
- package/dist/assets/{fuel-Co3GBMd3.js → fuel-Wkpigcex.js} +1 -1
- package/dist/assets/{fullpage-DmUrgaXO.js → fullpage-YYyCExL1.js} +1 -1
- package/dist/assets/{get-safe-url-B9KuIPHY.js → get-safe-url-BUeJ9nhL.js} +1 -1
- package/dist/assets/{get-safe-url-Dg8FOTjG.js → get-safe-url-uAWmJaE7.js} +1 -1
- package/dist/assets/{home-BgCLYfoO.js → home-dPt3qe4k.js} +1 -1
- package/dist/assets/{iframe-BfCk9odl.js → iframe-DJUrVJrV.js} +1 -1
- package/dist/assets/{index-C2h3b3qO.js → index-B0KY0nDh.js} +1 -1
- package/dist/assets/{index-rP3b0CME.js → index-BFOp3JOz.js} +1 -1
- package/dist/assets/{index--F_W58cR.js → index-BMe5Qmpg.js} +1 -1
- package/dist/assets/{index-sLkJpR5o.js → index-BUl0-fVJ.js} +1 -1
- package/dist/assets/{index-Cj538gfs.js → index-BZltOpLK.js} +1 -1
- package/dist/assets/{index-B_f-vCCz.js → index-BqmuG2xd.js} +1 -1
- package/dist/assets/{index-8MMKiUTa.js → index-CI3zUsid.js} +4 -4
- package/dist/assets/{index-dSbx-_M8.js → index-CZS5amkm.js} +1 -1
- package/dist/assets/{index-Bf_1EkYS.js → index-Cr2DFHMx.js} +1 -1
- package/dist/assets/{index-DkbuxwZE.js → index-DA8zLg5u.js} +1 -1
- package/dist/assets/{index-BNAfDqcG.js → index-DOASFqSG.js} +1 -1
- package/dist/assets/{index-3h3nnFcB.js → index-DQ_gp9FQ.js} +1 -1
- package/dist/assets/{index-CmBEz5CL.js → index-DwTE_KjA.js} +3 -3
- package/dist/assets/{index-QGwREoo6.js → index-b2WEDrup.js} +3 -3
- package/dist/assets/{index-EgZ4xTuy.js → index-f-SHhhMn.js} +1 -1
- package/dist/assets/{invitation-Bfoc9rG-.js → invitation-BRP-CdYl.js} +1 -1
- package/dist/assets/{invite-B4jXTxxv.js → invite-B55Onb_m.js} +1 -1
- package/dist/assets/{issue-passport-CVA5upUB.js → issue-passport-Cd9Bbx0V.js} +1 -1
- package/dist/assets/{item-0J8MTdrM.js → item-B3EOOrSZ.js} +1 -1
- package/dist/assets/{layout-C7WJ00Ek.js → layout-CUY8Pv_q.js} +1 -1
- package/dist/assets/{list-C8W2Ztkh.js → list-Txvm-nIG.js} +1 -1
- package/dist/assets/{list-header-uzHBSbhH.js → list-header-Cb6_-8qZ.js} +1 -1
- package/dist/assets/{localization-BwFYCZgc.js → localization-eKoK3nKh.js} +1 -1
- package/dist/assets/{log-ByF4DLgp.js → log-pFG8Bdb0.js} +1 -1
- package/dist/assets/{login-D6E1Agab.js → login-CPtrXcco.js} +1 -1
- package/dist/assets/{login-oauth-callback-DWJMHw0r.js → login-oauth-callback-BfA4R326.js} +1 -1
- package/dist/assets/{logo-uploader-C3tOoZU0.js → logo-uploader-DmrsGrvc.js} +3 -3
- package/dist/assets/{lost-passport-DZ3RaG1P.js → lost-passport-R0QZBlPx.js} +1 -1
- package/dist/assets/{open-window-C8DmGGiK.js → open-window-DSwWREEC.js} +1 -1
- package/dist/assets/{overview-B-qeY9_9.js → overview-DRqGFwLE.js} +1 -1
- package/dist/assets/{page-header-DPKBfrCy.js → page-header-Bb6Nvnno.js} +1 -1
- package/dist/assets/{permission-BY2FbqNx.js → permission-BOXdugm0.js} +1 -1
- package/dist/assets/{preferences-jbp_hJW_.js → preferences-BYn4pHhY.js} +1 -1
- package/dist/assets/{publish-resource-CbEvZdTB.js → publish-resource-vuv3Ki3A.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-CKGqjrko.js → react-beautiful-dnd.esm-B29sb4Ur.js} +1 -1
- package/dist/assets/{relative-time-B24G13wp.js → relative-time-DnufzEIK.js} +1 -1
- package/dist/assets/sdk-CzVXemwI.js +1 -0
- package/dist/assets/{session-CXP_o5z6.js → session-Cbe0QivC.js} +1 -1
- package/dist/assets/{setup-D5Yfz51I.js → setup-Bt7ys8xh.js} +3 -3
- package/dist/assets/{start-BWeZ83st.js → start-BwanYA1E.js} +1 -1
- package/dist/assets/{step-actions-CQPEoZDr.js → step-actions-BsBz5Rj2.js} +1 -1
- package/dist/assets/{studio-Bm45YPri.js → studio-ByYBPBMO.js} +1 -1
- package/dist/assets/{switch-control-0xvudC3P.js → switch-control-DsmPki3h.js} +1 -1
- package/dist/assets/{traffic-C3au13Oz.js → traffic-DJKD2aYa.js} +1 -1
- package/dist/assets/{transfer-D-pSYMoH.js → transfer-lf2RaAnA.js} +1 -1
- package/dist/assets/{unsubscribe-CHbAL1If.js → unsubscribe-Dnf9ENon.js} +1 -1
- package/dist/assets/{useLocalStorage-grucDLLp.js → useLocalStorage-C6K1MfKS.js} +1 -1
- package/dist/assets/{user-center-DzUOMtVD.js → user-center-uxUOuBkD.js} +1 -1
- package/dist/assets/{util-DUNQVVoO.js → util-DLJJLuoV.js} +1 -1
- package/dist/assets/{util-DB9FK0S1.js → util-OT81aO9n.js} +1 -1
- package/dist/assets/{vendor-arcblock-BCYov1AG.js → vendor-arcblock-MU05F41R.js} +111 -111
- package/dist/assets/{wrap-locale-cIg_86o_.js → wrap-locale-D7D-LqDZ.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/service-worker.js +1 -1
- package/package.json +29 -29
- package/dist/assets/domains-C5wVrtkN.js +0 -1
- package/dist/assets/sdk-CdIjci-y.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Nw=Object.defineProperty;var Fw=(e,t,n)=>t in e?Nw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ho=(e,t,n)=>Fw(e,typeof t!="symbol"?t+"":t,n);import{cE as zw,cs as Te,cr as Ze,cp as Ww,a1 as Se,j as w,a3 as Re,a4 as Wn,E as ie,cF as dv,cG as fv,cH as Vw,bs as pv,aa as Nt,cI as tl,bS as Kt,H as nl,cJ as pi,bo as Zn,c3 as dt,aw as It,cK as Uw,cL as qw,c as Pe,_ as L,cM as vr,cN as Ke,cO as Hw,cP as ys,b as Vn,cQ as Xa,cR as Gw,c4 as Kw,cS as Yw,bT as Xw,cl as Qw,cT as Zw,c5 as Jw,g as ze,a as Le,k as Fe,cU as mv,u as Gt,cV as eS,d as nn,cW as rl,cX as Up,o as on,cY as hv,i as Nr,cZ as tS,c_ as mi,c$ as nS,d0 as qp,f as Dd,d1 as gv,d2 as rS,d3 as oS,p as ol,J as aS,d4 as iS,bj as Hp,ad as Gp,M as Jt,I as vn,t as sS,al as Kn,T as Cs,a2 as Fr,e as lS,aM as cS,bp as al,d5 as uS,bx as dS,aN as Au,by as Kp,aK as bv,x as fS,D as Yp,ab as Xp,r as Qp,bL as Zp,bO as Li,y as pS,aO as mS}from"./vendor-mui-core-BWT1QT-d.js";import{$ as hS,az as gS,x as vv}from"./vendor-utils-5TjOM6td.js";import{r as S,R as bS,d as hi,a as $e,g as Rd,b as tt,e as yv,c as vS,k as Cv}from"./vendor-react-D-afvo_7.js";import{bF as Ce,a0 as Pr,e as Qt,j as ot,bR as yS,bS as CS,az as Jp,aA as xS,aB as wS,aC as SS,aM as PS,ab as gi,aq as em,aK as TS,bT as kS,bU as DS,a2 as Tr,ao as RS,a8 as Ed,b as je,z as ES,ad as MS,aE as Qn,a3 as Ni,aw as $S}from"./vendor-arcblock-
|
|
1
|
+
var Nw=Object.defineProperty;var Fw=(e,t,n)=>t in e?Nw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ho=(e,t,n)=>Fw(e,typeof t!="symbol"?t+"":t,n);import{cE as zw,cs as Te,cr as Ze,cp as Ww,a1 as Se,j as w,a3 as Re,a4 as Wn,E as ie,cF as dv,cG as fv,cH as Vw,bs as pv,aa as Nt,cI as tl,bS as Kt,H as nl,cJ as pi,bo as Zn,c3 as dt,aw as It,cK as Uw,cL as qw,c as Pe,_ as L,cM as vr,cN as Ke,cO as Hw,cP as ys,b as Vn,cQ as Xa,cR as Gw,c4 as Kw,cS as Yw,bT as Xw,cl as Qw,cT as Zw,c5 as Jw,g as ze,a as Le,k as Fe,cU as mv,u as Gt,cV as eS,d as nn,cW as rl,cX as Up,o as on,cY as hv,i as Nr,cZ as tS,c_ as mi,c$ as nS,d0 as qp,f as Dd,d1 as gv,d2 as rS,d3 as oS,p as ol,J as aS,d4 as iS,bj as Hp,ad as Gp,M as Jt,I as vn,t as sS,al as Kn,T as Cs,a2 as Fr,e as lS,aM as cS,bp as al,d5 as uS,bx as dS,aN as Au,by as Kp,aK as bv,x as fS,D as Yp,ab as Xp,r as Qp,bL as Zp,bO as Li,y as pS,aO as mS}from"./vendor-mui-core-BWT1QT-d.js";import{$ as hS,az as gS,x as vv}from"./vendor-utils-5TjOM6td.js";import{r as S,R as bS,d as hi,a as $e,g as Rd,b as tt,e as yv,c as vS,k as Cv}from"./vendor-react-D-afvo_7.js";import{bF as Ce,a0 as Pr,e as Qt,j as ot,bR as yS,bS as CS,az as Jp,aA as xS,aB as wS,aC as SS,aM as PS,ab as gi,aq as em,aK as TS,bT as kS,bU as DS,a2 as Tr,ao as RS,a8 as Ed,b as je,z as ES,ad as MS,aE as Qn,a3 as Ni,aw as $S}from"./vendor-arcblock-MU05F41R.js";import{d as xv}from"./Add-D5aJYF-w.js";import{F as OS,d as Md}from"./form-text-input-Vd1x-3r7.js";import{z as Yt,C as Ur,Q as Qa,h as Yn,f as ht,O as yo,aD as IS,a8 as zr,a7 as $d,a6 as Bu,aq as wv,aE as Sv,b as Ia,m as gc,aF as _S}from"./index-b2WEDrup.js";import{e as AS,W as Co,c as BS,f as Od,B as Pv,b as jS}from"./dashboard-kggzA59O.js";import{S as LS}from"./switch-control-DsmPki3h.js";import{P as ju,w as Eo}from"./permission-BOXdugm0.js";import{d as tm,c as NS,b as nt,_ as Je,o as FS,e as zS,i as WS,p as VS,g as US,r as kr}from"./slicedToArray-C4pirt-5.js";import{r as Ye,A as Id,B as Xt,C as xs,D as Lu,t as qe,E as Tv,F as kv,j as Nu,m as qS,G as sr,H as HS,I as GS,J as Fu,K as Dv,L as KS,M as YS,N as Rv,O as _d,P as nm,Q as XS,R as rm,S as QS,T as ZS,p as JS,e as om,g as e1,b as bc,a as am,c as t1,q as Fi,o as Qr,i as n1,d as r1,k as zi,l as vc,h as Wi,s as yc,f as Cc,x as o1,z as a1,n as i1,u as s1,v as l1,w as c1,U as u1,y as d1,V as f1,W as p1}from"./index-BPho8CPY.js";import{a as Qe,u as Me,r as Za,d as qr,b as m1,w as ws,g as Ev,e as Mv,c as h1,o as zu}from"./raf-schd.esm-Cxhj8umC.js";import{C as im}from"./click-to-copy-D4eMUY2Y.js";import{d as sm}from"./ChevronRight-B-QUfWQJ.js";import{d as g1}from"./ChevronLeft-BCqszL0Z.js";import{d as b1}from"./ArrowDropDown-Cl8c24xY.js";import{f as pn}from"./format-error-C0Ke3VXF.js";import{A as v1,a as y1,b as C1,d as $v,B as x1,f as w1,c as S1}from"./add-component-core-DUCI1k0g.js";import{C as Mo}from"./confirm-B3CehVfh.js";import{v as P1,b as Ss}from"./util-DLJJLuoV.js";import{d as T1}from"./LockIcon-D4mzr6Ds.js";import{d as Ov}from"./Launch-C0WU9j27.js";import{D as k1}from"./delete-confirm-d-OlwIQw.js";import{d as D1}from"./InfoOutlined-DXbe7-Vo.js";import{B as R1}from"./bundle-avatar-DZAhgQge.js";import{d as E1}from"./PlayArrow-DisvYm5k.js";import{A as Iv}from"./actions-1ozfktYK.js";import{I as xc}from"./index-B0KY0nDh.js";import{W as M1}from"./did-address-C1Gnyot5.js";import"./vendor-hooks-ZnvK17j8.js";import"./Done-JsgXq87T.js";import"./logo-uploader-DmrsGrvc.js";import"./index-DoZ2YM4T.js";import"./EditIcon-lehrw0S5.js";import"./useLocalStorage-C6K1MfKS.js";import"./get-safe-url-uAWmJaE7.js";import"./index-BqmuG2xd.js";import"./session-Cbe0QivC.js";import"./useAsyncRetry-Dgdo-UIp.js";import"./useAsync-CEZQNMFX.js";import"./useSetState-Crt4S51m.js";import"./item-B3EOOrSZ.js";import"./DeleteOutline-CRGsqlBB.js";import"./launch-result-message-BqgwRruP.js";import"./page-header-Bb6Nvnno.js";import"./config-space-DsOEvFAI.js";import"./api-K65cLqol.js";import"./index-f-SHhhMn.js";import"./Google-B-PtsEiN.js";import"./cloneDeep-BRiLvZjr.js";import"./index-DdqHlWJ9.js";import"./index-C2fPoxDR.js";import"./use-mobile-B37G6FHz.js";import"./content-layout-Dw7m52fz.js";import"./connect-to-DHOAMvIW.js";import"./shorten-label-CRTt8ftG.js";import"./MoreHoriz-B7JSMM__.js";var $1=36e5;function O1(e,t){Ye(2,arguments);var n=Xt(t);return Id(e,n*$1)}var I1=864e5;function _1(e,t){Ye(2,arguments);var n=xs(e),r=xs(t),o=n.getTime()-Lu(n),a=r.getTime()-Lu(r);return Math.round((o-a)/I1)}var A1=6e4;function B1(e,t){Ye(2,arguments);var n=Xt(t);return Id(e,n*A1)}function j1(e,t){Ye(2,arguments);var n=Xt(t);return Id(e,n*1e3)}function Fa(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 L1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getFullYear()-r.getFullYear()}function lm(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 _v(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=lm(n,r),a=Math.abs(_1(n,r));n.setDate(n.getDate()-o*a);var i=+(lm(n,r)===-o),s=o*(a-i);return s===0?0:s}function il(e,t){return Ye(2,arguments),qe(e).getTime()-qe(t).getTime()}var cm={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},N1="trunc";function bi(e){return e?cm[e]:cm[N1]}function F1(e,t,n){Ye(2,arguments);var r=il(e,t)/Tv;return bi(void 0)(r)}function z1(e,t,n){Ye(2,arguments);var r=il(e,t)/kv;return bi(void 0)(r)}function Wu(e){Ye(1,arguments);var t=qe(e);return t.setHours(23,59,59,999),t}function W1(e){Ye(1,arguments);var t=qe(e);return Wu(t).getTime()===Nu(t).getTime()}function Av(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=Fa(n,r),a=Math.abs(qS(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=Fa(n,r)===-o;W1(qe(e))&&a===1&&Fa(e,r)===1&&(s=!1),i=o*(a-Number(s))}return i===0?0:i}function V1(e,t,n){Ye(2,arguments);var r=Av(e,t)/3;return bi(void 0)(r)}function U1(e,t,n){Ye(2,arguments);var r=il(e,t)/1e3;return bi(void 0)(r)}function q1(e,t,n){Ye(2,arguments);var r=_v(e,t)/7;return bi(void 0)(r)}function H1(e,t){Ye(2,arguments);var n=qe(e),r=qe(t),o=Fa(n,r),a=Math.abs(L1(n,r));n.setFullYear(1584),r.setFullYear(1584);var i=Fa(n,r)===-o,s=o*(a-Number(i));return s===0?0:s}function G1(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 K1(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 Y1(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=sr(o.getDate(),2),f=sr(o.getMonth()+1,2),m=sr(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=sr(Math.floor(h/60),2),v=sr(h%60,2),g=b<0?"+":"-";c="".concat(g).concat(x,":").concat(v)}else c="Z";var p=sr(o.getHours(),2),y=sr(o.getMinutes(),2),D=sr(o.getSeconds(),2),P=s===""?"":"T",T=[p,y,D].join(d);s="".concat(s).concat(P).concat(T).concat(c)}return s}function X1(e){Ye(1,arguments);var t=qe(e),n=t.getDay();return n}function Q1(e){Ye(1,arguments);var t=qe(e),n=t.getHours();return n}function Z1(e){Ye(1,arguments);var t=qe(e),n=t.getMinutes();return n}function J1(e){Ye(1,arguments);var t=qe(e),n=t.getSeconds();return n}function eP(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getTime()===r.getTime()}function um(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=zw(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 Bv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Bv=function(){return!!e})()}function rt(e){var t=Bv();return function(){var n,r=tm(e);if(t){var o=tm(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return NS(this,n)}}var tP=10,jv=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}(),nP=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}(jv),rP=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",tP),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}(jv),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 nP(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(n,r,o){return!0}}]),e}(),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",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),Dt={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}/},Nn={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 Rt(e,t){return e&&{value:t(e.value),rest:e.rest}}function vt(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Fn(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*Tv+a*kv+i*HS),rest:t.slice(n[0].length)}}function Lv(e){return vt(Dt.anyDigitsSigned,e)}function kt(e,t){switch(e){case 1:return vt(Dt.singleDigit,t);case 2:return vt(Dt.twoDigits,t);case 3:return vt(Dt.threeDigits,t);case 4:return vt(Dt.fourDigits,t);default:return vt(new RegExp("^\\d{1,"+e+"}"),t)}}function Ps(e,t){switch(e){case 1:return vt(Dt.singleDigitSigned,t);case 2:return vt(Dt.twoDigitsSigned,t);case 3:return vt(Dt.threeDigitsSigned,t);case 4:return vt(Dt.fourDigitsSigned,t);default:return vt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Ad(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 Nv(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 Fv(e){return e%400===0||e%4===0&&e%100!==0}var 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",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 Rt(kt(4,o),s);case"yo":return Rt(i.ordinalNumber(o,{unit:"year"}),s);default:return Rt(kt(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=Nv(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),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",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 Rt(kt(4,o),s);case"Yo":return Rt(i.ordinalNumber(o,{unit:"year"}),s);default:return Rt(kt(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=GS(o,s);if(i.isTwoDigitYear){var l=Nv(i.year,c);return o.setUTCFullYear(l,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),Fu(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),Fu(o,s)}}]),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",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 Ps(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),Dv(s)}}]),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",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 Ps(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),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",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 kt(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),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",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 kt(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),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),"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 Rt(vt(Dt.month,o),s);case"MM":return Rt(kt(2,o),s);case"Mo":return Rt(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),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",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 Rt(vt(Dt.month,o),s);case"LL":return Rt(kt(2,o),s);case"Lo":return Rt(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 pP(e,t,n){Ye(2,arguments);var r=qe(e),o=Xt(t),a=KS(r,n)-o;return r.setUTCDate(r.getUTCDate()-a*7),r}var 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",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 vt(Dt.week,o);case"wo":return i.ordinalNumber(o,{unit:"week"});default:return kt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=53}},{key:"set",value:function(o,a,i,s){return Fu(pP(o,i,s),s)}}]),n}(at);function hP(e,t){Ye(2,arguments);var n=qe(e),r=Xt(t),o=YS(n)-r;return n.setUTCDate(n.getUTCDate()-o*7),n}var 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",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 vt(Dt.week,o);case"Io":return i.ordinalNumber(o,{unit:"week"});default:return kt(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=53}},{key:"set",value:function(o,a,i){return Dv(hP(o,i))}}]),n}(at),bP=[31,28,31,30,31,30,31,31,30,31,30,31],vP=[31,29,31,30,31,30,31,31,30,31,30,31],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",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 vt(Dt.date,o);case"do":return i.ordinalNumber(o,{unit:"date"});default:return kt(a.length,o)}}},{key:"validate",value:function(o,a){var i=o.getUTCFullYear(),s=Fv(i),c=o.getUTCMonth();return s?a>=1&&a<=vP[c]:a>=1&&a<=bP[c]}},{key:"set",value:function(o,a,i){return o.setUTCDate(i),o.setUTCHours(0,0,0,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",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 vt(Dt.dayOfYear,o);case"Do":return i.ordinalNumber(o,{unit:"date"});default:return kt(a.length,o)}}},{key:"validate",value:function(o,a){var i=o.getUTCFullYear(),s=Fv(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 Bd(e,t,n){var r,o,a,i,s,c,l,d;Ye(2,arguments);var u=Rv(),f=Xt((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=Xt(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 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",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=Bd(o,i,s),o.setUTCHours(0,0,0,0),o}}]),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",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 Rt(kt(a.length,o),c);case"eo":return Rt(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=Bd(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","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 Rt(kt(a.length,o),c);case"co":return Rt(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=Bd(o,i,s),o.setUTCHours(0,0,0,0),o}}]),n}(at);function PP(e,t){Ye(2,arguments);var n=Xt(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 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",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 kt(a.length,o);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return Rt(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 Rt(i.day(o,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Rt(i.day(o,{width:"short",context:"formatting"})||i.day(o,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Rt(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=PP(o,i),o.setUTCHours(0,0,0,0),o}}]),n}(at),kP=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(Ad(i),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",["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(Ad(i),0,0,0),o}}]),n}(at),RP=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(Ad(i),0,0,0),o}}]),n}(at),EP=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 vt(Dt.hour12h,o);case"ho":return i.ordinalNumber(o,{unit:"hour"});default:return kt(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),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",["a","b","h","K","k","t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"H":return vt(Dt.hour23h,o);case"Ho":return i.ordinalNumber(o,{unit:"hour"});default:return kt(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),$P=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 vt(Dt.hour11h,o);case"Ko":return i.ordinalNumber(o,{unit:"hour"});default:return kt(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),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",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 vt(Dt.hour24h,o);case"ko":return i.ordinalNumber(o,{unit:"hour"});default:return kt(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),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",60),Ce(Te(r),"incompatibleTokens",["t","T"]),r}return Ze(n,[{key:"parse",value:function(o,a,i){switch(a){case"m":return vt(Dt.minute,o);case"mo":return i.ordinalNumber(o,{unit:"minute"});default:return kt(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),_P=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 vt(Dt.second,o);case"so":return i.ordinalNumber(o,{unit:"second"});default:return kt(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),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",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 Rt(kt(a.length,o),i)}},{key:"set",value:function(o,a,i){return o.setUTCMilliseconds(i),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",10),Ce(Te(r),"incompatibleTokens",["t","T","x"]),r}return Ze(n,[{key:"parse",value:function(o,a){switch(a){case"X":return Fn(Nn.basicOptionalMinutes,o);case"XX":return Fn(Nn.basic,o);case"XXXX":return Fn(Nn.basicOptionalSeconds,o);case"XXXXX":return Fn(Nn.extendedOptionalSeconds,o);case"XXX":default:return Fn(Nn.extended,o)}}},{key:"set",value:function(o,a,i){return a.timestampIsSet?o:new Date(o.getTime()-i)}}]),n}(at),jP=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 Fn(Nn.basicOptionalMinutes,o);case"xx":return Fn(Nn.basic,o);case"xxxx":return Fn(Nn.basicOptionalSeconds,o);case"xxxxx":return Fn(Nn.extendedOptionalSeconds,o);case"xxx":default:return Fn(Nn.extended,o)}}},{key:"set",value:function(o,a,i){return a.timestampIsSet?o:new Date(o.getTime()-i)}}]),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",40),Ce(Te(r),"incompatibleTokens","*"),r}return Ze(n,[{key:"parse",value:function(o){return Lv(o)}},{key:"set",value:function(o,a,i){return[new Date(i*1e3),{timestampIsSet:!0}]}}]),n}(at),NP=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 Lv(o)}},{key:"set",value:function(o,a,i){return[new Date(i),{timestampIsSet:!0}]}}]),n}(at),FP={G:new oP,y:new aP,Y:new iP,R:new sP,u:new lP,Q:new cP,q:new uP,M:new dP,L:new fP,w:new mP,I:new gP,d:new yP,D:new CP,E:new xP,e:new wP,c:new SP,i:new TP,a:new kP,b:new DP,B:new RP,h:new EP,H:new MP,K:new $P,k:new OP,m:new IP,s:new _P,S:new AP,X:new BP,x:new jP,t:new LP,T:new NP},zP=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,WP=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,VP=/^'([^]*?)'?$/,UP=/''/g,qP=/\S/,HP=/[a-zA-Z]/;function GP(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=Rv(),C=(o=(a=r==null?void 0:r.locale)!==null&&a!==void 0?a:k.locale)!==null&&o!==void 0?o:_d;if(!C.match)throw new RangeError("locale must contain match property");var R=Xt((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=Xt((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 rP],I=T.match(WP).map(function(H){var K=H[0];if(K in nm){var Q=nm[K];return Q(H,C.formatLong)}return H}).join("").match(zP),A=[],B=um(I),N;try{var j=function(){var K=N.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&XS(K)&&rm(K,T,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&QS(K)&&rm(K,T,e);var Q=K[0],ae=FP[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(HP))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");if(K==="''"?K="'":Q==="'"&&(K=KP(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(Ww(W)==="object")return W.v}}catch(H){B.e(H)}finally{B.f()}if(P.length>0&&qP.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=ZS(E,Lu(E)),V={},_=um(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],K1(V,q[1])):U=q}}catch(H){_.e(H)}finally{_.f()}return U}function KP(e){return e.match(VP)[1].replace(UP,"'")}function dm(e){Ye(1,arguments);var t=qe(e);return t.setMinutes(0,0,0),t}function YP(e,t){Ye(2,arguments);var n=dm(e),r=dm(t);return n.getTime()===r.getTime()}function XP(e,t){Ye(2,arguments);var n=qe(e),r=qe(t);return n.getFullYear()===r.getFullYear()}function QP(e,t){Ye(2,arguments);var n=qe(e),r=Xt(t);return n.setDate(r),n}function ZP(e,t){Ye(2,arguments);var n=qe(e),r=Xt(t);return n.setHours(r),n}function JP(e,t){Ye(2,arguments);var n=qe(e),r=Xt(t);return n.setMinutes(r),n}function eT(e,t){Ye(2,arguments);var n=qe(e),r=Xt(t);return n.setSeconds(r),n}var jd={},tT=Se;Object.defineProperty(jd,"__esModule",{value:!0});var zv=jd.default=void 0,nT=tT(Pr()),rT=w;zv=jd.default=(0,nT.default)((0,rT.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 Ld={},oT=Se;Object.defineProperty(Ld,"__esModule",{value:!0});var Wv=Ld.default=void 0,aT=oT(Pr()),iT=w;Wv=Ld.default=(0,aT.default)((0,iT.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");function Nd({children:e,...t}){var l;const{t:n}=Qt(),{api:r}=Yt(),{blocklet:o}=Ur(),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(Wn,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:w.jsx("div",{children:w.jsx(LS,{checked:c,onChange:s,name:"enableWelcomePage",style:{...t.style,zoom:.8}})})})]})}Nd.propTypes={children:ie.any};Nd.defaultProps={children:null};var Fd={},sT=Se;Object.defineProperty(Fd,"__esModule",{value:!0});var sl=Fd.default=void 0,lT=sT(Pr()),cT=w;sl=Fd.default=(0,lT.default)((0,cT.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 Vv={},Go={},wc={};function Uv(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=Uv(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=Uv(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 Ts(e){return typeof e=="string"}function Vu(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 qv(e){if(typeof e!="string")throw new Error(Vu(7));return e.charAt(0).toUpperCase()+e.slice(1)}function mr(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 Hv(e){if(!mr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Hv(e[n])}),t}function Lr(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return mr(e)&&mr(t)&&Object.keys(t).forEach(o=>{mr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&mr(e[o])?r[o]=Lr(e[o],t[o],n):n.clone?r[o]=mr(t[o])?Hv(t[o]):t[o]:r[o]=t[o]}),r}function za(e,t){return t?Lr(e,t,{clone:!1}):e}function uT(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 dT(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function fT(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 pT(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 ll={xs:0,sm:600,md:900,lg:1200,xl:1536},fm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ll[e]}px)`},mT={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:ll[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Jn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||fm;return t.reduce((i,s,c)=>(i[a.up(a.keys[c])]=n(t[c]),i),{})}if(typeof t=="object"){const a=r.breakpoints||fm;return Object.keys(t).reduce((i,s)=>{if(dT(a.keys,s)){const c=fT(r.containerQueries?r:mT,s);c&&(i[c]=n(t[s],s))}else if(Object.keys(a.values||ll).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 hT(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function gT(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function cl(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 ks(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=cl(e,n)||r,t&&(o=t(o,r,e)),o}function Mt(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=cl(c,r)||{};return Jn(i,s,u=>{let f=ks(l,o,u);return u===f&&typeof u=="string"&&(f=ks(l,o,`${t}${u==="default"?"":qv(u)}`,u)),n===!1?f:{[n]:f}})};return a.propTypes={},a.filterProps=[t],a}function bT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const vT={m:"margin",p:"padding"},yT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},pm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},CT=bT(e=>{if(e.length>2)if(pm[e])e=pm[e];else return[e];const[t,n]=e.split(""),r=vT[t],o=yT[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),zd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...zd,...Wd];function vi(e,t,n,r){const o=cl(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 Vd(e){return vi(e,"spacing",8)}function yi(e,t){return typeof t=="string"||t==null?t:e(t)}function xT(e,t){return n=>e.reduce((r,o)=>(r[o]=yi(t,n),r),{})}function wT(e,t,n,r){if(!t.includes(n))return null;const o=CT(n),a=xT(o,r),i=e[n];return Jn(e,i,a)}function Gv(e,t){const n=Vd(e.theme);return Object.keys(e).map(r=>wT(e,t,r,n)).reduce(za,{})}function xt(e){return Gv(e,zd)}xt.propTypes={};xt.filterProps=zd;function wt(e){return Gv(e,Wd)}wt.propTypes={};wt.filterProps=Wd;function ul(...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]?za(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function Tn(e,t){return Mt({prop:e,themeKey:"borders",transform:t})}const ST=Tn("border",mn),PT=Tn("borderTop",mn),TT=Tn("borderRight",mn),kT=Tn("borderBottom",mn),DT=Tn("borderLeft",mn),RT=Tn("borderColor"),ET=Tn("borderTopColor"),MT=Tn("borderRightColor"),$T=Tn("borderBottomColor"),OT=Tn("borderLeftColor"),IT=Tn("outline",mn),_T=Tn("outlineColor"),dl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=vi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:yi(t,r)});return Jn(e,e.borderRadius,n)}return null};dl.propTypes={};dl.filterProps=["borderRadius"];ul(ST,PT,TT,kT,DT,RT,ET,MT,$T,OT,dl,IT,_T);const fl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=vi(e.theme,"spacing",8),n=r=>({gap:yi(t,r)});return Jn(e,e.gap,n)}return null};fl.propTypes={};fl.filterProps=["gap"];const pl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=vi(e.theme,"spacing",8),n=r=>({columnGap:yi(t,r)});return Jn(e,e.columnGap,n)}return null};pl.propTypes={};pl.filterProps=["columnGap"];const ml=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=vi(e.theme,"spacing",8),n=r=>({rowGap:yi(t,r)});return Jn(e,e.rowGap,n)}return null};ml.propTypes={};ml.filterProps=["rowGap"];const AT=Mt({prop:"gridColumn"}),BT=Mt({prop:"gridRow"}),jT=Mt({prop:"gridAutoFlow"}),LT=Mt({prop:"gridAutoColumns"}),NT=Mt({prop:"gridAutoRows"}),FT=Mt({prop:"gridTemplateColumns"}),zT=Mt({prop:"gridTemplateRows"}),WT=Mt({prop:"gridTemplateAreas"}),VT=Mt({prop:"gridArea"});ul(fl,pl,ml,AT,BT,jT,LT,NT,FT,zT,WT,VT);function mo(e,t){return t==="grey"?t:e}const UT=Mt({prop:"color",themeKey:"palette",transform:mo}),qT=Mt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mo}),HT=Mt({prop:"backgroundColor",themeKey:"palette",transform:mo});ul(UT,qT,HT);function en(e){return e<=1&&e!==0?`${e*100}%`:e}const GT=Mt({prop:"width",transform:en}),Ud=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])||ll[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:en(n)}};return Jn(e,e.maxWidth,t)}return null};Ud.filterProps=["maxWidth"];const KT=Mt({prop:"minWidth",transform:en}),YT=Mt({prop:"height",transform:en}),XT=Mt({prop:"maxHeight",transform:en}),QT=Mt({prop:"minHeight",transform:en});Mt({prop:"size",cssProperty:"width",transform:en});Mt({prop:"size",cssProperty:"height",transform:en});const ZT=Mt({prop:"boxSizing"});ul(GT,Ud,KT,YT,XT,QT,ZT);const Ci={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:dl},color:{themeKey:"palette",transform:mo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mo},backgroundColor:{themeKey:"palette",transform:mo},p:{style:wt},pt:{style:wt},pr:{style:wt},pb:{style:wt},pl:{style:wt},px:{style:wt},py:{style:wt},padding:{style:wt},paddingTop:{style:wt},paddingRight:{style:wt},paddingBottom:{style:wt},paddingLeft:{style:wt},paddingX:{style:wt},paddingY:{style:wt},paddingInline:{style:wt},paddingInlineStart:{style:wt},paddingInlineEnd:{style:wt},paddingBlock:{style:wt},paddingBlockStart:{style:wt},paddingBlockEnd:{style:wt},m:{style:xt},mt:{style:xt},mr:{style:xt},mb:{style:xt},ml:{style:xt},mx:{style:xt},my:{style:xt},margin:{style:xt},marginTop:{style:xt},marginRight:{style:xt},marginBottom:{style:xt},marginLeft:{style:xt},marginX:{style:xt},marginY:{style:xt},marginInline:{style:xt},marginInlineStart:{style:xt},marginInlineEnd:{style:xt},marginBlock:{style:xt},marginBlockStart:{style:xt},marginBlockEnd:{style:xt},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:fl},rowGap:{style:ml},columnGap:{style:pl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:en},maxWidth:{style:Ud},minWidth:{transform:en},height:{transform:en},maxHeight:{transform:en},minHeight:{transform:en},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 JT(...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 ek(e,t){return typeof e=="function"?e(t):e}function tk(){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=cl(o,l)||{};return u?u(i):Jn(i,r,b=>{let h=ks(f,d,b);return b===h&&typeof b=="string"&&(h=ks(f,d,`${n}${b==="default"?"":qv(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??Ci;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=hT(o.breakpoints),d=Object.keys(l);let u=l;return Object.keys(c).forEach(f=>{const m=ek(c[f],o);if(m!=null)if(typeof m=="object")if(a[f])u=za(u,e(f,m,o,a));else{const b=Jn({theme:o},m,h=>({[f]:h}));JT(b,m)?u[f]=t({sx:m,theme:o}):u=za(u,b)}else u=za(u,e(f,m,o,a))}),uT(o,gT(d,u))}return Array.isArray(r)?r.map(i):i(r)}return t}const Hr=tk();Hr.filterProps=["sx"];const nk=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Ci;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Kv(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=nk(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...i)=>{const s=t(...i);return mr(s)?{...r,...s}:r}:a={...r,...t},{...o,sx:a}}const rk=e=>{const t=fv(e);class n extends Vw{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 Uu;typeof document=="object"&&(Uu=rk({key:"css",prepend:!0}));function ok(e){const{injectFirst:t,children:n}=e;return t&&Uu?w.jsx(dv,{value:Uu,children:n}):n}function ak(e){return e==null||Object.keys(e).length===0}function Yv(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(ak(o)?n:o):t;return w.jsx(pv,{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-BWT1QT-d.js";import{a0 as c,b as e}from"./vendor-arcblock-
|
|
1
|
+
import{a1 as t,j as a}from"./vendor-mui-core-BWT1QT-d.js";import{a0 as c,b as e}from"./vendor-arcblock-MU05F41R.js";var o={},p=t;Object.defineProperty(o,"__esModule",{value:!0});var u=o.default=void 0,_=p(c()),h=a;u=o.default=(0,_.default)((0,h.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 r={},f=t;Object.defineProperty(r,"__esModule",{value:!0});var l=r.default=void 0,m=f(c()),n=a;l=r.default=(0,m.default)([(0,n.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,n.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 s={},C=t;Object.defineProperty(s,"__esModule",{value:!0});var v=s.default=void 0,S=C(c()),j=a;v=s.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={},z=t;Object.defineProperty(i,"__esModule",{value:!0});var d=i.default=void 0,A=z(c()),M=a;d=i.default=(0,A.default)((0,M.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 (most commonly used)"},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:l,title:{zh:"只有管理员可以访问",en:"Only Owner or Admin of the application can access"},description:{zh:"必须提供管理员通行证才能访问应用",en:"You must provide owner or admin passport to access this application"}},{value:e.WHO_CAN_ACCESS.OWNER,icon:u,title:{zh:"只有应用所有者可以访问(最安全)",en:"Only the app owner can access it (most secure)"},description:{zh:"必须提供所有者通行证才能访问应用",en:"You must provide owner passport to access this application"}}];export{$ as A,u as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i,aa as U,E as f,t as q}from"./vendor-mui-core-BWT1QT-d.js";import{r as c}from"./vendor-react-D-afvo_7.js";import{x as F,U as G,ad as M,G as z}from"./vendor-utils-5TjOM6td.js";import{e as H,b as D,j as Y}from"./vendor-arcblock-
|
|
1
|
+
import{j as i,aa as U,E as f,t as q}from"./vendor-mui-core-BWT1QT-d.js";import{r as c}from"./vendor-react-D-afvo_7.js";import{x as F,U as G,ad as M,G as z}from"./vendor-utils-5TjOM6td.js";import{e as H,b as D,j as Y}from"./vendor-arcblock-MU05F41R.js";import{S as Q}from"./index-f-SHhhMn.js";import{P as $}from"./page-header-Bb6Nvnno.js";import{o as V,J as W,h as d,f as _}from"./index-b2WEDrup.js";import{S as J}from"./layout-CUY8Pv_q.js";import{S as X}from"./step-actions-BsBz5Rj2.js";import{S as Z}from"./button-DklX5vfm.js";import"./vendor-hooks-ZnvK17j8.js";import"./Done-JsgXq87T.js";import"./Google-B-PtsEiN.js";import"./cloneDeep-BRiLvZjr.js";import"./logo-uploader-DmrsGrvc.js";import"./index-DoZ2YM4T.js";import"./content-layout-Dw7m52fz.js";function y({children:h,bottom:E,onBottomFix:m}){const p=c.useRef(null),o=c.useRef(null),u=c.useRef(null),l=c.useRef(null),[g,C]=c.useState(!1);return c.useEffect(()=>{let a;const t=()=>{a||(a=setTimeout(()=>{o.current&&(o.current.scrollHeight>p.current.clientHeight-u.current.clientHeight?(l.current!=="fix"&&(m("fix"),l.current="fix"),C(!0)):(l.current!=="scroll"&&(m("scroll"),l.current="scroll"),C(!1))),a=null},50))};let s;return window.ResizeObserver?s=new ResizeObserver(t):window.addEventListener("resize",t),s.observe(p.current),s.observe(o.current),()=>{s?s.disconnect():window.removeEventListener("resize",t),a&&clearTimeout(a)}},[m]),i.jsxs(ee,{ref:p,className:`${g?"scroll-mode":""}`,children:[i.jsx("div",{className:"compact-context",ref:o,children:h}),i.jsx("div",{className:"fix-container",ref:u,children:E})]})}const ee=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|