vona-cli-set-api 1.1.74 → 1.1.78
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/cli/templates/create/project/cabloy-basic/boilerplate/_.gitignore +2 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/package.original.json +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-api-pLkkwhfI.js → a-api-CHYYULgK.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-app-Duj-sylI.js → a-app-C7ZzWYyv.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-bean-BSrtQ00I.js → a-bean-DbU4LrMT.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-behavior-CColhL_8.js → a-behavior-eA4Ko-He.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-behaviors-f2exgaEu.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-boundary-D38NRGLB.js → a-boundary-BAhgHCTT.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-command-BnKNEbBC.js → a-command-BOYshJRZ.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-fetch-Brq6bWxx.js → a-fetch-AIg5YBcV.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-form-DS4ncImS.js → a-form-BAf2Qz_J.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-icon-Bzbf5lJY.js → a-icon-BlxtKoSc.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-interceptor-qNqFWGLX.js → a-interceptor-DTvzdmmr.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-logger-B6ztS4ca.js → a-logger-B7YCH8mY.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-meta-CK9pPRbq.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-model-DbmTGlZl.js → a-model-Dy8MZZlZ.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-openapi-CHuszirp.js → a-openapi-HwWghsDd.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-router-D0Y00b5F.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-routerstack-BXMhGOGB.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-routertabs-CUhdzubP.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-ssr-CVpXcKZu.js → a-ssr-eiXfoZ6Q.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-ssrhmr-CjahtRIx.js → a-ssrhmr-cH7AXfM5.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-style-CYtHkjvA.js → a-style-DZd6z-ny.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-table-DKSH-mXd.js → a-table-kuC_J1k8.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-zod-WOJcLJ4h.js → a-zod-Cdqw-WGX.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{a-zova-XL1BYjHs.js → a-zova-CxF5nOQp.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{axios-CJzrExc9.js → axios-B7gCUQ9l.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-adapter-BAy15q0-.js → basic-adapter-Cj2vkw9z.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-captcha-DtVXQsbW.js → basic-captcha-KlvVgHIH.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-commands-B4-U4sxJ.js → basic-commands-B2edNn1P.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/basic-commandssync-Bd_kbbVQ.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-currency-CWI7JJ7M.js → basic-currency-DNVB5gad.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/basic-date-d4feu4Im.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-form-j6SRcocq.js → basic-form-BAgUfh6l.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-input-XkJrJfK9.js → basic-input-DSBkAsok.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-page-CV1hv2fz.js → basic-page-CuyulrHr.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-pageentry-DDXLJY5n.js → basic-pageentry-DNpaXmae.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{basic-table-Oo7EzHRI.js → basic-table-Ch4U9NU_.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/demo-student-D6S7aLYU.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{devui-adapter-D2URd7uJ.js → devui-adapter-DKLLSAYN.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{esm-BTe4rrgw.js → esm-Cyu7DhcL.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-api-B3sIa6ZW.js → home-api-bXUVCQ2V.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-base-DXwviYGA.js → home-base-DGQFfNxH.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/home-icon-BlaDdQNB.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-index-DEJtEpbz.js → home-index-BzWHcmYp.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-layoutempty-BGTJBR9Y.js → home-layoutempty-C4ksERwb.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-layouttabs-vnrv_abw.js → home-layouttabs-CA_fymbL.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-login-BJzEocqs.js → home-login-DRY0xTvR.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-passport-DjQBdjOF.js → home-passport-g0erbhk9.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{home-theme-BMfbGT2_.js → home-theme-CG--q4WN.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/index-CYIbl9i8.js +2 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/index-CbsAX_ns.css +2 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/openapi3-DYIMmMEX.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{rest-resource-DA1z2ULZ.js → rest-resource-TyYU0ri_.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-NeqC3_v-.js → src-BUCf7j9k.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-BUR9Yo6h.js → src-C0-wYX-r.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{src-CfuKPGIS.js → src-CwcJuyuX.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/src-DS3T1Yl4.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-form-kTy-ZI0o.js → tanstack-form-DuMNegIR.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-query-B94Ap7ZW.js → tanstack-query--KWujqw6.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-query-Ct0f7fgD.js → tanstack-query-DsCq8m8t.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-query-CJsMWyVk.js → tanstack-query-w62dJpVl.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-table-Chlr8LKj.js → tanstack-table-Bo1IMehE.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{typestyle-BWymWhob.js → typestyle-CGqKSHBa.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-EKb6uvA4.js → zova-Bg37yi9o.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-DvdKu8i3.js → zova-D8v2RJZ_.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-BeOOfaq-.js → zova-DCETe0vD.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/zova-DKVbJcsN.js +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-j4v_yFnS.js → zova-DrYi3lHN.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-B-AOMtVq.js → zova-DtaxAeLK.js} +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/handler.js +143 -143
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/index.js +19 -18
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/quasar.manifest.json +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/package.json +1 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/zovaRest/cabloy-basic-admin/index.d.mts +50 -7
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/zovaRest/cabloy-basic-admin/index.mjs +1 -0
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/zovaRest/cabloy-basic-admin/package.json +17 -17
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/package.json +2 -2
- package/cli/templates/create/project/cabloy-start/boilerplate/_.gitignore +2 -0
- package/cli/templates/create/project/cabloy-start/boilerplate/package.original.json +1 -1
- package/cli/templates/tools/crudBasic/boilerplate/src/dto/{{resourceName}}SelectReq.tsx_ +2 -5
- package/cli/templates/tools/crudStart/boilerplate/src/dto/{{resourceName}}SelectReq.tsx_ +2 -5
- package/dist/index.js +3 -1
- package/package.json +7 -7
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-behaviors-D5QdVUMf.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-meta-D_D1qQe3.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-router-8-rZWvN9.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-routerstack-kcDQi5Ur.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/a-routertabs-k-EMnMnP.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/basic-commandssync-BHAm-aPv.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/basic-date-C6BWRp5z.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/home-icon-CzCKVm-n.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/index-CBCH7WDr.js +0 -2
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/index-CpHAuE6n.css +0 -2
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/openapi3-CfRjX9nE.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/src-CKH7PpfD.js +0 -1
- package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/zova-CjGVlt10.js +0 -1
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{browser-DCctNE2J.js → browser-DVyM2lRk.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{dist.es2015-wT7EuutW.js → dist.es2015-BmIAFcrV.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{extends-Df_IUxJa.js → extends-BEDPO8Vk.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{localforage-vWfcXKsB.js → localforage-BWp9fnSw.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{tanstack-table-hv-n8SAz.js → tanstack-table-DWHj4lH8.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{vue-router-ElsTBv0d.js → vue-router-BYR57x2V.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{wrapAsyncGenerator-BpA1IDiW.js → wrapAsyncGenerator-yXk7XHT3.js} +0 -0
- /package/cli/templates/create/project/cabloy-basic/boilerplate/src/suite/cabloy-basic/modules/basic-siteadmin/assets/site/ssr-cabloyBasicAdmin-5.0.0/client/assets/{zova-LQaTYtDO.js → zova-BPLu5wVn2.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as t}from"./rolldown-runtime-CHbrDDT0.js";import{C as e,D as s,E as i,O as n,S as a,T as r,b as o,d as u,f as l,i as h,m as c,p as d,r as v,w as f,x as p,y}from"./fecha-DKYcT2kV.js";import{i as m,n as b,r as g,t as w}from"./extends-Df_IUxJa.js";var O,M,S,P,k,q,C,R,F,W=t(()=>{O=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}}),A=t(()=>{W(),n(),f(),a(),M=new WeakMap,S=new WeakMap,P=new WeakMap,k=new class extends O{constructor(){super(),s(this,M,void 0),s(this,S,void 0),s(this,P,void 0),e(P,this,t=>{if("undefined"!=typeof window&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){p(S,this)||this.setEventListener(p(P,this))}onUnsubscribe(){var t;this.hasListeners()||(null===(t=p(S,this))||void 0===t||t.call(this),e(S,this,void 0))}setEventListener(t){var s;e(P,this,t),null===(s=p(S,this))||void 0===s||s.call(this),e(S,this,t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()}))}setFocused(t){p(M,this)!==t&&(e(M,this,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return"boolean"==typeof p(M,this)?p(M,this):"hidden"!==(null===(t=globalThis.document)||void 0===t?void 0:t.visibilityState)}}});function E(t){setTimeout(t,0)}var D,Q,j,T=t(()=>{n(),a(),f(),R={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},q=new WeakMap,C=new WeakMap,F=new class{constructor(){s(this,q,R),s(this,C,!1)}setTimeoutProvider(t){e(q,this,t)}setTimeout(t,e){return p(q,this).setTimeout(t,e)}clearTimeout(t){p(q,this).clearTimeout(t)}setInterval(t,e){return p(q,this).setInterval(t,e)}clearInterval(t){p(q,this).clearInterval(t)}}});function U(){}function x(t){return"number"==typeof t&&t>=0&&t!==1/0}function K(t,e){return Math.max(t+(e||0)-Date.now(),0)}function I(t,e){return"function"==typeof t?t(e):t}function L(t,e){return"function"==typeof t?t(e):t}function H(t,e){const{type:s="all",exact:i,fetchStatus:n,predicate:a,queryKey:r,stale:o}=t;if(r)if(i){if(e.queryHash!==_(r,e.options))return!1}else if(!B(e.queryKey,r))return!1;if("all"!==s){const t=e.isActive();if("active"===s&&!t)return!1;if("inactive"===s&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&((!n||n===e.state.fetchStatus)&&!(a&&!a(e)))}function G(t,e){const{exact:s,status:i,predicate:n,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(s){if(N(e.options.mutationKey)!==N(a))return!1}else if(!B(e.options.mutationKey,a))return!1}return(!i||e.state.status===i)&&!(n&&!n(e))}function _(t,e){return((null==e?void 0:e.queryKeyHashFn)||N)(t)}function N(t){return JSON.stringify(t,(t,e)=>V(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function B(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&Object.keys(e).every(s=>B(t[s],e[s])))}function z(t,e,s=0){if(t===e)return t;if(s>500)return e;const i=J(t)&&J(e);if(!(i||V(t)&&V(e)))return e;const n=(i?t:Object.keys(t)).length,a=i?e:Object.keys(e),r=a.length,o=i?new Array(r):{};let u=0;for(let l=0;l<r;l++){const r=i?l:a[l],h=t[r],c=e[r];if(h===c){o[r]=h,(i?l<n:Q.call(t,r))&&u++;continue}if(null===h||null===c||"object"!=typeof h||"object"!=typeof c){o[r]=c;continue}const d=z(h,c,s+1);o[r]=d,d===h&&u++}return n===r&&u===n?t:o}function $(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function J(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function V(t){if(!X(t))return!1;const e=t.constructor;if(void 0===e)return!0;const s=e.prototype;return!!X(s)&&(!!s.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype)}function X(t){return"[object Object]"===Object.prototype.toString.call(t)}function Y(t,e,s){return"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?z(t,e):e}function Z(t,e,s=0){const i=[...t,e];return s&&i.length>s?i.slice(1):i}function tt(t,e,s=0){const i=[e,...t];return s&&i.length>s?i.slice(0,-1):i}function et(t,e){return!t.queryFn&&(null==e?void 0:e.initialPromise)?()=>e.initialPromise:t.queryFn&&t.queryFn!==j?t.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`))}function st(t,e){return"function"==typeof t?t(...e):!!t}var it,nt=t(()=>{T(),D="undefined"==typeof window||"Deno"in globalThis,Q=Object.prototype.hasOwnProperty,j=Symbol()}),at=t(()=>{nt(),it=(()=>{let t=()=>D;return{isServer:()=>t(),setIsServer(e){t=e}}})()});function rt(){let t,e;const s=new Promise((s,i)=>{t=s,e=i});function i(t){Object.assign(s,t),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=e=>{i({status:"fulfilled",value:e}),t(e)},s.reject=t=>{i({status:"rejected",reason:t}),e(t)},s}var ot,ut,lt=t(()=>{nt()});function ht(t){return t}function ct(t){return"success"===t.state.status}function dt(t,e,s){var i,n,a,r;if("object"!=typeof e||null===e)return;const o=t.getMutationCache(),l=t.getQueryCache(),h=null!==(i=null!==(n=null==s||null===(a=s.defaultOptions)||void 0===a?void 0:a.deserializeData)&&void 0!==n?n:null===(r=t.getDefaultOptions().hydrate)||void 0===r?void 0:r.deserializeData)&&void 0!==i?i:ht,c=e.mutations||[],d=e.queries||[];c.forEach(e=>{var i,n;let{state:a}=e,r=v(e,ot);o.build(t,u(u(u({},null===(i=t.getDefaultOptions().hydrate)||void 0===i?void 0:i.mutations),null==s||null===(n=s.defaultOptions)||void 0===n?void 0:n.mutations),r),a)}),d.forEach(({queryKey:e,state:i,queryHash:n,meta:a,promise:r,dehydratedAt:o,queryType:c})=>{const d=r?function(t){var e;let s;if(null===(e=t.then(t=>(s=t,t),U))||void 0===e||e.catch(U),void 0!==s)return{data:s}}(r):void 0,f=void 0===i.data?null==d?void 0:d.data:i.data,p=void 0===f?f:h(f);let y=l.get(n);const m="pending"===(null==y?void 0:y.state.status),b="fetching"===(null==y?void 0:y.state.fetchStatus);if(y){const t=d&&void 0!==o&&o>y.state.dataUpdatedAt;if(i.dataUpdatedAt>y.state.dataUpdatedAt||t){const{fetchStatus:t}=i,e=v(i,ut);y.setState(u(u({},e),{},{data:p},"pending"===i.status&&void 0!==p&&u({status:"success"},!b&&{fetchStatus:"idle"})))}}else{var g,w;y=l.build(t,u(u(u({},null===(g=t.getDefaultOptions().hydrate)||void 0===g?void 0:g.queries),null==s||null===(w=s.defaultOptions)||void 0===w?void 0:w.queries),{},{queryKey:e,queryHash:n,meta:a,_type:c}),u(u({},i),{},{data:p,fetchStatus:"idle",status:"pending"===i.status&&void 0!==p?"success":i.status}))}!r||d||m||b||!(void 0===o||o>y.state.dataUpdatedAt)||y.fetch(void 0,{initialPromise:Promise.resolve(r).then(h)}).catch(U)})}var vt,ft,pt=t(()=>{lt(),nt(),l(),h(),ot=["state"],ut=["fetchStatus"]});function yt(){let t=[],e=0,s=t=>{t()},i=t=>{t()},n=vt;const a=i=>{e?t.push(i):n(()=>{s(i)})};return{batch:a=>{let r;e++;try{r=a()}finally{e--,e||(()=>{const e=t;t=[],e.length&&n(()=>{i(()=>{e.forEach(t=>{s(t)})})})})()}return r},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{n=t}}}var mt,bt,gt,wt,Ot,Mt=t(()=>{T(),vt=E,ft=yt()}),St=t(()=>{W(),n(),f(),a(),mt=new WeakMap,bt=new WeakMap,gt=new WeakMap,wt=new class extends O{constructor(){super(),s(this,mt,!0),s(this,bt,void 0),s(this,gt,void 0),e(gt,this,t=>{if("undefined"!=typeof window&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}})}onSubscribe(){p(bt,this)||this.setEventListener(p(gt,this))}onUnsubscribe(){var t;this.hasListeners()||(null===(t=p(bt,this))||void 0===t||t.call(this),e(bt,this,void 0))}setEventListener(t){var s;e(gt,this,t),null===(s=p(bt,this))||void 0===s||s.call(this),e(bt,this,t(this.setOnline.bind(this)))}setOnline(t){p(mt,this)!==t&&(e(mt,this,t),this.listeners.forEach(e=>{e(t)}))}isOnline(){return p(mt,this)}}});function Pt(t){return Math.min(1e3*Math.pow(2,t),3e4)}function kt(t){return"online"!==(null!=t?t:"online")||wt.isOnline()}function qt(t){let e,s=!1,i=0;const n=rt(),a=()=>"pending"!==n.status,r=()=>k.isFocused()&&("always"===t.networkMode||wt.isOnline())&&t.canRun(),o=()=>kt(t.networkMode)&&t.canRun(),u=t=>{a()||(null==e||e(),n.resolve(t))},l=t=>{a()||(null==e||e(),n.reject(t))},h=()=>new Promise(s=>{var i;e=t=>{(a()||r())&&s(t)},null===(i=t.onPause)||void 0===i||i.call(t)}).then(()=>{var s;(e=void 0,a())||(null===(s=t.onContinue)||void 0===s||s.call(t))}),c=()=>{if(a())return;let e;const n=0===i?t.initialPromise:void 0;try{e=null!=n?n:t.fn()}catch(o){e=Promise.reject(o)}Promise.resolve(e).then(u).catch(e=>{var n,o,u;if(a())return;const d=null!==(n=t.retry)&&void 0!==n?n:it.isServer()?0:3,v=null!==(o=t.retryDelay)&&void 0!==o?o:Pt,f="function"==typeof v?v(i,e):v,p=!0===d||"number"==typeof d&&i<d||"function"==typeof d&&d(i,e);var y;!s&&p?(i++,null===(u=t.onFail)||void 0===u||u.call(t,i,e),(y=f,new Promise(t=>{F.setTimeout(t,y)})).then(()=>r()?void 0:h()).then(()=>{s?l(e):c()})):l(e)})};return{promise:n,status:()=>n.status,cancel:e=>{if(!a()){var s;const i=new Ot(e);l(i),null===(s=t.onCancel)||void 0===s||s.call(t,i)}},continue:()=>(null==e||e(),n),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:o,start:()=>(o()?c():h().then(c),n)}}var Ct,Rt,Ft=t(()=>{A(),St(),lt(),at(),nt(),Ot=class extends Error{constructor(t){super("CancelledError"),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}}}),Wt=t(()=>{T(),at(),nt(),n(),f(),a(),Ct=new WeakMap,Rt=class{constructor(){s(this,Ct,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),x(this.gcTime)&&e(Ct,this,F.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,null!=t?t:it.isServer()?1/0:3e5)}clearGcTimeout(){void 0!==p(Ct,this)&&(F.clearTimeout(p(Ct,this)),e(Ct,this,void 0))}}});function At(t){return{onFetch:(e,s)=>{var i,n,a;const r=e.options,o=null===(i=e.fetchOptions)||void 0===i||null===(i=i.meta)||void 0===i||null===(i=i.fetchMore)||void 0===i?void 0:i.direction,u=(null===(n=e.state.data)||void 0===n?void 0:n.pages)||[],l=(null===(a=e.state.data)||void 0===a?void 0:a.pageParams)||[];let h={pages:[],pageParams:[]},c=0;const v=(f=d(function*(){let s=!1;const i=t=>{!function(t,e,s){let i,n=!1;Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{var t;return null!==(t=i)&&void 0!==t||(i=e()),n||(n=!0,i.aborted?s():i.addEventListener("abort",s,{once:!0})),i}})}(t,()=>e.signal,()=>s=!0)},n=et(e.options,e.fetchOptions),a=(v=d(function*(t,a,r){if(s)return Promise.reject(e.signal.reason);if(null==a&&t.pages.length)return Promise.resolve(t);const o=yield n((()=>{const t={client:e.client,queryKey:e.queryKey,pageParam:a,direction:r?"backward":"forward",meta:e.options.meta};return i(t),t})()),{maxPages:u}=e.options,l=r?tt:Z;return{pages:l(t.pages,o,u),pageParams:l(t.pageParams,a,u)}}),function(t,e,s){return v.apply(this,arguments)});var v;if(o&&u.length){const t="backward"===o,e=t?Dt:Et,s={pages:u,pageParams:l};h=yield a(s,e(r,s),t)}else{const e=null!=t?t:u.length;do{var f;const t=0===c?null!==(f=l[0])&&void 0!==f?f:r.initialPageParam:Et(r,h);if(c>0&&null==t)break;h=yield a(h,t),c++}while(c<e)}return h}),function(){return f.apply(this,arguments)});var f;e.options.persister?e.fetchFn=()=>{var t,i;return null===(t=(i=e.options).persister)||void 0===t?void 0:t.call(i,v,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=v}}}function Et(t,{pages:e,pageParams:s}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,s[i],s):void 0}function Dt(t,{pages:e,pageParams:s}){var i;return e.length>0?null===(i=t.getPreviousPageParam)||void 0===i?void 0:i.call(t,e[0],e,s[0],s):void 0}var Qt,jt,Tt,Ut,xt,Kt,It,Lt,Ht,Gt,_t=t(()=>{nt(),c()});function Nt(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}function Bt(t){this.state=(s=>{switch(t.type){case"failed":return u(u({},s),{},{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return u(u({},s),{},{fetchStatus:"paused"});case"continue":return u(u({},s),{},{fetchStatus:"fetching"});case"fetch":var i;return u(u(u({},s),zt(s.data,this.options)),{},{fetchMeta:null!==(i=t.meta)&&void 0!==i?i:null});case"success":const n=u(u(u({},s),$t(t.data,t.dataUpdatedAt)),{},{dataUpdateCount:s.dataUpdateCount+1},!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});return e(Tt,this,t.manual?n:void 0),n;case"error":const a=t.error;return u(u({},s),{},{error:a,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0});case"invalidate":return u(u({},s),{},{isInvalidated:!0});case"setState":return u(u({},s),t.state)}})(this.state),ft.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),p(Ut,this).notify({query:this,type:"updated",action:t})})}function zt(t,e){return u({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:kt(e.networkMode)?"fetching":"paused"},void 0===t&&{error:null,status:"pending"})}function $t(t,e){return{data:t,dataUpdatedAt:null!=e?e:Date.now(),error:null,isInvalidated:!1,status:"success"}}function Jt(t){const e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,i=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?null!=i?i:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Vt,Xt,Yt,Zt,te,ee,se,ie,ne,ae,re,oe,ue,le,he,ce,de,ve=t(()=>{nt(),Mt(),Ft(),Wt(),_t(),o(),n(),f(),a(),l(),i(),c(),Qt=new WeakMap,jt=new WeakMap,Tt=new WeakMap,Ut=new WeakMap,xt=new WeakMap,Kt=new WeakMap,It=new WeakMap,Lt=new WeakMap,Ht=new WeakSet,Gt=class extends Rt{constructor(t){var i;super(),y(this,Ht),s(this,Qt,void 0),s(this,jt,void 0),s(this,Tt,void 0),s(this,Ut,void 0),s(this,xt,void 0),s(this,Kt,void 0),s(this,It,void 0),s(this,Lt,void 0),e(Lt,this,!1),e(It,this,t.defaultOptions),this.setOptions(t.options),this.observers=[],e(xt,this,t.client),e(Ut,this,p(xt,this).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,e(jt,this,Jt(this.options)),this.state=null!==(i=t.state)&&void 0!==i?i:p(jt,this),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return p(Qt,this)}get promise(){var t;return null===(t=p(Kt,this))||void 0===t?void 0:t.promise}setOptions(t){if(this.options=u(u({},p(It,this)),t),(null==t?void 0:t._type)&&e(Qt,this,t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const t=Jt(this.options);void 0!==t.data&&(this.setState($t(t.data,t.dataUpdatedAt)),e(jt,this,t))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||p(Ut,this).remove(this)}setData(t,e){const s=Y(this.state.data,t,this.options);return r(Ht,this,Bt).call(this,{data:s,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),s}setState(t){r(Ht,this,Bt).call(this,{type:"setState",state:t})}cancel(t){var e,s;const i=null===(e=p(Kt,this))||void 0===e?void 0:e.promise;return null===(s=p(Kt,this))||void 0===s||s.cancel(t),i?i.then(U).catch(U):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return p(jt,this)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==L(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===j||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===I(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!K(this.state.dataUpdatedAt,t))}onFocus(){var t;const e=this.observers.find(t=>t.shouldFetchOnWindowFocus());null==e||e.refetch({cancelRefetch:!1}),null===(t=p(Kt,this))||void 0===t||t.continue()}onOnline(){var t;const e=this.observers.find(t=>t.shouldFetchOnReconnect());null==e||e.refetch({cancelRefetch:!1}),null===(t=p(Kt,this))||void 0===t||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),p(Ut,this).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(p(Kt,this)&&(p(Lt,this)||r(Ht,this,Nt).call(this)?p(Kt,this).cancel({revert:!0}):p(Kt,this).cancelRetry()),this.scheduleGc()),p(Ut,this).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||r(Ht,this,Bt).call(this,{type:"invalidate"})}fetch(t,s){var i=this;return d(function*(){var n,a;if("idle"!==i.state.fetchStatus&&"rejected"!==(null===(n=p(Kt,i))||void 0===n?void 0:n.status()))if(void 0!==i.state.data&&(null==s?void 0:s.cancelRefetch))i.cancel({silent:!0});else if(p(Kt,i))return p(Kt,i).continueRetry(),p(Kt,i).promise;if(t&&i.setOptions(t),!i.options.queryFn){const t=i.observers.find(t=>t.options.queryFn);t&&i.setOptions(t.options)}const o=new AbortController,l=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e(Lt,i,!0),o.signal)})},h=()=>{const t=et(i.options,s),n=(()=>{const t={client:p(xt,i),queryKey:i.queryKey,meta:i.meta};return l(t),t})();return e(Lt,i,!1),i.options.persister?i.options.persister(t,n,i):t(n)},c=(()=>{const t={fetchOptions:s,options:i.options,queryKey:i.queryKey,client:p(xt,i),state:i.state,fetchFn:h};return l(t),t})(),d="infinite"===p(Qt,i)?At(i.options.pages):i.options.behavior;var v;(null==d||d.onFetch(c,i),e(Tt,i,i.state),"idle"===i.state.fetchStatus||i.state.fetchMeta!==(null===(a=c.fetchOptions)||void 0===a?void 0:a.meta))&&r(Ht,i,Bt).call(i,{type:"fetch",meta:null===(v=c.fetchOptions)||void 0===v?void 0:v.meta});e(Kt,i,qt({initialPromise:null==s?void 0:s.initialPromise,fn:c.fetchFn,onCancel:t=>{t instanceof Ot&&t.revert&&i.setState(u(u({},p(Tt,i)),{},{fetchStatus:"idle"})),o.abort()},onFail:(t,e)=>{r(Ht,i,Bt).call(i,{type:"failed",failureCount:t,error:e})},onPause:()=>{r(Ht,i,Bt).call(i,{type:"pause"})},onContinue:()=>{r(Ht,i,Bt).call(i,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}));try{var f,y,m,b;const t=yield p(Kt,i).start();if(void 0===t)throw new Error(`${i.queryHash} data is undefined`);return i.setData(t),null===(f=(y=p(Ut,i).config).onSuccess)||void 0===f||f.call(y,t,i),null===(m=(b=p(Ut,i).config).onSettled)||void 0===m||m.call(b,t,i.state.error,i),t}catch(S){var g,w,O,M;if(S instanceof Ot){if(S.silent)return p(Kt,i).promise;if(S.revert){if(void 0===i.state.data)throw S;return i.state.data}}throw r(Ht,i,Bt).call(i,{type:"error",error:S}),null===(g=(w=p(Ut,i).config).onError)||void 0===g||g.call(w,S,i),null===(O=(M=p(Ut,i).config).onSettled)||void 0===O||O.call(M,i.state.data,S,i),S}finally{i.scheduleGc()}})()}}});function fe(t){r(ce,this,Oe).call(this);let e=p(Xt,this).fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(U)),e}function pe(){r(ce,this,ge).call(this);const t=I(this.options.staleTime,p(Xt,this));if(it.isServer()||p(Zt,this).isStale||!x(t))return;const s=K(p(Zt,this).dataUpdatedAt,t)+1;e(oe,this,F.setTimeout(()=>{p(Zt,this).isStale||this.updateResult()},s))}function ye(){var t;return null!==(t="function"==typeof this.options.refetchInterval?this.options.refetchInterval(p(Xt,this)):this.options.refetchInterval)&&void 0!==t&&t}function me(t){r(ce,this,we).call(this),e(le,this,t),!it.isServer()&&!1!==L(this.options.enabled,p(Xt,this))&&x(p(le,this))&&0!==p(le,this)&&e(ue,this,F.setInterval(()=>{(this.options.refetchIntervalInBackground||k.isFocused())&&r(ce,this,fe).call(this)},p(le,this)))}function be(){r(ce,this,pe).call(this),r(ce,this,me).call(this,r(ce,this,ye).call(this))}function ge(){void 0!==p(oe,this)&&(F.clearTimeout(p(oe,this)),e(oe,this,void 0))}function we(){void 0!==p(ue,this)&&(F.clearInterval(p(ue,this)),e(ue,this,void 0))}function Oe(){const t=p(Vt,this).getQueryCache().build(p(Vt,this),this.options);if(t===p(Xt,this))return;const s=p(Xt,this);e(Xt,this,t),e(Yt,this,t.state),this.hasListeners()&&(null==s||s.removeObserver(this),t.addObserver(this))}function Me(t){ft.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(p(Zt,this))}),p(Vt,this).getQueryCache().notify({query:p(Xt,this),type:"observerResultsUpdated"})})}function Se(t,e){return function(t,e){return!1!==L(e.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===L(e.retryOnMount,t))}(t,e)||void 0!==t.state.data&&Pe(t,e,e.refetchOnMount)}function Pe(t,e,s){if(!1!==L(e.enabled,t)&&"static"!==I(e.staleTime,t)){const i="function"==typeof s?s(t):s;return"always"===i||!1!==i&&qe(t,e)}return!1}function ke(t,e,s,i){return(t!==e||!1===L(i.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&qe(t,s)}function qe(t,e){return!1!==L(e.enabled,t)&&t.isStaleByTime(I(e.staleTime,t))}var Ce,Re,Fe,We,Ae,Ee,De=t(()=>{A(),at(),Mt(),ve(),W(),lt(),nt(),T(),o(),n(),f(),a(),i(),m(),b(),l(),Vt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,Zt=new WeakMap,te=new WeakMap,ee=new WeakMap,se=new WeakMap,ie=new WeakMap,ne=new WeakMap,ae=new WeakMap,re=new WeakMap,oe=new WeakMap,ue=new WeakMap,le=new WeakMap,he=new WeakMap,ce=new WeakSet,de=class extends O{constructor(t,i){super(),y(this,ce),s(this,Vt,void 0),s(this,Xt,void 0),s(this,Yt,void 0),s(this,Zt,void 0),s(this,te,void 0),s(this,ee,void 0),s(this,se,void 0),s(this,ie,void 0),s(this,ne,void 0),s(this,ae,void 0),s(this,re,void 0),s(this,oe,void 0),s(this,ue,void 0),s(this,le,void 0),s(this,he,new Set),this.options=i,e(Vt,this,t),e(ie,this,null),e(se,this,rt()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(p(Xt,this).addObserver(this),Se(p(Xt,this),this.options)?r(ce,this,fe).call(this):this.updateResult(),r(ce,this,be).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Pe(p(Xt,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Pe(p(Xt,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,r(ce,this,ge).call(this),r(ce,this,we).call(this),p(Xt,this).removeObserver(this)}setOptions(t){const e=this.options,s=p(Xt,this);if(this.options=p(Vt,this).defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof L(this.options.enabled,p(Xt,this)))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");r(ce,this,Oe).call(this),p(Xt,this).setOptions(this.options),e._defaulted&&!$(this.options,e)&&p(Vt,this).getQueryCache().notify({type:"observerOptionsUpdated",query:p(Xt,this),observer:this});const i=this.hasListeners();i&&ke(p(Xt,this),s,this.options,e)&&r(ce,this,fe).call(this),this.updateResult(),!i||p(Xt,this)===s&&L(this.options.enabled,p(Xt,this))===L(e.enabled,p(Xt,this))&&I(this.options.staleTime,p(Xt,this))===I(e.staleTime,p(Xt,this))||r(ce,this,pe).call(this);const n=r(ce,this,ye).call(this);!i||p(Xt,this)===s&&L(this.options.enabled,p(Xt,this))===L(e.enabled,p(Xt,this))&&n===p(le,this)||r(ce,this,me).call(this,n)}getOptimisticResult(t){const s=p(Vt,this).getQueryCache().build(p(Vt,this),t),i=this.createResult(s,t);var n;return n=i,$(this.getCurrentResult(),n)||(e(Zt,this,i),e(ee,this,this.options),e(te,this,p(Xt,this).state)),i}getCurrentResult(){return p(Zt,this)}trackResult(t,e){return new Proxy(t,{get:(t,s)=>(this.trackProp(s),null==e||e(s),"promise"===s&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==p(se,this).status||p(se,this).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,s))})}trackProp(t){p(he,this).add(t)}getCurrentQuery(){return p(Xt,this)}refetch(t={}){let e=w({},(g(t),t));return this.fetch(u({},e))}fetchOptimistic(t){const e=p(Vt,this).defaultQueryOptions(t),s=p(Vt,this).getQueryCache().build(p(Vt,this),e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){var e;return r(ce,this,fe).call(this,u(u({},t),{},{cancelRefetch:null===(e=t.cancelRefetch)||void 0===e||e})).then(()=>(this.updateResult(),p(Zt,this)))}createResult(t,s){const i=p(Xt,this),n=this.options,a=p(Zt,this),r=p(te,this),o=p(ee,this),l=t!==i?t.state:p(Yt,this),{state:h}=t;let c,d=u({},h),v=!1;if(s._optimisticResults){const e=this.hasListeners(),a=!e&&Se(t,s),r=e&&ke(t,i,s,n);(a||r)&&(d=u(u({},d),zt(h.data,t.options))),"isRestoring"===s._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:y,status:m}=d;c=d.data;let b=!1;if(void 0!==s.placeholderData&&void 0===c&&"pending"===m){let t;var g;if((null==a?void 0:a.isPlaceholderData)&&s.placeholderData===(null==o?void 0:o.placeholderData))t=a.data,b=!0;else t="function"==typeof s.placeholderData?s.placeholderData(null===(g=p(re,this))||void 0===g?void 0:g.state.data,p(re,this)):s.placeholderData;void 0!==t&&(m="success",c=Y(null==a?void 0:a.data,t,s),v=!0)}if(s.select&&void 0!==c&&!b)if(a&&c===(null==r?void 0:r.data)&&s.select===p(ne,this))c=p(ae,this);else try{e(ne,this,s.select),c=s.select(c),c=Y(null==a?void 0:a.data,c,s),e(ae,this,c),e(ie,this,null)}catch(q){e(ie,this,q)}p(ie,this)&&(f=p(ie,this),c=p(ae,this),y=Date.now(),m="error");const w="fetching"===d.fetchStatus,O="pending"===m,M="error"===m,S=O&&w,P=void 0!==c,k={status:m,fetchStatus:d.fetchStatus,isPending:O,isSuccess:"success"===m,isError:M,isInitialLoading:S,isLoading:S,data:c,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:y,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:w,isRefetching:w&&!O,isLoadingError:M&&!P,isPaused:"paused"===d.fetchStatus,isPlaceholderData:v,isRefetchError:M&&P,isStale:qe(t,s),refetch:this.refetch,promise:p(se,this),isEnabled:!1!==L(s.enabled,t)};if(this.options.experimental_prefetchInRender){const s=void 0!==k.data,n="error"===k.status&&!s,a=t=>{n?t.reject(k.error):s&&t.resolve(k.data)},r=()=>{a(e(se,this,k.promise=rt()))},o=p(se,this);switch(o.status){case"pending":t.queryHash===i.queryHash&&a(o);break;case"fulfilled":(n||k.data!==o.value)&&r();break;case"rejected":n&&k.error===o.reason||r()}}return k}updateResult(){const t=p(Zt,this),s=this.createResult(p(Xt,this),this.options);if(e(te,this,p(Xt,this).state),e(ee,this,this.options),void 0!==p(te,this).data&&e(re,this,p(Xt,this)),$(s,t))return;e(Zt,this,s);r(ce,this,Me).call(this,{listeners:(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!p(he,this).size)return!0;const i=new Set(null!=s?s:p(he,this));return this.options.throwOnError&&i.add("error"),Object.keys(p(Zt,this)).some(e=>{const s=e;return p(Zt,this)[s]!==t[s]&&i.has(s)})})()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&r(ce,this,be).call(this)}}});function Qe(t){this.state=(e=>{switch(t.type){case"failed":return u(u({},e),{},{failureCount:t.failureCount,failureReason:t.error});case"pause":return u(u({},e),{},{isPaused:!0});case"continue":return u(u({},e),{},{isPaused:!1});case"pending":return u(u({},e),{},{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()});case"success":return u(u({},e),{},{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return u(u({},e),{},{data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"})}})(this.state),ft.batch(()=>{p(Re,this).forEach(e=>{e.onMutationUpdate(t)}),p(Fe,this).notify({mutation:this,type:"updated",action:t})})}var je,Te,Ue,xe,Ke=t(()=>{Mt(),Wt(),Ft(),o(),n(),f(),a(),i(),c(),l(),Ce=new WeakMap,Re=new WeakMap,Fe=new WeakMap,We=new WeakMap,Ae=new WeakSet,Ee=class extends Rt{constructor(t){super(),y(this,Ae),s(this,Ce,void 0),s(this,Re,void 0),s(this,Fe,void 0),s(this,We,void 0),e(Ce,this,t.client),this.mutationId=t.mutationId,e(Fe,this,t.mutationCache),e(Re,this,[]),this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){p(Re,this).includes(t)||(p(Re,this).push(t),this.clearGcTimeout(),p(Fe,this).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){e(Re,this,p(Re,this).filter(e=>e!==t)),this.scheduleGc(),p(Fe,this).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){p(Re,this).length||("pending"===this.state.status?this.scheduleGc():p(Fe,this).remove(this))}continue(){var t,e;return null!==(t=null===(e=p(We,this))||void 0===e?void 0:e.continue())&&void 0!==t?t:this.execute(this.state.variables)}execute(t){var s=this;return d(function*(){var i;const n=()=>{r(Ae,s,Qe).call(s,{type:"continue"})},a={client:p(Ce,s),meta:s.options.meta,mutationKey:s.options.mutationKey};e(We,s,qt({fn:()=>s.options.mutationFn?s.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(t,e)=>{r(Ae,s,Qe).call(s,{type:"failed",failureCount:t,error:e})},onPause:()=>{r(Ae,s,Qe).call(s,{type:"pause"})},onContinue:n,retry:null!==(i=s.options.retry)&&void 0!==i?i:0,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>p(Fe,s).canRun(s)}));const o="pending"===s.state.status,u=!p(We,s).canStart();try{var l,h,c,d,v,f,y,m;if(o)n();else{var b,g;r(Ae,s,Qe).call(s,{type:"pending",variables:t,isPaused:u}),p(Fe,s).config.onMutate&&(yield p(Fe,s).config.onMutate(t,s,a));const e=yield null===(b=(g=s.options).onMutate)||void 0===b?void 0:b.call(g,t,a);e!==s.state.context&&r(Ae,s,Qe).call(s,{type:"pending",context:e,variables:t,isPaused:u})}const e=yield p(We,s).start();return yield null===(l=(h=p(Fe,s).config).onSuccess)||void 0===l?void 0:l.call(h,e,t,s.state.context,s,a),yield null===(c=(d=s.options).onSuccess)||void 0===c?void 0:c.call(d,e,t,s.state.context,a),yield null===(v=(f=p(Fe,s).config).onSettled)||void 0===v?void 0:v.call(f,e,null,s.state.variables,s.state.context,s,a),yield null===(y=(m=s.options).onSettled)||void 0===y?void 0:y.call(m,e,null,t,s.state.context,a),r(Ae,s,Qe).call(s,{type:"success",data:e}),e}catch(R){try{var w,O;yield null===(w=(O=p(Fe,s).config).onError)||void 0===w?void 0:w.call(O,R,t,s.state.context,s,a)}catch(F){Promise.reject(F)}try{var M,S;yield null===(M=(S=s.options).onError)||void 0===M?void 0:M.call(S,R,t,s.state.context,a)}catch(F){Promise.reject(F)}try{var P,k;yield null===(P=(k=p(Fe,s).config).onSettled)||void 0===P?void 0:P.call(k,void 0,R,s.state.variables,s.state.context,s,a)}catch(F){Promise.reject(F)}try{var q,C;yield null===(q=(C=s.options).onSettled)||void 0===q?void 0:q.call(C,void 0,R,t,s.state.context,a)}catch(F){Promise.reject(F)}throw r(Ae,s,Qe).call(s,{type:"error",error:R}),R}finally{p(Fe,s).runNext(s)}})()}}});function Ie(t){var e;return null===(e=t.options.scope)||void 0===e?void 0:e.id}var Le,He,Ge,_e,Ne,Be,ze=t(()=>{Mt(),Ke(),nt(),W(),n(),f(),a(),l(),je=new WeakMap,Te=new WeakMap,Ue=new WeakMap,xe=class extends O{constructor(t={}){super(),s(this,je,void 0),s(this,Te,void 0),s(this,Ue,void 0),this.config=t,e(je,this,new Set),e(Te,this,new Map),e(Ue,this,0)}build(t,s,i){var n;const a=new Ee({client:t,mutationCache:this,mutationId:e(Ue,this,(n=p(Ue,this),++n)),options:t.defaultMutationOptions(s),state:i});return this.add(a),a}add(t){p(je,this).add(t);const e=Ie(t);if("string"==typeof e){const s=p(Te,this).get(e);s?s.push(t):p(Te,this).set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(p(je,this).delete(t)){const e=Ie(t);if("string"==typeof e){const s=p(Te,this).get(e);if(s)if(s.length>1){const e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&p(Te,this).delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=Ie(t);if("string"==typeof e){const s=p(Te,this).get(e),i=null==s?void 0:s.find(t=>"pending"===t.state.status);return!i||i===t}return!0}runNext(t){const e=Ie(t);if("string"==typeof e){var s,i;const n=null===(s=p(Te,this).get(e))||void 0===s?void 0:s.find(e=>e!==t&&e.state.isPaused);return null!==(i=null==n?void 0:n.continue())&&void 0!==i?i:Promise.resolve()}return Promise.resolve()}clear(){ft.batch(()=>{p(je,this).forEach(t=>{this.notify({type:"removed",mutation:t})}),p(je,this).clear(),p(Te,this).clear()})}getAll(){return Array.from(p(je,this))}find(t){const e=u({exact:!0},t);return this.getAll().find(t=>G(e,t))}findAll(t={}){return this.getAll().filter(e=>G(t,e))}notify(t){ft.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(t=>t.state.isPaused);return ft.batch(()=>Promise.all(t.map(t=>t.continue().catch(U))))}}});function $e(){var t,s;const i=null!==(t=null===(s=p(Ge,this))||void 0===s?void 0:s.state)&&void 0!==t?t:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};e(He,this,u(u({},i),{},{isPending:"pending"===i.status,isSuccess:"success"===i.status,isError:"error"===i.status,isIdle:"idle"===i.status,mutate:this.mutate,reset:this.reset}))}function Je(t){ft.batch(()=>{if(p(_e,this)&&this.hasListeners()){const h=p(He,this).variables,c=p(He,this).context,d={client:p(Le,this),meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===(null==t?void 0:t.type)){try{var e,s;null===(e=(s=p(_e,this)).onSuccess)||void 0===e||e.call(s,t.data,h,c,d)}catch(l){Promise.reject(l)}try{var i,n;null===(i=(n=p(_e,this)).onSettled)||void 0===i||i.call(n,t.data,null,h,c,d)}catch(l){Promise.reject(l)}}else if("error"===(null==t?void 0:t.type)){try{var a,r;null===(a=(r=p(_e,this)).onError)||void 0===a||a.call(r,t.error,h,c,d)}catch(l){Promise.reject(l)}try{var o,u;null===(o=(u=p(_e,this)).onSettled)||void 0===o||o.call(u,void 0,t.error,h,c,d)}catch(l){Promise.reject(l)}}}this.listeners.forEach(t=>{t(p(He,this))})})}var Ve,Xe,Ye,Ze,ts,es,ss,is,ns,as,rs,os=t(()=>{Ke(),Mt(),W(),nt(),o(),n(),f(),i(),a(),l(),Le=new WeakMap,He=new WeakMap,Ge=new WeakMap,_e=new WeakMap,Ne=new WeakSet,Be=class extends O{constructor(t,i){super(),y(this,Ne),s(this,Le,void 0),s(this,He,void 0),s(this,Ge,void 0),s(this,_e,void 0),e(Le,this,t),this.setOptions(i),this.bindMethods(),r(Ne,this,$e).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;const s=this.options;this.options=p(Le,this).defaultMutationOptions(t),$(this.options,s)||p(Le,this).getMutationCache().notify({type:"observerOptionsUpdated",mutation:p(Ge,this),observer:this}),(null==s?void 0:s.mutationKey)&&this.options.mutationKey&&N(s.mutationKey)!==N(this.options.mutationKey)?this.reset():"pending"===(null===(e=p(Ge,this))||void 0===e?void 0:e.state.status)&&p(Ge,this).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(null===(t=p(Ge,this))||void 0===t||t.removeObserver(this))}onMutationUpdate(t){r(Ne,this,$e).call(this),r(Ne,this,Je).call(this,t)}getCurrentResult(){return p(He,this)}reset(){var t;null===(t=p(Ge,this))||void 0===t||t.removeObserver(this),e(Ge,this,void 0),r(Ne,this,$e).call(this),r(Ne,this,Je).call(this)}mutate(t,s){var i;return e(_e,this,s),null===(i=p(Ge,this))||void 0===i||i.removeObserver(this),e(Ge,this,p(Le,this).getMutationCache().build(p(Le,this),this.options)),p(Ge,this).addObserver(this),p(Ge,this).execute(t)}}}),us=t(()=>{nt(),ve(),Mt(),W(),n(),f(),a(),l(),Ve=new WeakMap,Xe=class extends O{constructor(t={}){super(),s(this,Ve,void 0),this.config=t,e(Ve,this,new Map)}build(t,e,s){var i;const n=e.queryKey,a=null!==(i=e.queryHash)&&void 0!==i?i:_(n,e);let r=this.get(a);return r||(r=new Gt({client:t,queryKey:n,queryHash:a,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(n)}),this.add(r)),r}add(t){p(Ve,this).has(t.queryHash)||(p(Ve,this).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=p(Ve,this).get(t.queryHash);e&&(t.destroy(),e===t&&p(Ve,this).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ft.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return p(Ve,this).get(t)}getAll(){return[...p(Ve,this).values()]}find(t){const e=u({exact:!0},t);return this.getAll().find(t=>H(e,t))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(e=>H(t,e)):e}notify(t){ft.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){ft.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ft.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}}}),ls=t(()=>{nt(),us(),ze(),A(),St(),Mt(),n(),f(),a(),c(),l(),Ye=new WeakMap,Ze=new WeakMap,ts=new WeakMap,es=new WeakMap,ss=new WeakMap,is=new WeakMap,ns=new WeakMap,as=new WeakMap,rs=class{constructor(t={}){s(this,Ye,void 0),s(this,Ze,void 0),s(this,ts,void 0),s(this,es,void 0),s(this,ss,void 0),s(this,is,void 0),s(this,ns,void 0),s(this,as,void 0),e(Ye,this,t.queryCache||new Xe),e(Ze,this,t.mutationCache||new xe),e(ts,this,t.defaultOptions||{}),e(es,this,new Map),e(ss,this,new Map),e(is,this,0)}mount(){var t,s,i,n=this;(e(is,this,(t=p(is,this),++t)),1===p(is,this))&&(e(ns,this,k.subscribe((s=d(function*(t){t&&(yield n.resumePausedMutations(),p(Ye,n).onFocus())}),function(t){return s.apply(this,arguments)}))),e(as,this,wt.subscribe((i=d(function*(t){t&&(yield n.resumePausedMutations(),p(Ye,n).onOnline())}),function(t){return i.apply(this,arguments)}))))}unmount(){var t,s,i;e(is,this,(t=p(is,this),--t)),0===p(is,this)&&(null===(s=p(ns,this))||void 0===s||s.call(this),e(ns,this,void 0),null===(i=p(as,this))||void 0===i||i.call(this),e(as,this,void 0))}isFetching(t){return p(Ye,this).findAll(u(u({},t),{},{fetchStatus:"fetching"})).length}isMutating(t){return p(Ze,this).findAll(u(u({},t),{},{status:"pending"})).length}getQueryData(t){var e;const s=this.defaultQueryOptions({queryKey:t});return null===(e=p(Ye,this).get(s.queryHash))||void 0===e?void 0:e.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=p(Ye,this).build(this,e),i=s.state.data;return void 0===i?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(I(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return p(Ye,this).findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){const i=this.defaultQueryOptions({queryKey:t}),n=p(Ye,this).get(i.queryHash),a=function(t,e){return"function"==typeof t?t(e):t}(e,null==n?void 0:n.state.data);if(void 0!==a)return p(Ye,this).build(this,i).setData(a,u(u({},s),{},{manual:!0}))}setQueriesData(t,e,s){return ft.batch(()=>p(Ye,this).findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){var e;const s=this.defaultQueryOptions({queryKey:t});return null===(e=p(Ye,this).get(s.queryHash))||void 0===e?void 0:e.state}removeQueries(t){const e=p(Ye,this);ft.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){const s=p(Ye,this);return ft.batch(()=>(s.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(u({type:"active"},t),e)))}cancelQueries(t,e={}){const s=u({revert:!0},e),i=ft.batch(()=>p(Ye,this).findAll(t).map(t=>t.cancel(s)));return Promise.all(i).then(U).catch(U)}invalidateQueries(t,e={}){return ft.batch(()=>{var s,i;return p(Ye,this).findAll(t).forEach(t=>{t.invalidate()}),"none"===(null==t?void 0:t.refetchType)?Promise.resolve():this.refetchQueries(u(u({},t),{},{type:null!==(s=null!==(i=null==t?void 0:t.refetchType)&&void 0!==i?i:null==t?void 0:t.type)&&void 0!==s?s:"active"}),e)})}refetchQueries(t,e={}){var s;const i=u(u({},e),{},{cancelRefetch:null===(s=e.cancelRefetch)||void 0===s||s}),n=ft.batch(()=>p(Ye,this).findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let e=t.fetch(void 0,i);return i.throwOnError||(e=e.catch(U)),"paused"===t.state.fetchStatus?Promise.resolve():e}));return Promise.all(n).then(U)}fetchQuery(t){const e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);const s=p(Ye,this).build(this,e);return s.isStaleByTime(I(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(U).catch(U)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(U).catch(U)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return wt.isOnline()?p(Ze,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return p(Ye,this)}getMutationCache(){return p(Ze,this)}getDefaultOptions(){return p(ts,this)}setDefaultOptions(t){e(ts,this,t)}setQueryDefaults(t,e){p(es,this).set(N(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...p(es,this).values()],s={};return e.forEach(e=>{B(t,e.queryKey)&&Object.assign(s,e.defaultOptions)}),s}setMutationDefaults(t,e){p(ss,this).set(N(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...p(ss,this).values()],s={};return e.forEach(e=>{B(t,e.mutationKey)&&Object.assign(s,e.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e=u(u(u(u({},p(ts,this).queries),this.getQueryDefaults(t.queryKey)),t),{},{_defaulted:!0});return e.queryHash||(e.queryHash=_(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===j&&(e.enabled=!1),e}defaultMutationOptions(t){return(null==t?void 0:t._defaulted)?t:u(u(u(u({},p(ts,this).mutations),(null==t?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey)),t),{},{_defaulted:!0})}clear(){p(Ye,this).clear(),p(Ze,this).clear()}}}),hs=t(()=>{}),cs=t(()=>{pt(),ze(),os(),Mt(),us(),ls(),De(),nt(),hs()});export{xe as a,ct as c,D as d,H as f,Be as i,dt as l,st as m,rs as n,de as o,B as p,Xe as r,ft as s,cs as t,N as u};
|
|
1
|
+
import{n as t}from"./rolldown-runtime-CHbrDDT0.js";import{C as e,D as s,E as i,O as n,S as a,T as r,b as o,d as u,f as l,i as h,m as c,p as d,r as v,w as f,x as p,y}from"./fecha-DKYcT2kV.js";import{i as m,n as b,r as g,t as w}from"./extends-BEDPO8Vk.js";var O,M,S,P,k,q,C,R,F,W=t(()=>{O=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}}),A=t(()=>{W(),n(),f(),a(),M=new WeakMap,S=new WeakMap,P=new WeakMap,k=new class extends O{constructor(){super(),s(this,M,void 0),s(this,S,void 0),s(this,P,void 0),e(P,this,t=>{if("undefined"!=typeof window&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){p(S,this)||this.setEventListener(p(P,this))}onUnsubscribe(){var t;this.hasListeners()||(null===(t=p(S,this))||void 0===t||t.call(this),e(S,this,void 0))}setEventListener(t){var s;e(P,this,t),null===(s=p(S,this))||void 0===s||s.call(this),e(S,this,t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()}))}setFocused(t){p(M,this)!==t&&(e(M,this,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return"boolean"==typeof p(M,this)?p(M,this):"hidden"!==(null===(t=globalThis.document)||void 0===t?void 0:t.visibilityState)}}});function E(t){setTimeout(t,0)}var D,Q,j,T=t(()=>{n(),a(),f(),R={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},q=new WeakMap,C=new WeakMap,F=new class{constructor(){s(this,q,R),s(this,C,!1)}setTimeoutProvider(t){e(q,this,t)}setTimeout(t,e){return p(q,this).setTimeout(t,e)}clearTimeout(t){p(q,this).clearTimeout(t)}setInterval(t,e){return p(q,this).setInterval(t,e)}clearInterval(t){p(q,this).clearInterval(t)}}});function U(){}function x(t){return"number"==typeof t&&t>=0&&t!==1/0}function K(t,e){return Math.max(t+(e||0)-Date.now(),0)}function I(t,e){return"function"==typeof t?t(e):t}function L(t,e){return"function"==typeof t?t(e):t}function H(t,e){const{type:s="all",exact:i,fetchStatus:n,predicate:a,queryKey:r,stale:o}=t;if(r)if(i){if(e.queryHash!==_(r,e.options))return!1}else if(!B(e.queryKey,r))return!1;if("all"!==s){const t=e.isActive();if("active"===s&&!t)return!1;if("inactive"===s&&t)return!1}return("boolean"!=typeof o||e.isStale()===o)&&((!n||n===e.state.fetchStatus)&&!(a&&!a(e)))}function G(t,e){const{exact:s,status:i,predicate:n,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(s){if(N(e.options.mutationKey)!==N(a))return!1}else if(!B(e.options.mutationKey,a))return!1}return(!i||e.state.status===i)&&!(n&&!n(e))}function _(t,e){return((null==e?void 0:e.queryKeyHashFn)||N)(t)}function N(t){return JSON.stringify(t,(t,e)=>V(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function B(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&Object.keys(e).every(s=>B(t[s],e[s])))}function z(t,e,s=0){if(t===e)return t;if(s>500)return e;const i=J(t)&&J(e);if(!(i||V(t)&&V(e)))return e;const n=(i?t:Object.keys(t)).length,a=i?e:Object.keys(e),r=a.length,o=i?new Array(r):{};let u=0;for(let l=0;l<r;l++){const r=i?l:a[l],h=t[r],c=e[r];if(h===c){o[r]=h,(i?l<n:Q.call(t,r))&&u++;continue}if(null===h||null===c||"object"!=typeof h||"object"!=typeof c){o[r]=c;continue}const d=z(h,c,s+1);o[r]=d,d===h&&u++}return n===r&&u===n?t:o}function $(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const s in t)if(t[s]!==e[s])return!1;return!0}function J(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function V(t){if(!X(t))return!1;const e=t.constructor;if(void 0===e)return!0;const s=e.prototype;return!!X(s)&&(!!s.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype)}function X(t){return"[object Object]"===Object.prototype.toString.call(t)}function Y(t,e,s){return"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?z(t,e):e}function Z(t,e,s=0){const i=[...t,e];return s&&i.length>s?i.slice(1):i}function tt(t,e,s=0){const i=[e,...t];return s&&i.length>s?i.slice(0,-1):i}function et(t,e){return!t.queryFn&&(null==e?void 0:e.initialPromise)?()=>e.initialPromise:t.queryFn&&t.queryFn!==j?t.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`))}function st(t,e){return"function"==typeof t?t(...e):!!t}var it,nt=t(()=>{T(),D="undefined"==typeof window||"Deno"in globalThis,Q=Object.prototype.hasOwnProperty,j=Symbol()}),at=t(()=>{nt(),it=(()=>{let t=()=>D;return{isServer:()=>t(),setIsServer(e){t=e}}})()});function rt(){let t,e;const s=new Promise((s,i)=>{t=s,e=i});function i(t){Object.assign(s,t),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=e=>{i({status:"fulfilled",value:e}),t(e)},s.reject=t=>{i({status:"rejected",reason:t}),e(t)},s}var ot,ut,lt=t(()=>{nt()});function ht(t){return t}function ct(t){return"success"===t.state.status}function dt(t,e,s){var i,n,a,r;if("object"!=typeof e||null===e)return;const o=t.getMutationCache(),l=t.getQueryCache(),h=null!==(i=null!==(n=null==s||null===(a=s.defaultOptions)||void 0===a?void 0:a.deserializeData)&&void 0!==n?n:null===(r=t.getDefaultOptions().hydrate)||void 0===r?void 0:r.deserializeData)&&void 0!==i?i:ht,c=e.mutations||[],d=e.queries||[];c.forEach(e=>{var i,n;let{state:a}=e,r=v(e,ot);o.build(t,u(u(u({},null===(i=t.getDefaultOptions().hydrate)||void 0===i?void 0:i.mutations),null==s||null===(n=s.defaultOptions)||void 0===n?void 0:n.mutations),r),a)}),d.forEach(({queryKey:e,state:i,queryHash:n,meta:a,promise:r,dehydratedAt:o,queryType:c})=>{const d=r?function(t){var e;let s;if(null===(e=t.then(t=>(s=t,t),U))||void 0===e||e.catch(U),void 0!==s)return{data:s}}(r):void 0,f=void 0===i.data?null==d?void 0:d.data:i.data,p=void 0===f?f:h(f);let y=l.get(n);const m="pending"===(null==y?void 0:y.state.status),b="fetching"===(null==y?void 0:y.state.fetchStatus);if(y){const t=d&&void 0!==o&&o>y.state.dataUpdatedAt;if(i.dataUpdatedAt>y.state.dataUpdatedAt||t){const{fetchStatus:t}=i,e=v(i,ut);y.setState(u(u({},e),{},{data:p},"pending"===i.status&&void 0!==p&&u({status:"success"},!b&&{fetchStatus:"idle"})))}}else{var g,w;y=l.build(t,u(u(u({},null===(g=t.getDefaultOptions().hydrate)||void 0===g?void 0:g.queries),null==s||null===(w=s.defaultOptions)||void 0===w?void 0:w.queries),{},{queryKey:e,queryHash:n,meta:a,_type:c}),u(u({},i),{},{data:p,fetchStatus:"idle",status:"pending"===i.status&&void 0!==p?"success":i.status}))}!r||d||m||b||!(void 0===o||o>y.state.dataUpdatedAt)||y.fetch(void 0,{initialPromise:Promise.resolve(r).then(h)}).catch(U)})}var vt,ft,pt=t(()=>{lt(),nt(),l(),h(),ot=["state"],ut=["fetchStatus"]});function yt(){let t=[],e=0,s=t=>{t()},i=t=>{t()},n=vt;const a=i=>{e?t.push(i):n(()=>{s(i)})};return{batch:a=>{let r;e++;try{r=a()}finally{e--,e||(()=>{const e=t;t=[],e.length&&n(()=>{i(()=>{e.forEach(t=>{s(t)})})})})()}return r},batchCalls:t=>(...e)=>{a(()=>{t(...e)})},schedule:a,setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{i=t},setScheduler:t=>{n=t}}}var mt,bt,gt,wt,Ot,Mt=t(()=>{T(),vt=E,ft=yt()}),St=t(()=>{W(),n(),f(),a(),mt=new WeakMap,bt=new WeakMap,gt=new WeakMap,wt=new class extends O{constructor(){super(),s(this,mt,!0),s(this,bt,void 0),s(this,gt,void 0),e(gt,this,t=>{if("undefined"!=typeof window&&window.addEventListener){const e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}})}onSubscribe(){p(bt,this)||this.setEventListener(p(gt,this))}onUnsubscribe(){var t;this.hasListeners()||(null===(t=p(bt,this))||void 0===t||t.call(this),e(bt,this,void 0))}setEventListener(t){var s;e(gt,this,t),null===(s=p(bt,this))||void 0===s||s.call(this),e(bt,this,t(this.setOnline.bind(this)))}setOnline(t){p(mt,this)!==t&&(e(mt,this,t),this.listeners.forEach(e=>{e(t)}))}isOnline(){return p(mt,this)}}});function Pt(t){return Math.min(1e3*Math.pow(2,t),3e4)}function kt(t){return"online"!==(null!=t?t:"online")||wt.isOnline()}function qt(t){let e,s=!1,i=0;const n=rt(),a=()=>"pending"!==n.status,r=()=>k.isFocused()&&("always"===t.networkMode||wt.isOnline())&&t.canRun(),o=()=>kt(t.networkMode)&&t.canRun(),u=t=>{a()||(null==e||e(),n.resolve(t))},l=t=>{a()||(null==e||e(),n.reject(t))},h=()=>new Promise(s=>{var i;e=t=>{(a()||r())&&s(t)},null===(i=t.onPause)||void 0===i||i.call(t)}).then(()=>{var s;(e=void 0,a())||(null===(s=t.onContinue)||void 0===s||s.call(t))}),c=()=>{if(a())return;let e;const n=0===i?t.initialPromise:void 0;try{e=null!=n?n:t.fn()}catch(o){e=Promise.reject(o)}Promise.resolve(e).then(u).catch(e=>{var n,o,u;if(a())return;const d=null!==(n=t.retry)&&void 0!==n?n:it.isServer()?0:3,v=null!==(o=t.retryDelay)&&void 0!==o?o:Pt,f="function"==typeof v?v(i,e):v,p=!0===d||"number"==typeof d&&i<d||"function"==typeof d&&d(i,e);var y;!s&&p?(i++,null===(u=t.onFail)||void 0===u||u.call(t,i,e),(y=f,new Promise(t=>{F.setTimeout(t,y)})).then(()=>r()?void 0:h()).then(()=>{s?l(e):c()})):l(e)})};return{promise:n,status:()=>n.status,cancel:e=>{if(!a()){var s;const i=new Ot(e);l(i),null===(s=t.onCancel)||void 0===s||s.call(t,i)}},continue:()=>(null==e||e(),n),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:o,start:()=>(o()?c():h().then(c),n)}}var Ct,Rt,Ft=t(()=>{A(),St(),lt(),at(),nt(),Ot=class extends Error{constructor(t){super("CancelledError"),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}}}),Wt=t(()=>{T(),at(),nt(),n(),f(),a(),Ct=new WeakMap,Rt=class{constructor(){s(this,Ct,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),x(this.gcTime)&&e(Ct,this,F.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,null!=t?t:it.isServer()?1/0:3e5)}clearGcTimeout(){void 0!==p(Ct,this)&&(F.clearTimeout(p(Ct,this)),e(Ct,this,void 0))}}});function At(t){return{onFetch:(e,s)=>{var i,n,a;const r=e.options,o=null===(i=e.fetchOptions)||void 0===i||null===(i=i.meta)||void 0===i||null===(i=i.fetchMore)||void 0===i?void 0:i.direction,u=(null===(n=e.state.data)||void 0===n?void 0:n.pages)||[],l=(null===(a=e.state.data)||void 0===a?void 0:a.pageParams)||[];let h={pages:[],pageParams:[]},c=0;const v=(f=d(function*(){let s=!1;const i=t=>{!function(t,e,s){let i,n=!1;Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{var t;return null!==(t=i)&&void 0!==t||(i=e()),n||(n=!0,i.aborted?s():i.addEventListener("abort",s,{once:!0})),i}})}(t,()=>e.signal,()=>s=!0)},n=et(e.options,e.fetchOptions),a=(v=d(function*(t,a,r){if(s)return Promise.reject(e.signal.reason);if(null==a&&t.pages.length)return Promise.resolve(t);const o=yield n((()=>{const t={client:e.client,queryKey:e.queryKey,pageParam:a,direction:r?"backward":"forward",meta:e.options.meta};return i(t),t})()),{maxPages:u}=e.options,l=r?tt:Z;return{pages:l(t.pages,o,u),pageParams:l(t.pageParams,a,u)}}),function(t,e,s){return v.apply(this,arguments)});var v;if(o&&u.length){const t="backward"===o,e=t?Dt:Et,s={pages:u,pageParams:l};h=yield a(s,e(r,s),t)}else{const e=null!=t?t:u.length;do{var f;const t=0===c?null!==(f=l[0])&&void 0!==f?f:r.initialPageParam:Et(r,h);if(c>0&&null==t)break;h=yield a(h,t),c++}while(c<e)}return h}),function(){return f.apply(this,arguments)});var f;e.options.persister?e.fetchFn=()=>{var t,i;return null===(t=(i=e.options).persister)||void 0===t?void 0:t.call(i,v,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=v}}}function Et(t,{pages:e,pageParams:s}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,s[i],s):void 0}function Dt(t,{pages:e,pageParams:s}){var i;return e.length>0?null===(i=t.getPreviousPageParam)||void 0===i?void 0:i.call(t,e[0],e,s[0],s):void 0}var Qt,jt,Tt,Ut,xt,Kt,It,Lt,Ht,Gt,_t=t(()=>{nt(),c()});function Nt(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}function Bt(t){this.state=(s=>{switch(t.type){case"failed":return u(u({},s),{},{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return u(u({},s),{},{fetchStatus:"paused"});case"continue":return u(u({},s),{},{fetchStatus:"fetching"});case"fetch":var i;return u(u(u({},s),zt(s.data,this.options)),{},{fetchMeta:null!==(i=t.meta)&&void 0!==i?i:null});case"success":const n=u(u(u({},s),$t(t.data,t.dataUpdatedAt)),{},{dataUpdateCount:s.dataUpdateCount+1},!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});return e(Tt,this,t.manual?n:void 0),n;case"error":const a=t.error;return u(u({},s),{},{error:a,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0});case"invalidate":return u(u({},s),{},{isInvalidated:!0});case"setState":return u(u({},s),t.state)}})(this.state),ft.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),p(Ut,this).notify({query:this,type:"updated",action:t})})}function zt(t,e){return u({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:kt(e.networkMode)?"fetching":"paused"},void 0===t&&{error:null,status:"pending"})}function $t(t,e){return{data:t,dataUpdatedAt:null!=e?e:Date.now(),error:null,isInvalidated:!1,status:"success"}}function Jt(t){const e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,i=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?null!=i?i:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Vt,Xt,Yt,Zt,te,ee,se,ie,ne,ae,re,oe,ue,le,he,ce,de,ve=t(()=>{nt(),Mt(),Ft(),Wt(),_t(),o(),n(),f(),a(),l(),i(),c(),Qt=new WeakMap,jt=new WeakMap,Tt=new WeakMap,Ut=new WeakMap,xt=new WeakMap,Kt=new WeakMap,It=new WeakMap,Lt=new WeakMap,Ht=new WeakSet,Gt=class extends Rt{constructor(t){var i;super(),y(this,Ht),s(this,Qt,void 0),s(this,jt,void 0),s(this,Tt,void 0),s(this,Ut,void 0),s(this,xt,void 0),s(this,Kt,void 0),s(this,It,void 0),s(this,Lt,void 0),e(Lt,this,!1),e(It,this,t.defaultOptions),this.setOptions(t.options),this.observers=[],e(xt,this,t.client),e(Ut,this,p(xt,this).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,e(jt,this,Jt(this.options)),this.state=null!==(i=t.state)&&void 0!==i?i:p(jt,this),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return p(Qt,this)}get promise(){var t;return null===(t=p(Kt,this))||void 0===t?void 0:t.promise}setOptions(t){if(this.options=u(u({},p(It,this)),t),(null==t?void 0:t._type)&&e(Qt,this,t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const t=Jt(this.options);void 0!==t.data&&(this.setState($t(t.data,t.dataUpdatedAt)),e(jt,this,t))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||p(Ut,this).remove(this)}setData(t,e){const s=Y(this.state.data,t,this.options);return r(Ht,this,Bt).call(this,{data:s,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),s}setState(t){r(Ht,this,Bt).call(this,{type:"setState",state:t})}cancel(t){var e,s;const i=null===(e=p(Kt,this))||void 0===e?void 0:e.promise;return null===(s=p(Kt,this))||void 0===s||s.cancel(t),i?i.then(U).catch(U):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return p(jt,this)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==L(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===j||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===I(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!K(this.state.dataUpdatedAt,t))}onFocus(){var t;const e=this.observers.find(t=>t.shouldFetchOnWindowFocus());null==e||e.refetch({cancelRefetch:!1}),null===(t=p(Kt,this))||void 0===t||t.continue()}onOnline(){var t;const e=this.observers.find(t=>t.shouldFetchOnReconnect());null==e||e.refetch({cancelRefetch:!1}),null===(t=p(Kt,this))||void 0===t||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),p(Ut,this).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(p(Kt,this)&&(p(Lt,this)||r(Ht,this,Nt).call(this)?p(Kt,this).cancel({revert:!0}):p(Kt,this).cancelRetry()),this.scheduleGc()),p(Ut,this).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||r(Ht,this,Bt).call(this,{type:"invalidate"})}fetch(t,s){var i=this;return d(function*(){var n,a;if("idle"!==i.state.fetchStatus&&"rejected"!==(null===(n=p(Kt,i))||void 0===n?void 0:n.status()))if(void 0!==i.state.data&&(null==s?void 0:s.cancelRefetch))i.cancel({silent:!0});else if(p(Kt,i))return p(Kt,i).continueRetry(),p(Kt,i).promise;if(t&&i.setOptions(t),!i.options.queryFn){const t=i.observers.find(t=>t.options.queryFn);t&&i.setOptions(t.options)}const o=new AbortController,l=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e(Lt,i,!0),o.signal)})},h=()=>{const t=et(i.options,s),n=(()=>{const t={client:p(xt,i),queryKey:i.queryKey,meta:i.meta};return l(t),t})();return e(Lt,i,!1),i.options.persister?i.options.persister(t,n,i):t(n)},c=(()=>{const t={fetchOptions:s,options:i.options,queryKey:i.queryKey,client:p(xt,i),state:i.state,fetchFn:h};return l(t),t})(),d="infinite"===p(Qt,i)?At(i.options.pages):i.options.behavior;var v;(null==d||d.onFetch(c,i),e(Tt,i,i.state),"idle"===i.state.fetchStatus||i.state.fetchMeta!==(null===(a=c.fetchOptions)||void 0===a?void 0:a.meta))&&r(Ht,i,Bt).call(i,{type:"fetch",meta:null===(v=c.fetchOptions)||void 0===v?void 0:v.meta});e(Kt,i,qt({initialPromise:null==s?void 0:s.initialPromise,fn:c.fetchFn,onCancel:t=>{t instanceof Ot&&t.revert&&i.setState(u(u({},p(Tt,i)),{},{fetchStatus:"idle"})),o.abort()},onFail:(t,e)=>{r(Ht,i,Bt).call(i,{type:"failed",failureCount:t,error:e})},onPause:()=>{r(Ht,i,Bt).call(i,{type:"pause"})},onContinue:()=>{r(Ht,i,Bt).call(i,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}));try{var f,y,m,b;const t=yield p(Kt,i).start();if(void 0===t)throw new Error(`${i.queryHash} data is undefined`);return i.setData(t),null===(f=(y=p(Ut,i).config).onSuccess)||void 0===f||f.call(y,t,i),null===(m=(b=p(Ut,i).config).onSettled)||void 0===m||m.call(b,t,i.state.error,i),t}catch(S){var g,w,O,M;if(S instanceof Ot){if(S.silent)return p(Kt,i).promise;if(S.revert){if(void 0===i.state.data)throw S;return i.state.data}}throw r(Ht,i,Bt).call(i,{type:"error",error:S}),null===(g=(w=p(Ut,i).config).onError)||void 0===g||g.call(w,S,i),null===(O=(M=p(Ut,i).config).onSettled)||void 0===O||O.call(M,i.state.data,S,i),S}finally{i.scheduleGc()}})()}}});function fe(t){r(ce,this,Oe).call(this);let e=p(Xt,this).fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(U)),e}function pe(){r(ce,this,ge).call(this);const t=I(this.options.staleTime,p(Xt,this));if(it.isServer()||p(Zt,this).isStale||!x(t))return;const s=K(p(Zt,this).dataUpdatedAt,t)+1;e(oe,this,F.setTimeout(()=>{p(Zt,this).isStale||this.updateResult()},s))}function ye(){var t;return null!==(t="function"==typeof this.options.refetchInterval?this.options.refetchInterval(p(Xt,this)):this.options.refetchInterval)&&void 0!==t&&t}function me(t){r(ce,this,we).call(this),e(le,this,t),!it.isServer()&&!1!==L(this.options.enabled,p(Xt,this))&&x(p(le,this))&&0!==p(le,this)&&e(ue,this,F.setInterval(()=>{(this.options.refetchIntervalInBackground||k.isFocused())&&r(ce,this,fe).call(this)},p(le,this)))}function be(){r(ce,this,pe).call(this),r(ce,this,me).call(this,r(ce,this,ye).call(this))}function ge(){void 0!==p(oe,this)&&(F.clearTimeout(p(oe,this)),e(oe,this,void 0))}function we(){void 0!==p(ue,this)&&(F.clearInterval(p(ue,this)),e(ue,this,void 0))}function Oe(){const t=p(Vt,this).getQueryCache().build(p(Vt,this),this.options);if(t===p(Xt,this))return;const s=p(Xt,this);e(Xt,this,t),e(Yt,this,t.state),this.hasListeners()&&(null==s||s.removeObserver(this),t.addObserver(this))}function Me(t){ft.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(p(Zt,this))}),p(Vt,this).getQueryCache().notify({query:p(Xt,this),type:"observerResultsUpdated"})})}function Se(t,e){return function(t,e){return!1!==L(e.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===L(e.retryOnMount,t))}(t,e)||void 0!==t.state.data&&Pe(t,e,e.refetchOnMount)}function Pe(t,e,s){if(!1!==L(e.enabled,t)&&"static"!==I(e.staleTime,t)){const i="function"==typeof s?s(t):s;return"always"===i||!1!==i&&qe(t,e)}return!1}function ke(t,e,s,i){return(t!==e||!1===L(i.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&qe(t,s)}function qe(t,e){return!1!==L(e.enabled,t)&&t.isStaleByTime(I(e.staleTime,t))}var Ce,Re,Fe,We,Ae,Ee,De=t(()=>{A(),at(),Mt(),ve(),W(),lt(),nt(),T(),o(),n(),f(),a(),i(),m(),b(),l(),Vt=new WeakMap,Xt=new WeakMap,Yt=new WeakMap,Zt=new WeakMap,te=new WeakMap,ee=new WeakMap,se=new WeakMap,ie=new WeakMap,ne=new WeakMap,ae=new WeakMap,re=new WeakMap,oe=new WeakMap,ue=new WeakMap,le=new WeakMap,he=new WeakMap,ce=new WeakSet,de=class extends O{constructor(t,i){super(),y(this,ce),s(this,Vt,void 0),s(this,Xt,void 0),s(this,Yt,void 0),s(this,Zt,void 0),s(this,te,void 0),s(this,ee,void 0),s(this,se,void 0),s(this,ie,void 0),s(this,ne,void 0),s(this,ae,void 0),s(this,re,void 0),s(this,oe,void 0),s(this,ue,void 0),s(this,le,void 0),s(this,he,new Set),this.options=i,e(Vt,this,t),e(ie,this,null),e(se,this,rt()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(p(Xt,this).addObserver(this),Se(p(Xt,this),this.options)?r(ce,this,fe).call(this):this.updateResult(),r(ce,this,be).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Pe(p(Xt,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Pe(p(Xt,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,r(ce,this,ge).call(this),r(ce,this,we).call(this),p(Xt,this).removeObserver(this)}setOptions(t){const e=this.options,s=p(Xt,this);if(this.options=p(Vt,this).defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof L(this.options.enabled,p(Xt,this)))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");r(ce,this,Oe).call(this),p(Xt,this).setOptions(this.options),e._defaulted&&!$(this.options,e)&&p(Vt,this).getQueryCache().notify({type:"observerOptionsUpdated",query:p(Xt,this),observer:this});const i=this.hasListeners();i&&ke(p(Xt,this),s,this.options,e)&&r(ce,this,fe).call(this),this.updateResult(),!i||p(Xt,this)===s&&L(this.options.enabled,p(Xt,this))===L(e.enabled,p(Xt,this))&&I(this.options.staleTime,p(Xt,this))===I(e.staleTime,p(Xt,this))||r(ce,this,pe).call(this);const n=r(ce,this,ye).call(this);!i||p(Xt,this)===s&&L(this.options.enabled,p(Xt,this))===L(e.enabled,p(Xt,this))&&n===p(le,this)||r(ce,this,me).call(this,n)}getOptimisticResult(t){const s=p(Vt,this).getQueryCache().build(p(Vt,this),t),i=this.createResult(s,t);var n;return n=i,$(this.getCurrentResult(),n)||(e(Zt,this,i),e(ee,this,this.options),e(te,this,p(Xt,this).state)),i}getCurrentResult(){return p(Zt,this)}trackResult(t,e){return new Proxy(t,{get:(t,s)=>(this.trackProp(s),null==e||e(s),"promise"===s&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==p(se,this).status||p(se,this).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,s))})}trackProp(t){p(he,this).add(t)}getCurrentQuery(){return p(Xt,this)}refetch(t={}){let e=w({},(g(t),t));return this.fetch(u({},e))}fetchOptimistic(t){const e=p(Vt,this).defaultQueryOptions(t),s=p(Vt,this).getQueryCache().build(p(Vt,this),e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){var e;return r(ce,this,fe).call(this,u(u({},t),{},{cancelRefetch:null===(e=t.cancelRefetch)||void 0===e||e})).then(()=>(this.updateResult(),p(Zt,this)))}createResult(t,s){const i=p(Xt,this),n=this.options,a=p(Zt,this),r=p(te,this),o=p(ee,this),l=t!==i?t.state:p(Yt,this),{state:h}=t;let c,d=u({},h),v=!1;if(s._optimisticResults){const e=this.hasListeners(),a=!e&&Se(t,s),r=e&&ke(t,i,s,n);(a||r)&&(d=u(u({},d),zt(h.data,t.options))),"isRestoring"===s._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:y,status:m}=d;c=d.data;let b=!1;if(void 0!==s.placeholderData&&void 0===c&&"pending"===m){let t;var g;if((null==a?void 0:a.isPlaceholderData)&&s.placeholderData===(null==o?void 0:o.placeholderData))t=a.data,b=!0;else t="function"==typeof s.placeholderData?s.placeholderData(null===(g=p(re,this))||void 0===g?void 0:g.state.data,p(re,this)):s.placeholderData;void 0!==t&&(m="success",c=Y(null==a?void 0:a.data,t,s),v=!0)}if(s.select&&void 0!==c&&!b)if(a&&c===(null==r?void 0:r.data)&&s.select===p(ne,this))c=p(ae,this);else try{e(ne,this,s.select),c=s.select(c),c=Y(null==a?void 0:a.data,c,s),e(ae,this,c),e(ie,this,null)}catch(q){e(ie,this,q)}p(ie,this)&&(f=p(ie,this),c=p(ae,this),y=Date.now(),m="error");const w="fetching"===d.fetchStatus,O="pending"===m,M="error"===m,S=O&&w,P=void 0!==c,k={status:m,fetchStatus:d.fetchStatus,isPending:O,isSuccess:"success"===m,isError:M,isInitialLoading:S,isLoading:S,data:c,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:y,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:w,isRefetching:w&&!O,isLoadingError:M&&!P,isPaused:"paused"===d.fetchStatus,isPlaceholderData:v,isRefetchError:M&&P,isStale:qe(t,s),refetch:this.refetch,promise:p(se,this),isEnabled:!1!==L(s.enabled,t)};if(this.options.experimental_prefetchInRender){const s=void 0!==k.data,n="error"===k.status&&!s,a=t=>{n?t.reject(k.error):s&&t.resolve(k.data)},r=()=>{a(e(se,this,k.promise=rt()))},o=p(se,this);switch(o.status){case"pending":t.queryHash===i.queryHash&&a(o);break;case"fulfilled":(n||k.data!==o.value)&&r();break;case"rejected":n&&k.error===o.reason||r()}}return k}updateResult(){const t=p(Zt,this),s=this.createResult(p(Xt,this),this.options);if(e(te,this,p(Xt,this).state),e(ee,this,this.options),void 0!==p(te,this).data&&e(re,this,p(Xt,this)),$(s,t))return;e(Zt,this,s);r(ce,this,Me).call(this,{listeners:(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!p(he,this).size)return!0;const i=new Set(null!=s?s:p(he,this));return this.options.throwOnError&&i.add("error"),Object.keys(p(Zt,this)).some(e=>{const s=e;return p(Zt,this)[s]!==t[s]&&i.has(s)})})()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&r(ce,this,be).call(this)}}});function Qe(t){this.state=(e=>{switch(t.type){case"failed":return u(u({},e),{},{failureCount:t.failureCount,failureReason:t.error});case"pause":return u(u({},e),{},{isPaused:!0});case"continue":return u(u({},e),{},{isPaused:!1});case"pending":return u(u({},e),{},{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()});case"success":return u(u({},e),{},{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return u(u({},e),{},{data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"})}})(this.state),ft.batch(()=>{p(Re,this).forEach(e=>{e.onMutationUpdate(t)}),p(Fe,this).notify({mutation:this,type:"updated",action:t})})}var je,Te,Ue,xe,Ke=t(()=>{Mt(),Wt(),Ft(),o(),n(),f(),a(),i(),c(),l(),Ce=new WeakMap,Re=new WeakMap,Fe=new WeakMap,We=new WeakMap,Ae=new WeakSet,Ee=class extends Rt{constructor(t){super(),y(this,Ae),s(this,Ce,void 0),s(this,Re,void 0),s(this,Fe,void 0),s(this,We,void 0),e(Ce,this,t.client),this.mutationId=t.mutationId,e(Fe,this,t.mutationCache),e(Re,this,[]),this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){p(Re,this).includes(t)||(p(Re,this).push(t),this.clearGcTimeout(),p(Fe,this).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){e(Re,this,p(Re,this).filter(e=>e!==t)),this.scheduleGc(),p(Fe,this).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){p(Re,this).length||("pending"===this.state.status?this.scheduleGc():p(Fe,this).remove(this))}continue(){var t,e;return null!==(t=null===(e=p(We,this))||void 0===e?void 0:e.continue())&&void 0!==t?t:this.execute(this.state.variables)}execute(t){var s=this;return d(function*(){var i;const n=()=>{r(Ae,s,Qe).call(s,{type:"continue"})},a={client:p(Ce,s),meta:s.options.meta,mutationKey:s.options.mutationKey};e(We,s,qt({fn:()=>s.options.mutationFn?s.options.mutationFn(t,a):Promise.reject(new Error("No mutationFn found")),onFail:(t,e)=>{r(Ae,s,Qe).call(s,{type:"failed",failureCount:t,error:e})},onPause:()=>{r(Ae,s,Qe).call(s,{type:"pause"})},onContinue:n,retry:null!==(i=s.options.retry)&&void 0!==i?i:0,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>p(Fe,s).canRun(s)}));const o="pending"===s.state.status,u=!p(We,s).canStart();try{var l,h,c,d,v,f,y,m;if(o)n();else{var b,g;r(Ae,s,Qe).call(s,{type:"pending",variables:t,isPaused:u}),p(Fe,s).config.onMutate&&(yield p(Fe,s).config.onMutate(t,s,a));const e=yield null===(b=(g=s.options).onMutate)||void 0===b?void 0:b.call(g,t,a);e!==s.state.context&&r(Ae,s,Qe).call(s,{type:"pending",context:e,variables:t,isPaused:u})}const e=yield p(We,s).start();return yield null===(l=(h=p(Fe,s).config).onSuccess)||void 0===l?void 0:l.call(h,e,t,s.state.context,s,a),yield null===(c=(d=s.options).onSuccess)||void 0===c?void 0:c.call(d,e,t,s.state.context,a),yield null===(v=(f=p(Fe,s).config).onSettled)||void 0===v?void 0:v.call(f,e,null,s.state.variables,s.state.context,s,a),yield null===(y=(m=s.options).onSettled)||void 0===y?void 0:y.call(m,e,null,t,s.state.context,a),r(Ae,s,Qe).call(s,{type:"success",data:e}),e}catch(R){try{var w,O;yield null===(w=(O=p(Fe,s).config).onError)||void 0===w?void 0:w.call(O,R,t,s.state.context,s,a)}catch(F){Promise.reject(F)}try{var M,S;yield null===(M=(S=s.options).onError)||void 0===M?void 0:M.call(S,R,t,s.state.context,a)}catch(F){Promise.reject(F)}try{var P,k;yield null===(P=(k=p(Fe,s).config).onSettled)||void 0===P?void 0:P.call(k,void 0,R,s.state.variables,s.state.context,s,a)}catch(F){Promise.reject(F)}try{var q,C;yield null===(q=(C=s.options).onSettled)||void 0===q?void 0:q.call(C,void 0,R,t,s.state.context,a)}catch(F){Promise.reject(F)}throw r(Ae,s,Qe).call(s,{type:"error",error:R}),R}finally{p(Fe,s).runNext(s)}})()}}});function Ie(t){var e;return null===(e=t.options.scope)||void 0===e?void 0:e.id}var Le,He,Ge,_e,Ne,Be,ze=t(()=>{Mt(),Ke(),nt(),W(),n(),f(),a(),l(),je=new WeakMap,Te=new WeakMap,Ue=new WeakMap,xe=class extends O{constructor(t={}){super(),s(this,je,void 0),s(this,Te,void 0),s(this,Ue,void 0),this.config=t,e(je,this,new Set),e(Te,this,new Map),e(Ue,this,0)}build(t,s,i){var n;const a=new Ee({client:t,mutationCache:this,mutationId:e(Ue,this,(n=p(Ue,this),++n)),options:t.defaultMutationOptions(s),state:i});return this.add(a),a}add(t){p(je,this).add(t);const e=Ie(t);if("string"==typeof e){const s=p(Te,this).get(e);s?s.push(t):p(Te,this).set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(p(je,this).delete(t)){const e=Ie(t);if("string"==typeof e){const s=p(Te,this).get(e);if(s)if(s.length>1){const e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&p(Te,this).delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=Ie(t);if("string"==typeof e){const s=p(Te,this).get(e),i=null==s?void 0:s.find(t=>"pending"===t.state.status);return!i||i===t}return!0}runNext(t){const e=Ie(t);if("string"==typeof e){var s,i;const n=null===(s=p(Te,this).get(e))||void 0===s?void 0:s.find(e=>e!==t&&e.state.isPaused);return null!==(i=null==n?void 0:n.continue())&&void 0!==i?i:Promise.resolve()}return Promise.resolve()}clear(){ft.batch(()=>{p(je,this).forEach(t=>{this.notify({type:"removed",mutation:t})}),p(je,this).clear(),p(Te,this).clear()})}getAll(){return Array.from(p(je,this))}find(t){const e=u({exact:!0},t);return this.getAll().find(t=>G(e,t))}findAll(t={}){return this.getAll().filter(e=>G(t,e))}notify(t){ft.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(t=>t.state.isPaused);return ft.batch(()=>Promise.all(t.map(t=>t.continue().catch(U))))}}});function $e(){var t,s;const i=null!==(t=null===(s=p(Ge,this))||void 0===s?void 0:s.state)&&void 0!==t?t:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};e(He,this,u(u({},i),{},{isPending:"pending"===i.status,isSuccess:"success"===i.status,isError:"error"===i.status,isIdle:"idle"===i.status,mutate:this.mutate,reset:this.reset}))}function Je(t){ft.batch(()=>{if(p(_e,this)&&this.hasListeners()){const h=p(He,this).variables,c=p(He,this).context,d={client:p(Le,this),meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===(null==t?void 0:t.type)){try{var e,s;null===(e=(s=p(_e,this)).onSuccess)||void 0===e||e.call(s,t.data,h,c,d)}catch(l){Promise.reject(l)}try{var i,n;null===(i=(n=p(_e,this)).onSettled)||void 0===i||i.call(n,t.data,null,h,c,d)}catch(l){Promise.reject(l)}}else if("error"===(null==t?void 0:t.type)){try{var a,r;null===(a=(r=p(_e,this)).onError)||void 0===a||a.call(r,t.error,h,c,d)}catch(l){Promise.reject(l)}try{var o,u;null===(o=(u=p(_e,this)).onSettled)||void 0===o||o.call(u,void 0,t.error,h,c,d)}catch(l){Promise.reject(l)}}}this.listeners.forEach(t=>{t(p(He,this))})})}var Ve,Xe,Ye,Ze,ts,es,ss,is,ns,as,rs,os=t(()=>{Ke(),Mt(),W(),nt(),o(),n(),f(),i(),a(),l(),Le=new WeakMap,He=new WeakMap,Ge=new WeakMap,_e=new WeakMap,Ne=new WeakSet,Be=class extends O{constructor(t,i){super(),y(this,Ne),s(this,Le,void 0),s(this,He,void 0),s(this,Ge,void 0),s(this,_e,void 0),e(Le,this,t),this.setOptions(i),this.bindMethods(),r(Ne,this,$e).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;const s=this.options;this.options=p(Le,this).defaultMutationOptions(t),$(this.options,s)||p(Le,this).getMutationCache().notify({type:"observerOptionsUpdated",mutation:p(Ge,this),observer:this}),(null==s?void 0:s.mutationKey)&&this.options.mutationKey&&N(s.mutationKey)!==N(this.options.mutationKey)?this.reset():"pending"===(null===(e=p(Ge,this))||void 0===e?void 0:e.state.status)&&p(Ge,this).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(null===(t=p(Ge,this))||void 0===t||t.removeObserver(this))}onMutationUpdate(t){r(Ne,this,$e).call(this),r(Ne,this,Je).call(this,t)}getCurrentResult(){return p(He,this)}reset(){var t;null===(t=p(Ge,this))||void 0===t||t.removeObserver(this),e(Ge,this,void 0),r(Ne,this,$e).call(this),r(Ne,this,Je).call(this)}mutate(t,s){var i;return e(_e,this,s),null===(i=p(Ge,this))||void 0===i||i.removeObserver(this),e(Ge,this,p(Le,this).getMutationCache().build(p(Le,this),this.options)),p(Ge,this).addObserver(this),p(Ge,this).execute(t)}}}),us=t(()=>{nt(),ve(),Mt(),W(),n(),f(),a(),l(),Ve=new WeakMap,Xe=class extends O{constructor(t={}){super(),s(this,Ve,void 0),this.config=t,e(Ve,this,new Map)}build(t,e,s){var i;const n=e.queryKey,a=null!==(i=e.queryHash)&&void 0!==i?i:_(n,e);let r=this.get(a);return r||(r=new Gt({client:t,queryKey:n,queryHash:a,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(n)}),this.add(r)),r}add(t){p(Ve,this).has(t.queryHash)||(p(Ve,this).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=p(Ve,this).get(t.queryHash);e&&(t.destroy(),e===t&&p(Ve,this).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ft.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return p(Ve,this).get(t)}getAll(){return[...p(Ve,this).values()]}find(t){const e=u({exact:!0},t);return this.getAll().find(t=>H(e,t))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(e=>H(t,e)):e}notify(t){ft.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){ft.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ft.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}}}),ls=t(()=>{nt(),us(),ze(),A(),St(),Mt(),n(),f(),a(),c(),l(),Ye=new WeakMap,Ze=new WeakMap,ts=new WeakMap,es=new WeakMap,ss=new WeakMap,is=new WeakMap,ns=new WeakMap,as=new WeakMap,rs=class{constructor(t={}){s(this,Ye,void 0),s(this,Ze,void 0),s(this,ts,void 0),s(this,es,void 0),s(this,ss,void 0),s(this,is,void 0),s(this,ns,void 0),s(this,as,void 0),e(Ye,this,t.queryCache||new Xe),e(Ze,this,t.mutationCache||new xe),e(ts,this,t.defaultOptions||{}),e(es,this,new Map),e(ss,this,new Map),e(is,this,0)}mount(){var t,s,i,n=this;(e(is,this,(t=p(is,this),++t)),1===p(is,this))&&(e(ns,this,k.subscribe((s=d(function*(t){t&&(yield n.resumePausedMutations(),p(Ye,n).onFocus())}),function(t){return s.apply(this,arguments)}))),e(as,this,wt.subscribe((i=d(function*(t){t&&(yield n.resumePausedMutations(),p(Ye,n).onOnline())}),function(t){return i.apply(this,arguments)}))))}unmount(){var t,s,i;e(is,this,(t=p(is,this),--t)),0===p(is,this)&&(null===(s=p(ns,this))||void 0===s||s.call(this),e(ns,this,void 0),null===(i=p(as,this))||void 0===i||i.call(this),e(as,this,void 0))}isFetching(t){return p(Ye,this).findAll(u(u({},t),{},{fetchStatus:"fetching"})).length}isMutating(t){return p(Ze,this).findAll(u(u({},t),{},{status:"pending"})).length}getQueryData(t){var e;const s=this.defaultQueryOptions({queryKey:t});return null===(e=p(Ye,this).get(s.queryHash))||void 0===e?void 0:e.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=p(Ye,this).build(this,e),i=s.state.data;return void 0===i?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(I(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return p(Ye,this).findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){const i=this.defaultQueryOptions({queryKey:t}),n=p(Ye,this).get(i.queryHash),a=function(t,e){return"function"==typeof t?t(e):t}(e,null==n?void 0:n.state.data);if(void 0!==a)return p(Ye,this).build(this,i).setData(a,u(u({},s),{},{manual:!0}))}setQueriesData(t,e,s){return ft.batch(()=>p(Ye,this).findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){var e;const s=this.defaultQueryOptions({queryKey:t});return null===(e=p(Ye,this).get(s.queryHash))||void 0===e?void 0:e.state}removeQueries(t){const e=p(Ye,this);ft.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){const s=p(Ye,this);return ft.batch(()=>(s.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries(u({type:"active"},t),e)))}cancelQueries(t,e={}){const s=u({revert:!0},e),i=ft.batch(()=>p(Ye,this).findAll(t).map(t=>t.cancel(s)));return Promise.all(i).then(U).catch(U)}invalidateQueries(t,e={}){return ft.batch(()=>{var s,i;return p(Ye,this).findAll(t).forEach(t=>{t.invalidate()}),"none"===(null==t?void 0:t.refetchType)?Promise.resolve():this.refetchQueries(u(u({},t),{},{type:null!==(s=null!==(i=null==t?void 0:t.refetchType)&&void 0!==i?i:null==t?void 0:t.type)&&void 0!==s?s:"active"}),e)})}refetchQueries(t,e={}){var s;const i=u(u({},e),{},{cancelRefetch:null===(s=e.cancelRefetch)||void 0===s||s}),n=ft.batch(()=>p(Ye,this).findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let e=t.fetch(void 0,i);return i.throwOnError||(e=e.catch(U)),"paused"===t.state.fetchStatus?Promise.resolve():e}));return Promise.all(n).then(U)}fetchQuery(t){const e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);const s=p(Ye,this).build(this,e);return s.isStaleByTime(I(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(U).catch(U)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(U).catch(U)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return wt.isOnline()?p(Ze,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return p(Ye,this)}getMutationCache(){return p(Ze,this)}getDefaultOptions(){return p(ts,this)}setDefaultOptions(t){e(ts,this,t)}setQueryDefaults(t,e){p(es,this).set(N(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...p(es,this).values()],s={};return e.forEach(e=>{B(t,e.queryKey)&&Object.assign(s,e.defaultOptions)}),s}setMutationDefaults(t,e){p(ss,this).set(N(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...p(ss,this).values()],s={};return e.forEach(e=>{B(t,e.mutationKey)&&Object.assign(s,e.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e=u(u(u(u({},p(ts,this).queries),this.getQueryDefaults(t.queryKey)),t),{},{_defaulted:!0});return e.queryHash||(e.queryHash=_(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===j&&(e.enabled=!1),e}defaultMutationOptions(t){return(null==t?void 0:t._defaulted)?t:u(u(u(u({},p(ts,this).mutations),(null==t?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey)),t),{},{_defaulted:!0})}clear(){p(Ye,this).clear(),p(Ze,this).clear()}}}),hs=t(()=>{}),cs=t(()=>{pt(),ze(),os(),Mt(),us(),ls(),De(),nt(),hs()});export{xe as a,ct as c,D as d,H as f,Be as i,dt as l,st as m,rs as n,de as o,B as p,Xe as r,ft as s,cs as t,N as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-CHbrDDT0.js";import{T as t,c as r,h as n,y as a}from"./vue-Dl-yK_yx.js";import{A as o,d as s,k as u,p as i}from"./vue-Bfl7vS_c.js";import{n as l}from"./vue-CHj8oCvV.js";import{d as f,f as p}from"./fecha-DKYcT2kV.js";import{i as c,n as m}from"./tanstack-table-
|
|
1
|
+
import{n as e}from"./rolldown-runtime-CHbrDDT0.js";import{T as t,c as r,h as n,y as a}from"./vue-Dl-yK_yx.js";import{A as o,d as s,k as u,p as i}from"./vue-Bfl7vS_c.js";import{n as l}from"./vue-CHj8oCvV.js";import{d as f,f as p}from"./fecha-DKYcT2kV.js";import{i as c,n as m}from"./tanstack-table-DWHj4lH8.js";function d(){return!0}function g(e){return"value"in e?e.value:e}function y(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return new Proxy({get(e){for(let r=t.length-1;r>=0;r--){const n=g(t[r])[e];if(void 0!==n)return n}},has(e){for(let r=t.length-1;r>=0;r--)if(e in g(t[r]))return!0;return!1},keys(){const e=[];for(let r=0;r<t.length;r++)e.push(...Object.keys(g(t[r])));return[...Array.from(new Set(e))]}},S)}function h(e){return y(e,{data:t(e.data)})}function v(e){const t=r(e.data),s=m(y({state:{},onStateChange:()=>{},renderFallbackValue:null,mergeOptions:(e,r)=>t?f(f({},e),r):y(e,r)},t?h(e):e));if(t){const t=a(e.data);u(t,()=>{s.setState(e=>f(f({},e),{},{data:t.value}))},{immediate:!0})}const i=n(s.initialState);return o(()=>{s.setOptions(r=>{var n;const a=new Proxy({},{get:(e,t)=>i.value[t]});return y(r,t?h(e):e,{state:y(a,null!=(n=e.state)?n:{}),onStateChange:t=>{i.value=t instanceof Function?t(i.value):t,null==e.onStateChange||e.onStateChange(t)}})})}),s}var j,S,b,w=e(()=>{c(),p(),c(),l(),j=Symbol("merge-proxy"),S={get:(e,t,r)=>t===j?r:e.get(t),has:(e,t)=>e.has(t),set:d,deleteProperty:d,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:d,deleteProperty:d}),ownKeys:e=>e.keys()},b=s({props:["render","props"],setup:e=>()=>"function"==typeof e.render||"object"==typeof e.render?i(e.render,e.props):e.render})});export{w as n,v as r,b as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-CHbrDDT0.js";import{n as t,t as n}from"./dist.es2015-
|
|
1
|
+
import{n as e}from"./rolldown-runtime-CHbrDDT0.js";import{n as t,t as n}from"./dist.es2015-BmIAFcrV.js";function r(e){var t={};for(var n in e){var a=e[n];if("$nest"===n){var i=a;for(var s in i){var o=i[s];t[s]=r(o)}}else"$debugName"===n?t.$displayName=a:t[n]=a}return t}var a,i=e(()=>{});function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.map(function(e){return e&&"object"==typeof e?Object.keys(e).map(function(t){return!!e[t]&&t}):[e]}).reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return!!e}).join(" ")}function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,a=e;r<a.length;r++){var i=a[r];if(null!=i&&!1!==i)for(var s in i){var f=i[s];(f||0===f)&&("$nest"===s&&f?n[s]=n.$nest?o(n.$nest,f):f:-1!==s.indexOf("&")||0===s.indexOf("@media")?n[s]=n[s]?o(n[s],f):f:n[s]=f)}}return n}var f,u,l,d,g,h,y=e(()=>{a="undefined"==typeof requestAnimationFrame?function(e){return setTimeout(e)}:"undefined"==typeof window?requestAnimationFrame:requestAnimationFrame.bind(window)}),c=e(()=>{t(),i(),y(),f=function(){return n()},u=function(){function e(e){var t=this,n=e.autoGenerateTag;this.cssRaw=function(e){e&&(t._raw+=e||"",t._pendingRawChange=!0,t._styleUpdated())},this.cssRule=function(e){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var i=r(o.apply(void 0,n));t._freeStyle.registerRule(e,i),t._styleUpdated()},this.forceRenderStyles=function(){var e=t._getTag();e&&(e.textContent=t.getStyles())},this.fontFace=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=t._freeStyle,a=0,i=e;a<i.length;a++){var s=i[a];r.registerRule("@font-face",s)}t._styleUpdated()},this.getStyles=function(){return(t._raw||"")+t._freeStyle.getStyles()},this.keyframes=function(e){var n=function(e){var t={};for(var n in e)"$debugName"!==n&&(t[n]=e[n]);return e.$debugName&&(t.$displayName=e.$debugName),t}(e),r=t._freeStyle.registerKeyframes(n);return t._styleUpdated(),r},this.reinit=function(){var e=f();t._freeStyle=e,t._lastFreeStyleChangeId=e.changeId,t._raw="",t._pendingRawChange=!1;var n=t._getTag();n&&(n.textContent="")},this.setStylesTarget=function(e){t._tag&&(t._tag.textContent=""),t._tag=e,t.forceRenderStyles()},this.stylesheet=function(e){for(var n={},r=0,a=Object.getOwnPropertyNames(e);r<a.length;r++){var i=a[r],s=e[i];s&&(s.$debugName=i,n[i]=t.style(s))}return n};var a=f();this._autoGenerateTag=n,this._freeStyle=a,this._lastFreeStyleChangeId=a.changeId,this._pending=0,this._pendingRawChange=!1,this._raw="",this._tag=void 0,this.style=this.style.bind(this)}return e.prototype._afterAllSync=function(e){var t=this;this._pending++;var n=this._pending;a(function(){n===t._pending&&e()})},e.prototype._getTag=function(){if(this._tag)return this._tag;if(this._autoGenerateTag){var e="undefined"==typeof window?{textContent:""}:document.createElement("style");return"undefined"!=typeof document&&document.head.appendChild(e),this._tag=e,e}},e.prototype._styleUpdated=function(){var e=this,t=this._freeStyle.changeId,n=this._lastFreeStyleChangeId;(this._pendingRawChange||t!==n)&&(this._lastFreeStyleChangeId=t,this._pendingRawChange=!1,this._afterAllSync(function(){return e.forceRenderStyles()}))},e.prototype.style=function(){var e=this._freeStyle.registerStyle(r(o.apply(void 0,arguments)));return this._styleUpdated(),e},e}()});function _(e){var t=new u({autoGenerateTag:!1});return e&&t.setStylesTarget(e),t}var p=e(()=>{c(),y(),l=new u({autoGenerateTag:!0}),l.setStylesTarget,d=l.cssRaw,g=l.cssRule,l.forceRenderStyles,l.fontFace,l.getStyles,l.keyframes,l.reinit,h=l.style,l.stylesheet});export{h as a,p as i,d as n,s as o,g as r,_ as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,n as t}from"./rolldown-runtime-CHbrDDT0.js";import{i as n,n as s,o,r as i,t as r}from"./vue-Ds00Ozkv.js";import{_ as a,a as l,d as c,g as u,h as d,i as p,l as h,p as m,s as f,x as y}from"./vue-Dl-yK_yx.js";import{A as _,C as v,D as g,E as b,M as S,O as w,T as M,d as B,f as x,g as C,h as $,j as I,k,o as P,u as O,w as N,x as R,y as A}from"./vue-Bfl7vS_c.js";import{n as E,t as F}from"./vue-CHj8oCvV.js";import{A as T,G as z,H as j,J as L,M as D,N as H,Q as U,R as q,S as W,V as G,W as V,X as K,Y as Z,Z as J,_ as X,b as Q,et as Y,f as ee,g as te,h as ne,j as se,l as oe,m as ie,nt as re,u as ae,v as le,x as ce,y as ue}from"./zova-j4v_yFnS.js";import{a as de,d as pe,f as he,i as me,m as fe,o as ye,p as _e,r as ve,s as ge}from"./fecha-DKYcT2kV.js";import{a as be,i as Se,n as we,o as Me,t as Be}from"./zova-C85f6rBG.js";import{t as xe}from"./zova-bwa4oaWV.js";import{a as Ce,c as $e,d as Ie,i as ke,l as Pe,t as Oe}from"./zova-B-AOMtVq.js";function Ne(e){return e}var Re,Ae,Ee=t(()=>{}),Fe=t(()=>{L(),xe(),Re=new class{defineMetadata(e,t,n,s){Y(s)?Reflect.defineMetadata(e,t,n):Reflect.defineMetadata(e,t,n,s)}getOwnMetadata(e,t,n){return Y(n)?Reflect.getOwnMetadata(e,t):Reflect.getOwnMetadata(e,t,n)}getMetadata(e,t,n){return Y(n)?Reflect.getMetadata(e,t):Reflect.getMetadata(e,t,n)}getOwnMetadataArray(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?e.slice():[]}else o=[];this.defineMetadata(t,o,n,s)}return o}getOwnMetadataMap(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?Object.assign({},e):{}}else o={};this.defineMetadata(t,o,n,s)}return o}getDesignType(e,t){return this.getMetadata("design:type",e,t)}getDesignParamtypes(e,t){return this.getMetadata("design:paramtypes",e,t)}getDesignReturntype(e,t){return this.getMetadata("design:returntype",e,t)}}}),Te=t(()=>{Ae=Symbol("SymbolMappedClassMetakeys")});function ze(e,t,n){const s=Re.getOwnMetadataMap(!0,Ae,e);Object.hasOwn(s,t)||(s[t]=n)}var je,Le=t(()=>{Fe(),Te()});var De,He,Ue,qe,We=t(()=>{}),Ge=t(()=>{De=class{constructor(){this.sys=void 0,this.app=void 0,this.ctx=void 0}get bean(){return this.ctx?this.ctx.bean:this.sys.bean}}}),Ve=t(()=>{He=Array.from({length:256});for(let e=0;e<256;e++)He[e]=(e+256).toString(16).substring(1);(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})()});function Ke(...e){let t=e[0];if(!t||"object"!=typeof t)throw new Error("invalid args");f(t)||(t=m(t));for(let n=1;n<e.length;n++){const s=e[n];if(!s)continue;const o=Object.getOwnPropertyNames(s);for(const e of o){const n=Object.getOwnPropertyDescriptor(s,e);t[e]=null==n?void 0:n.value}}return t}function Ze(...e){return D(!0,...e)}function Je(e,t,n){return(0,Ue.default)(e,t,n)}function Xe(e){var t;null==e||null===(t=e.__dispose__)||void 0===t||t.call(e)}function Qe(e,t){return e.replace(":",`.${t}.`)}function Ye(e,t="px"){if(null==e||""===e)return;const n=Number(e);return Number.isNaN(n)?String(e):Number.isFinite(n)?`${n}${t}`:void 0}function et(e){return!!e&&(e.startsWith("http://")||e.startsWith("https://"))}function tt(){const e=new Error;throw e.code=600,e}var nt,st,ot,it,rt,at,lt,ct,ut,dt,pt,ht,mt,ft,yt,_t,vt,gt,bt,St=t(()=>{H(),L(),Ue=e(ge(),1),E(),Ge(),Ee(),Ve(),qe=class extends De{getAbsoluteUrlFromPagePath(e,t,n){let s=t?"":`${this.sys.env.SSR_PROD_PROTOCOL}://${this.sys.env.SSR_PROD_HOST}`;return!n&&this.sys.env.APP_PUBLIC_PATH&&(s=`${s}/${this.sys.env.APP_PUBLIC_PATH}`),`${s}${e||""}`}getPagePathFromAbsoluteUrl(e,t){let n;if(et(e)){const t=new URL(e);n=t.pathname+t.search}else n=e;if(!t&&this.sys.env.APP_PUBLIC_PATH){const e=`/${this.sys.env.APP_PUBLIC_PATH}`;n.startsWith(e)&&(n=n.substring(e.length))}return n}getApiBaseURL(e=!0){let t=this.sys.config.api.baseURL||"";return e&&(t=`${t}${this.sys.config.api.prefix||""}`),t}getOpenApiBaseURL(e){return this.sys.env[e]||this.sys.env.OPENAPI_BASE_URL_DEFAULT||this.sys.env.API_BASE_URL}getApiPath(e){return e?e=e.startsWith("//")?e.substring(1):this.sys.config.api.prefix+e:e}apiActionPathTranslate(e,t){return G(e,t)}apiActionConfigPrepare(e,t,n){const s={params:null==t?void 0:t.query,query:void 0},o={};return void 0!==(n=void 0===(null==t?void 0:t.authToken)?n:null==t?void 0:t.authToken)&&(o["a-interceptor:jwt"]={authToken:n}),(null==t?void 0:t.openapiSchema)&&(o["a-interceptor:headers"]={openapiSchema:null==t?void 0:t.openapiSchema}),K(o)||(s.interceptors=o),Ze({baseURL:e||this.getApiBaseURL(!1)},t,s)}getModuleConfigSafe(e){if(this.sys.meta.module.get(e))return this.sys.bean.scope(e).config;let t=this.sys.config.modules[e];return t||(t=this.sys.config.modules[e]={}),t}getModuleConfigOriginal(e){var t;return null!==(t=this.sys.configOriginal.modules[e])&&void 0!==t?t:{}}parseResourceApi(e,t){const n=e.split(":");return null!=t?t:q(n[0],n[1],void 0,!0,!0,this.sys.env.API_PREFIX)}}}),wt=t(()=>{L(),Be(),Le(),Ee(),Fe(),We(),St(),he(),nt=Symbol("Decorator#BeanFullName"),st=Symbol("SymbolDecoratorBeanInfo"),ot=Symbol("SymbolDecoratorProxyDisable"),it=Symbol("SymbolDecoratorPreload"),rt=Symbol("SymbolDecoratorVirtual"),at=Symbol("SymbolDecoratorUse"),lt=new class{constructor(){this.beans={},this.scenes={}}dispose(){}addUse(e,t){ze(e,at);Re.getOwnMetadataMap(!0,at,e)[t.prop]=t}getUses(e){return Re.getMetadata(at,e)}addBean(e){const{beanClass:t,options:n,optionsPrimitive:s}=e,o=Re.getOwnMetadata(rt,t),{scene:i,name:r}=this._parseSceneAndBeanName(t,e.scene,e.name),a=Re.getOwnMetadata(st,t),l=null==a?void 0:a.module;if(!l)throw new Error(`module name not parsed for bean: ${i}.${r}`);const c=`${l}.${i}.${r}`,u=this._parseModuleBelong(l,t,o),d=this._prepareOnionOptions(n,s,i,`${l}:${r}`),p=pe(pe({},e),{},{module:l,scene:i,name:r,beanFullName:c,moduleBelong:u,options:d});return this.beans[c]=p,this.scenes[i]||(this.scenes[i]={}),this.scenes[i][l]||(this.scenes[i][l]={}),this.scenes[i][l][c]=p,Re.defineMetadata(nt,c,p.beanClass),p}getBeanFullName(e){return e&&"function"==typeof e&&Z(e)?Re.getOwnMetadata(nt,e):e}getBean(e){const t=this.getBeanFullName(e);return t?this.beans[t]:null}_parseSceneAndBeanName(e,t,n){if(t&&n)return{scene:t,name:n};let s=e.name;return s.toLowerCase().startsWith("bean")&&(s=s.substring(4)),n||(n=t?be(s,t,!0):we(s,!0)),t||(t=Se(s,n,!0),t=Me(t,!0,".")),{scene:t,name:n}}_parseModuleBelong(e,t,n){if(!n)return e;let s,o=Object.getPrototypeOf(t);for(;o;){const e=this.getBean(o);if(e&&e.moduleBelong){s=e.moduleBelong;break}o=Object.getPrototypeOf(o)}return s}_getModuleBelong(e){const t=this.getBean(e);return null==t?void 0:t.moduleBelong}_getModuleName(e){const t=this.getBean(e);return null==t?void 0:t.module}_prepareOnionOptions(e,t,n,s){var o;const i=null===(o=je.config.onions[n])||void 0===o?void 0:o[s];return t?void 0===i?e:i:Ze({},e,i)}}}),Mt=t(()=>{E(),fe(),ct=Symbol("SymbolWaitPromise"),ut=class StateLock{static create(){return m(new StateLock)}constructor(){this._state=void 0,this._resolve=void 0,this._state=!1}get state(){return this._state}touch(){!0!==this._state&&(this._state=!0,this._resolve&&(this._resolve.call(void 0,null),this._resolve=void 0))}wait(){var e=this;return _e(function*(){return e[ct]||(e[ct]=e._waitInner()),e[ct]})()}_waitInner(){var e=this;return _e(function*(){return new Promise(t=>{if(e.state)return t(null);e._resolve=t})})()}}}),Bt=t(()=>{wt(),Mt(),Ge(),dt=Symbol("SymbolBeanFullName"),pt=Symbol("SymbolBeanInstanceKey"),ht=Symbol("SymbolModuleBelong"),mt=Symbol("SymbolModuleName"),ft=Symbol("SymbolInited"),yt=class extends De{constructor(){super(),this[dt]=void 0,this[pt]=void 0,this[ft]=void 0,this[ft]=ut.create()}get[ht](){const e=lt._getModuleBelong(this[dt]);if(!e)throw new Error(`not found module belong: ${this[dt]}`);return e}get[mt](){const e=lt._getModuleName(this[dt]);if(!e)throw new Error(`not found module name: ${this[dt]}`);return e}get $beanFullName(){return this[dt]}get $beanInstanceKey(){return this[pt]}get $beanOptions(){return lt.getBean(this[dt]||this.constructor)}get $onionName(){const e=this.$beanFullName.split(".");return`${e[0]}:${e[2]}`}get $onionOptions(){return this.$beanOptions.options}}}),xt=t(()=>{}),Ct=t(()=>{xt()}),$t=t(()=>{}),It=t(()=>{$t()}),kt=t(()=>{}),Pt=t(()=>{kt()}),Ot=t(()=>{Ge(),_t=Symbol("BeanScopeError#ModuleScope"),vt=class extends De{constructor(e){super(),this[_t]=void 0,this.__instances={},this[_t]=e}__get__(e){return this.__instances[e]||(this.__instances[e]=this.app.meta.error.createScopeError(this[_t],e)),this.__instances[e]}}}),Nt=t(()=>{gt={0:"Success",1:"Unknown Error",100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required",600:"Component Unmounted"}});var Rt,At,Et,Ft,Tt,zt,jt,Lt,Dt,Ht=t(()=>{Ge(),Nt(),fe(),bt=class extends De{initialize(){return _e(function*(){})()}throw(e,t,...n){const s=this.parseFail(e,t,...n),o=new Error;throw o.code=s.code,o.message=s.message,s.code<500&&(o.status=s.code),o}parseFail(e,t,...n){return"object"==typeof t?t:this.parseCode(e,1,t,...n)}parseCode(e,t,n,...s){const o=this.sys.meta.error.errors[e];let i,r;return"string"==typeof n&&/^\d+$/.test(n)&&(n=Number(n)),n&&"string"==typeof n&&(i=n,n=o[n]),null!=n&&""!==n||(n=t),r=n<=1e3?this.app.meta.locale.getText(!0,void 0,void 0,gt[n],...s):this.app.meta.locale.getText(!1,e,void 0,i||n,...s),n=function(e,t){return"number"!=typeof t||t<=1e3?t:e?`${e}:${t}`:t}(e,n),{code:n,message:r}}}}),Ut=t(()=>{}),qt=t(()=>{}),Wt=t(()=>{Rt=Symbol("SymbolErrorInstanceInfo")}),Gt=t(()=>{Ot(),Ht(),Ut(),Nt(),qt(),Wt()}),Vt=t(()=>{Ge(),At=Symbol("BeanScopeLocale#ModuleScope"),Et=class extends De{constructor(e){super(),this[At]=void 0,this.__instances={},this[At]=e}__get__(e){if(!this.__instances[e]){const t=this.app?this.app.meta.locale:this.sys.meta.locale;this.__instances[e]=t.createScopeLocaleText(this[At],e)}return this.__instances[e]}}}),Kt=t(()=>{}),Zt=t(()=>{Vt(),Kt()}),Jt=t(()=>{}),Xt=t(()=>{Jt()}),Qt=t(()=>{Ct(),It(),Pt(),Gt(),Zt(),Xt()}),Yt=t(()=>{E(),Ee(),Bt(),Qt(),fe(),Ft=Symbol("SymbolText"),Tt=Symbol("SymbolLogger"),zt=Symbol("SymbolLoggerChildren"),jt=class extends yt{constructor(...e){super(...e),this[Ft]=void 0,this[Tt]={},this[zt]={}}get $el(){if(!this.ctx)throw new Error("$el can not be used inside global bean.");return this.ctx.meta.el}get $text(){return this[Ft]||(this[Ft]=this.app.meta.locale.createLocaleText(this[ht])),this[Ft]}get $logger(){return this.$loggerClient("default")}$loggerClient(e){return this[Tt][e]||(this[Tt][e]=this.sys.meta.logger.get(e).child({beanFullName:this.$beanFullName})),this[Tt][e]}$loggerChild(e,t="default"){return this[zt][t]||(this[zt][t]={}),this[zt][t][e]||(this[zt][t][e]=this.sys.meta.logger.get(t).child({beanFullName:this.$beanFullName,name:e})),this[zt][t][e]}get $event(){return this.app.meta.event}get scope(){return this.bean.scope(this[ht])}$renderFreeze(e){return this.ctx.instance.ctx.renderFreeze(e)}$renderFreezeScope(e){var t=this;return _e(function*(){if(!t.ctx.disposed)return yield t.ctx.instance.ctx.renderFreezeScope(e)})()}$errorHandler(e,t){var n;return e instanceof Error&&e[Rt]&&delete e[Rt],null===(n=this.app)||void 0===n?void 0:n.vue.config.errorHandler(e,this.ctx.instance,t)}$computed(e,t){return this.ctx.util.instanceScope(()=>P(e,t))}$composable(e){return this.ctx.util.instanceScope(()=>e())}$watchEffect(e,t){return this.ctx.util.instanceScope(()=>_(e,t))}$watchPostEffect(e,t){return this.ctx.util.instanceScope(()=>I(e,t))}$watchSyncEffect(e,t){return this.ctx.util.instanceScope(()=>S(e,t))}$watch(e,t,n){return this.ctx.util.instanceScope(()=>k(e,t,n))}$controllerCreated(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onCreated(e))}$controllerMounted(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onMounted(e))}$customRef(e){return p(e)}$toRef(e,t,n){return y(e,t,n)}$zovaComponent(e,t){return this.sys.meta.component.getZovaComponent(e,t)}}}),en=t(()=>{Yt(),Lt=class extends jt{}}),tn=t(()=>{Yt(),Dt=class extends jt{}});function nn(e){return function(t){Re.defineMetadata(st,e,t)}}var sn=t(()=>{Fe(),wt()});function on(e,t,n,s,o,i){return function(r){const a="scope"===e?"module":void 0;lt.addBean({scene:e,name:a,containerScope:t,markReactive:n,beanClass:r,options:s,optionsPrimitive:o}),i&&i(r)}}var rn=t(()=>{wt()});function an(){return function(e){Re.defineMetadata(it,!0,e)}}var ln=t(()=>{Fe(),wt()});function cn(){return function(e){Re.defineMetadata(ot,!0,e)}}var un=t(()=>{Fe(),wt()});function dn(e){return function(t,n,s){e||(e={}),"string"==typeof e&&(e={beanFullName:e});const o=Re.getDesignType(t,n);lt.addUse(t,pe(pe({},e),{},{prop:n,beanClass:o,descriptor:s}))}}function pn(e,t,n){return{withSelector:t,markReactive:n,args:[e]}}function hn(e,t){var n;let s=function(e,t){var n,s,o;const i=null===(n=t.descriptor)||void 0===n?void 0:n.get;if(!i)return;const r=i.call(e);if(!r)return;const a=null!==(s=r.withSelector)&&void 0!==s&&s,l=null===(o=r.markReactive)||void 0===o||o;return{withSelector:a,args:r.args.map((e,t)=>"function"==typeof e?l&&(!a||t>0)?y(e):e():e)}}(e,t);return s||(s=function(e,t){var n,s,o;const i=t.init;if(!i)return;const r=null!==(n=i.withSelector)&&void 0!==n&&n,a=null===(s=i.markReactive)||void 0===s||s,l=null!==(o=i.args)&&void 0!==o?o:[i.arg];if(!l)return;return{withSelector:r,args:l.map((t,n)=>function(e,t,n){const s={self:e,sys:e.sys,app:e.app,ctx:e.ctx};return n&&j(t,s,void 0,!0)?y(()=>j(t,s)):j(t,s)}(e,t,a&&(!r||n>0)))}}(e,t)),s||U(t.selector)?null!==(n=s)&&void 0!==n?n:{withSelector:!1,args:[]}:{withSelector:!0,args:[j(t.selector,{self:e,sys:e.sys,app:e.app,ctx:e.ctx})]}}var mn=t(()=>{L(),E(),Fe(),wt(),he()});function fn(e){return function(t,n){if(!e)throw new Error("should specify the module name");"string"==typeof e&&(e={module:e});const s=`${e.module}.scope.module`;lt.addUse(t,pe(pe({},e),{},{prop:n,beanFullName:s}))}}var yn=t(()=>{wt(),he()});function _n(){return function(e){Re.defineMetadata(rt,!0,e)}}var vn=t(()=>{Fe(),wt()}),gn=t(()=>{sn(),rn(),ln(),un(),mn(),yn(),vn()}),bn=t(()=>{}),Sn=t(()=>{}),wn=t(()=>{bn(),Sn()}),Mn=t(()=>{}),Bn=t(()=>{}),xn=t(()=>{}),Cn=t(()=>{}),$n=t(()=>{Mn(),Bn(),xn(),Cn()}),In=t(()=>{}),kn=t(()=>{Fe()}),Pn=t(()=>{}),On=t(()=>{kn(),Pn(),In()}),Nn=t(()=>{gn(),wn(),$n(),On()});function Rn(e,t){return P(e,t)}var An,En,Fn,Tn,zn,jn,Ln,Dn,Hn=t(()=>{E()});function Un(e,t){const[n,s]=t;if(n!==En)return{receiver:void 0,fn:s}}function qn([e,t],n){return(...s)=>(t=0===s.length?t:s[0],n([e,t]))}function Wn(e){return!e||!e.dynamic&&!e.ofBeanBase}function Gn(e,t){const n=Object.getOwnPropertyDescriptor(e,t);return n?{descriptor:n,dynamic:!0}:function(e,t){let n=Object.getPrototypeOf(e),s=!1;for(;n;){n.constructor.name===jt.name&&(s=!0);const e=Object.getOwnPropertyDescriptor(n,t);if(e)return{descriptor:e,dynamic:!1,ofBeanBase:s};n=Object.getPrototypeOf(n)}return null}(e,t)}function Vn(e,t,n,s){n&&"object"==typeof n&&s&&(n.__v_isShallow_patch=!0),Object.defineProperty(e,t,{enumerable:!1,configurable:!0,get:()=>n}),n&&"object"==typeof n&&s&&delete n.__v_isShallow_patch}function Kn(e){return!!e.__get__||!!e.__set__}function Zn(e){return["__get__","__set__","then","__v_skip","__v_isReactive","__v_isReadonly","__v_isShallow","__v_raw","__v_isRef","__v_isVNode","__v_cache","__v_isShallow_patch"].includes(e)}function Jn(e){return["__init__","__dispose__"].includes(e)}function Xn(e,t,n){return t?U(n)?e:`${e}#${n}`:e}var Qn=t(()=>{se(),L(),E(),Fe(),wt(),Nn(),Ee(),Hn(),en(),Yt(),Bt(),Ge(),he(),fe(),An=Symbol("SymbolBeanContainerParent"),En=Symbol("SymbolProxyMagic"),Fn=Symbol("SymbolProxyAopMethod"),Tn=Symbol("SymbolCacheAopChains"),zn=Symbol("SymbolCacheAopChainsKey"),jn=Symbol("SymbolGetBeanSelectorInnerPromises"),Ln=Symbol("SymbolBeanContainerInstances"),Dn=class BeanContainer{static create(e,t,n){const s=new BeanContainer(e,t,n);return h(new Proxy(s,{get:(e,t)=>"symbol"==typeof t||e[t]?e[t]:e._getBeanSyncOnly(t)}))}constructor(e,t,n){this.sys=void 0,this.app=void 0,this.ctx=void 0,this[Ln]=a({}),this[jn]={},this.sys=e,this.app=t,this.ctx=n}dispose(){const e=this[Ln];for(const t in e){if(t.startsWith("$$"))continue;const n=Ne(e[t]);!n||n instanceof Lt||!n.__dispose__||("sys"===this.containerType?(this.sys.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),n.__dispose__(),this.sys.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)):(this.app.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),this.runWithInstanceScopeOrAppContext(()=>{n.__dispose__()}),this.app.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)))}this[Ln]=a({}),this[An]=void 0,this[jn]={}}get containerType(){return this.ctx?this.app&&this.ctx.bean!==this.app.bean?"ctx":"app":"sys"}get parent(){return void 0===this[An]&&(this[An]=this._getParent()),this[An]}_getParent(){var e;if("sys"===this.containerType)return null;let t=null===(e=this.ctx)||void 0===e||null===(e=e.instance)||void 0===e?void 0:e.parent;for(;t;){var n;const e=null===(n=t.zova)||void 0===n?void 0:n.bean;if(e)return e;t=t.parent}return this.sys.bean}runWithInstanceScopeOrAppContext(e,t){return"sys"===this.containerType?e():this.ctx?this.ctx.util.instanceScope(e,t):this.app.vue.runWithContext(e)}provide(e,t){return this.ctx.util.instanceScope(()=>M(e,t))}inject(e,t,n){return this.ctx.util.instanceScope(()=>C(e,t,n))}defineProperty(e,t,n){const s=this,o=pe({},n);return n.get&&(o.get=function(){const o=`__innerKey_${t}`;return e[o]||s.runWithInstanceScopeOrAppContext(()=>{Vn(e,o,n.get(),!0)}),e[o]}),Object.defineProperty(e,t,o)}scope(e){return"ctx"===this.containerType?this.app.bean.scope(e):this._getBeanSyncOnly(`${e}.scope.module`)}getScope(e){var t=this;return _e(function*(){return"ctx"===t.containerType?yield t.app.bean.getScope(e):(yield t._useModule(e),t.scope(e))})()}_setBean(e,t){this[Ln][e]=t}_getBeanSync(e,t,n){const s=this[Ln][e];if(void 0!==s){if(!s||!s[ft]||s[ft].state)return s}else!1!==n&&this._getBean(e,t)}_getBeanSyncOnly(e){return this[Ln][e]}_getBean(e,t,...n){var s=this;return _e(function*(){return yield s._getBeanSelectorInner(!0,null,e,t,!1,...n)})()}_getBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._getBeanSelectorInner(!0,null,e,t,!0,n,...s)})()}_getBeanSelectorInnerSync(e,t){const n=this._getBeanFullNameByComposableOrClassSync(e);if(!n)return null;const s=Xn(n,!0,t);return this[Ln][s]}_getBeanSelectorInner(e,t,n,s,o,...i){var r=this;return _e(function*(){const a=yield r._getBeanFullNameByComposableOrClass(n);if(!a)return null;const l=Xn(a,o,i[0]);return void 0===r[Ln][l]&&e&&(r[jn][l]||(r[jn][l]=r._getBeanSelectorInnerPromise(t,a,s,o,...i)),yield r[jn][l]),r[Ln][l]&&r[jn][l]&&(yield r[jn][l],r[jn][l]=void 0),r[Ln][l]})()}_getBeanSelectorInnerPromise(e,t,n,s,...o){var i=this;return _e(function*(){return yield i._newBeanInner(!0,e,null,t,n,s,...o)})()}_newBeanSimple(e,t,...n){const s=this._prepareBeanInstanceSimple(e,e,n,t);return s instanceof Lt||!s.__init__||s.__init__(...n),s}_newBean(e,t,...n){var s=this;return _e(function*(){return yield s._newBeanInner(!1,null,null,e,t,!1,...n)})()}_newBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._newBean(e,t,n,...s)})()}_newBeanInner(e,t,n,s,o,i,...r){var a=this;return _e(function*(){var l;const c=yield a._getBeanOptionsForce(s);return c?yield a._createBeanInstance(e,t,n,c.beanFullName,c.beanClass,r,"aop"===c.scene,null===(l=null!=o?o:c.markReactive)||void 0===l||l,i):"function"==typeof s&&Z(s)?yield a._createBeanInstance(e,t,n,void 0,s,r,!1,o,i):null})()}_getBeanFullNameByComposableOrClassSync(e){const t=this._getBeanOptionsForceSync(e);if(t)return t.beanFullName}_getBeanFullNameByComposableOrClass(e){var t=this;return _e(function*(){if(!e)return;const n=yield t._getBeanOptionsForce(e);return n?n.beanFullName:void 0})()}_getBeanOptionsForceSync(e){return lt.getBean(e)}_getBeanOptionsForce(e){var t=this;return _e(function*(){if("function"==typeof e&&Z(e))return lt.getBean(e);const n=e.split(".");return yield t._useModule(n[0]),lt.getBean(e)})()}_createBeanInstance(e,t,n,s,o,i,r,a,l){var c=this;return _e(function*(){const u=yield c._prepareBeanInstance(s,o,i,a,r);if(n&&u.__initControllerData(n),e){const e=yield c._getBeanFullNameByComposableOrClass(s);if(e){const t=Xn(e,l,i[0]);Vn(u,pt,t,!1),c[Ln][t]=u}t&&c.__recordProp(t,e,u,!0)}return yield c._initBeanInstance(s,u,i),u})()}_prepareBeanInstance(e,t,n,s,o){var i=this;return _e(function*(){let r=i._prepareBeanInstanceCommon(e,t,n,s);const a=yield i._patchBeanInstance(e||t,r,o);return a&&(r=s?m(a):h(a)),r})()}_prepareBeanInstanceSimple(e,t,n,s){let o=this._prepareBeanInstanceCommon(e,t,n,s);const i=this._patchBeanInstanceSimple(e||t,o);return i&&(o=s?m(i):h(i)),o}_prepareBeanInstanceCommon(e,t,n,s){let o=new t(...n);return o instanceof De&&(o.sys=this.sys,Object.defineProperty(o,"app",{enumerable:!1,configurable:!0,get:()=>{var e;return null===(e=this.ctx)||void 0===e?void 0:e.app}}),o.ctx=this.ctx),"string"==typeof e&&Vn(o,dt,e,!1),o=s?m(o):h(o),o}_initBeanInstance(e,t,n){var s=this;return _e(function*(){var o,i;(yield s._injectBeanInstance(t,e),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInit",void 0,s,t):yield null===(o=s.app)||void 0===o?void 0:o.meta.module._monkeyModule(!0,"beanInit",void 0,s,t);(t instanceof Lt||!t.__init__||(yield s.runWithInstanceScopeOrAppContext(_e(function*(){yield t.__init__(...n)}))),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInited",void 0,s,t):yield null===(i=s.app)||void 0===i?void 0:i.meta.module._monkeyModule(!0,"beanInited",void 0,s,t);return t[ft]&&t[ft].touch(),t})()}_injectBeanInstance(e,t){var n=this;return _e(function*(){const s=lt.getBean(t);if(!s)return;const o=lt.getUses(s.beanClass.prototype);if(o)for(const t in o){const s=o[t];let i=s.beanFullName;if(!i&&s.beanClass&&(i=lt.getBeanFullName(s.beanClass)),s.injectionScope&&["host","skipSelf"].includes(s.injectionScope)){const o=hn(e,s),r=o.withSelector?Object.assign({},s,{selector:o.args[0]}):s;Vn(e,t,Rn(()=>n._getBeanFromHostInner(!1,s.prop,i,r)),!0);continue}Vn(e,t,yield n._injectBeanInstanceProp(e,i,s),!0)}})()}_injectBeanInstanceProp(e,t,n){var s=this;return _e(function*(){var o,i,r,a;if(n.name)return s[Ln][n.name];if(!t)return s[Ln][n.prop];let l;if(t&&(l=yield s._getBeanOptionsForce(t),!l))throw new Error(`not found bean class: ${t}`);let c=null!==(o=null!==(i=n.injectionScope)&&void 0!==i?i:l.containerScope)&&void 0!==o?o:"ctx";"scope"!==(null==l?void 0:l.scene)||s.app||(c="sys");const u=null===(r=null!==(a=n.markReactive)&&void 0!==a?a:l.markReactive)||void 0===r||r,d=hn(e,n),p=n.prop;let h;return"sys"===c?(h=yield s.sys.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"app"===c?(h=yield s.app.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"ctx"===c?h=yield s._getBeanSelectorInner(!0,p,t,u,d.withSelector,...d.args):"new"===c&&(h=yield s._newBeanInner(!1,null,null,t,u,d.withSelector,...d.args)),h})()}_getBeanFromHost(e,t){return"string"!=typeof e&&(t=e,e=void 0),t||(t={}),this._getBeanFromHostInner(!1,void 0,e,t)}_getBeanFromHostInner(e,t,n,s){let o;for(s.injectionScope&&"host"!==s.injectionScope?"skipSelf"===s.injectionScope&&(o=this.parent):o=this;;){if(!o)return null;const i=this._getBeanFromHostInner2(t,o,n,s);if(void 0!==i)return e&&this.__recordProp(t,void 0,i,!1),i;o=o.parent}}_getBeanFromHostInner2(e,t,n,s){return s.name?t[Ln][s.name]:n?t._getBeanSelectorInnerSync(n,s.selector):t[Ln][e]}_injectBeanInstanceProp_appBean(e,t,n){var s=this;return _e(function*(){void 0!==n&&s.ctx&&(s.__recordProp(e,void 0,n,!1),n&&(yield n[ft].wait()))})()}_patchBeanInstance(e,t,n){var s=this;return _e(function*(){if(e&&!n&&0!==(yield s._prepareAopChains(e,t)).length)return s._newBeanProxy(e,t)})()}_patchBeanInstanceSimple(e,t){if(e&&0!==this._prepareAopChainsSimple(e,t).length)return this._newBeanProxy(e,t)}_newBeanProxy(e,t){const n=this;return new Proxy(t,{get(t,s,o){if("symbol"==typeof s)return Reflect.get(t,s,o);if(Zn(s))return"__v_isShallow"===s&&t.__v_isShallow_patch?Reflect.get(t,"__v_isShallow_patch",o):Reflect.get(t,s,o);const i=Gn(t,s);if(!Wn(i))return Reflect.get(t,s,o);if(!function(e){var t;if(!e)return null;const{descriptor:n,dynamic:s}=e;if(s)return null;if(n.get)return null;const o=null===(t=n.value)||void 0===t||null===(t=t.constructor)||void 0===t?void 0:t.name;return["Function","AsyncFunction"].includes(o)?o:null}(i)){if(Jn(s))return Reflect.get(t,s,o);const r=`__get_${s}__`,a=n._getAopChainsProp(e,r,"__get__","get",s);return a?a([o,void 0],([e,n])=>!i&&t.__get__?Reflect.apply(t.__get__,e,[s,t]):Reflect.get(t,s,e)):Reflect.get(t,s,o)}return n._getInstanceMethodProxy(e,t,s,o)},set(t,s,o,i){if("symbol"==typeof s)return Reflect.set(t,s,o,i),!0;if(Zn(s))return Reflect.set(t,s,o,i),!0;const r=Gn(t,s);if(!Wn(r))return Reflect.set(t,s,o,i),!0;const a=`__set_${s}__`,l=n._getAopChainsProp(e,a,"__set__","set",s);return l?l([i,o],([e,n])=>{if(!r&&t.__set__){const o=Reflect.apply(t.__set__,e,[s,n,t]);if(void 0===o)throw new Error("__set__ must return true/false");o||Reflect.set(t,s,n,e)}else Reflect.set(t,s,n,e);return!0}):(Reflect.set(t,s,o,i),!0)}})}_getInstanceMethodProxy(e,t,n,s){if(Zn(n))return Reflect.get(t,n,s);const o=this._getAopChainsProp(e,n,"__method__","method",n);if(!o)return Reflect.get(t,n,s);const i=`__aopproxy_method_${n}__`;if(t[i])return t[i];const r=new Proxy(t[n],{apply:(e,t,n)=>o([t,n],([t,n])=>Reflect.apply(e,t,n))});return Vn(t,i,r,!1),r}_prepareAopChains(e,t){var n=this;return _e(function*(){if(!e)return[];const s=lt.getBean(e),o=(null==s?void 0:s.beanFullName)||e,i=!!(null==s?void 0:s.beanClass)&&Re.getMetadata(ot,null==s?void 0:s.beanClass),r=n._aopCacheHost();if(r[Tn]||(r[Tn]={}),r[Tn][o])return r[Tn][o];let a=[];if(!i&&s&&"aop"!==s.scene){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopsMatched(s.beanFullName);if(e){const t=[];for(const s of e)t.push(yield n.sys.bean._getBean(s.beanFullName,!0));a=a.concat(t)}}if(!i&&s){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopMethodsMatched(null==s?void 0:s.beanFullName);e&&a.push([Fn,e])}return Kn(t)&&a.push(En),r[Tn][o]=a,a})()}_prepareAopChainsSimple(e,t){if(!e)return[];const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e,o=this._aopCacheHost();if(o[Tn]||(o[Tn]={}),o[Tn][s])return o[Tn][s];const i=[];return Kn(t)&&i.push(En),o[Tn][s]=i,i}_getAopChains(e){var t;const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e;return(null===(t=this._aopCacheHost()[Tn])||void 0===t?void 0:t[s])||[]}_aopCacheHost(){return this.sys}_getAopChainsProp(e,t,n,s,o){const i=`__aopChains_${t}__`,r=lt.getBean(e),a=(null==r?void 0:r.beanFullName)||e,l=this._aopCacheHost();if(l[zn]||(l[zn]={}),l[zn][a]||(l[zn][a]={}),void 0!==l[zn][a][i])return l[zn][a][i];const c=this._getAopChains(e),u=[];for(const p of c)if(p===En)Jn(t)||u.push([p,t]);else if(Array.isArray(p)&&p[0]===Fn)this._getAopChainsProp_aopMethods(u,p,p[1],s,o);else{const e=p;if(e[t]){let n;"get"===s?n=function([n,s],o){return e[t](qn([n,s],o),n)}:"set"===s?n=function([n,s],o){return e[t](s,qn([n,s],o),n)}:"method"===s&&(n=function([n,s],o){return e[t](s,qn([n,s],o),n)}),u.push([p,n])}if(n&&e[n]&&!Jn(t)){let t;"get"===s?t=function([t,s],i){return e[n](o,qn([t,s],i),t)}:"set"===s?t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}:"method"===s&&(t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}),u.push([p,t])}}let d;return d=0===u.length?null:function(e){return T(e,Un)}(u),l[zn][a][i]=d,d}_getAopChainsProp_aopMethods(e,t,n,s,o){const i=n[o];if(i)for(const r of i){let n;"get"===s?n=function([e,t],n){if(!r.beanInstance.get)throw new Error(`get property accessor not exists: ${r.onionName}`);return r.beanInstance.get(r.options,qn([e,t],n),e,o)}:"set"===s?n=function([e,t],n){if(!r.beanInstance.set)throw new Error(`set property accessor not exists: ${r.onionName}`);return r.beanInstance.set(r.options,t,qn([e,t],n),e,o)}:"method"===s&&(n=function([e,t],n){if(!r.beanInstance.execute)throw new Error(`execute method not exists: ${r.onionName}`);return r.beanInstance.execute(r.options,t,qn([e,t],n),e,o)}),e.push([t,n])}}__recordProp(e,t,n,s){if(void 0!==this[Ln][e]&&s)throw new Error(`prop exsits: ${e.toString()}, ${t}`);void 0===this[Ln][e]&&(this[Ln][e]=n)}_useModule(e){var t=this;return _e(function*(){"sys"===t.containerType?yield t.sys.meta.module.use(e):yield t.app.meta.module.use(e)})()}}});function Yn(e,t,o=r){const a=x();if(!a)throw new Error("useModel() called without active instance.");const l=typeof Object.getPrototypeOf(this).constructor.$propsDefault[t],c=s(t),u=function(e,t){return"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${s(t)}Modifiers`]||e[`${n(t)}Modifiers`]}(e,c),d=p((n,s)=>{let u,d,p=r;return S(()=>{const t=e[c];i(u,t)&&(u=t,s())}),{get:()=>(n(),es(l,o.get?o.get(u):u)),set(e){var n;const c=es(l,o.set?o.set(e):e);if(!(i(c,u)||p!==r&&i(e,p)))return;u=e,s();const h=a.vnode.props;null==h||null===(n=h[`onUpdate:${t}`])||void 0===n||n.call(h,c),i(e,c)&&i(e,p)&&!i(c,d)&&s(),p=e,d=c}}});return d[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?u||r:d,done:!1}:{done:!0}}},d}function es(e,t){if(["undefined","null"].includes(e))return t;if(J(t))return t;if(typeof t===e)return t;let n;return n="number"===e?Number.isNaN(Number(t))?t:Number(t):"boolean"===e?"false"!==t&&"0"!==t&&Boolean(t):"string"===e?String(t):t,n}var ts,ns,ss,os,is,rs,as,ls,cs,us,ds,ps,hs,ms,fs,ys,_s,vs,gs,bs=t(()=>{L(),l(),o(),E()}),Ss=t(()=>{E(),St(),Ee(),bs(),Yt(),ts=class extends jt{constructor(...e){super(...e),this.$props=void 0,this.$slots=void 0}__initControllerData(e){this.ctx.disposed||(this.$slots=e.context.slots,this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this))}__updateControllerData(){this.ctx.disposed||(this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this))}$useModel(e,t){return"object"==typeof e&&(t=e,e="modelValue"),e||(e="modelValue"),Yn.call(this,this.$props,e,t)}get $slotDefault(){var e;return null!==(e=this.$props.slotDefault)&&void 0!==e?e:this.$slots.default}__initControllerProps(e){const t=Object.getPrototypeOf(this).constructor.$componentOptions,n=Object.getPrototypeOf(this).constructor.$propsDefault;let s=Object.assign({},e);for(const o in s)void 0===s[o]&&delete s[o];if(s=(null==t?void 0:t.deepExtendDefault)?Ze({},n,s):Object.assign({},n,s),this.$props){Object.assign(this.$props,s);for(const e in this.$props)s&&Object.hasOwnProperty.call(s,e)||delete this.$props[e]}else this.$props=a(s)}}}),ws=t(()=>{ns=Symbol("SymbolControllerRefDisable")}),Ms=t(()=>{St(),Ee(),Yt(),ws(),ss=Symbol("SymbolController"),os=class extends jt{get[ss](){return this.ctx.disposed&&tt(),this.bean._getBeanSyncOnly("$$c")}__get__(e){const t=this[ss];return null==t?void 0:t[e]}__set__(e,t){const n=this[ss];return!!n&&(e in n&&(n[e]=t,!0))}}}),Bs=t(()=>{Yt(),is=class extends jt{constructor(...e){super(...e),this.$params=void 0,this.$query=void 0}__initControllerData(e){this.app&&this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this)}__updateControllerData(){this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this)}}}),xs=t(()=>{Ee(),Ms(),ws(),rs=Symbol("SymbolStyle"),as=class extends os{get[rs](){return this.bean._getBeanSyncOnly("$$s")}__get__(e){const t=super.__get__(e);if(void 0!==t)return t;const n=this[rs];return null==n?void 0:n[e]}__set__(e,t){const n=super.__set__(e,t);if(n)return n;const s=this[rs];return!!s&&(e in s&&(s[e]=t,!0))}}}),Cs=t(()=>{xs(),ls=class extends as{render(){}}}),$s=t(()=>{Ms(),cs=class extends os{}}),Is=t(()=>{Ge(),us=Symbol("BeanScopeScene#ModuleScope"),ds=class extends De{constructor(e){super(),this[us]=void 0,this[us]=e}test(){return this[us]}}}),ks=t(()=>{Bt(),Ot(),Vt(),Is(),ps=Symbol("BeanScopeBase#BeanModuleError"),hs=Symbol("BeanScopeBase#BeanModuleLocale"),ms=Symbol("BeanScopeBase#BeanModuleConfig"),fs=Symbol("BeanScopeBase#BeanModuleConstant"),ys=Symbol("BeanScopeBase#BeanModuleApi"),_s=Symbol("BeanScopeBase#BeanModuleApiSchema"),vs=Symbol("BeanScopeBase#BeanModuleUtil"),gs=class extends yt{constructor(...e){super(...e),this[ps]=void 0,this[hs]=void 0,this[ms]=void 0,this[fs]=void 0,this[ys]=void 0,this[_s]=void 0,this[vs]=void 0}get module(){return this.app.meta.module.get(this[ht])}__get__(e){const t=this[ht];return"error"===e?(this[ps]||(this[ps]=this.bean._newBeanSimple(vt,!1,t)),this[ps]):"locale"===e?(this[hs]||(this[hs]=this.bean._newBeanSimple(Et,!1,t)),this[hs]):"config"===e?(this[ms]||(this[ms]=this.sys.config.modules[t]),this[ms]):"constant"===e?(this[fs]||(this[fs]=this.sys.constant.modules[t]),this[fs]):"api"===e?(this[ys]||(this[ys]={}),this[ys]):"apiSchema"===e?(this[_s]||(this[_s]={}),this[_s]):"util"===e?(this[vs]||(this[vs]=this.bean._newBeanSimple(ds,!1,t)),this[vs]):void 0}}}),Ps=t(()=>{ks(),Is()}),Os=t(()=>{en(),tn(),Yt(),Bt(),Qn(),Ss(),Ms(),Bs(),Cs(),xs(),Ge(),$s(),Qt(),Ps(),ws()});var Ns=t(()=>{ue(),le(),ne()});var Rs,As,Es,Fs=t(()=>{}),Ts=t(()=>{Rs={modules:{}}}),zs=t(()=>{E(),F()}),js=t(()=>{}),Ls=t(()=>{}),Ds=t(()=>{}),Hs=t(()=>{As=Symbol("SymbolInstalled")}),Us=t(()=>{}),qs=t(()=>{}),Ws=t(()=>{}),Gs=t(()=>{zs(),js(),Ls(),Ds(),Hs(),Us(),qs(),Ws()}),Vs=t(()=>{}),Ks=t(()=>{}),Zs=t(()=>{}),Js=t(()=>{}),Xs=t(()=>{}),Qs=t(()=>{}),Ys=t(()=>{Vs(),Ee(),Ks(),Zs(),Js(),Xs(),Qs()}),eo=t(()=>{Gs(),Ys()});function to(e){return encodeURIComponent(e)}function no(e){return decodeURIComponent(e)}function so(e){return to(e===Object(e)?JSON.stringify(e):`${e}`)}function oo(e){return""===e?e:(0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=no(e.replace(/\+/g," ")))}function io(e){const t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}var ro,ao,lo,co,uo=t(()=>{Ge(),eo(),Es=class extends De{getItem(e){const t=document,n=t.cookie?t.cookie.split("; "):[],s=n.length;let o,i,r,a=e?void 0:{},l=0;for(;l<s;l++)if(o=n[l].split("="),i=no(o.shift()),r=o.join("="),e){if(e===i){a=oo(r);break}}else Ne(a)[i]=r;return a}setItem(e,t,n){let s,o;(n=n||{}).path=n.path||"/",void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?s=n.expires.toUTCString():"string"==typeof n.expires?s=function(e){let t=0;const n=e.match(/(\d+)d/),s=e.match(/(\d+)h/),o=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return n&&(t+=864e5*n[1]),s&&(t+=36e5*s[1]),o&&(t+=6e4*o[1]),i&&(t+=1e3*i[1]),0===t?e:io(t)}(n.expires):(o=Number.parseFloat(n.expires.toString()),s=!1===Number.isNaN(o)?io(864e5*o):n.expires));const i=[`${to(e)}=${so(t)}`,void 0!==s?`; Expires=${s}`:"",n.path?`; Path=${n.path}`:"",n.domain?`; Domain=${n.domain}`:"",n.sameSite?`; SameSite=${n.sameSite}`:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?`; ${n.other}`:""].join("");document.cookie=i}removeItem(e,t){this.setItem(e,"",Object.assign({expires:-1},t))}}}),po=t(()=>{se(),Ge(),Ee(),fe(),ro=(e,t)=>{const n=t;if(n.fn)return{receiver:void 0,fn:n.fn}},ao=class extends De{constructor(...e){super(...e),this.eventHandlersMap={}}initialize(){return _e(function*(){})()}dispose(){this.eventHandlersMap={}}getEventHandlers(e){let t=this.eventHandlersMap[e];return t||(t=this.eventHandlersMap[e]=[]),t}emit(e,t,n){var s=this;return _e(function*(){const o=s.getEventHandlers(e),i="function"==typeof n?n:_e(function*(){return n});return yield T(o.concat(),ro)(t,i)})()}emitSync(e,t,n){const s=this.getEventHandlers(e),o="function"==typeof n?n:()=>n;return T(s.concat(),ro)(t,o)}on(e,t){const n=this.getEventHandlers(e);return n.push({fn:t}),()=>{const e=n.findIndex(e=>e.fn===t);e>-1&&(n[e].fn=void 0,n.splice(e,1))}}once(e,t){const n=this.on(e,(s=_e(function*(e,s){const o=yield t(e,s);return n(),o}),function(e,t){return s.apply(this,arguments)}));var s;return n}}});function ho(e){e.__closed__||(e.end(),e.__closed__=!0)}function mo(e){if(e=e||"default","production"===ko.env.META_MODE)return;const t=`LOGGER_CLIENT_${e.toUpperCase()}`,n=ko.env[t];return"false"!==n?"true"!==n&&n?n:"info":void 0}var fo=t(()=>{Oe(),Ge(),jo(),St(),lo=Symbol("SymbolLoggerInstances"),co=class extends De{constructor(...e){super(...e),this[lo]={}}dispose(){for(const e in this[lo]){ho(this[lo][e])}this[lo]={}}get(e){return e=e||"default",this[lo][e]||(this[lo][e]=this._createClient(e)),this[lo][e]}child(e,t){const n=this.get(t);return e?n.child({name:e}):n}getFilterLevel(e){return mo(e)}setFilterLevel(e,t){!function(e,t){if(t=t||"default","production"===ko.env.META_MODE)return;const n=`LOGGER_CLIENT_${t.toUpperCase()}`;ko.env[n]=e.toString()}(e,t)}_createClient(e){const t=this.sys.config.logger.clients[e];if(!t)throw new Error(`logger client not found: ${e}`);return new Ce(Ze({},this._prepareConfigClient(e,this.sys.config.logger.base),this._prepareConfigClient(e,t)))}_prepareConfigClient(e,t){return"function"!=typeof t?t:t.call(this.sys,{clientName:e,level:()=>mo(e)})}}});var yo=t(()=>{jo()});function _o(e,t){return O(()=>new Promise(n=>{ko.meta.component.use(e,t).then(e=>{n(e)})}))}var vo,go,bo,So,wo,Mo,Bo,xo,Co,$o,Io,ko,Po=t(()=>{E(),yo()}),Oo=t(()=>{E(),Ge(),Po(),fe(),vo=Symbol("SymbolZovaComponents"),go=class extends De{constructor(...e){super(...e),this[vo]={}}initialize(){return _e(function*(){})()}dispose(){}createAsyncComponent(e,t){return()=>this.use(e,t)}getZovaComponent(e,t){const n=e.includes(":")?e:`${e}:${t}`;return this[vo][n]||(this[vo][n]=h(_o(n))),this[vo][n]}use(e,t){var n=this;return _e(function*(){if(e.includes(":")){const n=e.split(":");e=n[0],t=n[1]}return(yield n.sys.meta.module.use(e)).resource.components[t]})()}}}),No=t(()=>{Ge(),fe(),bo=class extends De{constructor(...e){super(...e),this.errors=void 0}initialize(){var e=this;return _e(function*(){e.errors={}})()}dispose(){this.errors={}}}}),Ro=t(()=>{ie(),E(),Ge(),Kt(),fe(),So=Symbol("SymbolLocaleCurrent"),wo=Symbol("SymbolTzCurrent"),Mo=class extends De{constructor(...e){super(...e),this[So]=d(),this[wo]=d()}get metaCookie(){return this.app?this.app.meta.cookie:this.sys.meta.cookie}get current(){let e=this[So].value;return!e&&this.sys.config.ssr.cookie&&(e=this.metaCookie.getItem(this.sys.config.locale.storeKey)),e||(e=this.sys.config.locale.default),e}set current(e){this[So].value!==e&&(this[So].value=e,this.sys.config.ssr.cookie&&this.metaCookie.setItem(this.sys.config.locale.storeKey,e))}get tz(){let e=this[wo].value;return e||(e=this.metaCookie.getItem(this.sys.config.tz.storeKey)),e||(e=Intl.DateTimeFormat().resolvedOptions().timeZone),e}set tz(e){this[wo].value!==e&&(this[wo].value=e,this.metaCookie.setItem(this.sys.config.tz.storeKey,e))}initialize(){return _e(function*(){})()}createLocaleText(e){const t=this,n=function(n,...s){return t.getText(!1,e,void 0,n,...s)};return n.locale=function(n,s,...o){return t.getText(!1,e,n,s,...o)},n}createScopeLocaleText(e,t){const n=this,s=function(...s){return n.getText(!1,e,void 0,t,...s)};return s.locale=function(s,...o){return n.getText(!1,e,s,t,...o)},s}getText(e,t,n,s,...o){if(!s)return s;if("string"!=typeof s)throw new Error(`${s} should be string`);const i=s.indexOf("::");return i>-1&&(t=s.substring(0,i),s=s.substring(i+2)),ee(e,t?this.sys.meta.locale.localeModules[t]:void 0,this.sys.meta.locale.locales,n||this.current,s,...o)}}}),Ao=t(()=>{Ro(),fe(),Bo=class extends Mo{constructor(...e){super(...e),this.locales={},this.localeModules={}}initialize(e){var t=this;return _e(function*(){if(e)for(const n in e){const s=e[n].modules;for(const e in s)t._registerLocale(e,n,s[e])}})()}dispose(){this.locales={},this.localeModules={}}_registerLocales(e,t){if(t)for(const n in t)this._registerLocale(e,n,t[n])}_registerLocale(e,t,n){this.locales[t]=Object.assign({},n,this.locales[t]),this.localeModules[e]||(this.localeModules[e]={}),this.localeModules[e][t]=Object.assign({},n,this.localeModules[e][t])}}}),Eo=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),St(),fe(),xo=class extends De{constructor(...e){super(...e),this.modulesMeta=void 0,this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(e){var t=this;return _e(function*(){t.modulesMeta=e,yield t._loadAllMonkeysAndSyncsAndPreloads(),yield t._requireAllSpecifics("preload"),yield t._requireAllSpecifics("monkey"),yield t._requireAllSpecifics("sync")})()}dispose(){this.modulesMeta=void 0}get(e){if(!e)return;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);const n=this.modules[t.relativeName];return n&&n[As]&&n[As].state?n:void 0}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){if(!e)return!1;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);return!!this.modulesMeta.modules[t.relativeName]}_loadAllMonkeysAndSyncsAndPreloads(){var e=this;return _e(function*(){const t=[];for(const i of e.modulesMeta.moduleNames){var n,s,o;const r=e.modulesMeta.modules[i],a=r.info;((null===(n=a.capabilities)||void 0===n?void 0:n.monkey)||(null===(s=a.capabilities)||void 0===s?void 0:s.sync)||(null===(o=a.capabilities)||void 0===o?void 0:o.preload))&&"function"==typeof r.resource&&t.push(i)}yield e.loadModules(t)})()}loadModules(e){var t=this;return _e(function*(){if(0===e.length)return;const n=[],s=[];for(const i of e){const e=t.modulesMeta.modules[i];if(!e)throw new Error(`module not found: ${i}`);const o=e.resource;if("function"==typeof o){const e=o();n.push(e),s.push(i)}}const o=yield Promise.all(n);for(let e=0;e<o.length;e++){const n=s[e];t.modulesMeta.modules[n].resource=o[e]}})()}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});n.length>0&&t.sys.meta.logger.child("module","default").debug(`modules ${e}: ${n.join(",")}`);for(const e of n){const n=t.modulesMeta.modules[e];yield t._install(e,n)}})()}_requireAllOthers(){var e=this;return _e(function*(){for(const o of e.modulesMeta.moduleNames){var t,n,s;const i=e.modulesMeta.modules[o],r=i.info;(null===(t=r.capabilities)||void 0===t?void 0:t.monkey)||(null===(n=r.capabilities)||void 0===n?void 0:n.sync)||(null===(s=r.capabilities)||void 0===s?void 0:s.preload)||(yield e._install(o,i))}})()}_install(e,t){var n=this;return _e(function*(){if(n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.sys.bean._getBean(`${e}.scope.module`,!1))}const s=t;s[As]=ut.create(),n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.sys.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",s)})()}_installInner(e,t){var n=this;return _e(function*(){if("function"==typeof t.resource){const e=t.resource;t.resource=yield e()}t.resource.MainSys&&(n.mainInstances[e]=n.sys.bean._newBeanSimple(t.resource.MainSys,!1,t)),t.resource.MonkeySys&&(n.monkeyInstances[e]=n.sys.bean._newBeanSimple(t.resource.MonkeySys,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerLocales(e),t._registerErrors(e),t._registerConstants(e),yield t._registerConfig(e)})()}_registerErrors(e){e.resource.errors&&(this.sys.meta.error.errors[e.info.relativeName]=e.resource.errors)}_registerLocales(e){this.sys.meta.locale._registerLocales(e.info.relativeName,e.resource.locales)}_registerConstants(e){if(!e.resource.constants)return;const t=e.info.relativeName;this.sys.constant.modules[t]=Ze({},e.resource.constants,this.sys.constant.modules[t])}_registerConfig(e){var t=this;return _e(function*(){if(!e.resource.config)return;const n=yield e.resource.config(t.sys);yield t._monkeyModule(!0,"configLoaded",e,n);const s=e.info.relativeName;t.sys.config.modules[s]=Ze({},n,t.sys.config.modules[s]),t.sys.configOriginal.modules[s]=n})()}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield e[t](...s))}var i;yield V(o.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(void 0===n?yield i[t](...s):yield i[t](n,...s))}}),function(e){return i.apply(this,arguments)}));const r=o.sys.meta.sysMonkey;r&&r[t]&&(void 0===n?yield r[t](...s):yield r[t](n,...s))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&e[t](...s)}z(this.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}});const o=this.sys.meta.sysMonkey;o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}}}),Fo=t(()=>{Ge(),uo(),po(),fo(),Oo(),No(),Ao(),Eo(),fe(),Co=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.logger=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.sysMonkey=void 0,this.legacyRoutes=void 0}__init__(){this.module=this.bean._newBeanSimple(xo,!1),this.component=this.bean._newBeanSimple(go,!1),this.logger=this.bean._newBeanSimple(co,!1),this.locale=this.bean._newBeanSimple(Bo,!1),this.error=this.bean._newBeanSimple(bo,!1),this.event=this.bean._newBeanSimple(ao,!1),this.cookie=this.bean._newBeanSimple(Es,!1)}dispose(){this.event.dispose(),this.module.dispose(),this.component.dispose(),this.logger.dispose(),this.locale.dispose(),this.error.dispose(),this.sysMonkey=void 0,this.legacyRoutes=void 0}initialize(e,t){var n=this;return _e(function*(){e&&(n.sysMonkey=n.bean._newBeanSimple(e,!1)),n.legacyRoutes=t})()}}});function To(e,t){if(!t)return e;const n=pe({},e);for(const s of Object.keys(t))void 0!==t[s]&&(n[s]=t[s]);return n}var zo,jo=t(()=>{Qn(),Ee(),Ns(),Fs(),Ts(),Fo(),wt(),We(),St(),fe(),he(),$o=Symbol("SymbolSysInitializePromise"),Io=Symbol("SymbolSysClose"),function(e){je=e}(ko=new class{constructor(){this[$o]=void 0,this[Io]=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.config=void 0,this.configOriginal=void 0,this.env=void 0,this.constant=void 0,te(X)}initialize({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){return l[$o]||(l[$o]=l._initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a)),l[$o]})()}_initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){l[Io]=!1,l.bean=Dn.create(l,null,null),l.util=l.bean._newBeanSimple(qe,!1),l.meta=l.bean._newBeanSimple(Co,!1),l.env=l._prepareEnv(s,a),yield l.meta.initialize(i,r),yield l.meta.component.initialize(),yield l.meta.locale.initialize(t),yield l.meta.error.initialize(),l.config=yield l._combineConfig(n),l.configOriginal={modules:{}},l.constant=Rs,yield l.meta.module.initialize(e),yield l.meta.module._monkeyModule(!0,"sysInitialize"),yield l.meta.module._monkeyModule(!0,"sysInitialized"),yield l.meta.module._monkeyModule(!0,"sysReady"),l._hookClose(o)})()}_hookClose(e){if("undefined"!=typeof window){const e=()=>{this.close(),window.removeEventListener("beforeunload",e)};window.addEventListener("beforeunload",e)}}close(){this[Io]||(this[Io]=!0,this.meta.module._monkeyModuleSync(!1,"sysClose"),this.bean.dispose(),this.meta.dispose(),lt.dispose(),this[$o]=void 0)}_combineConfig(e){var t=this;return _e(function*(){const n=Ze({},{meta:{flavor:(s=t.env).META_FLAVOR,mode:s.META_MODE,appMode:s.META_APP_MODE}});var s;for(const o of e)Ze(n,yield o(t));return n})()}_prepareEnv(e,t){const n=this._prepareEnv_Runtime(e,t);return this._prepareEnv_Client(n)}_prepareEnv_Runtime(e,t){return To(e,t)}_prepareEnv_Client(e){if(!window.__INITIAL_STATE__)return e;return To(e,window.__INITIAL_STATE__.envClient)}}),window.sys=ko}),Lo=t(()=>{zo={install(e){e.mixin({created(){const e=this._.zova;e&&e.meta.component.activate()}})}}});function Do(e,t){return Ho.apply(this,arguments)}function Ho(){return(Ho=_e(function*(e,t){yield ko.initialize(t),e.use(zo),e.use(de)})).apply(this,arguments)}var Uo,qo,Wo,Go,Vo,Ko,Zo,Jo,Xo,Qo,Yo=t(()=>{ye(),jo(),Lo(),fe()}),ei=t(()=>{E(),Uo=B({name:"ClientOnly",inheritAttrs:!0,setup(e,{slots:t}){const n=d(!1);return v(()=>{n.value=!0}),()=>{var e,s;return!1===n.value?null===(e=t.placeholder)||void 0===e?void 0:e.call(t):null===(s=t.default)||void 0===s?void 0:s.call(t)}}})}),ti=t(()=>{Ge(),ws(),Ee(),qo=class extends De{constructor(...e){super(...e),this._bean_render_original=void 0}activate(){if(this.ctx.disposed)return;const e="render",t=this,n=this.ctx.instance;this._bean_render_original=n[e],n[e]=function(...e){if(n.isUnmounted)return;if(!t.ctx.meta.state.inited.state)return t._bean_render_original.call(this,...e);const s=t._getRender();return s?s.render():t._bean_render_original.call(this,...e)},n.type.ssrRender=null,n.ssrRender=null}dispose(){this.ctx.instance.render=this._bean_render_original,this._bean_render_original=null}_getRender(){var e;const t=this.bean._getBeanSyncOnly("$$c");if(t)return null===(e=t.__updateControllerData)||void 0===e||e.call(t),t.render?t:this.bean._getBeanSyncOnly("$$r")}}}),ni=t(()=>{Ge(),fe(),Wo=Symbol("SymbolHooksFns"),Go=Symbol("SymbolHooksState"),Vo=class extends De{constructor(...e){super(...e),this[Wo]={},this[Go]={}}dispose(){this[Wo]=void 0}onCreated(e){this._onHook("created",e)}onMounted(e){this._onHook("mounted",e)}_onHook(e,t){this[Go][e]?this.ctx.util.instanceScope(t):(this[Wo][e]||(this[Wo][e]=[]),this[Wo][e].push(t))}invokeHook(e){var t=this;return _e(function*(){t[Go][e]=!0;const n=t[Wo][e];if(n){t[Wo][e]=void 0;for(const e of n)yield t.ctx.util.instanceScope(e)}})()}}}),si=t(()=>{Ge(),Mt(),Ko=0,Zo=class extends De{constructor(...e){super(...e),this._id=void 0,this._inited=void 0}__init__(){this._id=++Ko,this._inited=ut.create()}get id(){return this._id}get inited(){return this._inited}}}),oi=t(()=>{Ge(),ti(),ni(),si(),Jo=class extends De{constructor(...e){super(...e),this.state=void 0,this.component=void 0,this.hooks=void 0}get el(){return this.ctx.instance.vnode.el}initialize(){this.state=this.bean._newBeanSimple(Zo,!0),this.component=this.bean._newBeanSimple(qo,!1),this.hooks=this.bean._newBeanSimple(Vo,!1)}dispose(){this.component.dispose(),this.hooks.dispose()}}}),ii=t(()=>{$(),l(),Ge(),St(),Xo=class extends De{instanceScope(e,t){this.ctx.disposed&&tt();const n=g(this.ctx.instance);t||c();try{return e()}finally{t||u(),n()}}}}),ri=t(()=>{E(),Qn(),Ee(),jo(),oi(),ii(),Qo=class{constructor(e){this.instance=void 0,this.app=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.disposed=void 0,h(this),e.zova=this,this.instance=e,this.app=e.appContext.app.zova,this.bean=Dn.create(ko,this.app,this),this.util=this.bean._newBeanSimple(Xo,!1),this.meta=this.bean._newBeanSimple(Jo,!1),this.meta.initialize(),this._zovaHostProvidersInit()}dispose(){this.disposed||(this.meta.dispose(),this.instance.zova=null,this.instance=null,this.app=null,this.bean=null,this.meta=null,this.disposed=!0)}_zovaHostProvidersInit(){let e=this.instance.zovaHostProviders;var t;e||"AsyncComponentWrapper"===(null===(t=this.instance.parent)||void 0===t?void 0:t.type.name)&&(e=this.instance.parent.zovaHostProviders);this._zovaHostProvidersUpdate_inner(e)}_zovaHostProvidersUpdate(e){A(()=>{this._zovaHostProvidersUpdate_inner(e)})}_zovaHostProvidersUpdate_inner(e){if(this.bean&&e)for(const t in e)this.bean._getBeanSyncOnly(t)!==e[t]&&this.bean._setBean(t,e[t])}}}),ai=t(()=>{ti(),ri(),oi(),si(),ii()});function li(e,t,n){ci({context:{slots:w()}},e,t,n)}function ci(e,t,n,s){return ui.apply(this,arguments)}function ui(){return ui=_e(function*(e,t,n,s){const o=new Qo(x());function i(){return(i=_e(function*(){if(!o.disposed){if(yield o.bean._newBeanInner(!0,"$$c",e,t,!0,!1),s){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$s",void 0,s,!0,!1)}if(n){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$r",void 0,n,!0,!1)}o.disposed||(o.meta.state.inited.touch(),o.util.instanceScope(()=>{b(()=>{di(o,!0),o.meta.hooks.invokeHook("mounted")})}))}})).apply(this,arguments)}o.app?o.app.meta.module._monkeyModuleSync(!0,"appContextInitialize",void 0,o):ko.meta.module._monkeyModuleSync(!0,"sysContextInitialize",void 0,o),o.app&&o.app.meta.module._monkeyModuleSync(!0,"controllerDataPrepare",void 0,e,o),R(()=>{o.disposed||(di(o,!1),o.bean!==o.app.bean&&o.bean.dispose())}),N(()=>{o.dispose()}),o.meta.hooks.onCreated(_e(function*(){if(!o.disposed)try{return yield function(){return i.apply(this,arguments)}()}catch(e){if(o.disposed)return;throw e}})),o.meta.hooks.invokeHook("created")}),ui.apply(this,arguments)}function di(e,t){var n,s;const o=null===(n=e.bean)||void 0===n?void 0:n._getBeanSyncOnly("$$c");if(!o||o[ns])return;const i=null===(s=o.ctx.instance.vnode.props)||void 0===s?void 0:s.controllerRef;i&&i(t?o:void 0)}var pi=t(()=>{E(),ws(),ai(),jo(),fe()});function hi(e,t,n){return B(()=>(ci({context:{}},e,t,n),()=>{}))}function mi(e){return Object.assign({inheritAttrs:"auto"},e)}var fi=t(()=>{E(),pi()}),yi=t(()=>{ei(),fi(),Po()});function _i(){const e=x();return null==e?void 0:e.appContext.app.zova}var vi,gi,bi,Si,wi,Mi,Bi,xi,Ci,$i,Ii,ki=t(()=>{E()}),Pi=t(()=>{E()}),Oi=t(()=>{ki(),Pi(),pi()}),Ni=t(()=>{Ge(),fe(),vi=class extends De{initialize(){return _e(function*(){})()}_registerComponents(e,t){if(t)for(const n in t){const e=t[n];this._setComponentGlobal(e)}}_setComponentGlobal(e){var t;const n=e;return e.name&&!0===(null===(t=n.meta)||void 0===t?void 0:t.global)&&(this.app.vue.component(e.name)||this.app.vue.component(e.name,e)),e}}}),Ri=t(()=>{Ht(),Wt(),fe(),gi=class extends bt{initialize(){var e=()=>super.initialize,t=this;return _e(function*(){yield e().call(t),t.app.vue.config.errorHandler=(e,n,s)=>t._handleError(e,n,s),window.addEventListener("unhandledrejection",e=>(e.preventDefault(),t._handleUnhandledError(e.reason,"unhandledrejection"),!1)),window.addEventListener("error",e=>(e.preventDefault(),t._handleUnhandledError(e.error,"unhandlederror"),!1))})()}createScopeError(e,t){const n=this;return{throw:(...s)=>n.throw(e,t,...s),parseFail:(...s)=>n.parseFail(e,t,...s)}}_handleUnhandledError(e,t){if(e instanceof Error){const n=e[Rt];n&&delete e[Rt],this.app.vue.config.errorHandler(e,null==n?void 0:n.instance,(null==n?void 0:n.info)||t)}}_handleError(e,t,n){if(!this.app)return void console.error(e);const s=this.app.meta.event.emitSync("app:errorHandler",{err:e,instance:t,info:n},e=>e.err);return s&&s instanceof Error?(n&&["useMutationData"].includes(n)||console.error(s),s):s}}}),Ai=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),fe(),bi=class extends De{constructor(...e){super(...e),this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(){var e=this;return _e(function*(){yield e._requireAllSpecifics("preload"),yield e._requireAllSpecifics("monkey"),yield e._requireAllSpecifics("sync")})()}get(e,t){if(!e)return;const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=this.modules[n.relativeName];if(s){if(s[As]&&s[As].state)return this.sys.meta.module.get(e)}else!1!==t&&this.use(n.relativeName)}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.sys.meta.module.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){return this.sys.meta.module.exists(e)}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.sys.meta.module.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.sys.meta.module.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});for(const e of n){const n=t.sys.meta.module.modulesMeta.modules[e];yield t._install(e,n)}})()}_install(e,t){var n=this;return _e(function*(){if(yield n.sys.meta.module._install(e,t),n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.app.bean._getBean(`${e}.scope.module`,!1))}const s={[As]:ut.create()};n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.app.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",t)})()}_installInner(e,t){var n=this;return _e(function*(){t.resource.Main&&(n.mainInstances[e]=n.app.bean._newBeanSimple(t.resource.Main,!1,t)),t.resource.Monkey&&(n.monkeyInstances[e]=n.app.bean._newBeanSimple(t.resource.Monkey,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerComponents(e)})()}_registerComponents(e){this.app.meta.component._registerComponents(e.info.relativeName,e.resource.components)}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield o.app.vue.runWithContext(_e(function*(){yield e[t](...s)})))}var i;yield V(o.sys.meta.module.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield i[t](...s):yield i[t](n,...s)})))}}),function(e){return i.apply(this,arguments)}));const r=o.app.meta.appMonkey;r&&r[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield r[t](...s):yield r[t](n,...s)})))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&this.app.vue.runWithContext(_e(function*(){e[t](...s)}))}z(this.sys.meta.module.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}});const o=this.app.meta.appMonkey;o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}}}),Ei=t(()=>{Ge(),Ni(),uo(),Ri(),po(),Ro(),Ai(),fe(),Si=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.text=void 0,this.appMonkey=void 0}__init__(){this.module=this.app.bean._newBeanSimple(bi,!1),this.component=this.app.bean._newBeanSimple(vi,!1),this.locale=this.app.bean._newBeanSimple(Mo,!1),this.error=this.app.bean._newBeanSimple(gi,!1),this.event=this.app.bean._newBeanSimple(ao,!1),this.cookie=this.app.bean._newBeanSimple(Es,!1),this.text=this.locale.createLocaleText()}initialize(e){var t=this;return _e(function*(){e&&(t.appMonkey=t.bean._newBeanSimple(e,!1))})()}}}),Fi=t(()=>{Ge(),Ns(),wi=class extends De{setLocaleErrors(e,t){return function(e,t,n){ce(()=>e.meta.locale.current,t,n)}(this.app,e,t)}}}),Ti=t(()=>{E(),Ee(),Ns(),jo(),Ei(),Fi(),fe(),Mi=Symbol("SymbolAppClose"),Bi=class{constructor(e,t){var n;this._reloadDelayTimer=0,this[Mi]=void 0,this.vue=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.ctx=void 0,h(this),e.zova=this,this.vue=e,this.ctx=t,this.bean=t.bean,this.bean.app=this,t.app=this,this.util=this.bean._newBeanSimple(wi,!1),this.meta=this.bean._newBeanSimple(Si,!1),t.instance.appContext.reload=()=>{this.reloadDelay()},n=this,Q((e,t)=>W((e,...t)=>n.meta.text(e,...t),e,t))}initialize({AppMonkey:e}){var t=this;return _e(function*(){ko.meta.module._monkeyModuleSync(!0,"sysApplicationInitialize",void 0,t),yield t.meta.initialize(e),yield t.meta.component.initialize(),yield t.meta.locale.initialize(),yield t.meta.error.initialize(),yield t.meta.module.initialize(),yield t.meta.module._monkeyModule(!0,"appInitialize"),yield t.meta.module._monkeyModule(!0,"appInitialized"),yield t.meta.module._monkeyModule(!0,"appReady")})()}get sys(){return ko}reload(){window.location.reload()}reloadDelay(e){e?0!==this._reloadDelayTimer&&(window.clearTimeout(this._reloadDelayTimer),this._reloadDelayTimer=0):(this.reloadDelay(!0),this._reloadDelayTimer=window.setTimeout(()=>{this.reload()},100))}throw(e,...t){return this.meta.error.throw(void 0,e,...t)}close(){this[Mi]||(this[Mi]=!0,this.meta.module._monkeyModuleSync(!1,"appClose"),this.bean.dispose(),this.ctx.dispose())}}}),zi=t(()=>{}),ji=t(()=>{Ti(),zi(),Ei()}),Li=t(()=>{Ri(),Ro(),Ai()});function Di(e){return"function"==typeof e.message&&(void 0===e.message[Ci]&&(e.message[Ci]=e.message()),e.message=e.message[Ci]),e}var Hi,Ui=t(()=>{Oe(),L(),me(),xi=["timestamp","level","stack","message","name","beanFullName","durationMs"],Ci=Symbol("SymbolLoggerMessage"),$i=$e((e,t)=>{const n="function"==typeof t.level?t.level():t.level;return!!n&&(t.strict?Ie[e.level]===Ie[n]&&Di(e):!!(Ie[e.level]<=Ie[n]||t.silly&&"silly"===e.level)&&Di(e))}),Ii=()=>ke(e=>{let{timestamp:t,level:n,stack:s,message:o,name:i,beanFullName:r,durationMs:a}=e,l=ve(e,xi);const c=[`${t} ${n}${i?` ${Pe("verbose",`[${i}]`)}`:""}${r?` ${Pe("tip",`[${r}]`)}`:""} ${o}${void 0!==a?` ${Pe("verbose",`+${a}ms`)}`:""}${s?`\n${s}`:""}`];if(!K(l)){const e={};for(const t in l)e[t]=l[t];c.push(e)}return c})}),qi=t(()=>{}),Wi=t(()=>{Ui(),fo(),qi()}),Gi=t(()=>{Oo(),Fs(),Ts(),No(),Ao(),Fo(),Fe(),Eo(),wt(),jo(),St()}),Vi=t(()=>{ji(),Li(),ai(),Wi(),Gi()}),Ki=t(()=>{Le()}),Zi=t(()=>{Le()}),Ji=t(()=>{Le()}),Xi=t(()=>{Le()}),Qi=t(()=>{Ki(),Zi(),Ji(),Xi(),Te(),Le()}),Yi=t(()=>{Qn(),ws(),Vi(),eo(),fe(),Hi={install:(e,t,{modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c})=>_e(function*(){const u=new Bi(e,t);return yield u.initialize({modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c}),u})(),update:(e,t)=>_e(function*(){const n=e.bean;n.ctx=t;for(const e in n[Ln])n[Ln][e].ctx=t;delete n[Ln].$$c,delete n[Ln].$$r,delete n[Ln].$$s,Object.assign(n[Ln],t.bean[Ln]),t.bean=n,t.app=e})()}}),er=t(()=>{Lo(),Yi()});function tr(e){return e}var nr=t(()=>{}),sr=t(()=>{}),or=t(()=>{nr(),Mt(),sr()}),ir=t(()=>{}),rr=t(()=>{}),ar=t(()=>{ir(),rr(),Hn()}),lr=t(()=>{re(),Os(),Yo(),yi(),Oi(),Vi(),Nn(),Qi(),er(),eo(),or(),ar()});export{Dt as A,Xe as B,fn as C,an as D,cn as E,lt as F,Re as G,Ke as H,Qe as I,Ne as K,Ye as L,Rt as M,dt as N,on as O,ut as P,Je as R,_n as S,pn as T,De as U,et as V,ze as W,is as _,$i as a,ts as b,mi as c,Do as d,ko as f,ls as g,cs as h,Ii as i,jt as j,nn as k,li as l,gs as m,tr as n,_i as o,_o as p,Hi as r,hi as s,lr as t,Uo as u,ss as v,dn as w,Rn as x,ns as y,Ze as z};
|
|
1
|
+
import{a as e,n as t}from"./rolldown-runtime-CHbrDDT0.js";import{i as n,n as s,o,r as i,t as r}from"./vue-Ds00Ozkv.js";import{_ as a,a as l,d as c,g as u,h as d,i as p,l as h,p as m,s as f,x as y}from"./vue-Dl-yK_yx.js";import{A as _,C as v,D as g,E as b,M as S,O as w,T as M,d as B,f as x,g as C,h as $,j as I,k,o as P,u as O,w as N,x as R,y as A}from"./vue-Bfl7vS_c.js";import{n as E,t as F}from"./vue-CHj8oCvV.js";import{A as T,G as z,H as j,J as L,M as D,N as H,Q as U,R as q,S as W,V as G,W as V,X as K,Y as Z,Z as J,_ as X,b as Q,et as Y,f as ee,g as te,h as ne,j as se,l as oe,m as ie,nt as re,u as ae,v as le,x as ce,y as ue}from"./zova-DrYi3lHN.js";import{a as de,d as pe,f as he,i as me,m as fe,o as ye,p as _e,r as ve,s as ge}from"./fecha-DKYcT2kV.js";import{a as be,i as Se,n as we,o as Me,t as Be}from"./zova-C85f6rBG.js";import{t as xe}from"./zova-bwa4oaWV.js";import{a as Ce,c as $e,d as Ie,i as ke,l as Pe,t as Oe}from"./zova-DtaxAeLK.js";function Ne(e){return e}var Re,Ae,Ee=t(()=>{}),Fe=t(()=>{L(),xe(),Re=new class{defineMetadata(e,t,n,s){Y(s)?Reflect.defineMetadata(e,t,n):Reflect.defineMetadata(e,t,n,s)}getOwnMetadata(e,t,n){return Y(n)?Reflect.getOwnMetadata(e,t):Reflect.getOwnMetadata(e,t,n)}getMetadata(e,t,n){return Y(n)?Reflect.getMetadata(e,t):Reflect.getMetadata(e,t,n)}getOwnMetadataArray(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?e.slice():[]}else o=[];this.defineMetadata(t,o,n,s)}return o}getOwnMetadataMap(e,t,n,s){let o=this.getOwnMetadata(t,n,s);if(!o){if(e){const e=this.getMetadata(t,n,s);o=e?Object.assign({},e):{}}else o={};this.defineMetadata(t,o,n,s)}return o}getDesignType(e,t){return this.getMetadata("design:type",e,t)}getDesignParamtypes(e,t){return this.getMetadata("design:paramtypes",e,t)}getDesignReturntype(e,t){return this.getMetadata("design:returntype",e,t)}}}),Te=t(()=>{Ae=Symbol("SymbolMappedClassMetakeys")});function ze(e,t,n){const s=Re.getOwnMetadataMap(!0,Ae,e);Object.hasOwn(s,t)||(s[t]=n)}var je,Le=t(()=>{Fe(),Te()});var De,He,Ue,qe,We=t(()=>{}),Ge=t(()=>{De=class{constructor(){this.sys=void 0,this.app=void 0,this.ctx=void 0}get bean(){return this.ctx?this.ctx.bean:this.sys.bean}}}),Ve=t(()=>{He=Array.from({length:256});for(let e=0;e<256;e++)He[e]=(e+256).toString(16).substring(1);(()=>{const e="undefined"!=typeof crypto?crypto:"undefined"!=typeof window?window.crypto||window.msCrypto:void 0;if(void 0!==e){if(void 0!==e.randomBytes)return e.randomBytes;if(void 0!==e.getRandomValues)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{const t=[];for(let n=e;n>0;n--)t.push(Math.floor(256*Math.random()));return t}})()});function Ke(...e){let t=e[0];if(!t||"object"!=typeof t)throw new Error("invalid args");f(t)||(t=m(t));for(let n=1;n<e.length;n++){const s=e[n];if(!s)continue;const o=Object.getOwnPropertyNames(s);for(const e of o){const n=Object.getOwnPropertyDescriptor(s,e);t[e]=null==n?void 0:n.value}}return t}function Ze(...e){return D(!0,...e)}function Je(e,t,n){return(0,Ue.default)(e,t,n)}function Xe(e){var t;null==e||null===(t=e.__dispose__)||void 0===t||t.call(e)}function Qe(e,t){return e.replace(":",`.${t}.`)}function Ye(e,t="px"){if(null==e||""===e)return;const n=Number(e);return Number.isNaN(n)?String(e):Number.isFinite(n)?`${n}${t}`:void 0}function et(e){return!!e&&(e.startsWith("http://")||e.startsWith("https://"))}function tt(){const e=new Error;throw e.code=600,e}var nt,st,ot,it,rt,at,lt,ct,ut,dt,pt,ht,mt,ft,yt,_t,vt,gt,bt,St=t(()=>{H(),L(),Ue=e(ge(),1),E(),Ge(),Ee(),Ve(),qe=class extends De{getAbsoluteUrlFromPagePath(e,t,n){let s=t?"":`${this.sys.env.SSR_PROD_PROTOCOL}://${this.sys.env.SSR_PROD_HOST}`;return!n&&this.sys.env.APP_PUBLIC_PATH&&(s=`${s}/${this.sys.env.APP_PUBLIC_PATH}`),`${s}${e||""}`}getPagePathFromAbsoluteUrl(e,t){let n;if(et(e)){const t=new URL(e);n=t.pathname+t.search}else n=e;if(!t&&this.sys.env.APP_PUBLIC_PATH){const e=`/${this.sys.env.APP_PUBLIC_PATH}`;n.startsWith(e)&&(n=n.substring(e.length))}return n}getApiBaseURL(e=!0){let t=this.sys.config.api.baseURL||"";return e&&(t=`${t}${this.sys.config.api.prefix||""}`),t}getOpenApiBaseURL(e){return this.sys.env[e]||this.sys.env.OPENAPI_BASE_URL_DEFAULT||this.sys.env.API_BASE_URL}getApiPath(e){return e?e=e.startsWith("//")?e.substring(1):this.sys.config.api.prefix+e:e}apiActionPathTranslate(e,t){return G(e,t)}apiActionConfigPrepare(e,t,n){const s={params:null==t?void 0:t.query,query:void 0},o={};return void 0!==(n=void 0===(null==t?void 0:t.authToken)?n:null==t?void 0:t.authToken)&&(o["a-interceptor:jwt"]={authToken:n}),(null==t?void 0:t.openapiSchema)&&(o["a-interceptor:headers"]={openapiSchema:null==t?void 0:t.openapiSchema}),K(o)||(s.interceptors=o),Ze({baseURL:e||this.getApiBaseURL(!1)},t,s)}getModuleConfigSafe(e){if(this.sys.meta.module.get(e))return this.sys.bean.scope(e).config;let t=this.sys.config.modules[e];return t||(t=this.sys.config.modules[e]={}),t}getModuleConfigOriginal(e){var t;return null!==(t=this.sys.configOriginal.modules[e])&&void 0!==t?t:{}}parseResourceApi(e,t){const n=e.split(":");return null!=t?t:q(n[0],n[1],void 0,!0,!0,this.sys.env.API_PREFIX)}}}),wt=t(()=>{L(),Be(),Le(),Ee(),Fe(),We(),St(),he(),nt=Symbol("Decorator#BeanFullName"),st=Symbol("SymbolDecoratorBeanInfo"),ot=Symbol("SymbolDecoratorProxyDisable"),it=Symbol("SymbolDecoratorPreload"),rt=Symbol("SymbolDecoratorVirtual"),at=Symbol("SymbolDecoratorUse"),lt=new class{constructor(){this.beans={},this.scenes={}}dispose(){}addUse(e,t){ze(e,at);Re.getOwnMetadataMap(!0,at,e)[t.prop]=t}getUses(e){return Re.getMetadata(at,e)}addBean(e){const{beanClass:t,options:n,optionsPrimitive:s}=e,o=Re.getOwnMetadata(rt,t),{scene:i,name:r}=this._parseSceneAndBeanName(t,e.scene,e.name),a=Re.getOwnMetadata(st,t),l=null==a?void 0:a.module;if(!l)throw new Error(`module name not parsed for bean: ${i}.${r}`);const c=`${l}.${i}.${r}`,u=this._parseModuleBelong(l,t,o),d=this._prepareOnionOptions(n,s,i,`${l}:${r}`),p=pe(pe({},e),{},{module:l,scene:i,name:r,beanFullName:c,moduleBelong:u,options:d});return this.beans[c]=p,this.scenes[i]||(this.scenes[i]={}),this.scenes[i][l]||(this.scenes[i][l]={}),this.scenes[i][l][c]=p,Re.defineMetadata(nt,c,p.beanClass),p}getBeanFullName(e){return e&&"function"==typeof e&&Z(e)?Re.getOwnMetadata(nt,e):e}getBean(e){const t=this.getBeanFullName(e);return t?this.beans[t]:null}_parseSceneAndBeanName(e,t,n){if(t&&n)return{scene:t,name:n};let s=e.name;return s.toLowerCase().startsWith("bean")&&(s=s.substring(4)),n||(n=t?be(s,t,!0):we(s,!0)),t||(t=Se(s,n,!0),t=Me(t,!0,".")),{scene:t,name:n}}_parseModuleBelong(e,t,n){if(!n)return e;let s,o=Object.getPrototypeOf(t);for(;o;){const e=this.getBean(o);if(e&&e.moduleBelong){s=e.moduleBelong;break}o=Object.getPrototypeOf(o)}return s}_getModuleBelong(e){const t=this.getBean(e);return null==t?void 0:t.moduleBelong}_getModuleName(e){const t=this.getBean(e);return null==t?void 0:t.module}_prepareOnionOptions(e,t,n,s){var o;const i=null===(o=je.config.onions[n])||void 0===o?void 0:o[s];return t?void 0===i?e:i:Ze({},e,i)}}}),Mt=t(()=>{E(),fe(),ct=Symbol("SymbolWaitPromise"),ut=class StateLock{static create(){return m(new StateLock)}constructor(){this._state=void 0,this._resolve=void 0,this._state=!1}get state(){return this._state}touch(){!0!==this._state&&(this._state=!0,this._resolve&&(this._resolve.call(void 0,null),this._resolve=void 0))}wait(){var e=this;return _e(function*(){return e[ct]||(e[ct]=e._waitInner()),e[ct]})()}_waitInner(){var e=this;return _e(function*(){return new Promise(t=>{if(e.state)return t(null);e._resolve=t})})()}}}),Bt=t(()=>{wt(),Mt(),Ge(),dt=Symbol("SymbolBeanFullName"),pt=Symbol("SymbolBeanInstanceKey"),ht=Symbol("SymbolModuleBelong"),mt=Symbol("SymbolModuleName"),ft=Symbol("SymbolInited"),yt=class extends De{constructor(){super(),this[dt]=void 0,this[pt]=void 0,this[ft]=void 0,this[ft]=ut.create()}get[ht](){const e=lt._getModuleBelong(this[dt]);if(!e)throw new Error(`not found module belong: ${this[dt]}`);return e}get[mt](){const e=lt._getModuleName(this[dt]);if(!e)throw new Error(`not found module name: ${this[dt]}`);return e}get $beanFullName(){return this[dt]}get $beanInstanceKey(){return this[pt]}get $beanOptions(){return lt.getBean(this[dt]||this.constructor)}get $onionName(){const e=this.$beanFullName.split(".");return`${e[0]}:${e[2]}`}get $onionOptions(){return this.$beanOptions.options}}}),xt=t(()=>{}),Ct=t(()=>{xt()}),$t=t(()=>{}),It=t(()=>{$t()}),kt=t(()=>{}),Pt=t(()=>{kt()}),Ot=t(()=>{Ge(),_t=Symbol("BeanScopeError#ModuleScope"),vt=class extends De{constructor(e){super(),this[_t]=void 0,this.__instances={},this[_t]=e}__get__(e){return this.__instances[e]||(this.__instances[e]=this.app.meta.error.createScopeError(this[_t],e)),this.__instances[e]}}}),Nt=t(()=>{gt={0:"Success",1:"Unknown Error",100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required",600:"Component Unmounted"}});var Rt,At,Et,Ft,Tt,zt,jt,Lt,Dt,Ht=t(()=>{Ge(),Nt(),fe(),bt=class extends De{initialize(){return _e(function*(){})()}throw(e,t,...n){const s=this.parseFail(e,t,...n),o=new Error;throw o.code=s.code,o.message=s.message,s.code<500&&(o.status=s.code),o}parseFail(e,t,...n){return"object"==typeof t?t:this.parseCode(e,1,t,...n)}parseCode(e,t,n,...s){const o=this.sys.meta.error.errors[e];let i,r;return"string"==typeof n&&/^\d+$/.test(n)&&(n=Number(n)),n&&"string"==typeof n&&(i=n,n=o[n]),null!=n&&""!==n||(n=t),r=n<=1e3?this.app.meta.locale.getText(!0,void 0,void 0,gt[n],...s):this.app.meta.locale.getText(!1,e,void 0,i||n,...s),n=function(e,t){return"number"!=typeof t||t<=1e3?t:e?`${e}:${t}`:t}(e,n),{code:n,message:r}}}}),Ut=t(()=>{}),qt=t(()=>{}),Wt=t(()=>{Rt=Symbol("SymbolErrorInstanceInfo")}),Gt=t(()=>{Ot(),Ht(),Ut(),Nt(),qt(),Wt()}),Vt=t(()=>{Ge(),At=Symbol("BeanScopeLocale#ModuleScope"),Et=class extends De{constructor(e){super(),this[At]=void 0,this.__instances={},this[At]=e}__get__(e){if(!this.__instances[e]){const t=this.app?this.app.meta.locale:this.sys.meta.locale;this.__instances[e]=t.createScopeLocaleText(this[At],e)}return this.__instances[e]}}}),Kt=t(()=>{}),Zt=t(()=>{Vt(),Kt()}),Jt=t(()=>{}),Xt=t(()=>{Jt()}),Qt=t(()=>{Ct(),It(),Pt(),Gt(),Zt(),Xt()}),Yt=t(()=>{E(),Ee(),Bt(),Qt(),fe(),Ft=Symbol("SymbolText"),Tt=Symbol("SymbolLogger"),zt=Symbol("SymbolLoggerChildren"),jt=class extends yt{constructor(...e){super(...e),this[Ft]=void 0,this[Tt]={},this[zt]={}}get $el(){if(!this.ctx)throw new Error("$el can not be used inside global bean.");return this.ctx.meta.el}get $text(){return this[Ft]||(this[Ft]=this.app.meta.locale.createLocaleText(this[ht])),this[Ft]}get $logger(){return this.$loggerClient("default")}$loggerClient(e){return this[Tt][e]||(this[Tt][e]=this.sys.meta.logger.get(e).child({beanFullName:this.$beanFullName})),this[Tt][e]}$loggerChild(e,t="default"){return this[zt][t]||(this[zt][t]={}),this[zt][t][e]||(this[zt][t][e]=this.sys.meta.logger.get(t).child({beanFullName:this.$beanFullName,name:e})),this[zt][t][e]}get $event(){return this.app.meta.event}get scope(){return this.bean.scope(this[ht])}$renderFreeze(e){return this.ctx.instance.ctx.renderFreeze(e)}$renderFreezeScope(e){var t=this;return _e(function*(){if(!t.ctx.disposed)return yield t.ctx.instance.ctx.renderFreezeScope(e)})()}$errorHandler(e,t){var n;return e instanceof Error&&e[Rt]&&delete e[Rt],null===(n=this.app)||void 0===n?void 0:n.vue.config.errorHandler(e,this.ctx.instance,t)}$computed(e,t){return this.ctx.util.instanceScope(()=>P(e,t))}$composable(e){return this.ctx.util.instanceScope(()=>e())}$watchEffect(e,t){return this.ctx.util.instanceScope(()=>_(e,t))}$watchPostEffect(e,t){return this.ctx.util.instanceScope(()=>I(e,t))}$watchSyncEffect(e,t){return this.ctx.util.instanceScope(()=>S(e,t))}$watch(e,t,n){return this.ctx.util.instanceScope(()=>k(e,t,n))}$controllerCreated(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onCreated(e))}$controllerMounted(e){return this.ctx.util.instanceScope(()=>this.ctx.meta.hooks.onMounted(e))}$customRef(e){return p(e)}$toRef(e,t,n){return y(e,t,n)}$zovaComponent(e,t){return this.sys.meta.component.getZovaComponent(e,t)}}}),en=t(()=>{Yt(),Lt=class extends jt{}}),tn=t(()=>{Yt(),Dt=class extends jt{}});function nn(e){return function(t){Re.defineMetadata(st,e,t)}}var sn=t(()=>{Fe(),wt()});function on(e,t,n,s,o,i){return function(r){const a="scope"===e?"module":void 0;lt.addBean({scene:e,name:a,containerScope:t,markReactive:n,beanClass:r,options:s,optionsPrimitive:o}),i&&i(r)}}var rn=t(()=>{wt()});function an(){return function(e){Re.defineMetadata(it,!0,e)}}var ln=t(()=>{Fe(),wt()});function cn(){return function(e){Re.defineMetadata(ot,!0,e)}}var un=t(()=>{Fe(),wt()});function dn(e){return function(t,n,s){e||(e={}),"string"==typeof e&&(e={beanFullName:e});const o=Re.getDesignType(t,n);lt.addUse(t,pe(pe({},e),{},{prop:n,beanClass:o,descriptor:s}))}}function pn(e,t,n){return{withSelector:t,markReactive:n,args:[e]}}function hn(e,t){var n;let s=function(e,t){var n,s,o;const i=null===(n=t.descriptor)||void 0===n?void 0:n.get;if(!i)return;const r=i.call(e);if(!r)return;const a=null!==(s=r.withSelector)&&void 0!==s&&s,l=null===(o=r.markReactive)||void 0===o||o;return{withSelector:a,args:r.args.map((e,t)=>"function"==typeof e?l&&(!a||t>0)?y(e):e():e)}}(e,t);return s||(s=function(e,t){var n,s,o;const i=t.init;if(!i)return;const r=null!==(n=i.withSelector)&&void 0!==n&&n,a=null===(s=i.markReactive)||void 0===s||s,l=null!==(o=i.args)&&void 0!==o?o:[i.arg];if(!l)return;return{withSelector:r,args:l.map((t,n)=>function(e,t,n){const s={self:e,sys:e.sys,app:e.app,ctx:e.ctx};return n&&j(t,s,void 0,!0)?y(()=>j(t,s)):j(t,s)}(e,t,a&&(!r||n>0)))}}(e,t)),s||U(t.selector)?null!==(n=s)&&void 0!==n?n:{withSelector:!1,args:[]}:{withSelector:!0,args:[j(t.selector,{self:e,sys:e.sys,app:e.app,ctx:e.ctx})]}}var mn=t(()=>{L(),E(),Fe(),wt(),he()});function fn(e){return function(t,n){if(!e)throw new Error("should specify the module name");"string"==typeof e&&(e={module:e});const s=`${e.module}.scope.module`;lt.addUse(t,pe(pe({},e),{},{prop:n,beanFullName:s}))}}var yn=t(()=>{wt(),he()});function _n(){return function(e){Re.defineMetadata(rt,!0,e)}}var vn=t(()=>{Fe(),wt()}),gn=t(()=>{sn(),rn(),ln(),un(),mn(),yn(),vn()}),bn=t(()=>{}),Sn=t(()=>{}),wn=t(()=>{bn(),Sn()}),Mn=t(()=>{}),Bn=t(()=>{}),xn=t(()=>{}),Cn=t(()=>{}),$n=t(()=>{Mn(),Bn(),xn(),Cn()}),In=t(()=>{}),kn=t(()=>{Fe()}),Pn=t(()=>{}),On=t(()=>{kn(),Pn(),In()}),Nn=t(()=>{gn(),wn(),$n(),On()});function Rn(e,t){return P(e,t)}var An,En,Fn,Tn,zn,jn,Ln,Dn,Hn=t(()=>{E()});function Un(e,t){const[n,s]=t;if(n!==En)return{receiver:void 0,fn:s}}function qn([e,t],n){return(...s)=>(t=0===s.length?t:s[0],n([e,t]))}function Wn(e){return!e||!e.dynamic&&!e.ofBeanBase}function Gn(e,t){const n=Object.getOwnPropertyDescriptor(e,t);return n?{descriptor:n,dynamic:!0}:function(e,t){let n=Object.getPrototypeOf(e),s=!1;for(;n;){n.constructor.name===jt.name&&(s=!0);const e=Object.getOwnPropertyDescriptor(n,t);if(e)return{descriptor:e,dynamic:!1,ofBeanBase:s};n=Object.getPrototypeOf(n)}return null}(e,t)}function Vn(e,t,n,s){n&&"object"==typeof n&&s&&(n.__v_isShallow_patch=!0),Object.defineProperty(e,t,{enumerable:!1,configurable:!0,get:()=>n}),n&&"object"==typeof n&&s&&delete n.__v_isShallow_patch}function Kn(e){return!!e.__get__||!!e.__set__}function Zn(e){return["__get__","__set__","then","__v_skip","__v_isReactive","__v_isReadonly","__v_isShallow","__v_raw","__v_isRef","__v_isVNode","__v_cache","__v_isShallow_patch"].includes(e)}function Jn(e){return["__init__","__dispose__"].includes(e)}function Xn(e,t,n){return t?U(n)?e:`${e}#${n}`:e}var Qn=t(()=>{se(),L(),E(),Fe(),wt(),Nn(),Ee(),Hn(),en(),Yt(),Bt(),Ge(),he(),fe(),An=Symbol("SymbolBeanContainerParent"),En=Symbol("SymbolProxyMagic"),Fn=Symbol("SymbolProxyAopMethod"),Tn=Symbol("SymbolCacheAopChains"),zn=Symbol("SymbolCacheAopChainsKey"),jn=Symbol("SymbolGetBeanSelectorInnerPromises"),Ln=Symbol("SymbolBeanContainerInstances"),Dn=class BeanContainer{static create(e,t,n){const s=new BeanContainer(e,t,n);return h(new Proxy(s,{get:(e,t)=>"symbol"==typeof t||e[t]?e[t]:e._getBeanSyncOnly(t)}))}constructor(e,t,n){this.sys=void 0,this.app=void 0,this.ctx=void 0,this[Ln]=a({}),this[jn]={},this.sys=e,this.app=t,this.ctx=n}dispose(){const e=this[Ln];for(const t in e){if(t.startsWith("$$"))continue;const n=Ne(e[t]);!n||n instanceof Lt||!n.__dispose__||("sys"===this.containerType?(this.sys.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),n.__dispose__(),this.sys.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)):(this.app.meta.module._monkeyModuleSync(!1,"beanDispose",void 0,this,n),this.runWithInstanceScopeOrAppContext(()=>{n.__dispose__()}),this.app.meta.module._monkeyModuleSync(!1,"beanDisposed",void 0,this,n)))}this[Ln]=a({}),this[An]=void 0,this[jn]={}}get containerType(){return this.ctx?this.app&&this.ctx.bean!==this.app.bean?"ctx":"app":"sys"}get parent(){return void 0===this[An]&&(this[An]=this._getParent()),this[An]}_getParent(){var e;if("sys"===this.containerType)return null;let t=null===(e=this.ctx)||void 0===e||null===(e=e.instance)||void 0===e?void 0:e.parent;for(;t;){var n;const e=null===(n=t.zova)||void 0===n?void 0:n.bean;if(e)return e;t=t.parent}return this.sys.bean}runWithInstanceScopeOrAppContext(e,t){return"sys"===this.containerType?e():this.ctx?this.ctx.util.instanceScope(e,t):this.app.vue.runWithContext(e)}provide(e,t){return this.ctx.util.instanceScope(()=>M(e,t))}inject(e,t,n){return this.ctx.util.instanceScope(()=>C(e,t,n))}defineProperty(e,t,n){const s=this,o=pe({},n);return n.get&&(o.get=function(){const o=`__innerKey_${t}`;return e[o]||s.runWithInstanceScopeOrAppContext(()=>{Vn(e,o,n.get(),!0)}),e[o]}),Object.defineProperty(e,t,o)}scope(e){return"ctx"===this.containerType?this.app.bean.scope(e):this._getBeanSyncOnly(`${e}.scope.module`)}getScope(e){var t=this;return _e(function*(){return"ctx"===t.containerType?yield t.app.bean.getScope(e):(yield t._useModule(e),t.scope(e))})()}_setBean(e,t){this[Ln][e]=t}_getBeanSync(e,t,n){const s=this[Ln][e];if(void 0!==s){if(!s||!s[ft]||s[ft].state)return s}else!1!==n&&this._getBean(e,t)}_getBeanSyncOnly(e){return this[Ln][e]}_getBean(e,t,...n){var s=this;return _e(function*(){return yield s._getBeanSelectorInner(!0,null,e,t,!1,...n)})()}_getBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._getBeanSelectorInner(!0,null,e,t,!0,n,...s)})()}_getBeanSelectorInnerSync(e,t){const n=this._getBeanFullNameByComposableOrClassSync(e);if(!n)return null;const s=Xn(n,!0,t);return this[Ln][s]}_getBeanSelectorInner(e,t,n,s,o,...i){var r=this;return _e(function*(){const a=yield r._getBeanFullNameByComposableOrClass(n);if(!a)return null;const l=Xn(a,o,i[0]);return void 0===r[Ln][l]&&e&&(r[jn][l]||(r[jn][l]=r._getBeanSelectorInnerPromise(t,a,s,o,...i)),yield r[jn][l]),r[Ln][l]&&r[jn][l]&&(yield r[jn][l],r[jn][l]=void 0),r[Ln][l]})()}_getBeanSelectorInnerPromise(e,t,n,s,...o){var i=this;return _e(function*(){return yield i._newBeanInner(!0,e,null,t,n,s,...o)})()}_newBeanSimple(e,t,...n){const s=this._prepareBeanInstanceSimple(e,e,n,t);return s instanceof Lt||!s.__init__||s.__init__(...n),s}_newBean(e,t,...n){var s=this;return _e(function*(){return yield s._newBeanInner(!1,null,null,e,t,!1,...n)})()}_newBeanSelector(e,t,n,...s){var o=this;return _e(function*(){return yield o._newBean(e,t,n,...s)})()}_newBeanInner(e,t,n,s,o,i,...r){var a=this;return _e(function*(){var l;const c=yield a._getBeanOptionsForce(s);return c?yield a._createBeanInstance(e,t,n,c.beanFullName,c.beanClass,r,"aop"===c.scene,null===(l=null!=o?o:c.markReactive)||void 0===l||l,i):"function"==typeof s&&Z(s)?yield a._createBeanInstance(e,t,n,void 0,s,r,!1,o,i):null})()}_getBeanFullNameByComposableOrClassSync(e){const t=this._getBeanOptionsForceSync(e);if(t)return t.beanFullName}_getBeanFullNameByComposableOrClass(e){var t=this;return _e(function*(){if(!e)return;const n=yield t._getBeanOptionsForce(e);return n?n.beanFullName:void 0})()}_getBeanOptionsForceSync(e){return lt.getBean(e)}_getBeanOptionsForce(e){var t=this;return _e(function*(){if("function"==typeof e&&Z(e))return lt.getBean(e);const n=e.split(".");return yield t._useModule(n[0]),lt.getBean(e)})()}_createBeanInstance(e,t,n,s,o,i,r,a,l){var c=this;return _e(function*(){const u=yield c._prepareBeanInstance(s,o,i,a,r);if(n&&u.__initControllerData(n),e){const e=yield c._getBeanFullNameByComposableOrClass(s);if(e){const t=Xn(e,l,i[0]);Vn(u,pt,t,!1),c[Ln][t]=u}t&&c.__recordProp(t,e,u,!0)}return yield c._initBeanInstance(s,u,i),u})()}_prepareBeanInstance(e,t,n,s,o){var i=this;return _e(function*(){let r=i._prepareBeanInstanceCommon(e,t,n,s);const a=yield i._patchBeanInstance(e||t,r,o);return a&&(r=s?m(a):h(a)),r})()}_prepareBeanInstanceSimple(e,t,n,s){let o=this._prepareBeanInstanceCommon(e,t,n,s);const i=this._patchBeanInstanceSimple(e||t,o);return i&&(o=s?m(i):h(i)),o}_prepareBeanInstanceCommon(e,t,n,s){let o=new t(...n);return o instanceof De&&(o.sys=this.sys,Object.defineProperty(o,"app",{enumerable:!1,configurable:!0,get:()=>{var e;return null===(e=this.ctx)||void 0===e?void 0:e.app}}),o.ctx=this.ctx),"string"==typeof e&&Vn(o,dt,e,!1),o=s?m(o):h(o),o}_initBeanInstance(e,t,n){var s=this;return _e(function*(){var o,i;(yield s._injectBeanInstance(t,e),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInit",void 0,s,t):yield null===(o=s.app)||void 0===o?void 0:o.meta.module._monkeyModule(!0,"beanInit",void 0,s,t);(t instanceof Lt||!t.__init__||(yield s.runWithInstanceScopeOrAppContext(_e(function*(){yield t.__init__(...n)}))),"sys"===s.containerType)?yield s.sys.meta.module._monkeyModule(!0,"beanInited",void 0,s,t):yield null===(i=s.app)||void 0===i?void 0:i.meta.module._monkeyModule(!0,"beanInited",void 0,s,t);return t[ft]&&t[ft].touch(),t})()}_injectBeanInstance(e,t){var n=this;return _e(function*(){const s=lt.getBean(t);if(!s)return;const o=lt.getUses(s.beanClass.prototype);if(o)for(const t in o){const s=o[t];let i=s.beanFullName;if(!i&&s.beanClass&&(i=lt.getBeanFullName(s.beanClass)),s.injectionScope&&["host","skipSelf"].includes(s.injectionScope)){const o=hn(e,s),r=o.withSelector?Object.assign({},s,{selector:o.args[0]}):s;Vn(e,t,Rn(()=>n._getBeanFromHostInner(!1,s.prop,i,r)),!0);continue}Vn(e,t,yield n._injectBeanInstanceProp(e,i,s),!0)}})()}_injectBeanInstanceProp(e,t,n){var s=this;return _e(function*(){var o,i,r,a;if(n.name)return s[Ln][n.name];if(!t)return s[Ln][n.prop];let l;if(t&&(l=yield s._getBeanOptionsForce(t),!l))throw new Error(`not found bean class: ${t}`);let c=null!==(o=null!==(i=n.injectionScope)&&void 0!==i?i:l.containerScope)&&void 0!==o?o:"ctx";"scope"!==(null==l?void 0:l.scene)||s.app||(c="sys");const u=null===(r=null!==(a=n.markReactive)&&void 0!==a?a:l.markReactive)||void 0===r||r,d=hn(e,n),p=n.prop;let h;return"sys"===c?(h=yield s.sys.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"app"===c?(h=yield s.app.bean._getBeanSelectorInner(!0,null,t,u,d.withSelector,...d.args),yield s._injectBeanInstanceProp_appBean(p,t,h)):"ctx"===c?h=yield s._getBeanSelectorInner(!0,p,t,u,d.withSelector,...d.args):"new"===c&&(h=yield s._newBeanInner(!1,null,null,t,u,d.withSelector,...d.args)),h})()}_getBeanFromHost(e,t){return"string"!=typeof e&&(t=e,e=void 0),t||(t={}),this._getBeanFromHostInner(!1,void 0,e,t)}_getBeanFromHostInner(e,t,n,s){let o;for(s.injectionScope&&"host"!==s.injectionScope?"skipSelf"===s.injectionScope&&(o=this.parent):o=this;;){if(!o)return null;const i=this._getBeanFromHostInner2(t,o,n,s);if(void 0!==i)return e&&this.__recordProp(t,void 0,i,!1),i;o=o.parent}}_getBeanFromHostInner2(e,t,n,s){return s.name?t[Ln][s.name]:n?t._getBeanSelectorInnerSync(n,s.selector):t[Ln][e]}_injectBeanInstanceProp_appBean(e,t,n){var s=this;return _e(function*(){void 0!==n&&s.ctx&&(s.__recordProp(e,void 0,n,!1),n&&(yield n[ft].wait()))})()}_patchBeanInstance(e,t,n){var s=this;return _e(function*(){if(e&&!n&&0!==(yield s._prepareAopChains(e,t)).length)return s._newBeanProxy(e,t)})()}_patchBeanInstanceSimple(e,t){if(e&&0!==this._prepareAopChainsSimple(e,t).length)return this._newBeanProxy(e,t)}_newBeanProxy(e,t){const n=this;return new Proxy(t,{get(t,s,o){if("symbol"==typeof s)return Reflect.get(t,s,o);if(Zn(s))return"__v_isShallow"===s&&t.__v_isShallow_patch?Reflect.get(t,"__v_isShallow_patch",o):Reflect.get(t,s,o);const i=Gn(t,s);if(!Wn(i))return Reflect.get(t,s,o);if(!function(e){var t;if(!e)return null;const{descriptor:n,dynamic:s}=e;if(s)return null;if(n.get)return null;const o=null===(t=n.value)||void 0===t||null===(t=t.constructor)||void 0===t?void 0:t.name;return["Function","AsyncFunction"].includes(o)?o:null}(i)){if(Jn(s))return Reflect.get(t,s,o);const r=`__get_${s}__`,a=n._getAopChainsProp(e,r,"__get__","get",s);return a?a([o,void 0],([e,n])=>!i&&t.__get__?Reflect.apply(t.__get__,e,[s,t]):Reflect.get(t,s,e)):Reflect.get(t,s,o)}return n._getInstanceMethodProxy(e,t,s,o)},set(t,s,o,i){if("symbol"==typeof s)return Reflect.set(t,s,o,i),!0;if(Zn(s))return Reflect.set(t,s,o,i),!0;const r=Gn(t,s);if(!Wn(r))return Reflect.set(t,s,o,i),!0;const a=`__set_${s}__`,l=n._getAopChainsProp(e,a,"__set__","set",s);return l?l([i,o],([e,n])=>{if(!r&&t.__set__){const o=Reflect.apply(t.__set__,e,[s,n,t]);if(void 0===o)throw new Error("__set__ must return true/false");o||Reflect.set(t,s,n,e)}else Reflect.set(t,s,n,e);return!0}):(Reflect.set(t,s,o,i),!0)}})}_getInstanceMethodProxy(e,t,n,s){if(Zn(n))return Reflect.get(t,n,s);const o=this._getAopChainsProp(e,n,"__method__","method",n);if(!o)return Reflect.get(t,n,s);const i=`__aopproxy_method_${n}__`;if(t[i])return t[i];const r=new Proxy(t[n],{apply:(e,t,n)=>o([t,n],([t,n])=>Reflect.apply(e,t,n))});return Vn(t,i,r,!1),r}_prepareAopChains(e,t){var n=this;return _e(function*(){if(!e)return[];const s=lt.getBean(e),o=(null==s?void 0:s.beanFullName)||e,i=!!(null==s?void 0:s.beanClass)&&Re.getMetadata(ot,null==s?void 0:s.beanClass),r=n._aopCacheHost();if(r[Tn]||(r[Tn]={}),r[Tn][o])return r[Tn][o];let a=[];if(!i&&s&&"aop"!==s.scene){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopsMatched(s.beanFullName);if(e){const t=[];for(const s of e)t.push(yield n.sys.bean._getBean(s.beanFullName,!0));a=a.concat(t)}}if(!i&&s){const e=yield(yield n.sys.bean._getBean("a-bean.service.aop",!1)).findAopMethodsMatched(null==s?void 0:s.beanFullName);e&&a.push([Fn,e])}return Kn(t)&&a.push(En),r[Tn][o]=a,a})()}_prepareAopChainsSimple(e,t){if(!e)return[];const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e,o=this._aopCacheHost();if(o[Tn]||(o[Tn]={}),o[Tn][s])return o[Tn][s];const i=[];return Kn(t)&&i.push(En),o[Tn][s]=i,i}_getAopChains(e){var t;const n=lt.getBean(e),s=(null==n?void 0:n.beanFullName)||e;return(null===(t=this._aopCacheHost()[Tn])||void 0===t?void 0:t[s])||[]}_aopCacheHost(){return this.sys}_getAopChainsProp(e,t,n,s,o){const i=`__aopChains_${t}__`,r=lt.getBean(e),a=(null==r?void 0:r.beanFullName)||e,l=this._aopCacheHost();if(l[zn]||(l[zn]={}),l[zn][a]||(l[zn][a]={}),void 0!==l[zn][a][i])return l[zn][a][i];const c=this._getAopChains(e),u=[];for(const p of c)if(p===En)Jn(t)||u.push([p,t]);else if(Array.isArray(p)&&p[0]===Fn)this._getAopChainsProp_aopMethods(u,p,p[1],s,o);else{const e=p;if(e[t]){let n;"get"===s?n=function([n,s],o){return e[t](qn([n,s],o),n)}:"set"===s?n=function([n,s],o){return e[t](s,qn([n,s],o),n)}:"method"===s&&(n=function([n,s],o){return e[t](s,qn([n,s],o),n)}),u.push([p,n])}if(n&&e[n]&&!Jn(t)){let t;"get"===s?t=function([t,s],i){return e[n](o,qn([t,s],i),t)}:"set"===s?t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}:"method"===s&&(t=function([t,s],i){return e[n](o,s,qn([t,s],i),t)}),u.push([p,t])}}let d;return d=0===u.length?null:function(e){return T(e,Un)}(u),l[zn][a][i]=d,d}_getAopChainsProp_aopMethods(e,t,n,s,o){const i=n[o];if(i)for(const r of i){let n;"get"===s?n=function([e,t],n){if(!r.beanInstance.get)throw new Error(`get property accessor not exists: ${r.onionName}`);return r.beanInstance.get(r.options,qn([e,t],n),e,o)}:"set"===s?n=function([e,t],n){if(!r.beanInstance.set)throw new Error(`set property accessor not exists: ${r.onionName}`);return r.beanInstance.set(r.options,t,qn([e,t],n),e,o)}:"method"===s&&(n=function([e,t],n){if(!r.beanInstance.execute)throw new Error(`execute method not exists: ${r.onionName}`);return r.beanInstance.execute(r.options,t,qn([e,t],n),e,o)}),e.push([t,n])}}__recordProp(e,t,n,s){if(void 0!==this[Ln][e]&&s)throw new Error(`prop exsits: ${e.toString()}, ${t}`);void 0===this[Ln][e]&&(this[Ln][e]=n)}_useModule(e){var t=this;return _e(function*(){"sys"===t.containerType?yield t.sys.meta.module.use(e):yield t.app.meta.module.use(e)})()}}});function Yn(e,t,o=r){const a=x();if(!a)throw new Error("useModel() called without active instance.");const l=typeof Object.getPrototypeOf(this).constructor.$propsDefault[t],c=s(t),u=function(e,t){return"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${s(t)}Modifiers`]||e[`${n(t)}Modifiers`]}(e,c),d=p((n,s)=>{let u,d,p=r;return S(()=>{const t=e[c];i(u,t)&&(u=t,s())}),{get:()=>(n(),es(l,o.get?o.get(u):u)),set(e){var n;const c=es(l,o.set?o.set(e):e);if(!(i(c,u)||p!==r&&i(e,p)))return;u=e,s();const h=a.vnode.props;null==h||null===(n=h[`onUpdate:${t}`])||void 0===n||n.call(h,c),i(e,c)&&i(e,p)&&!i(c,d)&&s(),p=e,d=c}}});return d[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?u||r:d,done:!1}:{done:!0}}},d}function es(e,t){if(["undefined","null"].includes(e))return t;if(J(t))return t;if(typeof t===e)return t;let n;return n="number"===e?Number.isNaN(Number(t))?t:Number(t):"boolean"===e?"false"!==t&&"0"!==t&&Boolean(t):"string"===e?String(t):t,n}var ts,ns,ss,os,is,rs,as,ls,cs,us,ds,ps,hs,ms,fs,ys,_s,vs,gs,bs=t(()=>{L(),l(),o(),E()}),Ss=t(()=>{E(),St(),Ee(),bs(),Yt(),ts=class extends jt{constructor(...e){super(...e),this.$props=void 0,this.$slots=void 0}__initControllerData(e){this.ctx.disposed||(this.$slots=e.context.slots,this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this))}__updateControllerData(){this.ctx.disposed||(this.__initControllerProps(this.ctx.instance.vnode.props),this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this))}$useModel(e,t){return"object"==typeof e&&(t=e,e="modelValue"),e||(e="modelValue"),Yn.call(this,this.$props,e,t)}get $slotDefault(){var e;return null!==(e=this.$props.slotDefault)&&void 0!==e?e:this.$slots.default}__initControllerProps(e){const t=Object.getPrototypeOf(this).constructor.$componentOptions,n=Object.getPrototypeOf(this).constructor.$propsDefault;let s=Object.assign({},e);for(const o in s)void 0===s[o]&&delete s[o];if(s=(null==t?void 0:t.deepExtendDefault)?Ze({},n,s):Object.assign({},n,s),this.$props){Object.assign(this.$props,s);for(const e in this.$props)s&&Object.hasOwnProperty.call(s,e)||delete this.$props[e]}else this.$props=a(s)}}}),ws=t(()=>{ns=Symbol("SymbolControllerRefDisable")}),Ms=t(()=>{St(),Ee(),Yt(),ws(),ss=Symbol("SymbolController"),os=class extends jt{get[ss](){return this.ctx.disposed&&tt(),this.bean._getBeanSyncOnly("$$c")}__get__(e){const t=this[ss];return null==t?void 0:t[e]}__set__(e,t){const n=this[ss];return!!n&&(e in n&&(n[e]=t,!0))}}}),Bs=t(()=>{Yt(),is=class extends jt{constructor(...e){super(...e),this.$params=void 0,this.$query=void 0}__initControllerData(e){this.app&&this.app.meta.module._monkeyModuleSync(!0,"controllerDataInit",void 0,e,this)}__updateControllerData(){this.app.meta.module._monkeyModuleSync(!0,"controllerDataUpdate",void 0,this)}}}),xs=t(()=>{Ee(),Ms(),ws(),rs=Symbol("SymbolStyle"),as=class extends os{get[rs](){return this.bean._getBeanSyncOnly("$$s")}__get__(e){const t=super.__get__(e);if(void 0!==t)return t;const n=this[rs];return null==n?void 0:n[e]}__set__(e,t){const n=super.__set__(e,t);if(n)return n;const s=this[rs];return!!s&&(e in s&&(s[e]=t,!0))}}}),Cs=t(()=>{xs(),ls=class extends as{render(){}}}),$s=t(()=>{Ms(),cs=class extends os{}}),Is=t(()=>{Ge(),us=Symbol("BeanScopeScene#ModuleScope"),ds=class extends De{constructor(e){super(),this[us]=void 0,this[us]=e}test(){return this[us]}}}),ks=t(()=>{Bt(),Ot(),Vt(),Is(),ps=Symbol("BeanScopeBase#BeanModuleError"),hs=Symbol("BeanScopeBase#BeanModuleLocale"),ms=Symbol("BeanScopeBase#BeanModuleConfig"),fs=Symbol("BeanScopeBase#BeanModuleConstant"),ys=Symbol("BeanScopeBase#BeanModuleApi"),_s=Symbol("BeanScopeBase#BeanModuleApiSchema"),vs=Symbol("BeanScopeBase#BeanModuleUtil"),gs=class extends yt{constructor(...e){super(...e),this[ps]=void 0,this[hs]=void 0,this[ms]=void 0,this[fs]=void 0,this[ys]=void 0,this[_s]=void 0,this[vs]=void 0}get module(){return this.app.meta.module.get(this[ht])}__get__(e){const t=this[ht];return"error"===e?(this[ps]||(this[ps]=this.bean._newBeanSimple(vt,!1,t)),this[ps]):"locale"===e?(this[hs]||(this[hs]=this.bean._newBeanSimple(Et,!1,t)),this[hs]):"config"===e?(this[ms]||(this[ms]=this.sys.config.modules[t]),this[ms]):"constant"===e?(this[fs]||(this[fs]=this.sys.constant.modules[t]),this[fs]):"api"===e?(this[ys]||(this[ys]={}),this[ys]):"apiSchema"===e?(this[_s]||(this[_s]={}),this[_s]):"util"===e?(this[vs]||(this[vs]=this.bean._newBeanSimple(ds,!1,t)),this[vs]):void 0}}}),Ps=t(()=>{ks(),Is()}),Os=t(()=>{en(),tn(),Yt(),Bt(),Qn(),Ss(),Ms(),Bs(),Cs(),xs(),Ge(),$s(),Qt(),Ps(),ws()});var Ns=t(()=>{ue(),le(),ne()});var Rs,As,Es,Fs=t(()=>{}),Ts=t(()=>{Rs={modules:{}}}),zs=t(()=>{E(),F()}),js=t(()=>{}),Ls=t(()=>{}),Ds=t(()=>{}),Hs=t(()=>{As=Symbol("SymbolInstalled")}),Us=t(()=>{}),qs=t(()=>{}),Ws=t(()=>{}),Gs=t(()=>{zs(),js(),Ls(),Ds(),Hs(),Us(),qs(),Ws()}),Vs=t(()=>{}),Ks=t(()=>{}),Zs=t(()=>{}),Js=t(()=>{}),Xs=t(()=>{}),Qs=t(()=>{}),Ys=t(()=>{Vs(),Ee(),Ks(),Zs(),Js(),Xs(),Qs()}),eo=t(()=>{Gs(),Ys()});function to(e){return encodeURIComponent(e)}function no(e){return decodeURIComponent(e)}function so(e){return to(e===Object(e)?JSON.stringify(e):`${e}`)}function oo(e){return""===e?e:(0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=no(e.replace(/\+/g," ")))}function io(e){const t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}var ro,ao,lo,co,uo=t(()=>{Ge(),eo(),Es=class extends De{getItem(e){const t=document,n=t.cookie?t.cookie.split("; "):[],s=n.length;let o,i,r,a=e?void 0:{},l=0;for(;l<s;l++)if(o=n[l].split("="),i=no(o.shift()),r=o.join("="),e){if(e===i){a=oo(r);break}}else Ne(a)[i]=r;return a}setItem(e,t,n){let s,o;(n=n||{}).path=n.path||"/",void 0!==n.expires&&("[object Date]"===Object.prototype.toString.call(n.expires)?s=n.expires.toUTCString():"string"==typeof n.expires?s=function(e){let t=0;const n=e.match(/(\d+)d/),s=e.match(/(\d+)h/),o=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return n&&(t+=864e5*n[1]),s&&(t+=36e5*s[1]),o&&(t+=6e4*o[1]),i&&(t+=1e3*i[1]),0===t?e:io(t)}(n.expires):(o=Number.parseFloat(n.expires.toString()),s=!1===Number.isNaN(o)?io(864e5*o):n.expires));const i=[`${to(e)}=${so(t)}`,void 0!==s?`; Expires=${s}`:"",n.path?`; Path=${n.path}`:"",n.domain?`; Domain=${n.domain}`:"",n.sameSite?`; SameSite=${n.sameSite}`:"",n.httpOnly?"; HttpOnly":"",n.secure?"; Secure":"",n.other?`; ${n.other}`:""].join("");document.cookie=i}removeItem(e,t){this.setItem(e,"",Object.assign({expires:-1},t))}}}),po=t(()=>{se(),Ge(),Ee(),fe(),ro=(e,t)=>{const n=t;if(n.fn)return{receiver:void 0,fn:n.fn}},ao=class extends De{constructor(...e){super(...e),this.eventHandlersMap={}}initialize(){return _e(function*(){})()}dispose(){this.eventHandlersMap={}}getEventHandlers(e){let t=this.eventHandlersMap[e];return t||(t=this.eventHandlersMap[e]=[]),t}emit(e,t,n){var s=this;return _e(function*(){const o=s.getEventHandlers(e),i="function"==typeof n?n:_e(function*(){return n});return yield T(o.concat(),ro)(t,i)})()}emitSync(e,t,n){const s=this.getEventHandlers(e),o="function"==typeof n?n:()=>n;return T(s.concat(),ro)(t,o)}on(e,t){const n=this.getEventHandlers(e);return n.push({fn:t}),()=>{const e=n.findIndex(e=>e.fn===t);e>-1&&(n[e].fn=void 0,n.splice(e,1))}}once(e,t){const n=this.on(e,(s=_e(function*(e,s){const o=yield t(e,s);return n(),o}),function(e,t){return s.apply(this,arguments)}));var s;return n}}});function ho(e){e.__closed__||(e.end(),e.__closed__=!0)}function mo(e){if(e=e||"default","production"===ko.env.META_MODE)return;const t=`LOGGER_CLIENT_${e.toUpperCase()}`,n=ko.env[t];return"false"!==n?"true"!==n&&n?n:"info":void 0}var fo=t(()=>{Oe(),Ge(),jo(),St(),lo=Symbol("SymbolLoggerInstances"),co=class extends De{constructor(...e){super(...e),this[lo]={}}dispose(){for(const e in this[lo]){ho(this[lo][e])}this[lo]={}}get(e){return e=e||"default",this[lo][e]||(this[lo][e]=this._createClient(e)),this[lo][e]}child(e,t){const n=this.get(t);return e?n.child({name:e}):n}getFilterLevel(e){return mo(e)}setFilterLevel(e,t){!function(e,t){if(t=t||"default","production"===ko.env.META_MODE)return;const n=`LOGGER_CLIENT_${t.toUpperCase()}`;ko.env[n]=e.toString()}(e,t)}_createClient(e){const t=this.sys.config.logger.clients[e];if(!t)throw new Error(`logger client not found: ${e}`);return new Ce(Ze({},this._prepareConfigClient(e,this.sys.config.logger.base),this._prepareConfigClient(e,t)))}_prepareConfigClient(e,t){return"function"!=typeof t?t:t.call(this.sys,{clientName:e,level:()=>mo(e)})}}});var yo=t(()=>{jo()});function _o(e,t){return O(()=>new Promise(n=>{ko.meta.component.use(e,t).then(e=>{n(e)})}))}var vo,go,bo,So,wo,Mo,Bo,xo,Co,$o,Io,ko,Po=t(()=>{E(),yo()}),Oo=t(()=>{E(),Ge(),Po(),fe(),vo=Symbol("SymbolZovaComponents"),go=class extends De{constructor(...e){super(...e),this[vo]={}}initialize(){return _e(function*(){})()}dispose(){}createAsyncComponent(e,t){return()=>this.use(e,t)}getZovaComponent(e,t){const n=e.includes(":")?e:`${e}:${t}`;return this[vo][n]||(this[vo][n]=h(_o(n))),this[vo][n]}use(e,t){var n=this;return _e(function*(){if(e.includes(":")){const n=e.split(":");e=n[0],t=n[1]}return(yield n.sys.meta.module.use(e)).resource.components[t]})()}}}),No=t(()=>{Ge(),fe(),bo=class extends De{constructor(...e){super(...e),this.errors=void 0}initialize(){var e=this;return _e(function*(){e.errors={}})()}dispose(){this.errors={}}}}),Ro=t(()=>{ie(),E(),Ge(),Kt(),fe(),So=Symbol("SymbolLocaleCurrent"),wo=Symbol("SymbolTzCurrent"),Mo=class extends De{constructor(...e){super(...e),this[So]=d(),this[wo]=d()}get metaCookie(){return this.app?this.app.meta.cookie:this.sys.meta.cookie}get current(){let e=this[So].value;return!e&&this.sys.config.ssr.cookie&&(e=this.metaCookie.getItem(this.sys.config.locale.storeKey)),e||(e=this.sys.config.locale.default),e}set current(e){this[So].value!==e&&(this[So].value=e,this.sys.config.ssr.cookie&&this.metaCookie.setItem(this.sys.config.locale.storeKey,e))}get tz(){let e=this[wo].value;return e||(e=this.metaCookie.getItem(this.sys.config.tz.storeKey)),e||(e=Intl.DateTimeFormat().resolvedOptions().timeZone),e}set tz(e){this[wo].value!==e&&(this[wo].value=e,this.metaCookie.setItem(this.sys.config.tz.storeKey,e))}initialize(){return _e(function*(){})()}createLocaleText(e){const t=this,n=function(n,...s){return t.getText(!1,e,void 0,n,...s)};return n.locale=function(n,s,...o){return t.getText(!1,e,n,s,...o)},n}createScopeLocaleText(e,t){const n=this,s=function(...s){return n.getText(!1,e,void 0,t,...s)};return s.locale=function(s,...o){return n.getText(!1,e,s,t,...o)},s}getText(e,t,n,s,...o){if(!s)return s;if("string"!=typeof s)throw new Error(`${s} should be string`);const i=s.indexOf("::");return i>-1&&(t=s.substring(0,i),s=s.substring(i+2)),ee(e,t?this.sys.meta.locale.localeModules[t]:void 0,this.sys.meta.locale.locales,n||this.current,s,...o)}}}),Ao=t(()=>{Ro(),fe(),Bo=class extends Mo{constructor(...e){super(...e),this.locales={},this.localeModules={}}initialize(e){var t=this;return _e(function*(){if(e)for(const n in e){const s=e[n].modules;for(const e in s)t._registerLocale(e,n,s[e])}})()}dispose(){this.locales={},this.localeModules={}}_registerLocales(e,t){if(t)for(const n in t)this._registerLocale(e,n,t[n])}_registerLocale(e,t,n){this.locales[t]=Object.assign({},n,this.locales[t]),this.localeModules[e]||(this.localeModules[e]={}),this.localeModules[e][t]=Object.assign({},n,this.localeModules[e][t])}}}),Eo=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),St(),fe(),xo=class extends De{constructor(...e){super(...e),this.modulesMeta=void 0,this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(e){var t=this;return _e(function*(){t.modulesMeta=e,yield t._loadAllMonkeysAndSyncsAndPreloads(),yield t._requireAllSpecifics("preload"),yield t._requireAllSpecifics("monkey"),yield t._requireAllSpecifics("sync")})()}dispose(){this.modulesMeta=void 0}get(e){if(!e)return;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);const n=this.modules[t.relativeName];return n&&n[As]&&n[As].state?n:void 0}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){if(!e)return!1;const t="string"==typeof e?ae(e):e;if(!t)throw new Error(`invalid module name: ${e}`);return!!this.modulesMeta.modules[t.relativeName]}_loadAllMonkeysAndSyncsAndPreloads(){var e=this;return _e(function*(){const t=[];for(const i of e.modulesMeta.moduleNames){var n,s,o;const r=e.modulesMeta.modules[i],a=r.info;((null===(n=a.capabilities)||void 0===n?void 0:n.monkey)||(null===(s=a.capabilities)||void 0===s?void 0:s.sync)||(null===(o=a.capabilities)||void 0===o?void 0:o.preload))&&"function"==typeof r.resource&&t.push(i)}yield e.loadModules(t)})()}loadModules(e){var t=this;return _e(function*(){if(0===e.length)return;const n=[],s=[];for(const i of e){const e=t.modulesMeta.modules[i];if(!e)throw new Error(`module not found: ${i}`);const o=e.resource;if("function"==typeof o){const e=o();n.push(e),s.push(i)}}const o=yield Promise.all(n);for(let e=0;e<o.length;e++){const n=s[e];t.modulesMeta.modules[n].resource=o[e]}})()}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});n.length>0&&t.sys.meta.logger.child("module","default").debug(`modules ${e}: ${n.join(",")}`);for(const e of n){const n=t.modulesMeta.modules[e];yield t._install(e,n)}})()}_requireAllOthers(){var e=this;return _e(function*(){for(const o of e.modulesMeta.moduleNames){var t,n,s;const i=e.modulesMeta.modules[o],r=i.info;(null===(t=r.capabilities)||void 0===t?void 0:t.monkey)||(null===(n=r.capabilities)||void 0===n?void 0:n.sync)||(null===(s=r.capabilities)||void 0===s?void 0:s.preload)||(yield e._install(o,i))}})()}_install(e,t){var n=this;return _e(function*(){if(n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.sys.bean._getBean(`${e}.scope.module`,!1))}const s=t;s[As]=ut.create(),n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.sys.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",s)})()}_installInner(e,t){var n=this;return _e(function*(){if("function"==typeof t.resource){const e=t.resource;t.resource=yield e()}t.resource.MainSys&&(n.mainInstances[e]=n.sys.bean._newBeanSimple(t.resource.MainSys,!1,t)),t.resource.MonkeySys&&(n.monkeyInstances[e]=n.sys.bean._newBeanSimple(t.resource.MonkeySys,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerLocales(e),t._registerErrors(e),t._registerConstants(e),yield t._registerConfig(e)})()}_registerErrors(e){e.resource.errors&&(this.sys.meta.error.errors[e.info.relativeName]=e.resource.errors)}_registerLocales(e){this.sys.meta.locale._registerLocales(e.info.relativeName,e.resource.locales)}_registerConstants(e){if(!e.resource.constants)return;const t=e.info.relativeName;this.sys.constant.modules[t]=Ze({},e.resource.constants,this.sys.constant.modules[t])}_registerConfig(e){var t=this;return _e(function*(){if(!e.resource.config)return;const n=yield e.resource.config(t.sys);yield t._monkeyModule(!0,"configLoaded",e,n);const s=e.info.relativeName;t.sys.config.modules[s]=Ze({},n,t.sys.config.modules[s]),t.sys.configOriginal.modules[s]=n})()}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield e[t](...s))}var i;yield V(o.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(void 0===n?yield i[t](...s):yield i[t](n,...s))}}),function(e){return i.apply(this,arguments)}));const r=o.sys.meta.sysMonkey;r&&r[t]&&(void 0===n?yield r[t](...s):yield r[t](n,...s))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&e[t](...s)}z(this.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}});const o=this.sys.meta.sysMonkey;o&&o[t]&&(void 0===n?o[t](...s):o[t](n,...s))}}}),Fo=t(()=>{Ge(),uo(),po(),fo(),Oo(),No(),Ao(),Eo(),fe(),Co=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.logger=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.sysMonkey=void 0,this.legacyRoutes=void 0}__init__(){this.module=this.bean._newBeanSimple(xo,!1),this.component=this.bean._newBeanSimple(go,!1),this.logger=this.bean._newBeanSimple(co,!1),this.locale=this.bean._newBeanSimple(Bo,!1),this.error=this.bean._newBeanSimple(bo,!1),this.event=this.bean._newBeanSimple(ao,!1),this.cookie=this.bean._newBeanSimple(Es,!1)}dispose(){this.event.dispose(),this.module.dispose(),this.component.dispose(),this.logger.dispose(),this.locale.dispose(),this.error.dispose(),this.sysMonkey=void 0,this.legacyRoutes=void 0}initialize(e,t){var n=this;return _e(function*(){e&&(n.sysMonkey=n.bean._newBeanSimple(e,!1)),n.legacyRoutes=t})()}}});function To(e,t){if(!t)return e;const n=pe({},e);for(const s of Object.keys(t))void 0!==t[s]&&(n[s]=t[s]);return n}var zo,jo=t(()=>{Qn(),Ee(),Ns(),Fs(),Ts(),Fo(),wt(),We(),St(),fe(),he(),$o=Symbol("SymbolSysInitializePromise"),Io=Symbol("SymbolSysClose"),function(e){je=e}(ko=new class{constructor(){this[$o]=void 0,this[Io]=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.config=void 0,this.configOriginal=void 0,this.env=void 0,this.constant=void 0,te(X)}initialize({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){return l[$o]||(l[$o]=l._initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a)),l[$o]})()}_initializeInner({modulesMeta:e,locales:t,config:n,env:s,viteHot:o,SysMonkey:i,legacyRoutes:r},a){var l=this;return _e(function*(){l[Io]=!1,l.bean=Dn.create(l,null,null),l.util=l.bean._newBeanSimple(qe,!1),l.meta=l.bean._newBeanSimple(Co,!1),l.env=l._prepareEnv(s,a),yield l.meta.initialize(i,r),yield l.meta.component.initialize(),yield l.meta.locale.initialize(t),yield l.meta.error.initialize(),l.config=yield l._combineConfig(n),l.configOriginal={modules:{}},l.constant=Rs,yield l.meta.module.initialize(e),yield l.meta.module._monkeyModule(!0,"sysInitialize"),yield l.meta.module._monkeyModule(!0,"sysInitialized"),yield l.meta.module._monkeyModule(!0,"sysReady"),l._hookClose(o)})()}_hookClose(e){if("undefined"!=typeof window){const e=()=>{this.close(),window.removeEventListener("beforeunload",e)};window.addEventListener("beforeunload",e)}}close(){this[Io]||(this[Io]=!0,this.meta.module._monkeyModuleSync(!1,"sysClose"),this.bean.dispose(),this.meta.dispose(),lt.dispose(),this[$o]=void 0)}_combineConfig(e){var t=this;return _e(function*(){const n=Ze({},{meta:{flavor:(s=t.env).META_FLAVOR,mode:s.META_MODE,appMode:s.META_APP_MODE}});var s;for(const o of e)Ze(n,yield o(t));return n})()}_prepareEnv(e,t){const n=this._prepareEnv_Runtime(e,t);return this._prepareEnv_Client(n)}_prepareEnv_Runtime(e,t){return To(e,t)}_prepareEnv_Client(e){if(!window.__INITIAL_STATE__)return e;return To(e,window.__INITIAL_STATE__.envClient)}}),window.sys=ko}),Lo=t(()=>{zo={install(e){e.mixin({created(){const e=this._.zova;e&&e.meta.component.activate()}})}}});function Do(e,t){return Ho.apply(this,arguments)}function Ho(){return(Ho=_e(function*(e,t){yield ko.initialize(t),e.use(zo),e.use(de)})).apply(this,arguments)}var Uo,qo,Wo,Go,Vo,Ko,Zo,Jo,Xo,Qo,Yo=t(()=>{ye(),jo(),Lo(),fe()}),ei=t(()=>{E(),Uo=B({name:"ClientOnly",inheritAttrs:!0,setup(e,{slots:t}){const n=d(!1);return v(()=>{n.value=!0}),()=>{var e,s;return!1===n.value?null===(e=t.placeholder)||void 0===e?void 0:e.call(t):null===(s=t.default)||void 0===s?void 0:s.call(t)}}})}),ti=t(()=>{Ge(),ws(),Ee(),qo=class extends De{constructor(...e){super(...e),this._bean_render_original=void 0}activate(){if(this.ctx.disposed)return;const e="render",t=this,n=this.ctx.instance;this._bean_render_original=n[e],n[e]=function(...e){if(n.isUnmounted)return;if(!t.ctx.meta.state.inited.state)return t._bean_render_original.call(this,...e);const s=t._getRender();return s?s.render():t._bean_render_original.call(this,...e)},n.type.ssrRender=null,n.ssrRender=null}dispose(){this.ctx.instance.render=this._bean_render_original,this._bean_render_original=null}_getRender(){var e;const t=this.bean._getBeanSyncOnly("$$c");if(t)return null===(e=t.__updateControllerData)||void 0===e||e.call(t),t.render?t:this.bean._getBeanSyncOnly("$$r")}}}),ni=t(()=>{Ge(),fe(),Wo=Symbol("SymbolHooksFns"),Go=Symbol("SymbolHooksState"),Vo=class extends De{constructor(...e){super(...e),this[Wo]={},this[Go]={}}dispose(){this[Wo]=void 0}onCreated(e){this._onHook("created",e)}onMounted(e){this._onHook("mounted",e)}_onHook(e,t){this[Go][e]?this.ctx.util.instanceScope(t):(this[Wo][e]||(this[Wo][e]=[]),this[Wo][e].push(t))}invokeHook(e){var t=this;return _e(function*(){t[Go][e]=!0;const n=t[Wo][e];if(n){t[Wo][e]=void 0;for(const e of n)yield t.ctx.util.instanceScope(e)}})()}}}),si=t(()=>{Ge(),Mt(),Ko=0,Zo=class extends De{constructor(...e){super(...e),this._id=void 0,this._inited=void 0}__init__(){this._id=++Ko,this._inited=ut.create()}get id(){return this._id}get inited(){return this._inited}}}),oi=t(()=>{Ge(),ti(),ni(),si(),Jo=class extends De{constructor(...e){super(...e),this.state=void 0,this.component=void 0,this.hooks=void 0}get el(){return this.ctx.instance.vnode.el}initialize(){this.state=this.bean._newBeanSimple(Zo,!0),this.component=this.bean._newBeanSimple(qo,!1),this.hooks=this.bean._newBeanSimple(Vo,!1)}dispose(){this.component.dispose(),this.hooks.dispose()}}}),ii=t(()=>{$(),l(),Ge(),St(),Xo=class extends De{instanceScope(e,t){this.ctx.disposed&&tt();const n=g(this.ctx.instance);t||c();try{return e()}finally{t||u(),n()}}}}),ri=t(()=>{E(),Qn(),Ee(),jo(),oi(),ii(),Qo=class{constructor(e){this.instance=void 0,this.app=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.disposed=void 0,h(this),e.zova=this,this.instance=e,this.app=e.appContext.app.zova,this.bean=Dn.create(ko,this.app,this),this.util=this.bean._newBeanSimple(Xo,!1),this.meta=this.bean._newBeanSimple(Jo,!1),this.meta.initialize(),this._zovaHostProvidersInit()}dispose(){this.disposed||(this.meta.dispose(),this.instance.zova=null,this.instance=null,this.app=null,this.bean=null,this.meta=null,this.disposed=!0)}_zovaHostProvidersInit(){let e=this.instance.zovaHostProviders;var t;e||"AsyncComponentWrapper"===(null===(t=this.instance.parent)||void 0===t?void 0:t.type.name)&&(e=this.instance.parent.zovaHostProviders);this._zovaHostProvidersUpdate_inner(e)}_zovaHostProvidersUpdate(e){A(()=>{this._zovaHostProvidersUpdate_inner(e)})}_zovaHostProvidersUpdate_inner(e){if(this.bean&&e)for(const t in e)this.bean._getBeanSyncOnly(t)!==e[t]&&this.bean._setBean(t,e[t])}}}),ai=t(()=>{ti(),ri(),oi(),si(),ii()});function li(e,t,n){ci({context:{slots:w()}},e,t,n)}function ci(e,t,n,s){return ui.apply(this,arguments)}function ui(){return ui=_e(function*(e,t,n,s){const o=new Qo(x());function i(){return(i=_e(function*(){if(!o.disposed){if(yield o.bean._newBeanInner(!0,"$$c",e,t,!0,!1),s){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$s",void 0,s,!0,!1)}if(n){if(o.disposed)return;yield o.bean._newBeanInner(!0,"$$r",void 0,n,!0,!1)}o.disposed||(o.meta.state.inited.touch(),o.util.instanceScope(()=>{b(()=>{di(o,!0),o.meta.hooks.invokeHook("mounted")})}))}})).apply(this,arguments)}o.app?o.app.meta.module._monkeyModuleSync(!0,"appContextInitialize",void 0,o):ko.meta.module._monkeyModuleSync(!0,"sysContextInitialize",void 0,o),o.app&&o.app.meta.module._monkeyModuleSync(!0,"controllerDataPrepare",void 0,e,o),R(()=>{o.disposed||(di(o,!1),o.bean!==o.app.bean&&o.bean.dispose())}),N(()=>{o.dispose()}),o.meta.hooks.onCreated(_e(function*(){if(!o.disposed)try{return yield function(){return i.apply(this,arguments)}()}catch(e){if(o.disposed)return;throw e}})),o.meta.hooks.invokeHook("created")}),ui.apply(this,arguments)}function di(e,t){var n,s;const o=null===(n=e.bean)||void 0===n?void 0:n._getBeanSyncOnly("$$c");if(!o||o[ns])return;const i=null===(s=o.ctx.instance.vnode.props)||void 0===s?void 0:s.controllerRef;i&&i(t?o:void 0)}var pi=t(()=>{E(),ws(),ai(),jo(),fe()});function hi(e,t,n){return B(()=>(ci({context:{}},e,t,n),()=>{}))}function mi(e){return Object.assign({inheritAttrs:"auto"},e)}var fi=t(()=>{E(),pi()}),yi=t(()=>{ei(),fi(),Po()});function _i(){const e=x();return null==e?void 0:e.appContext.app.zova}var vi,gi,bi,Si,wi,Mi,Bi,xi,Ci,$i,Ii,ki=t(()=>{E()}),Pi=t(()=>{E()}),Oi=t(()=>{ki(),Pi(),pi()}),Ni=t(()=>{Ge(),fe(),vi=class extends De{initialize(){return _e(function*(){})()}_registerComponents(e,t){if(t)for(const n in t){const e=t[n];this._setComponentGlobal(e)}}_setComponentGlobal(e){var t;const n=e;return e.name&&!0===(null===(t=n.meta)||void 0===t?void 0:t.global)&&(this.app.vue.component(e.name)||this.app.vue.component(e.name,e)),e}}}),Ri=t(()=>{Ht(),Wt(),fe(),gi=class extends bt{initialize(){var e=()=>super.initialize,t=this;return _e(function*(){yield e().call(t),t.app.vue.config.errorHandler=(e,n,s)=>t._handleError(e,n,s),window.addEventListener("unhandledrejection",e=>(e.preventDefault(),t._handleUnhandledError(e.reason,"unhandledrejection"),!1)),window.addEventListener("error",e=>(e.preventDefault(),t._handleUnhandledError(e.error,"unhandlederror"),!1))})()}createScopeError(e,t){const n=this;return{throw:(...s)=>n.throw(e,t,...s),parseFail:(...s)=>n.parseFail(e,t,...s)}}_handleUnhandledError(e,t){if(e instanceof Error){const n=e[Rt];n&&delete e[Rt],this.app.vue.config.errorHandler(e,null==n?void 0:n.instance,(null==n?void 0:n.info)||t)}}_handleError(e,t,n){if(!this.app)return void console.error(e);const s=this.app.meta.event.emitSync("app:errorHandler",{err:e,instance:t,info:n},e=>e.err);return s&&s instanceof Error?(n&&["useMutationData"].includes(n)||console.error(s),s):s}}}),Ai=t(()=>{oe(),L(),E(),Ge(),eo(),Mt(),fe(),bi=class extends De{constructor(...e){super(...e),this.modules=a({}),this.mainInstances={},this.monkeyInstances={}}initialize(){var e=this;return _e(function*(){yield e._requireAllSpecifics("preload"),yield e._requireAllSpecifics("monkey"),yield e._requireAllSpecifics("sync")})()}get(e,t){if(!e)return;const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=this.modules[n.relativeName];if(s){if(s[As]&&s[As].state)return this.sys.meta.module.get(e)}else!1!==t&&this.use(n.relativeName)}use(e){var t=this;return _e(function*(){if(!e)throw new Error("should specify the module name");const n="string"==typeof e?ae(e):e;if(!n)throw new Error(`invalid module name: ${e}`);const s=n.relativeName,o=t.sys.meta.module.modulesMeta.modules[s];if(!o)throw new Error(`module not exists: ${s}`);return yield t._install(s,o),o})()}exists(e){return this.sys.meta.module.exists(e)}_requireAllSpecifics(e){var t=this;return _e(function*(){const n=t.sys.meta.module.modulesMeta.moduleNames.filter(n=>{var s;return null===(s=t.sys.meta.module.modulesMeta.modules[n].info.capabilities)||void 0===s?void 0:s[e]});for(const e of n){const n=t.sys.meta.module.modulesMeta.modules[e];yield t._install(e,n)}})()}_install(e,t){var n=this;return _e(function*(){if(yield n.sys.meta.module._install(e,t),n.modules[e]){const t=n.modules[e];if(t[As].state)return;return yield t[As].wait(),void(yield n.app.bean._getBean(`${e}.scope.module`,!1))}const s={[As]:ut.create()};n.modules[e]=s,yield n._installInner(e,t),s[As].touch(),yield n.app.bean._getBean(`${e}.scope.module`,!1),yield n._monkeyModule(!0,"moduleLoaded",t)})()}_installInner(e,t){var n=this;return _e(function*(){t.resource.Main&&(n.mainInstances[e]=n.app.bean._newBeanSimple(t.resource.Main,!1,t)),t.resource.Monkey&&(n.monkeyInstances[e]=n.app.bean._newBeanSimple(t.resource.Monkey,!1,t)),yield n._monkeyModule(!0,"moduleLoading",t),yield n._registerResources(t)})()}_registerResources(e){var t=this;return _e(function*(){t._registerComponents(e)})()}_registerComponents(e){this.app.meta.component._registerComponents(e.info.relativeName,e.resource.components)}_monkeyModule(e,t,n,...s){var o=this;return _e(function*(){if(n){const e=o.mainInstances[n.info.relativeName];e&&e[t]&&(yield o.app.vue.runWithContext(_e(function*(){yield e[t](...s)})))}var i;yield V(o.sys.meta.module.modulesMeta.moduleNames,e,(i=_e(function*(e){var i;if(null===(i=o.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===i?void 0:i.monkey){const i=o.monkeyInstances[e];i&&i[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield i[t](...s):yield i[t](n,...s)})))}}),function(e){return i.apply(this,arguments)}));const r=o.app.meta.appMonkey;r&&r[t]&&(yield o.app.vue.runWithContext(_e(function*(){void 0===n?yield r[t](...s):yield r[t](n,...s)})))})()}_monkeyModuleSync(e,t,n,...s){if(n){const e=this.mainInstances[n.info.relativeName];e&&e[t]&&this.app.vue.runWithContext(_e(function*(){e[t](...s)}))}z(this.sys.meta.module.modulesMeta.moduleNames,e,e=>{var o;if(null===(o=this.sys.meta.module.modulesMeta.modules[e].info.capabilities)||void 0===o?void 0:o.monkey){const o=this.monkeyInstances[e];o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}});const o=this.app.meta.appMonkey;o&&o[t]&&this.app.vue.runWithContext(_e(function*(){void 0===n?o[t](...s):o[t](n,...s)}))}}}),Ei=t(()=>{Ge(),Ni(),uo(),Ri(),po(),Ro(),Ai(),fe(),Si=class extends De{constructor(...e){super(...e),this.module=void 0,this.component=void 0,this.locale=void 0,this.error=void 0,this.event=void 0,this.cookie=void 0,this.text=void 0,this.appMonkey=void 0}__init__(){this.module=this.app.bean._newBeanSimple(bi,!1),this.component=this.app.bean._newBeanSimple(vi,!1),this.locale=this.app.bean._newBeanSimple(Mo,!1),this.error=this.app.bean._newBeanSimple(gi,!1),this.event=this.app.bean._newBeanSimple(ao,!1),this.cookie=this.app.bean._newBeanSimple(Es,!1),this.text=this.locale.createLocaleText()}initialize(e){var t=this;return _e(function*(){e&&(t.appMonkey=t.bean._newBeanSimple(e,!1))})()}}}),Fi=t(()=>{Ge(),Ns(),wi=class extends De{setLocaleErrors(e,t){return function(e,t,n){ce(()=>e.meta.locale.current,t,n)}(this.app,e,t)}}}),Ti=t(()=>{E(),Ee(),Ns(),jo(),Ei(),Fi(),fe(),Mi=Symbol("SymbolAppClose"),Bi=class{constructor(e,t){var n;this._reloadDelayTimer=0,this[Mi]=void 0,this.vue=void 0,this.bean=void 0,this.util=void 0,this.meta=void 0,this.ctx=void 0,h(this),e.zova=this,this.vue=e,this.ctx=t,this.bean=t.bean,this.bean.app=this,t.app=this,this.util=this.bean._newBeanSimple(wi,!1),this.meta=this.bean._newBeanSimple(Si,!1),t.instance.appContext.reload=()=>{this.reloadDelay()},n=this,Q((e,t)=>W((e,...t)=>n.meta.text(e,...t),e,t))}initialize({AppMonkey:e}){var t=this;return _e(function*(){ko.meta.module._monkeyModuleSync(!0,"sysApplicationInitialize",void 0,t),yield t.meta.initialize(e),yield t.meta.component.initialize(),yield t.meta.locale.initialize(),yield t.meta.error.initialize(),yield t.meta.module.initialize(),yield t.meta.module._monkeyModule(!0,"appInitialize"),yield t.meta.module._monkeyModule(!0,"appInitialized"),yield t.meta.module._monkeyModule(!0,"appReady")})()}get sys(){return ko}reload(){window.location.reload()}reloadDelay(e){e?0!==this._reloadDelayTimer&&(window.clearTimeout(this._reloadDelayTimer),this._reloadDelayTimer=0):(this.reloadDelay(!0),this._reloadDelayTimer=window.setTimeout(()=>{this.reload()},100))}throw(e,...t){return this.meta.error.throw(void 0,e,...t)}close(){this[Mi]||(this[Mi]=!0,this.meta.module._monkeyModuleSync(!1,"appClose"),this.bean.dispose(),this.ctx.dispose())}}}),zi=t(()=>{}),ji=t(()=>{Ti(),zi(),Ei()}),Li=t(()=>{Ri(),Ro(),Ai()});function Di(e){return"function"==typeof e.message&&(void 0===e.message[Ci]&&(e.message[Ci]=e.message()),e.message=e.message[Ci]),e}var Hi,Ui=t(()=>{Oe(),L(),me(),xi=["timestamp","level","stack","message","name","beanFullName","durationMs"],Ci=Symbol("SymbolLoggerMessage"),$i=$e((e,t)=>{const n="function"==typeof t.level?t.level():t.level;return!!n&&(t.strict?Ie[e.level]===Ie[n]&&Di(e):!!(Ie[e.level]<=Ie[n]||t.silly&&"silly"===e.level)&&Di(e))}),Ii=()=>ke(e=>{let{timestamp:t,level:n,stack:s,message:o,name:i,beanFullName:r,durationMs:a}=e,l=ve(e,xi);const c=[`${t} ${n}${i?` ${Pe("verbose",`[${i}]`)}`:""}${r?` ${Pe("tip",`[${r}]`)}`:""} ${o}${void 0!==a?` ${Pe("verbose",`+${a}ms`)}`:""}${s?`\n${s}`:""}`];if(!K(l)){const e={};for(const t in l)e[t]=l[t];c.push(e)}return c})}),qi=t(()=>{}),Wi=t(()=>{Ui(),fo(),qi()}),Gi=t(()=>{Oo(),Fs(),Ts(),No(),Ao(),Fo(),Fe(),Eo(),wt(),jo(),St()}),Vi=t(()=>{ji(),Li(),ai(),Wi(),Gi()}),Ki=t(()=>{Le()}),Zi=t(()=>{Le()}),Ji=t(()=>{Le()}),Xi=t(()=>{Le()}),Qi=t(()=>{Ki(),Zi(),Ji(),Xi(),Te(),Le()}),Yi=t(()=>{Qn(),ws(),Vi(),eo(),fe(),Hi={install:(e,t,{modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c})=>_e(function*(){const u=new Bi(e,t);return yield u.initialize({modulesMeta:n,locales:s,config:o,env:i,viteHot:r,SysMonkey:a,AppMonkey:l,legacyRoutes:c}),u})(),update:(e,t)=>_e(function*(){const n=e.bean;n.ctx=t;for(const e in n[Ln])n[Ln][e].ctx=t;delete n[Ln].$$c,delete n[Ln].$$r,delete n[Ln].$$s,Object.assign(n[Ln],t.bean[Ln]),t.bean=n,t.app=e})()}}),er=t(()=>{Lo(),Yi()});function tr(e){return e}var nr=t(()=>{}),sr=t(()=>{}),or=t(()=>{nr(),Mt(),sr()}),ir=t(()=>{}),rr=t(()=>{}),ar=t(()=>{ir(),rr(),Hn()}),lr=t(()=>{re(),Os(),Yo(),yi(),Oi(),Vi(),Nn(),Qi(),er(),eo(),or(),ar()});export{Dt as A,Xe as B,fn as C,an as D,cn as E,lt as F,Re as G,Ke as H,Qe as I,Ne as K,Ye as L,Rt as M,dt as N,on as O,ut as P,Je as R,_n as S,pn as T,De as U,et as V,ze as W,is as _,$i as a,ts as b,mi as c,Do as d,ko as f,ls as g,cs as h,Ii as i,jt as j,nn as k,li as l,gs as m,tr as n,_i as o,_o as p,Hi as r,hi as s,lr as t,Uo as u,ss as v,dn as w,Rn as x,ns as y,Ze as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as o}from"./rolldown-runtime-CHbrDDT0.js";import{t as r}from"./zova-
|
|
1
|
+
import{n as o}from"./rolldown-runtime-CHbrDDT0.js";import{t as r}from"./zova-Bg37yi9o.js";var t=o(()=>{r()});export{t};
|