@abtnode/blocklet-services 1.17.5 → 1.17.6-beta-20251216-081847-bf91c4db
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/api/libs/connect/session.js +6 -9
- package/api/routes/federated.js +2 -2
- package/dist/assets/AdapterDayjs-Bfr4sW4C.js +3 -0
- package/dist/assets/{Community-C7CFokDQ.js → Community-CELsDteM.js} +1 -1
- package/dist/assets/{Google-qCiUM9VP.js → Google-DA3WTnLE.js} +1 -1
- package/dist/assets/{Holiday-DyVifdc-.js → Holiday-DOCjSYjH.js} +1 -1
- package/dist/assets/{Meeting-DbtUCCZq.js → Meeting-BAXt_LiK.js} +1 -1
- package/dist/assets/{OffSick-BtITykO3.js → OffSick-BGEr8Nkc.js} +1 -1
- package/dist/assets/{WorkingRemotely-mKvokr6L.js → WorkingRemotely-BcneAIXG.js} +1 -1
- package/dist/assets/access-control-BZvc7AZG.js +14 -0
- package/dist/assets/actions-Dfiiwkit.js +1 -0
- package/dist/assets/{add-component-core-CFL73x1V.js → add-component-core-CNH5E2RR.js} +1 -1
- package/dist/assets/add-resource-BWEvlWkH.js +1 -0
- package/dist/assets/addon-uM70Qwac.js +14 -0
- package/dist/assets/{advanced-Djs25PXG.js → advanced-Caeqx4XB.js} +1 -1
- package/dist/assets/aigne-B9drp8Pq.js +10 -0
- package/dist/assets/api-C75sLx9p.js +1 -0
- package/dist/assets/appearance-DM7p-6Wl.js +1 -0
- package/dist/assets/arrow-down.svg-C4FUKwt4.js +1 -0
- package/dist/assets/{audit-logs-CXjhDj8M.js → audit-logs-L-gO50KL.js} +2 -2
- package/dist/assets/authorize-D2d4GCpP.js +1 -0
- package/dist/assets/{base-chart-BXspUQ5X.js → base-chart-DSDnGziZ.js} +1 -1
- package/dist/assets/{base32-E_M8YiDy.js → base32-B-7CnEFd.js} +1 -1
- package/dist/assets/bind-account-DuzArGdZ.js +1 -0
- package/dist/assets/{branding-B6_O9dwM.js → branding-Dx40btDl.js} +1 -1
- package/dist/assets/{branding-BN5xzu2K.js → branding-aCdIMhb0.js} +5 -5
- package/dist/assets/branding-bYH66Nug.js +1 -0
- package/dist/assets/bundle-avatar-B1jZNqcH.js +1 -0
- package/dist/assets/button-BnSiFtNt.js +1 -0
- package/dist/assets/click-to-copy-CwdgHxjB.js +1 -0
- package/dist/assets/cloneDeep-B_fYlLpl.js +1 -0
- package/dist/assets/{collapse-DRXViE1U.js → collapse-B7gUzFaX.js} +1 -1
- package/dist/assets/{complete-DERkCyic.js → complete-Rr-_Zaon.js} +3 -3
- package/dist/assets/{component-BFEXoFyD.js → component-DZretbSC.js} +2 -2
- package/dist/assets/{config-DBQhYXkx.js → config-Bjbv_xI5.js} +1 -1
- package/dist/assets/config-BkqISfFO.js +53 -0
- package/dist/assets/{config-mfnTXE1f.js → config-Dw0qq-09.js} +2 -2
- package/dist/assets/{config-navigation-CL9YkEzl.js → config-navigation-Dj8qf6cK.js} +8 -8
- package/dist/assets/config-space-Dw6ITGIj.js +1 -0
- package/dist/assets/confirm-Bpit6U3-.js +7 -0
- package/dist/assets/{connect-DXN8mBKc.js → connect-B1ZA3nS8.js} +1 -1
- package/dist/assets/connect-Bl7-1lbc.js +1 -0
- package/dist/assets/connect-to-BsxW3JJi.js +1 -0
- package/dist/assets/{content-layout-B5NObRcH.js → content-layout-DmSBGGVm.js} +1 -1
- package/dist/assets/{create-passport-svg-BwqsyTOz.js → create-passport-svg-DGPNsGUE.js} +1 -1
- package/dist/assets/createClass-B5uCYz0o.js +1 -0
- package/dist/assets/{dashboard-DHhNID_3.js → dashboard-DBwE7l6f.js} +7 -7
- package/dist/assets/{delete-confirm-DSQSBte5.js → delete-confirm-L0HXJtqt.js} +1 -1
- package/dist/assets/did-address-uvYuZ4wv.js +1 -0
- package/dist/assets/domain-BoEowNlU.js +9 -0
- package/dist/assets/domain-action-card-BB0jQwcH.js +28 -0
- package/dist/assets/domains-kgzxNW_C.js +1 -0
- package/dist/assets/{edit.svg-Dz9cVo7r.js → edit.svg-RRSklUg-.js} +1 -1
- package/dist/assets/{email-DDHqRiNE.js → email-BAr61Jer.js} +2 -2
- package/dist/assets/{empty-spinner-0EAHJWBW.js → empty-spinner-BYDonf35.js} +1 -1
- package/dist/assets/engine-DWk3y4cO.js +1 -0
- package/dist/assets/exchange-passport-BuJUAVgN.js +1 -0
- package/dist/assets/{form-C-ZRaynb.js → form-kdwSU-mv.js} +3 -3
- package/dist/assets/form-text-input-B_h8beXh.js +11 -0
- package/dist/assets/{form-wrapper-dz0PgYyA.js → form-wrapper-PT5ZzMQy.js} +1 -1
- package/dist/assets/fuel-C9kfBZ4R.js +32 -0
- package/dist/assets/gen-access-key-Bh-o1OFU.js +1 -0
- package/dist/assets/gen-simple-access-key-DHmIlRFl.js +1 -0
- package/dist/assets/get-safe-url-gaxZoVzJ.js +1 -0
- package/dist/assets/{home-D8RPk4rl.js → home-Cb5I193s.js} +1 -1
- package/dist/assets/{iframe-DbxlfoSv.js → iframe-C233G1py.js} +1 -1
- package/dist/assets/{index-Dnont80V.js → index-B0Q9wWG1.js} +2 -2
- package/dist/assets/{index-BfyoUnq5.js → index-B7DVpLRM.js} +34 -34
- package/dist/assets/index-BScxMPlP.js +1 -0
- package/dist/assets/{index-CiQvt8QY.js → index-BT70k77_.js} +2 -2
- package/dist/assets/index-BaaFi7Vh.js +1 -0
- package/dist/assets/{index-CmT6o_W4.js → index-Bf3Peb0q.js} +5 -5
- package/dist/assets/{index-BIFlvVef.js → index-C-vVEZcs.js} +6 -6
- package/dist/assets/{index-BajjN1HU.js → index-CGP3CGlC.js} +6 -6
- package/dist/assets/{index-Ccjxs0wr.js → index-CI3rRJqa.js} +12 -12
- package/dist/assets/{index-CAtE4xM9.js → index-CK3KHeKw.js} +8 -8
- package/dist/assets/{index-CIvZ7HIX.js → index-CRAuhYSg.js} +1 -1
- package/dist/assets/{index-CJBVOMty.js → index-CUlOq3Sr.js} +4 -4
- package/dist/assets/{index-DK4Rvfj9.js → index-CZBIYuko.js} +1 -1
- package/dist/assets/{index-BjLM8Gon.js → index-CaTDaKrX.js} +1 -1
- package/dist/assets/index-CqD-x8pw.js +7 -0
- package/dist/assets/{index-Bs5xamxm.js → index-CtORPeiq.js} +2 -2
- package/dist/assets/index-D-a8pZtp.js +1 -0
- package/dist/assets/{index-BOiRUuPB.js → index-D24LKXzO.js} +1 -1
- package/dist/assets/{index-C0q1NhNR.js → index-D29her4n.js} +1 -1
- package/dist/assets/index-DACtt7qd.js +102 -0
- package/dist/assets/{index-BRGQOPmE.js → index-D_u0j8BO.js} +1 -1
- package/dist/assets/{index-B6QOO2yw.js → index-DjpxFmgG.js} +7 -7
- package/dist/assets/index-DuDIkjct.js +55 -0
- package/dist/assets/{index-BXtrOI0G.js → index-DwJ_NASi.js} +1 -1
- package/dist/assets/{index-Dijoh4El.js → index-DwyzCfdd.js} +103 -103
- package/dist/assets/index-KIswy2vM.js +120 -0
- package/dist/assets/index-LaMi0T4w.js +1 -0
- package/dist/assets/index-MQEkIEm-.js +1 -0
- package/dist/assets/{index-DHn4LCaq.js → index-OMkyTUNX.js} +4 -4
- package/dist/assets/index-WT6M-zj8.js +6 -0
- package/dist/assets/{index-BsA1v5Kx.js → index-_tncRnTu.js} +1 -1
- package/dist/assets/index-lK6Pf_qM.js +11 -0
- package/dist/assets/{index-CMec_woq.js → index-m1ZQT0sU.js} +1 -1
- package/dist/assets/{index-bb4s-8hu.js → index-oS8X43Pb.js} +6 -6
- package/dist/assets/index-xE7OidBo.js +1 -0
- package/dist/assets/{index.esm-DTmS4tth.js → index.esm-Co8ZxFyk.js} +1 -1
- package/dist/assets/{invitation-Cjg3Rgxl.js → invitation-C2S2tPzG.js} +7 -7
- package/dist/assets/invitations-Dil5QWBY.js +3 -0
- package/dist/assets/invite-GVnju9RQ.js +1 -0
- package/dist/assets/{isURL-wZZwzwyC.js → isURL-ZFgr0DWl.js} +2 -2
- package/dist/assets/issue-passport-BmU6NmKw.js +1 -0
- package/dist/assets/{item-Bpf_gGYt.js → item-DfQKizv4.js} +1 -1
- package/dist/assets/landing-page-C3zTr0-n.js +1 -0
- package/dist/assets/{launch-result-message-BTBdTioQ.js → launch-result-message-MNpx7ysR.js} +1 -1
- package/dist/assets/{layout-CZo9vMzc.js → layout-tkk_Lr2y.js} +1 -1
- package/dist/assets/list-BvgV1Jbh.js +2 -0
- package/dist/assets/list-YOpLH3o0.js +103 -0
- package/dist/assets/{list-header-BQo9L_6R.js → list-header-Cl3jykCe.js} +1 -1
- package/dist/assets/localization-DcnSNZHz.js +1 -0
- package/dist/assets/{lock.svg-BPCZ0CT3.js → lock.svg-BgybwZNe.js} +1 -1
- package/dist/assets/{log-KsUeQx46.js → log-C0zcaEbO.js} +1 -1
- package/dist/assets/logger-BbBkOuwH.js +1 -0
- package/dist/assets/login-BR26IXZx.js +1 -0
- package/dist/assets/login-oauth-callback-DCJMx5J1.js +1 -0
- package/dist/assets/logo-uploader-TLOlwvRt.js +30 -0
- package/dist/assets/{lost-passport-DWR3ith-.js → lost-passport-DE5KGhjz.js} +3 -3
- package/dist/assets/{lottie-react.esm-CD0xFBYg.js → lottie-react.esm-E4oo1jhL.js} +1 -1
- package/dist/assets/omit-D_PYZZLm.js +1 -0
- package/dist/assets/{open-window-Ct_MP3Sx.js → open-window-CPNpPXku.js} +1 -1
- package/dist/assets/over-due-invoice-payment-1EZsSUm4.js +1 -0
- package/dist/assets/{overview-5u7B_D_6.js → overview-CMduEuAK.js} +2 -2
- package/dist/assets/{page-header-Cgwo2np-.js → page-header-CHAwrgX-.js} +1 -1
- package/dist/assets/passport-Dg1YWagy.js +1 -0
- package/dist/assets/passport-item-QbgyHapR.js +1 -0
- package/dist/assets/{permission-BYxNrlaa.js → permission-C0bmOzVj.js} +1 -1
- package/dist/assets/preferences-0l0Zmaom.js +1 -0
- package/dist/assets/profile-embed-BQzLZZkK.js +1 -0
- package/dist/assets/publish-resource-ggObFvMi.js +1 -0
- package/dist/assets/{question-mark-circle.svg-DK9nTUDZ.js → question-mark-circle.svg-CByEVDhb.js} +1 -1
- package/dist/assets/{raf-schd.esm-JNUhxcps.js → raf-schd.esm-XXBRsnmf.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-Cvsu51oI.js → react-beautiful-dnd.esm-zYw9dagY.js} +1 -1
- package/dist/assets/{react-stripe.esm-Dqbe1A8R.js → react-stripe.esm-CVZErl8X.js} +1 -1
- package/dist/assets/{required-B0Gua-D1.js → required-BQln5OcV.js} +1 -1
- package/dist/assets/{revoke.svg-CuiCGfVW.js → revoke.svg-CNl4LAbv.js} +1 -1
- package/dist/assets/runtime-BNKE0VfZ.js +1 -0
- package/dist/assets/{sanitize-D6Abg5_T.js → sanitize-CtCDGQB6.js} +1 -1
- package/dist/assets/sdk-YVE2MSze.js +1 -0
- package/dist/assets/{section-BkMzBpvM.js → section-jXB9AxBb.js} +1 -1
- package/dist/assets/{security-DCG1tmZe.js → security-CWEVWbF4.js} +3 -3
- package/dist/assets/{server-logo-notext.svg-DHxZ1bRk.js → server-logo-notext.svg-xZ-i1SpD.js} +1 -1
- package/dist/assets/session-Des-0R_y.js +1 -0
- package/dist/assets/setup-Cps_vpFS.js +24 -0
- package/dist/assets/{shorten-label-DhOty_4j.js → shorten-label-C4py9TLA.js} +1 -1
- package/dist/assets/{simple-select-D0q2J-Br.js → simple-select-DbXWLzPn.js} +1 -1
- package/dist/assets/{spaces-DM95DgFM.js → spaces-2YPkTkBR.js} +1 -1
- package/dist/assets/start-CuCNmoqX.js +187 -0
- package/dist/assets/{starting-progress-aMYWzin8.js → starting-progress-xuCef6_T.js} +2 -2
- package/dist/assets/status-DleDsf-t.js +1 -0
- package/dist/assets/{step-actions-nHHLzUFh.js → step-actions-AHe2MQxo.js} +1 -1
- package/dist/assets/studio-HfI11Uc3.js +6 -0
- package/dist/assets/{switch-control-BAyRLHvJ.js → switch-control-CzYig10w.js} +1 -1
- package/dist/assets/switch-rIcJ7tho.js +1 -0
- package/dist/assets/{table-tips-BA9A3QDk.js → table-tips-Ba9Kf02z.js} +1 -1
- package/dist/assets/team-BWkxYdcc.js +146 -0
- package/dist/assets/traffic-jB6onGHq.js +1 -0
- package/dist/assets/transfer-DspVAdFc.js +16 -0
- package/dist/assets/unsubscribe-CKdMi1Kx.js +1 -0
- package/dist/assets/use-app-logo-BAGvxEU-.js +1 -0
- package/dist/assets/{use-mobile-Dwc30NoL.js → use-mobile-BINJTzMb.js} +1 -1
- package/dist/assets/{use-mobile-Vtj5nBdp.js → use-mobile-D5clNlrm.js} +1 -1
- package/dist/assets/{use-server-logo-BfNy3Xkj.js → use-server-logo-Cv1kAPgB.js} +1 -1
- package/dist/assets/use-window-close-D7QBHj75.js +1 -0
- package/dist/assets/useAsync-CgTefzpB.js +1 -0
- package/dist/assets/{useAsync-DNDhrs-2.js → useAsync-CxjyODHb.js} +1 -1
- package/dist/assets/{useAsyncRetry-CSW1hopB.js → useAsyncRetry-BnuUJFwY.js} +1 -1
- package/dist/assets/useLocalStorage-Bj52e1ZW.js +1 -0
- package/dist/assets/{useSetState-cWrp7qoX.js → useSetState-L-f8mSga.js} +1 -1
- package/dist/assets/user-center-CL_lKzgJ.js +125 -0
- package/dist/assets/user-follower-CfiG4RXf.js +32 -0
- package/dist/assets/{util-DSnAozzs.js → util-C9cWBCZz.js} +1 -1
- package/dist/assets/{util-BxX0TJKJ.js → util-DXf_zMuU.js} +1 -1
- package/dist/assets/{vendor-arcblock-D4Rvz_D3.js → vendor-arcblock-DkdOhPyM.js} +1 -1
- package/dist/assets/{vendor-hooks-U4TTuKG0.js → vendor-hooks-BZ19vVZ7.js} +2 -2
- package/dist/assets/{vendor-mui-core-B5XNUjey.js → vendor-mui-core-DnR6WYuU.js} +2 -2
- package/dist/assets/{vendor-mui-x-DtPl0qBm.js → vendor-mui-x-CQc01l4r.js} +1 -1
- package/dist/assets/{vendor-react-CUXIiAnY.js → vendor-react-CTtPmzVP.js} +1 -1
- package/dist/assets/{vendor-utils-CFxoplqC.js → vendor-utils-D5UG1a5Y.js} +2 -2
- package/dist/assets/{vendor-ux-BX9dSNUy.js → vendor-ux-DMZIE6wA.js} +2 -2
- package/dist/assets/{wait-connect-CCXiMHZY.js → wait-connect-D2wPrbE3.js} +1 -1
- package/dist/assets/{wizard-TEBzHS-w.js → wizard-EYZCXWG5.js} +2 -2
- package/dist/assets/wizard-components-PMRUmw6U.js +52 -0
- package/dist/assets/wrap-locale-B4E8Yvgz.js +1 -0
- package/dist/assets/{zh-Dr9buZnV.js → zh-CSl2KD_S.js} +1 -1
- package/dist/assets/zh-CXK3bXGt.js +1 -0
- package/dist/assets/{zh-tw-CeXBj2i0.js → zh-tw-BiloxWNq.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +25 -2
- package/package.json +50 -50
- package/dist/assets/AdapterDayjs-p1MGZm94.js +0 -3
- package/dist/assets/access-control-C6MQq9M9.js +0 -14
- package/dist/assets/actions-CiAs-6JM.js +0 -1
- package/dist/assets/add-resource-DVpeKvW6.js +0 -1
- package/dist/assets/addon-B5NG3IsS.js +0 -14
- package/dist/assets/aigne-WBAWm6yx.js +0 -10
- package/dist/assets/api-Cjc501Es.js +0 -1
- package/dist/assets/appearance-CVS4AfPI.js +0 -1
- package/dist/assets/arrow-down.svg-Dhs0HydJ.js +0 -1
- package/dist/assets/authorize-uzVAAuOd.js +0 -1
- package/dist/assets/bind-account-N3cioth0.js +0 -1
- package/dist/assets/branding-BFn6p_xP.js +0 -1
- package/dist/assets/bundle-avatar-CfVy3gda.js +0 -1
- package/dist/assets/button-4KPacREM.js +0 -1
- package/dist/assets/click-to-copy-DXHOGoUP.js +0 -1
- package/dist/assets/cloneDeep-DjDct56M.js +0 -1
- package/dist/assets/config-CwbUhIlW.js +0 -57
- package/dist/assets/config-space-3dNLmLWy.js +0 -1
- package/dist/assets/confirm-BIsS5xyi.js +0 -7
- package/dist/assets/connect-DMt_37_e.js +0 -1
- package/dist/assets/connect-to-D3C0j8V8.js +0 -1
- package/dist/assets/createClass-CkCf2FLT.js +0 -1
- package/dist/assets/did-address-Qmm0nyiR.js +0 -1
- package/dist/assets/domain-DcU9P4mp.js +0 -9
- package/dist/assets/domain-action-card-D9HXIIpd.js +0 -28
- package/dist/assets/domains-DVkGbWo7.js +0 -1
- package/dist/assets/engine-Cx3nUUOw.js +0 -1
- package/dist/assets/exchange-passport-Bxh8blMK.js +0 -1
- package/dist/assets/form-text-input-CbjI2VZQ.js +0 -11
- package/dist/assets/fuel-BdIacIqD.js +0 -32
- package/dist/assets/gen-access-key-DdjBRI5O.js +0 -1
- package/dist/assets/gen-simple-access-key-CBGi0io0.js +0 -1
- package/dist/assets/get-safe-url-pZvXlaJu.js +0 -1
- package/dist/assets/index-5B_H2zYd.js +0 -1
- package/dist/assets/index-6M8OhYM1.js +0 -1
- package/dist/assets/index-BRky7Qm3.js +0 -7
- package/dist/assets/index-CUIcSX4q.js +0 -102
- package/dist/assets/index-CtuxXUm_.js +0 -1
- package/dist/assets/index-DCPJbOWh.js +0 -55
- package/dist/assets/index-DD9ceQKr.js +0 -1
- package/dist/assets/index-Dn_bIjgF.js +0 -6
- package/dist/assets/index-G1If4Shq.js +0 -120
- package/dist/assets/index-RxqUBm3A.js +0 -11
- package/dist/assets/index-SH0LXIEm.js +0 -1
- package/dist/assets/index-mgpYakv8.js +0 -1
- package/dist/assets/invitations-xEsO2f9m.js +0 -3
- package/dist/assets/invite-ChOQtk0E.js +0 -1
- package/dist/assets/issue-passport-CUGjhBZr.js +0 -1
- package/dist/assets/landing-page-zT1Tduxx.js +0 -1
- package/dist/assets/list-Cj5o6_aJ.js +0 -103
- package/dist/assets/list-dBF9Lx52.js +0 -2
- package/dist/assets/localization-BhQNA1fu.js +0 -1
- package/dist/assets/logger-CWdgyrlX.js +0 -1
- package/dist/assets/login-BRtDYFyr.js +0 -1
- package/dist/assets/login-oauth-callback-BVOT5KIP.js +0 -1
- package/dist/assets/logo-uploader-CMuaTg_2.js +0 -30
- package/dist/assets/omit-DZEUV_m7.js +0 -1
- package/dist/assets/over-due-invoice-payment-EIjXZOAF.js +0 -1
- package/dist/assets/passport-BcfDxGFq.js +0 -1
- package/dist/assets/passport-item-BnRaEMVZ.js +0 -1
- package/dist/assets/preferences-BgyNzrci.js +0 -1
- package/dist/assets/profile-embed-C3hI8xed.js +0 -1
- package/dist/assets/publish-resource-CreTipUc.js +0 -1
- package/dist/assets/runtime-BwoZhRe2.js +0 -1
- package/dist/assets/sdk-Do4pV1s0.js +0 -1
- package/dist/assets/session-DUT2afHJ.js +0 -1
- package/dist/assets/setup-ephJCw43.js +0 -24
- package/dist/assets/start-sucUqu8u.js +0 -187
- package/dist/assets/status-BFw6nCWi.js +0 -1
- package/dist/assets/studio-BKkw9WY-.js +0 -6
- package/dist/assets/switch-C5K07M96.js +0 -1
- package/dist/assets/team-HgvOpVEJ.js +0 -146
- package/dist/assets/traffic-BvA-dAE6.js +0 -1
- package/dist/assets/transfer-CiITg5ql.js +0 -16
- package/dist/assets/unsubscribe-2BjO5Axx.js +0 -1
- package/dist/assets/use-app-logo-D9eQSUYq.js +0 -1
- package/dist/assets/use-window-close-DLSxYDw-.js +0 -1
- package/dist/assets/useAsync-Dy8z2Lh_.js +0 -1
- package/dist/assets/useLocalStorage-oIIa9C3F.js +0 -1
- package/dist/assets/user-center-BODNsVgb.js +0 -126
- package/dist/assets/user-follower-ODH9p68y.js +0 -32
- package/dist/assets/wizard-components-MqkmgXy5.js +0 -52
- package/dist/assets/wrap-locale-Dk2yVg3Y.js +0 -1
- package/dist/assets/zh-C6-KWz-k.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{g as se,r as y,e as At}from"./vendor-react-
|
|
1
|
+
import{g as se,r as y,e as At}from"./vendor-react-CTtPmzVP.js";import{r as Dt,d as Ue,t as ke,g as B,i as Pt}from"./vendor-utils-D5UG1a5Y.js";var he={exports:{}};/*!
|
|
2
2
|
* JavaScript Cookie v2.2.1
|
|
3
3
|
* https://github.com/js-cookie/js-cookie
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
6
6
|
* Released under the MIT license
|
|
7
|
-
*/var Ae;function jt(){return Ae||(Ae=1,function(e,t){(function(r){var n;if(e.exports=r(),n=!0,!n){var i=window.Cookies,o=window.Cookies=r();o.noConflict=function(){return window.Cookies=i,o}}})(function(){function r(){for(var o=0,a={};o<arguments.length;o++){var u=arguments[o];for(var s in u)a[s]=u[s]}return a}function n(o){return o.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(o){function a(){}function u(c,h,d){if(!(typeof document>"u")){d=r({path:"/"},a.defaults,d),typeof d.expires=="number"&&(d.expires=new Date(new Date*1+d.expires*864e5)),d.expires=d.expires?d.expires.toUTCString():"";try{var m=JSON.stringify(h);/^[\{\[]/.test(m)&&(h=m)}catch{}h=o.write?o.write(h,c):encodeURIComponent(String(h)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var p="";for(var g in d)d[g]&&(p+="; "+g,d[g]!==!0&&(p+="="+d[g].split(";")[0]));return document.cookie=c+"="+h+p}}function s(c,h){if(!(typeof document>"u")){for(var d={},m=document.cookie?document.cookie.split("; "):[],p=0;p<m.length;p++){var g=m[p].split("="),b=g.slice(1).join("=");!h&&b.charAt(0)==='"'&&(b=b.slice(1,-1));try{var E=n(g[0]);if(b=(o.read||o)(b,E)||n(b),h)try{b=JSON.parse(b)}catch{}if(d[E]=b,c===E)break}catch{}}return c?d[c]:d}}return a.set=u,a.get=function(c){return s(c,!1)},a.getJSON=function(c){return s(c,!0)},a.remove=function(c,h){u(c,"",r(h,{expires:-1}))},a.defaults={},a.withConverter=i,a}return i(function(){})})}(he)),he.exports}var It=jt();const nn=se(It);var Lt=Dt();const Ft=se(Lt);var Bt=function(e){return function(t,r){var n=y.useRef(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(!n.current)n.current=!0;else return t()},r)}},we=function(e,t){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},we(e,t)};function Ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");we(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var M=function(){return M=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},M.apply(this,arguments)};function Q(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Ge(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function Ke(e,t){return function(r,n){t(r,n,e)}}function $e(e,t,r,n,i,o){function a(C){if(C!==void 0&&typeof C!="function")throw new TypeError("Function expected");return C}for(var u=n.kind,s=u==="getter"?"get":u==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,h=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),d,m=!1,p=r.length-1;p>=0;p--){var g={};for(var b in n)g[b]=b==="access"?{}:n[b];for(var b in n.access)g.access[b]=n.access[b];g.addInitializer=function(C){if(m)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(C||null))};var E=(0,r[p])(u==="accessor"?{get:h.get,set:h.set}:h[s],g);if(u==="accessor"){if(E===void 0)continue;if(E===null||typeof E!="object")throw new TypeError("Object expected");(d=a(E.get))&&(h.get=d),(d=a(E.set))&&(h.set=d),(d=a(E.init))&&i.unshift(d)}else(d=a(E))&&(u==="field"?i.unshift(d):h[s]=d)}c&&Object.defineProperty(c,n.name,h),m=!0}function Je(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function Ye(e){return typeof e=="symbol"?e:"".concat(e)}function Xe(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ze(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function ee(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function u(h){try{c(n.next(h))}catch(d){a(d)}}function s(h){try{c(n.throw(h))}catch(d){a(d)}}function c(h){h.done?o(h.value):i(h.value).then(u,s)}c((n=n.apply(e,t||[])).next())})}function te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1],o=c;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(c);break}o[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(h){c=[6,h],i=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ce=Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};function Qe(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&ce(t,e,r)}function N(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(u){a={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function et(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e}function oe(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)n[i]=o[a];return n}function x(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function G(e){return this instanceof G?(this.v=e,this):new G(e)}function tt(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(g){return Promise.resolve(g).then(p,d)}}function u(p,g){n[p]&&(i[p]=function(b){return new Promise(function(E,C){o.push([p,b,E,C])>1||s(p,b)})},g&&(i[p]=g(i[p])))}function s(p,g){try{c(n[p](g))}catch(b){m(o[0][3],b)}}function c(p){p.value instanceof G?Promise.resolve(p.value.v).then(h,d):m(o[0][2],p)}function h(p){s("next",p)}function d(p){s("throw",p)}function m(p,g){p(g),o.shift(),o.length&&s(o[0][0],o[0][1])}}function rt(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(a){return(r=!r)?{value:G(e[i](a)),done:!1}:o?o(a):a}:o}}function nt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof N=="function"?N(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(a){return new Promise(function(u,s){a=e[o](a),i(u,s,a.done,a.value)})}}function i(o,a,u,s){Promise.resolve(s).then(function(c){o({value:c,done:u})},a)}}function it(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var zt=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},_e=function(e){return _e=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},_e(e)};function ot(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=_e(e),n=0;n<r.length;n++)r[n]!=="default"&&ce(t,e,r[n]);return zt(t,e),t}function at(e){return e&&e.__esModule?e:{default:e}}function ut(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function st(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function ct(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function ft(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Ht=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function lt(e){function t(o){e.error=e.hasError?new Ht(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(a){return t(a),i()})}else n|=1}catch(a){t(a)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function dt(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,a){return n?t?".jsx":".js":i&&(!o||!a)?r:i+o+"."+a.toLowerCase()+"js"}):e}const Nt={__extends:Ve,__assign:M,__rest:Q,__decorate:Ge,__param:Ke,__esDecorate:$e,__runInitializers:Je,__propKey:Ye,__setFunctionName:Xe,__metadata:Ze,__awaiter:ee,__generator:te,__createBinding:ce,__exportStar:Qe,__values:N,__read:O,__spread:et,__spreadArrays:oe,__spreadArray:x,__await:G,__asyncGenerator:tt,__asyncDelegator:rt,__asyncValues:nt,__makeTemplateObject:it,__importStar:ot,__importDefault:at,__classPrivateFieldGet:ut,__classPrivateFieldSet:st,__classPrivateFieldIn:ct,__addDisposableResource:ft,__disposeResources:lt,__rewriteRelativeImportExtension:dt},Wt=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:ft,get __assign(){return M},__asyncDelegator:rt,__asyncGenerator:tt,__asyncValues:nt,__await:G,__awaiter:ee,__classPrivateFieldGet:ut,__classPrivateFieldIn:ct,__classPrivateFieldSet:st,__createBinding:ce,__decorate:Ge,__disposeResources:lt,__esDecorate:$e,__exportStar:Qe,__extends:Ve,__generator:te,__importDefault:at,__importStar:ot,__makeTemplateObject:it,__metadata:Ze,__param:Ke,__propKey:Ye,__read:O,__rest:Q,__rewriteRelativeImportExtension:dt,__runInitializers:Je,__setFunctionName:Xe,__spread:et,__spreadArray:x,__spreadArrays:oe,__values:N,default:Nt},Symbol.toStringTag,{value:"Module"}));var U=function(e){return typeof e=="function"},qt=function(e){return typeof e=="string"},fe=function(e){return typeof e=="number"},Ut=function(e){return typeof e>"u"};function L(e){var t=y.useRef(e);t.current=y.useMemo(function(){return e},[e]);var r=y.useRef(void 0);return r.current||(r.current=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.current.apply(this,n)}),r.current}const Z=Bt(y.useEffect);var vt=function(e,t){var r=t.manual,n=t.ready,i=n===void 0?!0:n,o=t.defaultParams,a=o===void 0?[]:o,u=t.refreshDeps,s=u===void 0?[]:u,c=t.refreshDepsAction,h=y.useRef(!1);return h.current=!1,Z(function(){!r&&i&&(h.current=!0,e.run.apply(e,x([],O(a),!1)))},[i]),Z(function(){h.current||r||(h.current=!0,c?c():e.refresh())},x([],O(s),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};vt.onInit=function(e){var t=e.ready,r=t===void 0?!0:t,n=e.manual;return{loading:!n&&r}};function Ee(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}var Te=function(e,t){var r=y.useRef({deps:t,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!Ee(r.deps,t))&&(r.deps=t,r.obj=e(),r.initialized=!0),r.obj};function z(e){var t=y.useRef(e);return t.current=e,t}var k=function(e){var t=z(e);y.useEffect(function(){return function(){t.current()}},[])},ne=new Map,kt=function(e,t,r){var n=ne.get(e);n?.timer&&clearTimeout(n.timer);var i=void 0;t>-1&&(i=setTimeout(function(){ne.delete(e)},t)),ne.set(e,M(M({},r),{timer:i}))},Vt=function(e){return ne.get(e)},ie=new Map,Gt=function(e){return ie.get(e)},Kt=function(e,t){ie.set(e,t),t.then(function(r){return ie.delete(e),r}).catch(function(){ie.delete(e)})},q={},$t=function(e,t){q[e]&&q[e].forEach(function(r){return r(t)})},pe=function(e,t){return q[e]||(q[e]=[]),q[e].push(t),function(){var n=q[e].indexOf(t);q[e].splice(n,1)}},Jt=function(e,t){var r=t.cacheKey,n=t.cacheTime,i=n===void 0?5*60*1e3:n,o=t.staleTime,a=o===void 0?0:o,u=t.setCache,s=t.getCache,c=y.useRef(void 0),h=y.useRef(void 0),d=function(p,g){u?u(g):kt(p,i,g),$t(p,g.data)},m=function(p,g){return g===void 0&&(g=[]),s?s(g):Vt(p)};return Te(function(){if(r){var p=m(r);p&&Object.hasOwnProperty.call(p,"data")&&(e.state.data=p.data,e.state.params=p.params,(a===-1||Date.now()-p.time<=a)&&(e.state.loading=!1)),c.current=pe(r,function(g){e.setState({data:g})})}},[]),k(function(){var p;(p=c.current)===null||p===void 0||p.call(c)}),r?{onBefore:function(p){var g=m(r,p);return!g||!Object.hasOwnProperty.call(g,"data")?{}:a===-1||Date.now()-g.time<=a?{loading:!1,data:g?.data,error:void 0,returnNow:!0}:{data:g?.data,error:void 0}},onRequest:function(p,g){var b=Gt(r);return b&&b!==h.current?{servicePromise:b}:(b=p.apply(void 0,x([],O(g),!1)),h.current=b,Kt(r,b),{servicePromise:b})},onSuccess:function(p,g){var b;r&&((b=c.current)===null||b===void 0||b.call(c),d(r,{data:p,params:g,time:Date.now()}),c.current=pe(r,function(E){e.setState({data:E})}))},onMutate:function(p){var g;r&&((g=c.current)===null||g===void 0||g.call(c),d(r,{data:p,params:e.state.params,time:Date.now()}),c.current=pe(r,function(b){e.setState({data:b})}))}}:{}},Yt=function(e,t){var r=t.debounceWait,n=t.debounceLeading,i=t.debounceTrailing,o=t.debounceMaxWait,a=y.useRef(void 0),u=y.useMemo(function(){var s={};return n!==void 0&&(s.leading=n),i!==void 0&&(s.trailing=i),o!==void 0&&(s.maxWait=o),s},[n,i,o]);return y.useEffect(function(){if(r){var s=e.runAsync.bind(e);return a.current=Ue(function(c){c()},r,u),e.runAsync=function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];return new Promise(function(d,m){var p;(p=a.current)===null||p===void 0||p.call(a,function(){s.apply(void 0,x([],O(c),!1)).then(d).catch(m)})})},function(){var c;(c=a.current)===null||c===void 0||c.cancel(),e.runAsync=s}}},[r,u]),r?{onCancel:function(){var s;(s=a.current)===null||s===void 0||s.cancel()}}:{}},Xt=function(e,t){var r=t.loadingDelay,n=t.ready,i=y.useRef(void 0);if(!r)return{};var o=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return o(),n!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){o()},onCancel:function(){o()}}},W=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ce(){return W?document.visibilityState!=="hidden":!0}var Y=[];function Zt(e){return Y.push(e),function(){var r=Y.indexOf(e);Y.splice(r,1)}}if(W){var Qt=function(){if(Ce())for(var e=0;e<Y.length;e++){var t=Y[e];t()}};window.addEventListener("visibilitychange",Qt,!1)}var er=function(e,t){var r=t.pollingInterval,n=t.pollingWhenHidden,i=n===void 0?!0:n,o=t.pollingErrorRetryCount,a=o===void 0?-1:o,u=y.useRef(void 0),s=y.useRef(void 0),c=y.useRef(0),h=function(){var d;u.current&&clearTimeout(u.current),(d=s.current)===null||d===void 0||d.call(s)};return Z(function(){r||h()},[r]),r?{onBefore:function(){h()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){a===-1||a!==-1&&c.current<=a?u.current=setTimeout(function(){!i&&!Ce()?s.current=Zt(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){h()}}:{}};function tr(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r||(r=!0,e.apply(void 0,x([],O(n),!1)),setTimeout(function(){r=!1},t))}}var rr=function(){return W&&typeof navigator.onLine<"u"?navigator.onLine:!0},X=[];function nr(e){return X.push(e),function(){var r=X.indexOf(e);r>-1&&X.splice(r,1)}}if(W){var De=function(){if(!(!Ce()||!rr()))for(var e=0;e<X.length;e++){var t=X[e];t()}};window.addEventListener("visibilitychange",De,!1),window.addEventListener("focus",De,!1)}var ir=function(e,t){var r=t.refreshOnWindowFocus,n=t.focusTimespan,i=n===void 0?5e3:n,o=y.useRef(void 0),a=function(){var u;(u=o.current)===null||u===void 0||u.call(o)};return y.useEffect(function(){if(r){var u=tr(e.refresh.bind(e),i);o.current=nr(function(){u()})}return function(){a()}},[r,i]),k(function(){a()}),{}},or=function(e,t){var r=t.retryInterval,n=t.retryCount,i=y.useRef(void 0),o=y.useRef(0),a=y.useRef(!1);return n?{onBefore:function(){a.current||(o.current=0),a.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){o.current=0},onError:function(){if(o.current+=1,n===-1||o.current<=n){var u=r??Math.min(1e3*Math.pow(2,o.current),3e4);i.current=setTimeout(function(){a.current=!0,e.refresh()},u)}else o.current=0},onCancel:function(){o.current=0,i.current&&clearTimeout(i.current)}}:{}},ar=function(e,t){var r=t.throttleWait,n=t.throttleLeading,i=t.throttleTrailing,o=y.useRef(void 0),a={};return n!==void 0&&(a.leading=n),i!==void 0&&(a.trailing=i),y.useEffect(function(){if(r){var u=e.runAsync.bind(e);return o.current=ke(function(s){s()},r,a),e.runAsync=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return new Promise(function(h,d){var m;(m=o.current)===null||m===void 0||m.call(o,function(){u.apply(void 0,x([],O(s),!1)).then(h).catch(d)})})},function(){var s;e.runAsync=u,(s=o.current)===null||s===void 0||s.cancel()}}},[r,n,i]),r?{onCancel:function(){var u;(u=o.current)===null||u===void 0||u.cancel()}}:{}},ur=function(e){y.useEffect(function(){e?.()},[])},ht=function(){var e=O(y.useState({}),2),t=e[1];return y.useCallback(function(){return t({})},[])},sr=function(){function e(t,r,n,i){i===void 0&&(i={}),this.serviceRef=t,this.options=r,this.subscribe=n,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=M(M(M({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(t){t===void 0&&(t={}),this.state=M(M({},this.state),t),this.subscribe()},e.prototype.runPluginHandler=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=this.pluginImpls.map(function(o){var a;return(a=o[t])===null||a===void 0?void 0:a.call.apply(a,x([o],O(r),!1))}).filter(Boolean);return Object.assign.apply(Object,x([{}],O(i),!1))},e.prototype.runAsync=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ee(this,void 0,void 0,function(){var n,i,o,a,u,s,c,h,d,m,p,g,b,E,C,R,f,l,v,w,_;return te(this,function(S){switch(S.label){case 0:if(this.count+=1,n=this.count,i=this.runPluginHandler("onBefore",t),o=i.stopNow,a=o===void 0?!1:o,u=i.returnNow,s=u===void 0?!1:u,c=Q(i,["stopNow","returnNow"]),a)return[2,new Promise(function(){})];if(this.setState(M({loading:!0,params:t},c)),s)return[2,Promise.resolve(c.data)];(b=(g=this.options).onBefore)===null||b===void 0||b.call(g,t),S.label=1;case 1:return S.trys.push([1,3,,4]),h=this.runPluginHandler("onRequest",this.serviceRef.current,t).servicePromise,h||(h=(p=this.serviceRef).current.apply(p,x([],O(t),!1))),[4,h];case 2:return d=S.sent(),n!==this.count?[2,new Promise(function(){})]:(this.setState({data:d,error:void 0,loading:!1}),(C=(E=this.options).onSuccess)===null||C===void 0||C.call(E,d,t),this.runPluginHandler("onSuccess",d,t),(f=(R=this.options).onFinally)===null||f===void 0||f.call(R,t,d,void 0),n===this.count&&this.runPluginHandler("onFinally",t,d,void 0),[2,d]);case 3:if(m=S.sent(),n!==this.count)return[2,new Promise(function(){})];throw this.setState({error:m,loading:!1}),(v=(l=this.options).onError)===null||v===void 0||v.call(l,m,t),this.runPluginHandler("onError",m,t),(_=(w=this.options).onFinally)===null||_===void 0||_.call(w,t,void 0,m),n===this.count&&this.runPluginHandler("onFinally",t,void 0,m),m;case 4:return[2]}})})},e.prototype.run=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.runAsync.apply(this,x([],O(r),!1)).catch(function(i){t.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,x([],O(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,x([],O(this.state.params||[]),!1))},e.prototype.mutate=function(t){var r=U(t)?t(this.state.data):t;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function cr(e,t,r){t===void 0&&(t={}),r===void 0&&(r=[]);var n=t.manual,i=n===void 0?!1:n,o=t.ready,a=o===void 0?!0:o,u=Q(t,["manual","ready"]),s=M({manual:i,ready:a},u),c=z(e),h=ht(),d=Te(function(){var m=r.map(function(p){var g;return(g=p?.onInit)===null||g===void 0?void 0:g.call(p,s)}).filter(Boolean);return new sr(c,s,h,Object.assign.apply(Object,x([{}],O(m),!1)))},[]);return d.options=s,d.pluginImpls=r.map(function(m){return m(d,s)}),ur(function(){if(!i&&a){var m=d.state.params||t.defaultParams||[];d.run.apply(d,x([],O(m),!1))}}),k(function(){d.cancel()}),{loading:d.state.loading,data:d.state.data,error:d.state.error,params:d.state.params||[],cancel:L(d.cancel.bind(d)),refresh:L(d.refresh.bind(d)),refreshAsync:L(d.refreshAsync.bind(d)),run:L(d.run.bind(d)),runAsync:L(d.runAsync.bind(d)),mutate:L(d.mutate.bind(d))}}function fr(e,t,r){return cr(e,t,x(x([],O([]),!1),[Yt,Xt,er,ir,ar,vt,Jt,or],!1))}function lr(e){return U(e[Symbol.asyncIterator])}function on(e,t){y.useEffect(function(){var r=e(),n=!1;function i(){return ee(this,void 0,void 0,function(){var o;return te(this,function(a){switch(a.label){case 0:if(!lr(r))return[3,4];a.label=1;case 1:return[4,r.next()];case 2:return o=a.sent(),o.done||n?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,r];case 5:a.sent(),a.label=6;case 6:return[2]}})})}return i(),function(){n=!0}},t)}function dr(e,t){var r=O(y.useState(e),2),n=r[0],i=r[1],o=y.useMemo(function(){var a=!e,u=function(){return i(function(d){return d===e?a:e})},s=function(d){return i(d)},c=function(){return i(e)},h=function(){return i(a)};return{toggle:u,set:s,setLeft:c,setRight:h}},[]);return[n,o]}function an(e){var t=O(dr(!1),2),r=t[0],n=t[1],i=n.toggle,o=n.set,a=y.useMemo(function(){var u=function(){return o(!0)},s=function(){return o(!1)};return{toggle:i,set:function(c){return o(!!c)},setTrue:u,setFalse:s}},[]);return[r,a]}function H(e,t){if(W){if(!e)return t;var r;return U(e)?r=e():"current"in e?r=e.current:r=e,r}}var pt=function(e){var t=function(r,n,i){var o=y.useRef(!1),a=y.useRef([]),u=y.useRef([]),s=y.useRef(void 0);e(function(){var c,h=Array.isArray(i)?i:[i],d=h.map(function(m){return H(m)});if(!o.current){o.current=!0,a.current=d,u.current=n,s.current=r();return}(d.length!==a.current.length||!Ee(a.current,d)||!Ee(u.current,n))&&((c=s.current)===null||c===void 0||c.call(s),a.current=d,u.current=n,s.current=r())}),k(function(){var c;(c=s.current)===null||c===void 0||c.call(s),o.current=!1})};return t},le=pt(y.useEffect),me=function(e){if(!e)return 0;var t=Ft(e).valueOf()-Date.now();return t<0?0:t},vr=function(e){return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5)%24,minutes:Math.floor(e/6e4)%60,seconds:Math.floor(e/1e3)%60,milliseconds:Math.floor(e)%1e3}},un=function(e){e===void 0&&(e={});var t=e||{},r=t.leftTime,n=t.targetDate,i=t.interval,o=i===void 0?1e3:i,a=t.onEnd,u=y.useMemo(function(){return fe(r)&&r>0?Date.now()+r:void 0},[r]),s="leftTime"in e?u:n,c=O(y.useState(function(){return me(s)}),2),h=c[0],d=c[1],m=z(a);y.useEffect(function(){if(!s){d(0);return}d(me(s));var g=setInterval(function(){var b,E=me(s);d(E),E===0&&(clearInterval(g),(b=m.current)===null||b===void 0||b.call(m))},o);return function(){return clearInterval(g)}},[s,o]);var p=y.useMemo(function(){return vr(h)},[h]);return[h,p]};function hr(){var e=(typeof B>"u"?"undefined":typeof B)=="object"&&B&&B.Object===Object&&B,t=typeof self=="object"&&self&&self.Object===Object&&self;return e||t}hr()||(B.Date=Date);function pr(e,t){var r,n=z(e),i=(r=t?.wait)!==null&&r!==void 0?r:1e3,o=y.useMemo(function(){return Ue(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return n.current.apply(n,x([],O(a),!1))},i,t)},[]);return k(function(){o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function sn(e,t){var r=O(y.useState(e),2),n=r[0],i=r[1],o=pr(function(){i(e)},t).run;return y.useEffect(function(){o()},[e]),n}var ge,Pe;function mr(){if(Pe)return ge;Pe=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){if(o.constructor!==a.constructor)return!1;var u,s,c;if(Array.isArray(o)){if(u=o.length,u!=a.length)return!1;for(s=u;s--!==0;)if(!i(o[s],a[s]))return!1;return!0}var h;if(t&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(h=o.entries();!(s=h.next()).done;)if(!a.has(s.value[0]))return!1;for(h=o.entries();!(s=h.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(h=o.entries();!(s=h.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if(u=o.length,u!=a.length)return!1;for(s=u;s--!==0;)if(o[s]!==a[s])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&typeof o.valueOf=="function"&&typeof a.valueOf=="function")return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&typeof o.toString=="function"&&typeof a.toString=="function")return o.toString()===a.toString();if(c=Object.keys(o),u=c.length,u!==Object.keys(a).length)return!1;for(s=u;s--!==0;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(e&&o instanceof Element)return!1;for(s=u;s--!==0;)if(!((c[s]==="_owner"||c[s]==="__v"||c[s]==="__o")&&o.$$typeof)&&!i(o[c[s]],a[c[s]]))return!1;return!0}return o!==o&&a!==a}return ge=function(a,u){try{return i(a,u)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}},ge}var gr=mr();const yr=se(gr);var mt=function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=[]),yr(e,t)},gt=function(e){return function(t,r){var n=y.useRef(void 0),i=y.useRef(0);(r===void 0||!mt(r,n.current))&&(i.current+=1),n.current=r,e(t,[i.current])}};const cn=gt(y.useEffect),fn=gt(y.useLayoutEffect);function Re(e,t,r){r===void 0&&(r={});var n=r.enable,i=n===void 0?!0:n,o=z(t);le(function(){if(i){var a=H(r.target,window);if(a?.addEventListener){var u=function(c){return o.current(c)},s=Array.isArray(e)?e:[e];return s.forEach(function(c){a.addEventListener(c,u,{capture:r.capture,once:r.once,passive:r.passive})}),function(){s.forEach(function(c){a.removeEventListener(c,u,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,i],r.target)}function ln(e){var t=O(y.useState(e),2),r=t[0],n=t[1],i=z(r),o=y.useCallback(function(){return i.current},[]);return[r,n,o]}var br=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},je=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},wr=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},dn=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,o=i===void 0?100:i,a=t.direction,u=a===void 0?"bottom":a,s=t.reloadDeps,c=s===void 0?[]:s,h=t.manual,d=t.onBefore,m=t.onSuccess,p=t.onError,g=t.onFinally,b=O(y.useState(),2),E=b[0],C=b[1],R=O(y.useState(!1),2),f=R[0],l=R[1],v=u==="top",w=y.useRef(void 0),_=y.useRef(0),S=y.useMemo(function(){return n?n(E):!1},[E]),T=fr(function(j){return ee(void 0,void 0,void 0,function(){var D,I,V,J;return te(this,function(Me){switch(Me.label){case 0:return[4,e(j)];case 1:return D=Me.sent(),C(j?M(M({},D),{list:v?x(x([],O(D.list),!1),O((V=j.list)!==null&&V!==void 0?V:[]),!1):x(x([],O((J=j.list)!==null&&J!==void 0?J:[]),!1),O(D.list),!1)}):M(M({},D),{list:x([],O((I=D.list)!==null&&I!==void 0?I:[]),!1)})),[2,D]}})})},{manual:h,onFinally:function(j,D,I){l(!1),g?.(D,I)},onBefore:function(){return d?.()},onSuccess:function(j){setTimeout(function(){if(v){var D=H(r);if(D=D===document?document.documentElement:D,D){var I=je(D);D.scrollTo(0,I-_.current)}}else xe()}),m?.(j)},onError:function(j){return p?.(j)}}),A=T.loading,P=T.error,F=T.run,$=T.runAsync,re=T.cancel,ve=L(function(){S||(l(!0),F(E))}),Ct=L(function(){return S?Promise.reject():(l(!0),$(E))}),xt=function(){return l(!1),F()},Mt=function(){return l(!1),$()},xe=function(){var j=H(r);if(j){var D=j===document?document.documentElement:j,I=br(D),V=je(D),J=wr(D);v?(w.current!==void 0&&w.current>I&&I<=o&&ve(),w.current=I,_.current=V-I):V-I<=J+o&&ve()}};return Re("scroll",function(){A||f||xe()},{target:r}),Z(function(){F()},x([],O(c),!1)),{data:E,loading:!f&&A,error:P,loadingMore:f,noMore:S,loadMore:ve,loadMoreAsync:Ct,reload:L(xt),reloadAsync:L(Mt),mutate:C,cancel:re}},vn=function(e,t,r){r===void 0&&(r={});var n=L(e),i=y.useRef(null),o=y.useCallback(function(){i.current&&clearInterval(i.current)},[]);return y.useEffect(function(){if(!(!fe(t)||t<0))return r.immediate&&n(),i.current=setInterval(n,t),o},[t,r.immediate]),o},Ie={},Le;function _r(){return Le||(Le=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch{return null}}var t=function(f){for(var l=f,v=e(l);v;)l=v.ownerDocument,v=e(l);return l}(window.document),r=[],n=null,i=null;function o(f){this.time=f.time,this.target=f.target,this.rootBounds=g(f.rootBounds),this.boundingClientRect=g(f.boundingClientRect),this.intersectionRect=g(f.intersectionRect||p()),this.isIntersecting=!!f.intersectionRect;var l=this.boundingClientRect,v=l.width*l.height,w=this.intersectionRect,_=w.width*w.height;v?this.intersectionRatio=Number((_/v).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function a(f,l){var v=l||{};if(typeof f!="function")throw new Error("callback must be a function");if(v.root&&v.root.nodeType!=1&&v.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=s(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(v.rootMargin),this.thresholds=this._initThresholds(v.threshold),this.root=v.root||null,this.rootMargin=this._rootMarginValues.map(function(w){return w.value+w.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(f,l){!f||!l?i=p():i=b(f,l),r.forEach(function(v){v._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,i=null},a.prototype.observe=function(f){var l=this._observationTargets.some(function(v){return v.element==f});if(!l){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(l){return l.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},a.prototype._initThresholds=function(f){var l=f||[0];return Array.isArray(l)||(l=[l]),l.sort().filter(function(v,w,_){if(typeof v!="number"||isNaN(v)||v<0||v>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return v!==_[w-1]})},a.prototype._parseRootMargin=function(f){var l=f||"0px",v=l.split(/\s+/).map(function(w){var _=/^(-?\d*\.?\d+)(px|%)$/.exec(w);if(!_)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(_[1]),unit:_[2]}});return v[1]=v[1]||v[0],v[2]=v[2]||v[0],v[3]=v[3]||v[1],v},a.prototype._monitorIntersections=function(f){var l=f.defaultView;if(l&&this._monitoringDocuments.indexOf(f)==-1){var v=this._checkForIntersections,w=null,_=null;this.POLL_INTERVAL?w=l.setInterval(v,this.POLL_INTERVAL):(c(l,"resize",v,!0),c(f,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in l&&(_=new l.MutationObserver(v),_.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var A=f.defaultView;A&&(w&&A.clearInterval(w),h(A,"resize",v,!0)),h(f,"scroll",v,!0),_&&_.disconnect()});var S=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=S){var T=e(f);T&&this._monitorIntersections(T.ownerDocument)}}},a.prototype._unmonitorIntersections=function(f){var l=this._monitoringDocuments.indexOf(f);if(l!=-1){var v=this.root&&(this.root.ownerDocument||this.root)||t,w=this._observationTargets.some(function(T){var A=T.element.ownerDocument;if(A==f)return!0;for(;A&&A!=v;){var P=e(A);if(A=P&&P.ownerDocument,A==f)return!0}return!1});if(!w){var _=this._monitoringUnsubscribes[l];if(this._monitoringDocuments.splice(l,1),this._monitoringUnsubscribes.splice(l,1),_(),f!=v){var S=e(f);S&&this._unmonitorIntersections(S.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var l=0;l<f.length;l++)f[l]()},a.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!i)){var f=this._rootIsInDom(),l=f?this._getRootRect():p();this._observationTargets.forEach(function(v){var w=v.element,_=m(w),S=this._rootContainsTarget(w),T=v.entry,A=f&&S&&this._computeTargetAndRootIntersection(w,_,l),P=null;this._rootContainsTarget(w)?(!n||this.root)&&(P=l):P=p();var F=v.entry=new o({time:u(),target:w,boundingClientRect:_,rootBounds:P,intersectionRect:A});T?f&&S?this._hasCrossedThreshold(T,F)&&this._queuedEntries.push(F):T&&T.isIntersecting&&this._queuedEntries.push(F):this._queuedEntries.push(F)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(f,l,v){if(window.getComputedStyle(f).display!="none"){for(var w=l,_=C(f),S=!1;!S&&_;){var T=null,A=_.nodeType==1?window.getComputedStyle(_):{};if(A.display=="none")return null;if(_==this.root||_.nodeType==9)if(S=!0,_==this.root||_==t)n&&!this.root?!i||i.width==0&&i.height==0?(_=null,T=null,w=null):T=i:T=v;else{var P=C(_),F=P&&m(P),$=P&&this._computeTargetAndRootIntersection(P,F,v);F&&$?(_=P,T=b(F,$)):(_=null,w=null)}else{var re=_.ownerDocument;_!=re.body&&_!=re.documentElement&&A.overflow!="visible"&&(T=m(_))}if(T&&(w=d(T,w)),!w)break;_=_&&C(_)}return w}},a.prototype._getRootRect=function(){var f;if(this.root&&!R(this.root))f=m(this.root);else{var l=R(this.root)?this.root:t,v=l.documentElement,w=l.body;f={top:0,left:0,right:v.clientWidth||w.clientWidth,width:v.clientWidth||w.clientWidth,bottom:v.clientHeight||w.clientHeight,height:v.clientHeight||w.clientHeight}}return this._expandRectByRootMargin(f)},a.prototype._expandRectByRootMargin=function(f){var l=this._rootMarginValues.map(function(w,_){return w.unit=="px"?w.value:w.value*(_%2?f.width:f.height)/100}),v={top:f.top-l[0],right:f.right+l[1],bottom:f.bottom+l[2],left:f.left-l[3]};return v.width=v.right-v.left,v.height=v.bottom-v.top,v},a.prototype._hasCrossedThreshold=function(f,l){var v=f&&f.isIntersecting?f.intersectionRatio||0:-1,w=l.isIntersecting?l.intersectionRatio||0:-1;if(v!==w)for(var _=0;_<this.thresholds.length;_++){var S=this.thresholds[_];if(S==v||S==w||S<v!=S<w)return!0}},a.prototype._rootIsInDom=function(){return!this.root||E(t,this.root)},a.prototype._rootContainsTarget=function(f){var l=this.root&&(this.root.ownerDocument||this.root)||t;return E(l,f)&&(!this.root||l==f.ownerDocument)},a.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},a.prototype._unregisterInstance=function(){var f=r.indexOf(this);f!=-1&&r.splice(f,1)};function u(){return window.performance&&performance.now&&performance.now()}function s(f,l){var v=null;return function(){v||(v=setTimeout(function(){f(),v=null},l))}}function c(f,l,v,w){typeof f.addEventListener=="function"?f.addEventListener(l,v,w):typeof f.attachEvent=="function"&&f.attachEvent("on"+l,v)}function h(f,l,v,w){typeof f.removeEventListener=="function"?f.removeEventListener(l,v,w):typeof f.detachEvent=="function"&&f.detachEvent("on"+l,v)}function d(f,l){var v=Math.max(f.top,l.top),w=Math.min(f.bottom,l.bottom),_=Math.max(f.left,l.left),S=Math.min(f.right,l.right),T=S-_,A=w-v;return T>=0&&A>=0&&{top:v,bottom:w,left:_,right:S,width:T,height:A}||null}function m(f){var l;try{l=f.getBoundingClientRect()}catch{}return l?(l.width&&l.height||(l={top:l.top,right:l.right,bottom:l.bottom,left:l.left,width:l.right-l.left,height:l.bottom-l.top}),l):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function g(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function b(f,l){var v=l.top-f.top,w=l.left-f.left;return{top:v,left:w,height:l.height,width:l.width,bottom:v+l.height,right:w+l.width}}function E(f,l){for(var v=l;v;){if(v==f)return!0;v=C(v)}return!1}function C(f){var l=f.parentNode;return f.nodeType==9&&f!=t?e(f):(l&&l.assignedSlot&&(l=l.assignedSlot.parentNode),l&&l.nodeType==11&&l.host?l.host:l)}function R(f){return f&&f.nodeType===9}window.IntersectionObserver=a,window.IntersectionObserverEntry=o}()),Ie}_r();function hn(e,t){var r={},n=r.callback,i=Q(r,["callback"]),o=O(y.useState(),2),a=o[0],u=o[1],s=O(y.useState(),2),c=s[0],h=s[1];return le(function(){var d=Array.isArray(e)?e:[e],m=d.map(function(g){return H(g)}).filter(Boolean);if(m.length){var p=new IntersectionObserver(function(g){var b,E;try{for(var C=N(g),R=C.next();!R.done;R=C.next()){var f=R.value;h(f.intersectionRatio),u(f.isIntersecting),n?.(f)}}catch(l){b={error:l}}finally{try{R&&!R.done&&(E=C.return)&&E.call(C)}finally{if(b)throw b.error}}},M(M({},i),{root:H(void 0)}));return m.forEach(function(g){return p.observe(g)}),function(){p.disconnect()}}},[void 0,void 0,n],e),[a,c]}var Er=function(e,t,r){var n=y.useRef(void 0),i=y.useRef(0);mt(t,n.current)||(i.current+=1),n.current=t,le(e,[i.current],r)},Rr=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator?.platform:""),yt={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:Rr?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},Oe={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return e.type==="keyup"?yt.meta.includes(e.keyCode):e.metaKey}};function bt(e){return qt(e)||fe(e)}function Or(e){var t=Object.keys(Oe).reduce(function(r,n){return Oe[n](e)?r+1:r},0);return[16,17,18,91,92].includes(e.keyCode)?t:t+1}function Fe(e,t,r){var n,i;if(!e.key)return!1;if(fe(t))return e.keyCode===t?t:!1;var o=t.split("."),a=0;try{for(var u=N(o),s=u.next();!s.done;s=u.next()){var c=s.value,h=Oe[c],d=yt[c.toLowerCase()];(h&&h(e)||d&&d===e.keyCode)&&a++}}catch(m){n={error:m}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return r?a===o.length&&Or(e)===o.length?t:!1:a===o.length?t:!1}function Sr(e,t){return U(e)?e:bt(e)?function(r){return Fe(r,e,t)}:Array.isArray(e)?function(r){return e.find(function(n){return Fe(r,n,t)})}:function(){return!!e}}var Tr=["keydown"];function pn(e,t,r){var n=r||{},i=n.events,o=i===void 0?Tr:i,a=n.target,u=n.exactMatch,s=u===void 0?!1:u,c=n.useCapture,h=c===void 0?!1:c,d=z(t),m=z(e);Er(function(){var p,g,b,E=H(a,window);if(E){var C=function(v){var w,_=Sr(m.current,s),S=_(v),T=bt(S)?S:v.key;if(S)return(w=d.current)===null||w===void 0?void 0:w.call(d,v,T)};try{for(var R=N(o),f=R.next();!f.done;f=R.next()){var l=f.value;(b=E?.addEventListener)===null||b===void 0||b.call(E,l,C,h)}}catch(v){p={error:v}}finally{try{f&&!f.done&&(g=R.return)&&g.call(R)}finally{if(p)throw p.error}}return function(){var v,w,_;try{for(var S=N(o),T=S.next();!T.done;T=S.next()){var A=T.value;(_=E?.removeEventListener)===null||_===void 0||_.call(E,A,C,h)}}catch(P){v={error:P}}finally{try{T&&!T.done&&(w=S.return)&&w.call(S)}finally{if(v)throw v.error}}}}},[o],a)}var Be="AHOOKS_SYNC_STORAGE_EVENT_NAME";function wt(e){function t(r,n){n===void 0&&(n={});var i,o=n.listenStorageChange,a=o===void 0?!1:o,u=n.onError,s=u===void 0?function(R){console.error(R)}:u;try{i=e()}catch(R){s(R)}var c=function(R){return n.serializer?n.serializer(R):JSON.stringify(R)},h=function(R){return n.deserializer?n.deserializer(R):JSON.parse(R)};function d(){try{var R=i?.getItem(r);if(R)return h(R)}catch(f){s(f)}return U(n.defaultValue)?n.defaultValue():n.defaultValue}var m=O(y.useState(d),2),p=m[0],g=m[1];Z(function(){g(d())},[r]);var b=function(R){var f=U(R)?R(p):R;a||g(f);try{var l=void 0,v=i?.getItem(r);Ut(f)?(l=null,i?.removeItem(r)):(l=c(f),i?.setItem(r,l)),dispatchEvent(new CustomEvent(Be,{detail:{key:r,newValue:l,oldValue:v,storageArea:i}}))}catch(w){s(w)}},E=function(R){R.key!==r||R.storageArea!==i||g(d())},C=function(R){E(R.detail)};return Re("storage",E,{enable:a}),Re(Be,C,{enable:a}),[p,L(b)]}return t}var mn=wt(function(){return W?localStorage:void 0});function Cr(e){var t=y.useRef(0),r=O(y.useState(e),2),n=r[0],i=r[1],o=y.useCallback(function(a){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(a)})},[]);return k(function(){cancelAnimationFrame(t.current)}),[n,o]}var xr=function(e,t){return!Object.is(e,t)};function gn(e,t){t===void 0&&(t=xr);var r=y.useRef(void 0),n=y.useRef(void 0);return t(n.current,e)&&(r.current=n.current,n.current=e),r.current}var ze=new WeakMap,He=new WeakMap;function _t(e,t){var r=ze.get(e);if(r)return r;if(He.has(e))return e;var n=new Proxy(e,{get:function(i,o,a){var u=Reflect.get(i,o,a),s=Reflect.getOwnPropertyDescriptor(i,o);return!s?.configurable&&!s?.writable?u:Pt(u)||Array.isArray(u)?_t(u,t):u},set:function(i,o,a){var u=Reflect.set(i,o,a);return t(),u},deleteProperty:function(i,o){var a=Reflect.deleteProperty(i,o);return t(),a}});return ze.set(e,n),He.set(n,e),n}function yn(e){var t=ht(),r=y.useRef(e),n=Te(function(){return _t(r.current,function(){t()})},[]);return n}var bn=wt(function(){return W?sessionStorage:void 0}),wn=function(e){var t=O(y.useState(e),2),r=t[0],n=t[1],i=L(function(o){n(function(a){var u=U(o)?o(a):o;return u?M(M({},a),u):a})});return[r,i]},Et=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,o){return i[0]===r?(n=o,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,o=this.__entries__;i<o.length;i++){var a=o[i];r.call(n,a[1],a[0])}},t}()}(),Se=typeof window<"u"&&typeof document<"u"&&window.document===document,ae=function(){return typeof B<"u"&&B.Math===Math?B:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Mr=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ae):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Ar=2;function Dr(e,t){var r=!1,n=!1,i=0;function o(){r&&(r=!1,e()),n&&u()}function a(){Mr(o)}function u(){var s=Date.now();if(r){if(s-i<Ar)return;n=!0}else r=!0,n=!1,setTimeout(a,t);i=s}return u}var Pr=20,jr=["top","right","bottom","left","width","height","size","weight"],Ir=typeof MutationObserver<"u",Lr=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Dr(this.refresh.bind(this),Pr)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Se||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ir?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Se||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=jr.some(function(o){return!!~n.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Rt=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},K=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ae},Ot=de(0,0,0,0);function ue(e){return parseFloat(e)||0}function Ne(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var o=e["border-"+i+"-width"];return n+ue(o)},0)}function Fr(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var o=i[n],a=e["padding-"+o];r[o]=ue(a)}return r}function Br(e){var t=e.getBBox();return de(0,0,t.width,t.height)}function zr(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Ot;var n=K(e).getComputedStyle(e),i=Fr(n),o=i.left+i.right,a=i.top+i.bottom,u=ue(n.width),s=ue(n.height);if(n.boxSizing==="border-box"&&(Math.round(u+o)!==t&&(u-=Ne(n,"left","right")+o),Math.round(s+a)!==r&&(s-=Ne(n,"top","bottom")+a)),!Nr(e)){var c=Math.round(u+o)-t,h=Math.round(s+a)-r;Math.abs(c)!==1&&(u-=c),Math.abs(h)!==1&&(s-=h)}return de(i.left,i.top,u,s)}var Hr=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof K(e).SVGGraphicsElement}:function(e){return e instanceof K(e).SVGElement&&typeof e.getBBox=="function"}}();function Nr(e){return e===K(e).document.documentElement}function Wr(e){return Se?Hr(e)?Br(e):zr(e):Ot}function qr(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(o.prototype);return Rt(a,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),a}function de(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Ur=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=de(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Wr(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),kr=function(){function e(t,r){var n=qr(r);Rt(this,{target:t,contentRect:n})}return e}(),Vr=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new Et,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof K(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Ur(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof K(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new kr(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),St=typeof WeakMap<"u"?new WeakMap:new Et,Tt=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Lr.getInstance(),n=new Vr(t,r,this);St.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Tt.prototype[e]=function(){var t;return(t=St.get(this))[e].apply(t,arguments)}});var Gr=function(){return typeof ae.ResizeObserver<"u"?ae.ResizeObserver:Tt}(),Kr=pt(y.useLayoutEffect),$r=W?Kr:le;function _n(e){var t=O(Cr(function(){var i=H(e);return i?{width:i.clientWidth,height:i.clientHeight}:void 0}),2),r=t[0],n=t[1];return $r(function(){var i=H(e);if(i){var o=new Gr(function(a){a.forEach(function(u){var s=u.target,c=s.clientWidth,h=s.clientHeight;n({width:c,height:h})})});return o.observe(i),function(){o.disconnect()}}},[],e),r}function En(e,t){var r,n=z(e),i=(r=t?.wait)!==null&&r!==void 0?r:1e3,o=y.useMemo(function(){return ke(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return n.current.apply(n,x([],O(a),!1))},i,t)},[]);return k(function(){o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}var ye,We;function Jr(){return We||(We=1,ye=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),ye}var be,qe;function Yr(){if(qe)return be;qe=1;var e=Jr(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(o){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,a)}function i(o,a){var u,s,c,h,d,m,p=!1;a||(a={}),u=a.debug||!1;try{c=e(),h=document.createRange(),d=document.getSelection(),m=document.createElement("span"),m.textContent=o,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(b){if(b.stopPropagation(),a.format)if(b.preventDefault(),typeof b.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var E=t[a.format]||t.default;window.clipboardData.setData(E,o)}else b.clipboardData.clearData(),b.clipboardData.setData(a.format,o);a.onCopy&&(b.preventDefault(),a.onCopy(b.clipboardData))}),document.body.appendChild(m),h.selectNodeContents(m),d.addRange(h);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");p=!0}catch(b){u&&console.error("unable to copy using execCommand: ",b),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),p=!0}catch(E){u&&console.error("unable to copy using clipboardData: ",E),u&&console.error("falling back to prompt"),s=n("message"in a?a.message:r),window.prompt(s,o)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(h):d.removeAllRanges()),m&&document.body.removeChild(m),c()}return p}return be=i,be}var Xr=Yr();const Rn=se(Xr),On=At(Wt);function Zr(){var e=y.useRef(!1),t=y.useCallback(function(){return e.current},[]);return y.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function Qr(e,t,r){t===void 0&&(t=[]),r===void 0&&(r={loading:!1});var n=y.useRef(0),i=Zr(),o=y.useState(r),a=o[0],u=o[1],s=y.useCallback(function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];var d=++n.current;return a.loading||u(function(m){return M(M({},m),{loading:!0})}),e.apply(void 0,c).then(function(m){return i()&&d===n.current&&u({value:m,loading:!1}),m},function(m){return i()&&d===n.current&&u({error:m,loading:!1}),m})},t);return[a,s]}function en(e,t){t===void 0&&(t=[]);var r=Qr(e,t,{loading:!0}),n=r[0],i=r[1];return y.useEffect(function(){i()},[i]),n}var Sn=function(e,t){t===void 0&&(t=[]);var r=y.useState(0),n=r[0],i=r[1],o=en(e,oe(t,[n])),a=o.loading,u=y.useCallback(function(){a||i(function(s){return s+1})},oe(t,[a]));return M(M({},o),{retry:u})};export{an as A,ht as B,nn as C,fn as D,Ve as E,ee as F,te as G,M as H,yr as I,En as J,gn as K,Z as L,Ge as _,Te as a,L as b,Rn as c,Ft as d,_n as e,z as f,yn as g,ur as h,cn as i,on as j,fr as k,wn as l,k as m,un as n,bn as o,hn as p,dn as q,On as r,Sn as s,mn as t,pr as u,sn as v,en as w,ln as x,vn as y,pn as z};
|
|
7
|
+
*/var Ae;function jt(){return Ae||(Ae=1,function(e,t){(function(r){var n;if(e.exports=r(),n=!0,!n){var i=window.Cookies,o=window.Cookies=r();o.noConflict=function(){return window.Cookies=i,o}}})(function(){function r(){for(var o=0,a={};o<arguments.length;o++){var u=arguments[o];for(var s in u)a[s]=u[s]}return a}function n(o){return o.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(o){function a(){}function u(c,h,d){if(!(typeof document>"u")){d=r({path:"/"},a.defaults,d),typeof d.expires=="number"&&(d.expires=new Date(new Date*1+d.expires*864e5)),d.expires=d.expires?d.expires.toUTCString():"";try{var m=JSON.stringify(h);/^[\{\[]/.test(m)&&(h=m)}catch{}h=o.write?o.write(h,c):encodeURIComponent(String(h)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var p="";for(var g in d)d[g]&&(p+="; "+g,d[g]!==!0&&(p+="="+d[g].split(";")[0]));return document.cookie=c+"="+h+p}}function s(c,h){if(!(typeof document>"u")){for(var d={},m=document.cookie?document.cookie.split("; "):[],p=0;p<m.length;p++){var g=m[p].split("="),b=g.slice(1).join("=");!h&&b.charAt(0)==='"'&&(b=b.slice(1,-1));try{var E=n(g[0]);if(b=(o.read||o)(b,E)||n(b),h)try{b=JSON.parse(b)}catch{}if(d[E]=b,c===E)break}catch{}}return c?d[c]:d}}return a.set=u,a.get=function(c){return s(c,!1)},a.getJSON=function(c){return s(c,!0)},a.remove=function(c,h){u(c,"",r(h,{expires:-1}))},a.defaults={},a.withConverter=i,a}return i(function(){})})}(he)),he.exports}var It=jt();const nn=se(It);var Lt=Dt();const Ft=se(Lt);var Bt=function(e){return function(t,r){var n=y.useRef(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(!n.current)n.current=!0;else return t()},r)}},we=function(e,t){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},we(e,t)};function Ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");we(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var M=function(){return M=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},M.apply(this,arguments)};function Q(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Ge(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(o=(i<3?a(o):i>3?a(t,r,o):a(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function Ke(e,t){return function(r,n){t(r,n,e)}}function $e(e,t,r,n,i,o){function a(C){if(C!==void 0&&typeof C!="function")throw new TypeError("Function expected");return C}for(var u=n.kind,s=u==="getter"?"get":u==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,h=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),d,m=!1,p=r.length-1;p>=0;p--){var g={};for(var b in n)g[b]=b==="access"?{}:n[b];for(var b in n.access)g.access[b]=n.access[b];g.addInitializer=function(C){if(m)throw new TypeError("Cannot add initializers after decoration has completed");o.push(a(C||null))};var E=(0,r[p])(u==="accessor"?{get:h.get,set:h.set}:h[s],g);if(u==="accessor"){if(E===void 0)continue;if(E===null||typeof E!="object")throw new TypeError("Object expected");(d=a(E.get))&&(h.get=d),(d=a(E.set))&&(h.set=d),(d=a(E.init))&&i.unshift(d)}else(d=a(E))&&(u==="field"?i.unshift(d):h[s]=d)}c&&Object.defineProperty(c,n.name,h),m=!0}function Je(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function Ye(e){return typeof e=="symbol"?e:"".concat(e)}function Xe(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ze(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function ee(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function u(h){try{c(n.next(h))}catch(d){a(d)}}function s(h){try{c(n.throw(h))}catch(d){a(d)}}function c(h){h.done?o(h.value):i(h.value).then(u,s)}c((n=n.apply(e,t||[])).next())})}function te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(c){return function(h){return s([c,h])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){r.label=c[1];break}if(c[0]===6&&r.label<o[1]){r.label=o[1],o=c;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(c);break}o[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(h){c=[6,h],i=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ce=Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};function Qe(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&ce(t,e,r)}function N(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(u){a={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function et(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(O(arguments[t]));return e}function oe(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)n[i]=o[a];return n}function x(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function G(e){return this instanceof G?(this.v=e,this):new G(e)}function tt(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(p){return function(g){return Promise.resolve(g).then(p,d)}}function u(p,g){n[p]&&(i[p]=function(b){return new Promise(function(E,C){o.push([p,b,E,C])>1||s(p,b)})},g&&(i[p]=g(i[p])))}function s(p,g){try{c(n[p](g))}catch(b){m(o[0][3],b)}}function c(p){p.value instanceof G?Promise.resolve(p.value.v).then(h,d):m(o[0][2],p)}function h(p){s("next",p)}function d(p){s("throw",p)}function m(p,g){p(g),o.shift(),o.length&&s(o[0][0],o[0][1])}}function rt(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(a){return(r=!r)?{value:G(e[i](a)),done:!1}:o?o(a):a}:o}}function nt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof N=="function"?N(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(a){return new Promise(function(u,s){a=e[o](a),i(u,s,a.done,a.value)})}}function i(o,a,u,s){Promise.resolve(s).then(function(c){o({value:c,done:u})},a)}}function it(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var zt=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},_e=function(e){return _e=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},_e(e)};function ot(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=_e(e),n=0;n<r.length;n++)r[n]!=="default"&&ce(t,e,r[n]);return zt(t,e),t}function at(e){return e&&e.__esModule?e:{default:e}}function ut(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function st(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function ct(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function ft(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Ht=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function lt(e){function t(o){e.error=e.hasError?new Ht(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(a){return t(a),i()})}else n|=1}catch(a){t(a)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function dt(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,a){return n?t?".jsx":".js":i&&(!o||!a)?r:i+o+"."+a.toLowerCase()+"js"}):e}const Nt={__extends:Ve,__assign:M,__rest:Q,__decorate:Ge,__param:Ke,__esDecorate:$e,__runInitializers:Je,__propKey:Ye,__setFunctionName:Xe,__metadata:Ze,__awaiter:ee,__generator:te,__createBinding:ce,__exportStar:Qe,__values:N,__read:O,__spread:et,__spreadArrays:oe,__spreadArray:x,__await:G,__asyncGenerator:tt,__asyncDelegator:rt,__asyncValues:nt,__makeTemplateObject:it,__importStar:ot,__importDefault:at,__classPrivateFieldGet:ut,__classPrivateFieldSet:st,__classPrivateFieldIn:ct,__addDisposableResource:ft,__disposeResources:lt,__rewriteRelativeImportExtension:dt},Wt=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:ft,get __assign(){return M},__asyncDelegator:rt,__asyncGenerator:tt,__asyncValues:nt,__await:G,__awaiter:ee,__classPrivateFieldGet:ut,__classPrivateFieldIn:ct,__classPrivateFieldSet:st,__createBinding:ce,__decorate:Ge,__disposeResources:lt,__esDecorate:$e,__exportStar:Qe,__extends:Ve,__generator:te,__importDefault:at,__importStar:ot,__makeTemplateObject:it,__metadata:Ze,__param:Ke,__propKey:Ye,__read:O,__rest:Q,__rewriteRelativeImportExtension:dt,__runInitializers:Je,__setFunctionName:Xe,__spread:et,__spreadArray:x,__spreadArrays:oe,__values:N,default:Nt},Symbol.toStringTag,{value:"Module"}));var U=function(e){return typeof e=="function"},qt=function(e){return typeof e=="string"},fe=function(e){return typeof e=="number"},Ut=function(e){return typeof e>"u"};function L(e){var t=y.useRef(e);t.current=y.useMemo(function(){return e},[e]);var r=y.useRef(void 0);return r.current||(r.current=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.current.apply(this,n)}),r.current}const Z=Bt(y.useEffect);var vt=function(e,t){var r=t.manual,n=t.ready,i=n===void 0?!0:n,o=t.defaultParams,a=o===void 0?[]:o,u=t.refreshDeps,s=u===void 0?[]:u,c=t.refreshDepsAction,h=y.useRef(!1);return h.current=!1,Z(function(){!r&&i&&(h.current=!0,e.run.apply(e,x([],O(a),!1)))},[i]),Z(function(){h.current||r||(h.current=!0,c?c():e.refresh())},x([],O(s),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};vt.onInit=function(e){var t=e.ready,r=t===void 0?!0:t,n=e.manual;return{loading:!n&&r}};function Ee(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}var Te=function(e,t){var r=y.useRef({deps:t,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!Ee(r.deps,t))&&(r.deps=t,r.obj=e(),r.initialized=!0),r.obj};function z(e){var t=y.useRef(e);return t.current=e,t}var k=function(e){var t=z(e);y.useEffect(function(){return function(){t.current()}},[])},ne=new Map,kt=function(e,t,r){var n=ne.get(e);n?.timer&&clearTimeout(n.timer);var i=void 0;t>-1&&(i=setTimeout(function(){ne.delete(e)},t)),ne.set(e,M(M({},r),{timer:i}))},Vt=function(e){return ne.get(e)},ie=new Map,Gt=function(e){return ie.get(e)},Kt=function(e,t){ie.set(e,t),t.then(function(r){return ie.delete(e),r}).catch(function(){ie.delete(e)})},q={},$t=function(e,t){q[e]&&q[e].forEach(function(r){return r(t)})},pe=function(e,t){return q[e]||(q[e]=[]),q[e].push(t),function(){var n=q[e].indexOf(t);q[e].splice(n,1)}},Jt=function(e,t){var r=t.cacheKey,n=t.cacheTime,i=n===void 0?5*60*1e3:n,o=t.staleTime,a=o===void 0?0:o,u=t.setCache,s=t.getCache,c=y.useRef(void 0),h=y.useRef(void 0),d=function(p,g){u?u(g):kt(p,i,g),$t(p,g.data)},m=function(p,g){return g===void 0&&(g=[]),s?s(g):Vt(p)};return Te(function(){if(r){var p=m(r);p&&Object.hasOwnProperty.call(p,"data")&&(e.state.data=p.data,e.state.params=p.params,(a===-1||Date.now()-p.time<=a)&&(e.state.loading=!1)),c.current=pe(r,function(g){e.setState({data:g})})}},[]),k(function(){var p;(p=c.current)===null||p===void 0||p.call(c)}),r?{onBefore:function(p){var g=m(r,p);return!g||!Object.hasOwnProperty.call(g,"data")?{}:a===-1||Date.now()-g.time<=a?{loading:!1,data:g?.data,error:void 0,returnNow:!0}:{data:g?.data,error:void 0}},onRequest:function(p,g){var b=Gt(r);return b&&b!==h.current?{servicePromise:b}:(b=p.apply(void 0,x([],O(g),!1)),h.current=b,Kt(r,b),{servicePromise:b})},onSuccess:function(p,g){var b;r&&((b=c.current)===null||b===void 0||b.call(c),d(r,{data:p,params:g,time:Date.now()}),c.current=pe(r,function(E){e.setState({data:E})}))},onMutate:function(p){var g;r&&((g=c.current)===null||g===void 0||g.call(c),d(r,{data:p,params:e.state.params,time:Date.now()}),c.current=pe(r,function(b){e.setState({data:b})}))}}:{}},Yt=function(e,t){var r=t.debounceWait,n=t.debounceLeading,i=t.debounceTrailing,o=t.debounceMaxWait,a=y.useRef(void 0),u=y.useMemo(function(){var s={};return n!==void 0&&(s.leading=n),i!==void 0&&(s.trailing=i),o!==void 0&&(s.maxWait=o),s},[n,i,o]);return y.useEffect(function(){if(r){var s=e.runAsync.bind(e);return a.current=Ue(function(c){c()},r,u),e.runAsync=function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];return new Promise(function(d,m){var p;(p=a.current)===null||p===void 0||p.call(a,function(){s.apply(void 0,x([],O(c),!1)).then(d).catch(m)})})},function(){var c;(c=a.current)===null||c===void 0||c.cancel(),e.runAsync=s}}},[r,u]),r?{onCancel:function(){var s;(s=a.current)===null||s===void 0||s.cancel()}}:{}},Xt=function(e,t){var r=t.loadingDelay,n=t.ready,i=y.useRef(void 0);if(!r)return{};var o=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return o(),n!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){o()},onCancel:function(){o()}}},W=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ce(){return W?document.visibilityState!=="hidden":!0}var Y=[];function Zt(e){return Y.push(e),function(){var r=Y.indexOf(e);Y.splice(r,1)}}if(W){var Qt=function(){if(Ce())for(var e=0;e<Y.length;e++){var t=Y[e];t()}};window.addEventListener("visibilitychange",Qt,!1)}var er=function(e,t){var r=t.pollingInterval,n=t.pollingWhenHidden,i=n===void 0?!0:n,o=t.pollingErrorRetryCount,a=o===void 0?-1:o,u=y.useRef(void 0),s=y.useRef(void 0),c=y.useRef(0),h=function(){var d;u.current&&clearTimeout(u.current),(d=s.current)===null||d===void 0||d.call(s)};return Z(function(){r||h()},[r]),r?{onBefore:function(){h()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){a===-1||a!==-1&&c.current<=a?u.current=setTimeout(function(){!i&&!Ce()?s.current=Zt(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){h()}}:{}};function tr(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r||(r=!0,e.apply(void 0,x([],O(n),!1)),setTimeout(function(){r=!1},t))}}var rr=function(){return W&&typeof navigator.onLine<"u"?navigator.onLine:!0},X=[];function nr(e){return X.push(e),function(){var r=X.indexOf(e);r>-1&&X.splice(r,1)}}if(W){var De=function(){if(!(!Ce()||!rr()))for(var e=0;e<X.length;e++){var t=X[e];t()}};window.addEventListener("visibilitychange",De,!1),window.addEventListener("focus",De,!1)}var ir=function(e,t){var r=t.refreshOnWindowFocus,n=t.focusTimespan,i=n===void 0?5e3:n,o=y.useRef(void 0),a=function(){var u;(u=o.current)===null||u===void 0||u.call(o)};return y.useEffect(function(){if(r){var u=tr(e.refresh.bind(e),i);o.current=nr(function(){u()})}return function(){a()}},[r,i]),k(function(){a()}),{}},or=function(e,t){var r=t.retryInterval,n=t.retryCount,i=y.useRef(void 0),o=y.useRef(0),a=y.useRef(!1);return n?{onBefore:function(){a.current||(o.current=0),a.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){o.current=0},onError:function(){if(o.current+=1,n===-1||o.current<=n){var u=r??Math.min(1e3*Math.pow(2,o.current),3e4);i.current=setTimeout(function(){a.current=!0,e.refresh()},u)}else o.current=0},onCancel:function(){o.current=0,i.current&&clearTimeout(i.current)}}:{}},ar=function(e,t){var r=t.throttleWait,n=t.throttleLeading,i=t.throttleTrailing,o=y.useRef(void 0),a={};return n!==void 0&&(a.leading=n),i!==void 0&&(a.trailing=i),y.useEffect(function(){if(r){var u=e.runAsync.bind(e);return o.current=ke(function(s){s()},r,a),e.runAsync=function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return new Promise(function(h,d){var m;(m=o.current)===null||m===void 0||m.call(o,function(){u.apply(void 0,x([],O(s),!1)).then(h).catch(d)})})},function(){var s;e.runAsync=u,(s=o.current)===null||s===void 0||s.cancel()}}},[r,n,i]),r?{onCancel:function(){var u;(u=o.current)===null||u===void 0||u.cancel()}}:{}},ur=function(e){y.useEffect(function(){e?.()},[])},ht=function(){var e=O(y.useState({}),2),t=e[1];return y.useCallback(function(){return t({})},[])},sr=function(){function e(t,r,n,i){i===void 0&&(i={}),this.serviceRef=t,this.options=r,this.subscribe=n,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=M(M(M({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(t){t===void 0&&(t={}),this.state=M(M({},this.state),t),this.subscribe()},e.prototype.runPluginHandler=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=this.pluginImpls.map(function(o){var a;return(a=o[t])===null||a===void 0?void 0:a.call.apply(a,x([o],O(r),!1))}).filter(Boolean);return Object.assign.apply(Object,x([{}],O(i),!1))},e.prototype.runAsync=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ee(this,void 0,void 0,function(){var n,i,o,a,u,s,c,h,d,m,p,g,b,E,C,R,f,l,v,w,_;return te(this,function(S){switch(S.label){case 0:if(this.count+=1,n=this.count,i=this.runPluginHandler("onBefore",t),o=i.stopNow,a=o===void 0?!1:o,u=i.returnNow,s=u===void 0?!1:u,c=Q(i,["stopNow","returnNow"]),a)return[2,new Promise(function(){})];if(this.setState(M({loading:!0,params:t},c)),s)return[2,Promise.resolve(c.data)];(b=(g=this.options).onBefore)===null||b===void 0||b.call(g,t),S.label=1;case 1:return S.trys.push([1,3,,4]),h=this.runPluginHandler("onRequest",this.serviceRef.current,t).servicePromise,h||(h=(p=this.serviceRef).current.apply(p,x([],O(t),!1))),[4,h];case 2:return d=S.sent(),n!==this.count?[2,new Promise(function(){})]:(this.setState({data:d,error:void 0,loading:!1}),(C=(E=this.options).onSuccess)===null||C===void 0||C.call(E,d,t),this.runPluginHandler("onSuccess",d,t),(f=(R=this.options).onFinally)===null||f===void 0||f.call(R,t,d,void 0),n===this.count&&this.runPluginHandler("onFinally",t,d,void 0),[2,d]);case 3:if(m=S.sent(),n!==this.count)return[2,new Promise(function(){})];throw this.setState({error:m,loading:!1}),(v=(l=this.options).onError)===null||v===void 0||v.call(l,m,t),this.runPluginHandler("onError",m,t),(_=(w=this.options).onFinally)===null||_===void 0||_.call(w,t,void 0,m),n===this.count&&this.runPluginHandler("onFinally",t,void 0,m),m;case 4:return[2]}})})},e.prototype.run=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.runAsync.apply(this,x([],O(r),!1)).catch(function(i){t.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,x([],O(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,x([],O(this.state.params||[]),!1))},e.prototype.mutate=function(t){var r=U(t)?t(this.state.data):t;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function cr(e,t,r){t===void 0&&(t={}),r===void 0&&(r=[]);var n=t.manual,i=n===void 0?!1:n,o=t.ready,a=o===void 0?!0:o,u=Q(t,["manual","ready"]),s=M({manual:i,ready:a},u),c=z(e),h=ht(),d=Te(function(){var m=r.map(function(p){var g;return(g=p?.onInit)===null||g===void 0?void 0:g.call(p,s)}).filter(Boolean);return new sr(c,s,h,Object.assign.apply(Object,x([{}],O(m),!1)))},[]);return d.options=s,d.pluginImpls=r.map(function(m){return m(d,s)}),ur(function(){if(!i&&a){var m=d.state.params||t.defaultParams||[];d.run.apply(d,x([],O(m),!1))}}),k(function(){d.cancel()}),{loading:d.state.loading,data:d.state.data,error:d.state.error,params:d.state.params||[],cancel:L(d.cancel.bind(d)),refresh:L(d.refresh.bind(d)),refreshAsync:L(d.refreshAsync.bind(d)),run:L(d.run.bind(d)),runAsync:L(d.runAsync.bind(d)),mutate:L(d.mutate.bind(d))}}function fr(e,t,r){return cr(e,t,x(x([],O([]),!1),[Yt,Xt,er,ir,ar,vt,Jt,or],!1))}function lr(e){return U(e[Symbol.asyncIterator])}function on(e,t){y.useEffect(function(){var r=e(),n=!1;function i(){return ee(this,void 0,void 0,function(){var o;return te(this,function(a){switch(a.label){case 0:if(!lr(r))return[3,4];a.label=1;case 1:return[4,r.next()];case 2:return o=a.sent(),o.done||n?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,r];case 5:a.sent(),a.label=6;case 6:return[2]}})})}return i(),function(){n=!0}},t)}function dr(e,t){var r=O(y.useState(e),2),n=r[0],i=r[1],o=y.useMemo(function(){var a=!e,u=function(){return i(function(d){return d===e?a:e})},s=function(d){return i(d)},c=function(){return i(e)},h=function(){return i(a)};return{toggle:u,set:s,setLeft:c,setRight:h}},[]);return[n,o]}function an(e){var t=O(dr(!1),2),r=t[0],n=t[1],i=n.toggle,o=n.set,a=y.useMemo(function(){var u=function(){return o(!0)},s=function(){return o(!1)};return{toggle:i,set:function(c){return o(!!c)},setTrue:u,setFalse:s}},[]);return[r,a]}function H(e,t){if(W){if(!e)return t;var r;return U(e)?r=e():"current"in e?r=e.current:r=e,r}}var pt=function(e){var t=function(r,n,i){var o=y.useRef(!1),a=y.useRef([]),u=y.useRef([]),s=y.useRef(void 0);e(function(){var c,h=Array.isArray(i)?i:[i],d=h.map(function(m){return H(m)});if(!o.current){o.current=!0,a.current=d,u.current=n,s.current=r();return}(d.length!==a.current.length||!Ee(a.current,d)||!Ee(u.current,n))&&((c=s.current)===null||c===void 0||c.call(s),a.current=d,u.current=n,s.current=r())}),k(function(){var c;(c=s.current)===null||c===void 0||c.call(s),o.current=!1})};return t},le=pt(y.useEffect),me=function(e){if(!e)return 0;var t=Ft(e).valueOf()-Date.now();return t<0?0:t},vr=function(e){return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5)%24,minutes:Math.floor(e/6e4)%60,seconds:Math.floor(e/1e3)%60,milliseconds:Math.floor(e)%1e3}},un=function(e){e===void 0&&(e={});var t=e||{},r=t.leftTime,n=t.targetDate,i=t.interval,o=i===void 0?1e3:i,a=t.onEnd,u=y.useMemo(function(){return fe(r)&&r>0?Date.now()+r:void 0},[r]),s="leftTime"in e?u:n,c=O(y.useState(function(){return me(s)}),2),h=c[0],d=c[1],m=z(a);y.useEffect(function(){if(!s){d(0);return}d(me(s));var g=setInterval(function(){var b,E=me(s);d(E),E===0&&(clearInterval(g),(b=m.current)===null||b===void 0||b.call(m))},o);return function(){return clearInterval(g)}},[s,o]);var p=y.useMemo(function(){return vr(h)},[h]);return[h,p]};function hr(){var e=(typeof B>"u"?"undefined":typeof B)=="object"&&B&&B.Object===Object&&B,t=typeof self=="object"&&self&&self.Object===Object&&self;return e||t}hr()||(B.Date=Date);function pr(e,t){var r,n=z(e),i=(r=t?.wait)!==null&&r!==void 0?r:1e3,o=y.useMemo(function(){return Ue(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return n.current.apply(n,x([],O(a),!1))},i,t)},[]);return k(function(){o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}function sn(e,t){var r=O(y.useState(e),2),n=r[0],i=r[1],o=pr(function(){i(e)},t).run;return y.useEffect(function(){o()},[e]),n}var ge,Pe;function mr(){if(Pe)return ge;Pe=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(o,a){if(o===a)return!0;if(o&&a&&typeof o=="object"&&typeof a=="object"){if(o.constructor!==a.constructor)return!1;var u,s,c;if(Array.isArray(o)){if(u=o.length,u!=a.length)return!1;for(s=u;s--!==0;)if(!i(o[s],a[s]))return!1;return!0}var h;if(t&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(h=o.entries();!(s=h.next()).done;)if(!a.has(s.value[0]))return!1;for(h=o.entries();!(s=h.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(h=o.entries();!(s=h.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if(u=o.length,u!=a.length)return!1;for(s=u;s--!==0;)if(o[s]!==a[s])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&typeof o.valueOf=="function"&&typeof a.valueOf=="function")return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&typeof o.toString=="function"&&typeof a.toString=="function")return o.toString()===a.toString();if(c=Object.keys(o),u=c.length,u!==Object.keys(a).length)return!1;for(s=u;s--!==0;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(e&&o instanceof Element)return!1;for(s=u;s--!==0;)if(!((c[s]==="_owner"||c[s]==="__v"||c[s]==="__o")&&o.$$typeof)&&!i(o[c[s]],a[c[s]]))return!1;return!0}return o!==o&&a!==a}return ge=function(a,u){try{return i(a,u)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}},ge}var gr=mr();const yr=se(gr);var mt=function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=[]),yr(e,t)},gt=function(e){return function(t,r){var n=y.useRef(void 0),i=y.useRef(0);(r===void 0||!mt(r,n.current))&&(i.current+=1),n.current=r,e(t,[i.current])}};const cn=gt(y.useEffect),fn=gt(y.useLayoutEffect);function Re(e,t,r){r===void 0&&(r={});var n=r.enable,i=n===void 0?!0:n,o=z(t);le(function(){if(i){var a=H(r.target,window);if(a?.addEventListener){var u=function(c){return o.current(c)},s=Array.isArray(e)?e:[e];return s.forEach(function(c){a.addEventListener(c,u,{capture:r.capture,once:r.once,passive:r.passive})}),function(){s.forEach(function(c){a.removeEventListener(c,u,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,i],r.target)}function ln(e){var t=O(y.useState(e),2),r=t[0],n=t[1],i=z(r),o=y.useCallback(function(){return i.current},[]);return[r,n,o]}var br=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},je=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},wr=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},dn=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,o=i===void 0?100:i,a=t.direction,u=a===void 0?"bottom":a,s=t.reloadDeps,c=s===void 0?[]:s,h=t.manual,d=t.onBefore,m=t.onSuccess,p=t.onError,g=t.onFinally,b=O(y.useState(),2),E=b[0],C=b[1],R=O(y.useState(!1),2),f=R[0],l=R[1],v=u==="top",w=y.useRef(void 0),_=y.useRef(0),S=y.useMemo(function(){return n?n(E):!1},[E]),T=fr(function(j){return ee(void 0,void 0,void 0,function(){var D,I,V,J;return te(this,function(Me){switch(Me.label){case 0:return[4,e(j)];case 1:return D=Me.sent(),C(j?M(M({},D),{list:v?x(x([],O(D.list),!1),O((V=j.list)!==null&&V!==void 0?V:[]),!1):x(x([],O((J=j.list)!==null&&J!==void 0?J:[]),!1),O(D.list),!1)}):M(M({},D),{list:x([],O((I=D.list)!==null&&I!==void 0?I:[]),!1)})),[2,D]}})})},{manual:h,onFinally:function(j,D,I){l(!1),g?.(D,I)},onBefore:function(){return d?.()},onSuccess:function(j){setTimeout(function(){if(v){var D=H(r);if(D=D===document?document.documentElement:D,D){var I=je(D);D.scrollTo(0,I-_.current)}}else xe()}),m?.(j)},onError:function(j){return p?.(j)}}),A=T.loading,P=T.error,F=T.run,$=T.runAsync,re=T.cancel,ve=L(function(){S||(l(!0),F(E))}),Ct=L(function(){return S?Promise.reject():(l(!0),$(E))}),xt=function(){return l(!1),F()},Mt=function(){return l(!1),$()},xe=function(){var j=H(r);if(j){var D=j===document?document.documentElement:j,I=br(D),V=je(D),J=wr(D);v?(w.current!==void 0&&w.current>I&&I<=o&&ve(),w.current=I,_.current=V-I):V-I<=J+o&&ve()}};return Re("scroll",function(){A||f||xe()},{target:r}),Z(function(){F()},x([],O(c),!1)),{data:E,loading:!f&&A,error:P,loadingMore:f,noMore:S,loadMore:ve,loadMoreAsync:Ct,reload:L(xt),reloadAsync:L(Mt),mutate:C,cancel:re}},vn=function(e,t,r){r===void 0&&(r={});var n=L(e),i=y.useRef(null),o=y.useCallback(function(){i.current&&clearInterval(i.current)},[]);return y.useEffect(function(){if(!(!fe(t)||t<0))return r.immediate&&n(),i.current=setInterval(n,t),o},[t,r.immediate]),o},Ie={},Le;function _r(){return Le||(Le=1,function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(f){try{return f.defaultView&&f.defaultView.frameElement||null}catch{return null}}var t=function(f){for(var l=f,v=e(l);v;)l=v.ownerDocument,v=e(l);return l}(window.document),r=[],n=null,i=null;function o(f){this.time=f.time,this.target=f.target,this.rootBounds=g(f.rootBounds),this.boundingClientRect=g(f.boundingClientRect),this.intersectionRect=g(f.intersectionRect||p()),this.isIntersecting=!!f.intersectionRect;var l=this.boundingClientRect,v=l.width*l.height,w=this.intersectionRect,_=w.width*w.height;v?this.intersectionRatio=Number((_/v).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function a(f,l){var v=l||{};if(typeof f!="function")throw new Error("callback must be a function");if(v.root&&v.root.nodeType!=1&&v.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=s(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=f,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(v.rootMargin),this.thresholds=this._initThresholds(v.threshold),this.root=v.root||null,this.rootMargin=this._rootMarginValues.map(function(w){return w.value+w.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(f,l){!f||!l?i=p():i=b(f,l),r.forEach(function(v){v._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,i=null},a.prototype.observe=function(f){var l=this._observationTargets.some(function(v){return v.element==f});if(!l){if(!(f&&f.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:f,entry:null}),this._monitorIntersections(f.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(f){this._observationTargets=this._observationTargets.filter(function(l){return l.element!=f}),this._unmonitorIntersections(f.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var f=this._queuedEntries.slice();return this._queuedEntries=[],f},a.prototype._initThresholds=function(f){var l=f||[0];return Array.isArray(l)||(l=[l]),l.sort().filter(function(v,w,_){if(typeof v!="number"||isNaN(v)||v<0||v>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return v!==_[w-1]})},a.prototype._parseRootMargin=function(f){var l=f||"0px",v=l.split(/\s+/).map(function(w){var _=/^(-?\d*\.?\d+)(px|%)$/.exec(w);if(!_)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(_[1]),unit:_[2]}});return v[1]=v[1]||v[0],v[2]=v[2]||v[0],v[3]=v[3]||v[1],v},a.prototype._monitorIntersections=function(f){var l=f.defaultView;if(l&&this._monitoringDocuments.indexOf(f)==-1){var v=this._checkForIntersections,w=null,_=null;this.POLL_INTERVAL?w=l.setInterval(v,this.POLL_INTERVAL):(c(l,"resize",v,!0),c(f,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in l&&(_=new l.MutationObserver(v),_.observe(f,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(f),this._monitoringUnsubscribes.push(function(){var A=f.defaultView;A&&(w&&A.clearInterval(w),h(A,"resize",v,!0)),h(f,"scroll",v,!0),_&&_.disconnect()});var S=this.root&&(this.root.ownerDocument||this.root)||t;if(f!=S){var T=e(f);T&&this._monitorIntersections(T.ownerDocument)}}},a.prototype._unmonitorIntersections=function(f){var l=this._monitoringDocuments.indexOf(f);if(l!=-1){var v=this.root&&(this.root.ownerDocument||this.root)||t,w=this._observationTargets.some(function(T){var A=T.element.ownerDocument;if(A==f)return!0;for(;A&&A!=v;){var P=e(A);if(A=P&&P.ownerDocument,A==f)return!0}return!1});if(!w){var _=this._monitoringUnsubscribes[l];if(this._monitoringDocuments.splice(l,1),this._monitoringUnsubscribes.splice(l,1),_(),f!=v){var S=e(f);S&&this._unmonitorIntersections(S.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var f=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var l=0;l<f.length;l++)f[l]()},a.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!i)){var f=this._rootIsInDom(),l=f?this._getRootRect():p();this._observationTargets.forEach(function(v){var w=v.element,_=m(w),S=this._rootContainsTarget(w),T=v.entry,A=f&&S&&this._computeTargetAndRootIntersection(w,_,l),P=null;this._rootContainsTarget(w)?(!n||this.root)&&(P=l):P=p();var F=v.entry=new o({time:u(),target:w,boundingClientRect:_,rootBounds:P,intersectionRect:A});T?f&&S?this._hasCrossedThreshold(T,F)&&this._queuedEntries.push(F):T&&T.isIntersecting&&this._queuedEntries.push(F):this._queuedEntries.push(F)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(f,l,v){if(window.getComputedStyle(f).display!="none"){for(var w=l,_=C(f),S=!1;!S&&_;){var T=null,A=_.nodeType==1?window.getComputedStyle(_):{};if(A.display=="none")return null;if(_==this.root||_.nodeType==9)if(S=!0,_==this.root||_==t)n&&!this.root?!i||i.width==0&&i.height==0?(_=null,T=null,w=null):T=i:T=v;else{var P=C(_),F=P&&m(P),$=P&&this._computeTargetAndRootIntersection(P,F,v);F&&$?(_=P,T=b(F,$)):(_=null,w=null)}else{var re=_.ownerDocument;_!=re.body&&_!=re.documentElement&&A.overflow!="visible"&&(T=m(_))}if(T&&(w=d(T,w)),!w)break;_=_&&C(_)}return w}},a.prototype._getRootRect=function(){var f;if(this.root&&!R(this.root))f=m(this.root);else{var l=R(this.root)?this.root:t,v=l.documentElement,w=l.body;f={top:0,left:0,right:v.clientWidth||w.clientWidth,width:v.clientWidth||w.clientWidth,bottom:v.clientHeight||w.clientHeight,height:v.clientHeight||w.clientHeight}}return this._expandRectByRootMargin(f)},a.prototype._expandRectByRootMargin=function(f){var l=this._rootMarginValues.map(function(w,_){return w.unit=="px"?w.value:w.value*(_%2?f.width:f.height)/100}),v={top:f.top-l[0],right:f.right+l[1],bottom:f.bottom+l[2],left:f.left-l[3]};return v.width=v.right-v.left,v.height=v.bottom-v.top,v},a.prototype._hasCrossedThreshold=function(f,l){var v=f&&f.isIntersecting?f.intersectionRatio||0:-1,w=l.isIntersecting?l.intersectionRatio||0:-1;if(v!==w)for(var _=0;_<this.thresholds.length;_++){var S=this.thresholds[_];if(S==v||S==w||S<v!=S<w)return!0}},a.prototype._rootIsInDom=function(){return!this.root||E(t,this.root)},a.prototype._rootContainsTarget=function(f){var l=this.root&&(this.root.ownerDocument||this.root)||t;return E(l,f)&&(!this.root||l==f.ownerDocument)},a.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},a.prototype._unregisterInstance=function(){var f=r.indexOf(this);f!=-1&&r.splice(f,1)};function u(){return window.performance&&performance.now&&performance.now()}function s(f,l){var v=null;return function(){v||(v=setTimeout(function(){f(),v=null},l))}}function c(f,l,v,w){typeof f.addEventListener=="function"?f.addEventListener(l,v,w):typeof f.attachEvent=="function"&&f.attachEvent("on"+l,v)}function h(f,l,v,w){typeof f.removeEventListener=="function"?f.removeEventListener(l,v,w):typeof f.detachEvent=="function"&&f.detachEvent("on"+l,v)}function d(f,l){var v=Math.max(f.top,l.top),w=Math.min(f.bottom,l.bottom),_=Math.max(f.left,l.left),S=Math.min(f.right,l.right),T=S-_,A=w-v;return T>=0&&A>=0&&{top:v,bottom:w,left:_,right:S,width:T,height:A}||null}function m(f){var l;try{l=f.getBoundingClientRect()}catch{}return l?(l.width&&l.height||(l={top:l.top,right:l.right,bottom:l.bottom,left:l.left,width:l.right-l.left,height:l.bottom-l.top}),l):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function g(f){return!f||"x"in f?f:{top:f.top,y:f.top,bottom:f.bottom,left:f.left,x:f.left,right:f.right,width:f.width,height:f.height}}function b(f,l){var v=l.top-f.top,w=l.left-f.left;return{top:v,left:w,height:l.height,width:l.width,bottom:v+l.height,right:w+l.width}}function E(f,l){for(var v=l;v;){if(v==f)return!0;v=C(v)}return!1}function C(f){var l=f.parentNode;return f.nodeType==9&&f!=t?e(f):(l&&l.assignedSlot&&(l=l.assignedSlot.parentNode),l&&l.nodeType==11&&l.host?l.host:l)}function R(f){return f&&f.nodeType===9}window.IntersectionObserver=a,window.IntersectionObserverEntry=o}()),Ie}_r();function hn(e,t){var r={},n=r.callback,i=Q(r,["callback"]),o=O(y.useState(),2),a=o[0],u=o[1],s=O(y.useState(),2),c=s[0],h=s[1];return le(function(){var d=Array.isArray(e)?e:[e],m=d.map(function(g){return H(g)}).filter(Boolean);if(m.length){var p=new IntersectionObserver(function(g){var b,E;try{for(var C=N(g),R=C.next();!R.done;R=C.next()){var f=R.value;h(f.intersectionRatio),u(f.isIntersecting),n?.(f)}}catch(l){b={error:l}}finally{try{R&&!R.done&&(E=C.return)&&E.call(C)}finally{if(b)throw b.error}}},M(M({},i),{root:H(void 0)}));return m.forEach(function(g){return p.observe(g)}),function(){p.disconnect()}}},[void 0,void 0,n],e),[a,c]}var Er=function(e,t,r){var n=y.useRef(void 0),i=y.useRef(0);mt(t,n.current)||(i.current+=1),n.current=t,le(e,[i.current],r)},Rr=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator?.platform:""),yt={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:Rr?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},Oe={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return e.type==="keyup"?yt.meta.includes(e.keyCode):e.metaKey}};function bt(e){return qt(e)||fe(e)}function Or(e){var t=Object.keys(Oe).reduce(function(r,n){return Oe[n](e)?r+1:r},0);return[16,17,18,91,92].includes(e.keyCode)?t:t+1}function Fe(e,t,r){var n,i;if(!e.key)return!1;if(fe(t))return e.keyCode===t?t:!1;var o=t.split("."),a=0;try{for(var u=N(o),s=u.next();!s.done;s=u.next()){var c=s.value,h=Oe[c],d=yt[c.toLowerCase()];(h&&h(e)||d&&d===e.keyCode)&&a++}}catch(m){n={error:m}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return r?a===o.length&&Or(e)===o.length?t:!1:a===o.length?t:!1}function Sr(e,t){return U(e)?e:bt(e)?function(r){return Fe(r,e,t)}:Array.isArray(e)?function(r){return e.find(function(n){return Fe(r,n,t)})}:function(){return!!e}}var Tr=["keydown"];function pn(e,t,r){var n=r||{},i=n.events,o=i===void 0?Tr:i,a=n.target,u=n.exactMatch,s=u===void 0?!1:u,c=n.useCapture,h=c===void 0?!1:c,d=z(t),m=z(e);Er(function(){var p,g,b,E=H(a,window);if(E){var C=function(v){var w,_=Sr(m.current,s),S=_(v),T=bt(S)?S:v.key;if(S)return(w=d.current)===null||w===void 0?void 0:w.call(d,v,T)};try{for(var R=N(o),f=R.next();!f.done;f=R.next()){var l=f.value;(b=E?.addEventListener)===null||b===void 0||b.call(E,l,C,h)}}catch(v){p={error:v}}finally{try{f&&!f.done&&(g=R.return)&&g.call(R)}finally{if(p)throw p.error}}return function(){var v,w,_;try{for(var S=N(o),T=S.next();!T.done;T=S.next()){var A=T.value;(_=E?.removeEventListener)===null||_===void 0||_.call(E,A,C,h)}}catch(P){v={error:P}}finally{try{T&&!T.done&&(w=S.return)&&w.call(S)}finally{if(v)throw v.error}}}}},[o],a)}var Be="AHOOKS_SYNC_STORAGE_EVENT_NAME";function wt(e){function t(r,n){n===void 0&&(n={});var i,o=n.listenStorageChange,a=o===void 0?!1:o,u=n.onError,s=u===void 0?function(R){console.error(R)}:u;try{i=e()}catch(R){s(R)}var c=function(R){return n.serializer?n.serializer(R):JSON.stringify(R)},h=function(R){return n.deserializer?n.deserializer(R):JSON.parse(R)};function d(){try{var R=i?.getItem(r);if(R)return h(R)}catch(f){s(f)}return U(n.defaultValue)?n.defaultValue():n.defaultValue}var m=O(y.useState(d),2),p=m[0],g=m[1];Z(function(){g(d())},[r]);var b=function(R){var f=U(R)?R(p):R;a||g(f);try{var l=void 0,v=i?.getItem(r);Ut(f)?(l=null,i?.removeItem(r)):(l=c(f),i?.setItem(r,l)),dispatchEvent(new CustomEvent(Be,{detail:{key:r,newValue:l,oldValue:v,storageArea:i}}))}catch(w){s(w)}},E=function(R){R.key!==r||R.storageArea!==i||g(d())},C=function(R){E(R.detail)};return Re("storage",E,{enable:a}),Re(Be,C,{enable:a}),[p,L(b)]}return t}var mn=wt(function(){return W?localStorage:void 0});function Cr(e){var t=y.useRef(0),r=O(y.useState(e),2),n=r[0],i=r[1],o=y.useCallback(function(a){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(a)})},[]);return k(function(){cancelAnimationFrame(t.current)}),[n,o]}var xr=function(e,t){return!Object.is(e,t)};function gn(e,t){t===void 0&&(t=xr);var r=y.useRef(void 0),n=y.useRef(void 0);return t(n.current,e)&&(r.current=n.current,n.current=e),r.current}var ze=new WeakMap,He=new WeakMap;function _t(e,t){var r=ze.get(e);if(r)return r;if(He.has(e))return e;var n=new Proxy(e,{get:function(i,o,a){var u=Reflect.get(i,o,a),s=Reflect.getOwnPropertyDescriptor(i,o);return!s?.configurable&&!s?.writable?u:Pt(u)||Array.isArray(u)?_t(u,t):u},set:function(i,o,a){var u=Reflect.set(i,o,a);return t(),u},deleteProperty:function(i,o){var a=Reflect.deleteProperty(i,o);return t(),a}});return ze.set(e,n),He.set(n,e),n}function yn(e){var t=ht(),r=y.useRef(e),n=Te(function(){return _t(r.current,function(){t()})},[]);return n}var bn=wt(function(){return W?sessionStorage:void 0}),wn=function(e){var t=O(y.useState(e),2),r=t[0],n=t[1],i=L(function(o){n(function(a){var u=U(o)?o(a):o;return u?M(M({},a),u):a})});return[r,i]},Et=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,o){return i[0]===r?(n=o,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,o=this.__entries__;i<o.length;i++){var a=o[i];r.call(n,a[1],a[0])}},t}()}(),Se=typeof window<"u"&&typeof document<"u"&&window.document===document,ae=function(){return typeof B<"u"&&B.Math===Math?B:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Mr=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ae):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Ar=2;function Dr(e,t){var r=!1,n=!1,i=0;function o(){r&&(r=!1,e()),n&&u()}function a(){Mr(o)}function u(){var s=Date.now();if(r){if(s-i<Ar)return;n=!0}else r=!0,n=!1,setTimeout(a,t);i=s}return u}var Pr=20,jr=["top","right","bottom","left","width","height","size","weight"],Ir=typeof MutationObserver<"u",Lr=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Dr(this.refresh.bind(this),Pr)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Se||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ir?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Se||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=jr.some(function(o){return!!~n.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Rt=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},K=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ae},Ot=de(0,0,0,0);function ue(e){return parseFloat(e)||0}function Ne(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var o=e["border-"+i+"-width"];return n+ue(o)},0)}function Fr(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var o=i[n],a=e["padding-"+o];r[o]=ue(a)}return r}function Br(e){var t=e.getBBox();return de(0,0,t.width,t.height)}function zr(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Ot;var n=K(e).getComputedStyle(e),i=Fr(n),o=i.left+i.right,a=i.top+i.bottom,u=ue(n.width),s=ue(n.height);if(n.boxSizing==="border-box"&&(Math.round(u+o)!==t&&(u-=Ne(n,"left","right")+o),Math.round(s+a)!==r&&(s-=Ne(n,"top","bottom")+a)),!Nr(e)){var c=Math.round(u+o)-t,h=Math.round(s+a)-r;Math.abs(c)!==1&&(u-=c),Math.abs(h)!==1&&(s-=h)}return de(i.left,i.top,u,s)}var Hr=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof K(e).SVGGraphicsElement}:function(e){return e instanceof K(e).SVGElement&&typeof e.getBBox=="function"}}();function Nr(e){return e===K(e).document.documentElement}function Wr(e){return Se?Hr(e)?Br(e):zr(e):Ot}function qr(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(o.prototype);return Rt(a,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),a}function de(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Ur=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=de(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=Wr(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),kr=function(){function e(t,r){var n=qr(r);Rt(this,{target:t,contentRect:n})}return e}(),Vr=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new Et,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof K(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Ur(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof K(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new kr(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),St=typeof WeakMap<"u"?new WeakMap:new Et,Tt=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Lr.getInstance(),n=new Vr(t,r,this);St.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Tt.prototype[e]=function(){var t;return(t=St.get(this))[e].apply(t,arguments)}});var Gr=function(){return typeof ae.ResizeObserver<"u"?ae.ResizeObserver:Tt}(),Kr=pt(y.useLayoutEffect),$r=W?Kr:le;function _n(e){var t=O(Cr(function(){var i=H(e);return i?{width:i.clientWidth,height:i.clientHeight}:void 0}),2),r=t[0],n=t[1];return $r(function(){var i=H(e);if(i){var o=new Gr(function(a){a.forEach(function(u){var s=u.target,c=s.clientWidth,h=s.clientHeight;n({width:c,height:h})})});return o.observe(i),function(){o.disconnect()}}},[],e),r}function En(e,t){var r,n=z(e),i=(r=t?.wait)!==null&&r!==void 0?r:1e3,o=y.useMemo(function(){return ke(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return n.current.apply(n,x([],O(a),!1))},i,t)},[]);return k(function(){o.cancel()}),{run:o,cancel:o.cancel,flush:o.flush}}var ye,We;function Jr(){return We||(We=1,ye=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),ye}var be,qe;function Yr(){if(qe)return be;qe=1;var e=Jr(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(o){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,a)}function i(o,a){var u,s,c,h,d,m,p=!1;a||(a={}),u=a.debug||!1;try{c=e(),h=document.createRange(),d=document.getSelection(),m=document.createElement("span"),m.textContent=o,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(b){if(b.stopPropagation(),a.format)if(b.preventDefault(),typeof b.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var E=t[a.format]||t.default;window.clipboardData.setData(E,o)}else b.clipboardData.clearData(),b.clipboardData.setData(a.format,o);a.onCopy&&(b.preventDefault(),a.onCopy(b.clipboardData))}),document.body.appendChild(m),h.selectNodeContents(m),d.addRange(h);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");p=!0}catch(b){u&&console.error("unable to copy using execCommand: ",b),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),p=!0}catch(E){u&&console.error("unable to copy using clipboardData: ",E),u&&console.error("falling back to prompt"),s=n("message"in a?a.message:r),window.prompt(s,o)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(h):d.removeAllRanges()),m&&document.body.removeChild(m),c()}return p}return be=i,be}var Xr=Yr();const Rn=se(Xr),On=At(Wt);function Zr(){var e=y.useRef(!1),t=y.useCallback(function(){return e.current},[]);return y.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function Qr(e,t,r){t===void 0&&(t=[]),r===void 0&&(r={loading:!1});var n=y.useRef(0),i=Zr(),o=y.useState(r),a=o[0],u=o[1],s=y.useCallback(function(){for(var c=[],h=0;h<arguments.length;h++)c[h]=arguments[h];var d=++n.current;return a.loading||u(function(m){return M(M({},m),{loading:!0})}),e.apply(void 0,c).then(function(m){return i()&&d===n.current&&u({value:m,loading:!1}),m},function(m){return i()&&d===n.current&&u({error:m,loading:!1}),m})},t);return[a,s]}function en(e,t){t===void 0&&(t=[]);var r=Qr(e,t,{loading:!0}),n=r[0],i=r[1];return y.useEffect(function(){i()},[i]),n}var Sn=function(e,t){t===void 0&&(t=[]);var r=y.useState(0),n=r[0],i=r[1],o=en(e,oe(t,[n])),a=o.loading,u=y.useCallback(function(){a||i(function(s){return s+1})},oe(t,[a]));return M(M({},o),{retry:u})};export{On as A,hn as B,nn as C,Sn as D,en as E,Ve as F,ee as G,te as H,M as I,fn as J,pn as K,ln as L,Ge as _,Te as a,L as b,Rn as c,Ft as d,_n as e,z as f,yn as g,ur as h,cn as i,yr as j,En as k,on as l,vn as m,sn as n,mn as o,ht as p,fr as q,gn as r,Z as s,k as t,pr as u,dn as v,bn as w,wn as x,an as y,un as z};
|