@onequery/cli 0.1.57-win32-x64 → 0.1.58-darwin-arm64
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/README.md +17 -1
- package/package.json +3 -3
- package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/CompositeItem-5Ejg9goZ.js → aarch64-apple-darwin/runtime/dashboard/assets/CompositeItem-CgPZMs1M.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/CompositeList-YgaWmh3B.js → aarch64-apple-darwin/runtime/dashboard/assets/CompositeList-DfjQy1zM.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/DialogTitle-ClXtDd9Q.js → aarch64-apple-darwin/runtime/dashboard/assets/DialogTitle-BntdH4ni.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/Separator-DFErBP0R.js → aarch64-apple-darwin/runtime/dashboard/assets/Separator-Cs73OsCh.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_authenticated-BdFlDW8S.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-D56Yisl_.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-kMbY9uSQ.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-CEwCOvkc.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-DWr32C7Z.js → aarch64-apple-darwin/runtime/dashboard/assets/audit-B2yEXylO.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/auth-bootstrap-query-BqZQ8G7v.js → aarch64-apple-darwin/runtime/dashboard/assets/auth-bootstrap-query-YDJYu6l2.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/avatar-Bhrck5AU.js → aarch64-apple-darwin/runtime/dashboard/assets/avatar-BCfjsnDU.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/badge-CkOCUhr2.js → aarch64-apple-darwin/runtime/dashboard/assets/badge-CIufIvL5.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-C_lvvS6A.js → aarch64-apple-darwin/runtime/dashboard/assets/budget-Dx6jUrmd.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-BVW9Ki10.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-DNJTkWOl.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/checkbox-CAn5Cn-T.js → aarch64-apple-darwin/runtime/dashboard/assets/checkbox-DWh_Z3yP.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-CzfqAXOq.js → aarch64-apple-darwin/runtime/dashboard/assets/connect-database-BBZDRB0q.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-BpGbCKww.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-D-B5XRdI.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-Czy7uvIY.js +231 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/device-BzGocmf9.js → aarch64-apple-darwin/runtime/dashboard/assets/device-D7f9ZXNo.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-LmwPbXAE.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu--sfTWRag.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/getDisabledMountTransitionStyles-D7JdES34.js → aarch64-apple-darwin/runtime/dashboard/assets/getDisabledMountTransitionStyles-C-jmk481.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/getPseudoElementBounds-DoV2AHJj.js → aarch64-apple-darwin/runtime/dashboard/assets/getPseudoElementBounds-D3PAuNIt.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-BSvGpvOP.js → aarch64-apple-darwin/runtime/dashboard/assets/home-D_pbkF92.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/index-B4OsjuJp.css +2 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/index-UJ9tDDK8.js → aarch64-apple-darwin/runtime/dashboard/assets/index-C9VlNdd_.js} +3 -3
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/input-1NcNY1Rk.js → aarch64-apple-darwin/runtime/dashboard/assets/input-CZTmGabI.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/integrations-DlvvWQQC.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-1dC9E94b.js → aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-BwDq3bl1.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-DcSultRN.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-D5mm5GU9.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/select-sd9I7HEr.js → aarch64-apple-darwin/runtime/dashboard/assets/select-BMJNvvto.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/separator-BA_IZNjv.js → aarch64-apple-darwin/runtime/dashboard/assets/separator-CXAloiOj.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/settings-BJE_QCvJ.js → aarch64-apple-darwin/runtime/dashboard/assets/settings-CIb83OOW.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-Bg29e7M9.js → aarch64-apple-darwin/runtime/dashboard/assets/signin-DyF1hCwW.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/team-2YmR1N4r.js → aarch64-apple-darwin/runtime/dashboard/assets/team-Ddu2kB2Y.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/textarea-Bp7ncmeh.js → aarch64-apple-darwin/runtime/dashboard/assets/textarea-BJH4Hgaa.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-CYyH4Neh.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-pdCout31.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-Bznt3Ooc.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-D-hPUQiA.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-mt9D5me6.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-BnktROLi.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useCompositeItem-CeS9xqAj.js → aarch64-apple-darwin/runtime/dashboard/assets/useCompositeItem-D0ac8zgi.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-iccmDDQG.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-CXHVfE3N.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/zod-DM_ziQch.js → aarch64-apple-darwin/runtime/dashboard/assets/zod-CtCK2PFe.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +14 -14
- package/vendor/aarch64-apple-darwin/runtime/migrations/20260524081943_colorful_firelord.sql +1 -0
- package/vendor/aarch64-apple-darwin/runtime/migrations/meta/20260524081943_snapshot.json +3082 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +7 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +215152 -47741
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-D_EKFCY7.js +0 -191
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/index-CdlRV-Gz.css +0 -2
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-CCnuOxYf.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-Da2rjDHt.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-CWEvvP0f.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/linear.svg +0 -1
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconArrowRight-DsOD7mDl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCheck-Gc24xPT2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronDown-B-39MA7-.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronRight-DD16tNHZ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCoins-C7Nn0L6R.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconHistory-k3NVXypq.js → aarch64-apple-darwin/runtime/dashboard/assets/IconHistory-DuLS8PKF.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconLoader2-CZSIppar.js → aarch64-apple-darwin/runtime/dashboard/assets/IconLoader2-0wRUrt7h.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconPlus-Ie-KpLOF.js → aarch64-apple-darwin/runtime/dashboard/assets/IconPlus-C2A-IVFH.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconX-lzvnmVyG.js → aarch64-apple-darwin/runtime/dashboard/assets/IconX-BzxPQEcJ.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/alert-CS-uCjgY.js → aarch64-apple-darwin/runtime/dashboard/assets/alert-8GsJA6Gl.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-base-url-DIb6qukm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/api-client-DPCavVwb.js → aarch64-apple-darwin/runtime/dashboard/assets/api-client-Tmtae0wC.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-paths-CFdXXr7u.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/app-routes-DZ9Y_rfa.js → aarch64-apple-darwin/runtime/dashboard/assets/app-routes-BJtCemWJ.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/auth-client-CMZBteJH.js → aarch64-apple-darwin/runtime/dashboard/assets/auth-client-CVsUOxFj.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/card-CUmxccAE.js → aarch64-apple-darwin/runtime/dashboard/assets/card-CZCl7QNy.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/compiler-runtime-DCc3R3Xn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/copy-button-BO1KBdf9.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/createReactComponent-_L2mp4Ui.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dist-ppXnK3vn.js → aarch64-apple-darwin/runtime/dashboard/assets/dist-Cg-lnuP8.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/empty-nwzd6339.js → aarch64-apple-darwin/runtime/dashboard/assets/empty-CL-DucEV.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/format-date-z9OF1gmD.js → aarch64-apple-darwin/runtime/dashboard/assets/format-date-BESHNrRz.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/jsx-runtime-DG_AJzB_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/label-CUY3W2yp.js → aarch64-apple-darwin/runtime/dashboard/assets/label-daGr3DrB.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/link-Cgvqhh5w.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/matchContext-CDajBC0L.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/organization-permissions-BVvfS7YH.js → aarch64-apple-darwin/runtime/dashboard/assets/organization-permissions-CW7dzzFM.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/organization-query-keys-CU7jOI4S.js → aarch64-apple-darwin/runtime/dashboard/assets/organization-query-keys-DLHrXHGP.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/query-DF3dbj_k.js → aarch64-apple-darwin/runtime/dashboard/assets/query-C1n0RfvA.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/query-timing-DJ9GuO2c.js → aarch64-apple-darwin/runtime/dashboard/assets/query-timing-CO3WQkW1.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/queryOptions-uXYq4lsk.js → aarch64-apple-darwin/runtime/dashboard/assets/queryOptions-DgMxBJDn.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/schemas-BXHHM7OC.js → aarch64-apple-darwin/runtime/dashboard/assets/schemas-BwLRjo3Z.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/src-BLN-I5in.js → aarch64-apple-darwin/runtime/dashboard/assets/src-8B8fN55i.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseUiId-DFyoDJ0E.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseUiId-BCer0ph2.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useControlled-DtSMvmU7.js → aarch64-apple-darwin/runtime/dashboard/assets/useControlled-D9OlrJOh.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useRender-DFBf8QFH.js → aarch64-apple-darwin/runtime/dashboard/assets/useRender-CSUYq5_K.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRouterState-DpT8luFk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useValueChanged-CH03vPJ5.js → aarch64-apple-darwin/runtime/dashboard/assets/useValueChanged-BUbLVZRk.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/utils-C8DGLIgm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/xstate-react.esm-Dgyp86r-.js → aarch64-apple-darwin/runtime/dashboard/assets/xstate-react.esm-BBK5XSGm.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/favicon.ico +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step1_settings_sidebar.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step2_projects.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step3_project_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step4_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step2_bigquery_roles.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step3_add_key_menu.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step4_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step2_enable_workers_logs.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step3_user_api_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step4_create_api_token.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step5_workers_pages_account_id.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/cloudflare-workers-observability/step6_workers_observability_permission.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step2_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step3_add_user_viewer.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step4_property_details.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step1_signin.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step4_token_created_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step2_create_service_account.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step3_credentials.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step4_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step1_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step2_connection.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step1_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step2_personal_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step3_create_key_modal.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step1_connect.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step2_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step3_grant.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step4_info.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step1_personal_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step2_create_token_permissions.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step3_organization_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step4_project_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/onequery.svg +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260425110519_smart_amazoness.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260428033542_rename_source_query_interface_missing.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430114113_jittery_scorpion.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260430135906_flippant_timeslip.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260502000100_drop_old_workflow_audit_tables.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260503011110_moaning_jack_flag.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260514143216_reset_workflow_audit_history.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260425110519_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260428033542_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430114113_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260430135906_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260503011110_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/polyglot_sql_wasm_bg.wasm +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{t as r}from"./compiler-runtime-DCc3R3Xn.js";import{S as i,_ as a,a as o,d as s,f as c,h as l}from"./createReactComponent-_L2mp4Ui.js";import{t as u}from"./utils-C8DGLIgm.js";import{i as d}from"./getDisabledMountTransitionStyles-
|
|
1
|
+
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{t as r}from"./compiler-runtime-DCc3R3Xn.js";import{S as i,_ as a,a as o,d as s,f as c,h as l}from"./createReactComponent-_L2mp4Ui.js";import{t as u}from"./utils-C8DGLIgm.js";import{i as d}from"./getDisabledMountTransitionStyles-C-jmk481.js";import{C as f,D as p,E as m,O as h,S as g,T as _,_ as v,a as y,b,c as x,g as S,h as C,l as w,m as T,o as E,p as D,s as O,t as k,u as A,v as j,w as M,x as N,y as P}from"./CompositeList-DfjQy1zM.js";function F(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var I=`data-composite-item-active`,L=e(t()),R=[];function z(e){let{itemSizes:t,cols:n=1,loopFocus:r=!0,dense:a=!1,orientation:o=`both`,direction:s,highlightedIndex:c,onHighlightedIndexChange:u,rootRef:d,enableHomeAndEndKeys:C=!1,stopEventPropagation:k=!1,disabledIndices:I,modifierKeys:z=R}=e,[V,H]=L.useState(0),U=n>1,W=L.useRef(null),G=l(W,d),K=L.useRef([]),q=L.useRef(!1),J=c??V,Y=i((e,t=!1)=>{if((u??H)(e),t){let t=K.current[e];P(W.current,t,s,o)}}),X=i(e=>{if(e.size===0||q.current)return;q.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,r=n?t.indexOf(n):-1;r!==-1&&Y(r),P(W.current,n,s,o)}),Z=L.useMemo(()=>({"aria-orientation":o===`both`?void 0:o,ref:G,onFocus(e){!W.current||!j(e.target)||e.target.setSelectionRange(0,e.target.value.length??0)},onKeyDown(e){let i=C?y:O;if(!i.has(e.key)||B(e,z)||!W.current)return;let c=s===`rtl`,l=c?x:w,u={horizontal:l,vertical:E,both:l}[o],d=c?w:x,P={horizontal:d,vertical:A,both:d}[o];if(j(e.target)&&!F(e.target)){let t=e.target.selectionStart,n=e.target.selectionEnd,r=e.target.value??``;if(t==null||e.shiftKey||t!==n||e.key!==P&&t<r.length||e.key!==u&&t>0)return}let L=J,R=m(K,I),V=_(K,I);if(U){let i=t||Array.from({length:K.current.length},()=>({width:1,height:1})),s=b(i,n,a),l=s.findIndex(e=>e!=null&&!h(K,e,I)),u=s.reduce((e,t,n)=>t!=null&&!h(K,t,I)?n:e,-1);L=s[M({current:s.map(e=>e?K.current[e]:null)},{event:e,orientation:o,loopFocus:r,cols:n,disabledIndices:f([...I||K.current.map((e,t)=>h(K,t)?t:void 0),void 0],s),minIndex:l,maxIndex:u,prevIndex:g(J>V?R:J,i,s,n,e.key===`ArrowDown`?`bl`:e.key===`ArrowRight`?`tr`:`tl`),rtl:c})]}let H={horizontal:[l],vertical:[E],both:[l,E]}[o],G={horizontal:[d],vertical:[A],both:[d,A]}[o],q=U?i:{horizontal:C?T:D,vertical:C?v:S,both:i}[o];C&&(e.key===`Home`?L=R:e.key===`End`&&(L=V)),L===J&&(H.includes(e.key)||G.includes(e.key))&&(L=r&&L===V&&H.includes(e.key)?R:r&&L===R&&G.includes(e.key)?V:N(K,{startingIndex:L,decrement:G.includes(e.key),disabledIndices:I})),L!==J&&!p(K,L)&&(k&&e.stopPropagation(),q.has(e.key)&&e.preventDefault(),Y(L,!0),queueMicrotask(()=>{K.current[L]?.focus()}))}}),[n,a,s,I,K,C,J,U,t,r,G,z,Y,o,k]);return L.useMemo(()=>({props:Z,highlightedIndex:J,onHighlightedIndexChange:Y,elementsRef:K,disabledIndices:I,onMapChange:X,relayKeyboardEvent:Z.onKeyDown}),[Z,J,Y,K,I,X])}function B(e,t){for(let n of C.values())if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}var V=n();function H(e){let{render:t,className:n,refs:r=s,props:i=s,state:l=c,stateAttributesMapping:u,highlightedIndex:f,onHighlightedIndexChange:p,orientation:m,dense:h,itemSizes:g,loopFocus:_,cols:v,enableHomeAndEndKeys:y,onMapChange:b,stopEventPropagation:x=!0,rootRef:S,disabledIndices:C,modifierKeys:w,highlightItemOnHover:T=!1,tag:E=`div`,...D}=e,{props:O,highlightedIndex:A,onHighlightedIndexChange:j,elementsRef:M,onMapChange:N,relayKeyboardEvent:P}=z({itemSizes:g,cols:v,loopFocus:_,dense:h,orientation:m,highlightedIndex:f,onHighlightedIndexChange:p,rootRef:S,stopEventPropagation:x,enableHomeAndEndKeys:y,direction:d(),disabledIndices:C,modifierKeys:w}),F=o(E,e,{state:l,ref:r,props:[O,...i,D],stateAttributesMapping:u}),I=L.useMemo(()=>({highlightedIndex:A,onHighlightedIndexChange:j,highlightItemOnHover:T,relayKeyboardEvent:P}),[A,j,T,P]);return(0,V.jsx)(a.Provider,{value:I,children:(0,V.jsx)(k,{elementsRef:M,onMapChange:e=>{b?.(e),N(e)},children:F})})}var U=r();function W(e){let t=(0,U.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=u(`border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors focus-visible:ring-[3px] aria-invalid:ring-[3px] md:text-sm placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,V.jsx)(`textarea`,{"data-slot":`textarea`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}export{H as n,I as r,W as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./compiler-runtime-DCc3R3Xn.js";import{n,t as r}from"./createReactComponent-_L2mp4Ui.js";import{B as i}from"./index-
|
|
1
|
+
import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./compiler-runtime-DCc3R3Xn.js";import{n,t as r}from"./createReactComponent-_L2mp4Ui.js";import{B as i}from"./index-C9VlNdd_.js";import{a,d as o,i as s,n as c,t as l}from"./dropdown-menu--sfTWRag.js";var u=r(`outline`,`device-desktop`,`DeviceDesktop`,[[`path`,{d:`M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10`,key:`svg-0`}],[`path`,{d:`M7 20h10`,key:`svg-1`}],[`path`,{d:`M9 16v4`,key:`svg-2`}],[`path`,{d:`M15 16v4`,key:`svg-3`}]]),d=r(`outline`,`moon`,`Moon`,[[`path`,{d:`M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454l0 .008`,key:`svg-0`}]]),f=r(`outline`,`sun`,`Sun`,[[`path`,{d:`M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0`,key:`svg-0`}],[`path`,{d:`M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7`,key:`svg-1`}]]),p=t(),m=e();function h(){let e=(0,p.c)(8),{theme:t,setTheme:r}=i(),h;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,m.jsx)(n,{variant:`ghost`,size:`icon`}),e[0]=h):h=e[0];let g;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,m.jsxs)(o,{render:h,"aria-label":`Toggle theme`,children:[(0,m.jsx)(f,{size:16,stroke:2,className:`rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0`}),(0,m.jsx)(d,{size:16,stroke:2,className:`absolute rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100`})]}),e[1]=g):g=e[1];let _;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,m.jsxs)(a,{value:`light`,children:[(0,m.jsx)(f,{size:16,stroke:2,className:`mr-2`}),`Light`]}),e[2]=_):_=e[2];let v;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,m.jsxs)(a,{value:`dark`,children:[(0,m.jsx)(d,{size:16,stroke:2,className:`mr-2`}),`Dark`]}),e[3]=v):v=e[3];let y;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,m.jsxs)(a,{value:`system`,children:[(0,m.jsx)(u,{size:16,stroke:2,className:`mr-2`}),`System`]}),e[4]=y):y=e[4];let b;return e[5]!==r||e[6]!==t?(b=(0,m.jsxs)(l,{children:[g,(0,m.jsx)(c,{align:`end`,children:(0,m.jsxs)(s,{value:t,onValueChange:r,children:[_,v,y]})})]}),e[5]=r,e[6]=t,e[7]=b):b=e[7],b}export{h as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{t as r}from"./compiler-runtime-DCc3R3Xn.js";import{a as i,g as a,n as o,o as s,y as c}from"./createReactComponent-_L2mp4Ui.js";import{t as l}from"./utils-C8DGLIgm.js";import{t as u}from"./IconX-
|
|
1
|
+
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{t as r}from"./compiler-runtime-DCc3R3Xn.js";import{a as i,g as a,n as o,o as s,y as c}from"./createReactComponent-_L2mp4Ui.js";import{t as l}from"./utils-C8DGLIgm.js";import{t as u}from"./IconX-BzxPQEcJ.js";import{A as d,E as f,T as p,b as m,m as h,o as g}from"./query-C1n0RfvA.js";import{_,c as v,l as y}from"./getDisabledMountTransitionStyles-C-jmk481.js";import{t as b}from"./useBaseUiId-BCer0ph2.js";import{c as x}from"./getPseudoElementBounds-D3PAuNIt.js";import{H as S,V as C,z as w}from"./index-C9VlNdd_.js";import{a as T,c as E,i as D,n as O,o as k,r as A,s as j,t as M}from"./DialogTitle-BntdH4ni.js";var N=class extends d{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),p(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&h(t.mutationKey)!==h(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??S();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){g.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},P=e(t(),1);function F(e,t){let n=C(t),[r]=P.useState(()=>new N(n,e));P.useEffect(()=>{r.setOptions(e)},[r,e]);let i=P.useSyncExternalStore(P.useCallback(e=>r.subscribe(g.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=P.useCallback((e,t)=>{r.mutate(e,t).catch(m)},[r]);if(i.error&&f(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var I=P.forwardRef(function(e,t){let{render:n,className:r,disabled:o=!1,nativeButton:l=!0,id:u,payload:d,handle:f,...p}=e,m=E(!0),h=f?.store??m?.store;if(!h)throw Error(c(79));let g=b(u),S=h.useState(`floatingRootContext`),C=h.useState(`isOpenedByTrigger`,g),w=P.useRef(null),{registerTrigger:T,isMountedByThisTrigger:D}=_(g,w,h,{payload:d}),{getButtonProps:O,buttonRef:k}=a({disabled:o,native:l}),A=y([x(S,{enabled:S!=null})]),j=P.useMemo(()=>({disabled:o,open:C}),[o,C]),M=h.useState(`triggerProps`,D);return i(`button`,e,{state:j,ref:[k,t,T,w],props:[A.getReferenceProps(),M,{[s]:``,id:g},p,O],stateAttributesMapping:v})}),L=r(),R=n();function z(e){let t=(0,L.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,R.jsx)(O,{"data-slot":`dialog`,...n}),t[2]=n,t[3]=r),r}function B(e){let t=(0,L.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,R.jsx)(I,{"data-slot":`dialog-trigger`,...n}),t[2]=n,t[3]=r),r}function V(e){let t=(0,L.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,R.jsx)(A,{"data-slot":`dialog-portal`,...n}),t[2]=n,t[3]=r),r}function H(e){let t=(0,L.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,R.jsx)(j,{"data-slot":`dialog-overlay`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function U(e){let t=(0,L.c)(20),n,r,i,a,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],s=t[5]):({className:r,children:n,showCloseButton:s,overlayClassName:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=s);let c=s===void 0?!0:s,d;t[6]===i?d=t[7]:(d=(0,R.jsx)(H,{className:i}),t[6]=i,t[7]=d);let f;t[8]===r?f=t[9]:(f=l(`bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 outline-none`,r),t[8]=r,t[9]=f);let p;t[10]===c?p=t[11]:(p=c&&(0,R.jsxs)(k,{"data-slot":`dialog-close`,render:(0,R.jsx)(o,{variant:`ghost`,className:`absolute top-2 right-2`,size:`icon-sm`}),children:[(0,R.jsx)(u,{}),(0,R.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[10]=c,t[11]=p);let m;t[12]!==n||t[13]!==a||t[14]!==f||t[15]!==p?(m=(0,R.jsxs)(D,{"data-slot":`dialog-content`,className:f,...a,children:[n,p]}),t[12]=n,t[13]=a,t[14]=f,t[15]=p,t[16]=m):m=t[16];let h;return t[17]!==d||t[18]!==m?(h=(0,R.jsxs)(V,{children:[d,m]}),t[17]=d,t[18]=m,t[19]=h):h=t[19],h}function W(e){let t=(0,L.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`gap-2 flex flex-col`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,R.jsx)(`div`,{"data-slot":`dialog-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function G(e){let t=(0,L.c)(14),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,showCloseButton:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let s=a===void 0?!1:a,c;t[5]===r?c=t[6]:(c=l(`bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,r),t[5]=r,t[6]=c);let u;t[7]===s?u=t[8]:(u=s&&(0,R.jsx)(k,{render:(0,R.jsx)(o,{variant:`outline`}),children:`Close`}),t[7]=s,t[8]=u);let d;return t[9]!==n||t[10]!==i||t[11]!==c||t[12]!==u?(d=(0,R.jsxs)(`div`,{"data-slot":`dialog-footer`,className:c,...i,children:[n,u]}),t[9]=n,t[10]=i,t[11]=c,t[12]=u,t[13]=d):d=t[13],d}function K(e){let t=(0,L.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`text-sm leading-none font-medium`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,R.jsx)(M,{"data-slot":`dialog-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function q(e){let t=(0,L.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,R.jsx)(T,{"data-slot":`dialog-description`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function J(e){let t=(0,L.c)(27),{mutationFn:n,queryKey:r,optimisticUpdate:i,onSuccess:a,onError:o,successMessage:s,errorMessage:c}=e,l=C(),u;t[0]!==c||t[1]!==o||t[2]!==l||t[3]!==r?(u=(e,t,n)=>{n?.previousData!==void 0&&l.setQueryData(r,n.previousData);let i=c??(e.message?e.message:`Operation failed`);w.error(i),o?.(e,t)},t[0]=c,t[1]=o,t[2]=l,t[3]=r,t[4]=u):u=t[4];let d;t[5]!==i||t[6]!==l||t[7]!==r?(d=async e=>{await l.cancelQueries({queryKey:r});let t=l.getQueryData(r);return t!==void 0&&l.setQueryData(r,t=>t===void 0?t:i(t,e)),{previousData:t}},t[5]=i,t[6]=l,t[7]=r,t[8]=d):d=t[8];let f;t[9]!==l||t[10]!==r?(f=()=>{l.invalidateQueries({queryKey:r})},t[9]=l,t[10]=r,t[11]=f):f=t[11];let p;t[12]!==a||t[13]!==s?(p=(e,t)=>{s&&w.success(s),a?.(e,t)},t[12]=a,t[13]=s,t[14]=p):p=t[14];let m;t[15]!==n||t[16]!==u||t[17]!==d||t[18]!==f||t[19]!==p?(m={mutationFn:n,onError:u,onMutate:d,onSettled:f,onSuccess:p},t[15]=n,t[16]=u,t[17]=d,t[18]=f,t[19]=p,t[20]=m):m=t[20];let h=F(m),g=h.mutate,_=h.mutateAsync,v;return t[21]!==h.isError||t[22]!==h.isPending||t[23]!==h.isSuccess||t[24]!==g||t[25]!==_?(v={isError:h.isError,isPending:h.isPending,isSuccess:h.isSuccess,mutate:g,mutateAsync:_},t[21]=h.isError,t[22]=h.isPending,t[23]=h.isSuccess,t[24]=g,t[25]=_,t[26]=v):v=t[26],v}function Y({mutationFn:e,queryKey:t,itemId:n,getId:r=e=>e.id,onSuccess:i,onError:a,successMessage:o,errorMessage:s=`Failed to delete`}){return J({errorMessage:s,mutationFn:async()=>e(),onError:a?e=>a(e):void 0,onSuccess:i?e=>i(e):void 0,optimisticUpdate:e=>e.filter(e=>r(e)!==n),queryKey:t,successMessage:o})}function X(e){let t=(0,L.c)(10),{mutationFn:n,queryKey:r,createOptimisticItem:i,onSuccess:a,onError:o,successMessage:s,errorMessage:c}=e,l;t[0]===i?l=t[1]:(l=(e,t)=>[...e,i(t)],t[0]=i,t[1]=l);let u;return t[2]!==c||t[3]!==n||t[4]!==o||t[5]!==a||t[6]!==r||t[7]!==s||t[8]!==l?(u={errorMessage:c,mutationFn:n,onError:o,onSuccess:a,optimisticUpdate:l,queryKey:r,successMessage:s},t[2]=c,t[3]=n,t[4]=o,t[5]=a,t[6]=r,t[7]=s,t[8]=l,t[9]=u):u=t[9],J(u)}export{q as a,K as c,U as i,B as l,Y as n,G as o,z as r,W as s,X as t,F as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{A as r,C as i,E as a,O as o,S as s,T as c,_ as l,b as u,c as d,g as f,k as p,n as m,o as h,s as g,w as _}from"./query-
|
|
1
|
+
import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{A as r,C as i,E as a,O as o,S as s,T as c,_ as l,b as u,c as d,g as f,k as p,n as m,o as h,s as g,w as _}from"./query-C1n0RfvA.js";import{V as v}from"./index-C9VlNdd_.js";var y=class extends r{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=g(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),x(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return S(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return S(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof i(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!c(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&C(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||i(this.options.enabled,this.#t)!==i(t.enabled,this.#t)||_(this.options.staleTime,this.#t)!==_(t.staleTime,this.#t))&&this.#g();let a=this.#_();r&&(this.#t!==n||i(this.options.enabled,this.#t)!==i(t.enabled,this.#t)||a!==this.#p)&&this.#v(a)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return T(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u)),t}#g(){this.#b();let e=_(this.options.staleTime,this.#t);if(f||this.#r.isStale||!l(e))return;let t=o(this.#r.dataUpdatedAt,e)+1;this.#d=p.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(f||i(this.options.enabled,this.#t)===!1||!l(this.#p)||this.#p===0)&&(this.#f=p.setInterval(()=>{(this.options.refetchIntervalInBackground||d.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d&&=(p.clearTimeout(this.#d),void 0)}#x(){this.#f&&=(p.clearInterval(this.#f),void 0)}createResult(e,t){let n=this.#t,r=this.options,a=this.#r,o=this.#i,c=this.#a,l=e===n?this.#n:e.state,{state:u}=e,d={...u},f=!1,p;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&x(e,t),o=i&&C(e,n,t,r);(a||o)&&(d={...d,...m(u.data,e.options)}),t._optimisticResults===`isRestoring`&&(d.fetchStatus=`idle`)}let{error:h,errorUpdatedAt:_,status:v}=d;p=d.data;let y=!1;if(t.placeholderData!==void 0&&p===void 0&&v===`pending`){let e;a?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(e=a.data,y=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(v=`success`,p=s(a?.data,e,t),f=!0)}if(t.select&&p!==void 0&&!y)if(a&&p===o?.data&&t.select===this.#c)p=this.#l;else try{this.#c=t.select,p=t.select(p),p=s(a?.data,p,t),this.#l=p,this.#s=null}catch(e){this.#s=e}this.#s&&(h=this.#s,p=this.#l,_=Date.now(),v=`error`);let b=d.fetchStatus===`fetching`,S=v===`pending`,T=v===`error`,E=S&&b,D=p!==void 0,O={status:v,fetchStatus:d.fetchStatus,isPending:S,isSuccess:v===`success`,isError:T,isInitialLoading:E,isLoading:E,data:p,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:_,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:b,isRefetching:b&&!S,isLoadingError:T&&!D,isPaused:d.fetchStatus===`paused`,isPlaceholderData:f,isRefetchError:T&&D,isStale:w(e,t),refetch:this.refetch,promise:this.#o,isEnabled:i(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=O.data!==void 0,r=O.status===`error`&&!t,i=e=>{r?e.reject(O.error):t&&e.resolve(O.data)},a=()=>{i(this.#o=O.promise=g())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||O.data!==o.value)&&a();break;case`rejected`:(!r||O.error!==o.reason)&&a();break}}return O}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!c(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){h.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function b(e,t){return i(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&t.retryOnMount===!1)}function x(e,t){return b(e,t)||e.state.data!==void 0&&S(e,t,t.refetchOnMount)}function S(e,t,n){if(i(t.enabled,e)!==!1&&_(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&w(e,t)}return!1}function C(e,t,n,r){return(e!==t||i(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&w(e,n)}function w(e,t){return i(t.enabled,e)!==!1&&e.isStaleByTime(_(t.staleTime,e))}function T(e,t){return!c(e.getCurrentResult(),t)}var E=e(t(),1),D=E.createContext(!1),O=()=>E.useContext(D);D.Provider,n();function k(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var A=E.createContext(k()),j=()=>E.useContext(A),M=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?a(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},N=e=>{E.useEffect(()=>{e.clearReset()},[e])},P=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||a(n,[e.error,r])),F=(e,t)=>t.state.data===void 0,I=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},L=(e,t)=>e.isLoading&&e.isFetching&&!t,R=(e,t)=>e?.suspense&&t.isPending,z=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function B(e,t,n){let r=O(),i=j(),a=v(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o._optimisticResults=r?`isRestoring`:`optimistic`,I(o),M(o,i,s),N(i);let c=!a.getQueryCache().get(o.queryHash),[l]=E.useState(()=>new t(a,o)),d=l.getOptimisticResult(o),p=!r&&e.subscribed!==!1;if(E.useSyncExternalStore(E.useCallback(e=>{let t=p?l.subscribe(h.batchCalls(e)):u;return l.updateResult(),t},[l,p]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),E.useEffect(()=>{l.setOptions(o)},[o,l]),R(o,d))throw z(o,l,i);if(P({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!f&&L(d,r)&&(c?z(o,l,i):s?.promise)?.catch(u).finally(()=>{l.updateResult()}),o.notifyOnChangeProps?d:l.trackResult(d)}export{F as n,y as r,B as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,n as t}from"./jsx-runtime-DG_AJzB_.js";import{h as n,v as r}from"./createReactComponent-_L2mp4Ui.js";import{i}from"./CompositeList-
|
|
1
|
+
import{i as e,n as t}from"./jsx-runtime-DG_AJzB_.js";import{h as n,v as r}from"./createReactComponent-_L2mp4Ui.js";import{i}from"./CompositeList-DfjQy1zM.js";var a=e(t());function o(e={}){let{highlightItemOnHover:t,highlightedIndex:o,onHighlightedIndexChange:s}=r(),{ref:c,index:l}=i(e),u=o===l,d=a.useRef(null),f=n(c,d);return{compositeProps:a.useMemo(()=>({tabIndex:u?0:-1,onFocus(){s(l)},onMouseMove(){let e=d.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!u&&!n&&e.focus()}}),[u,s,l,t]),compositeRef:f,index:l}}export{o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,t}from"./useBaseQuery-BnktROLi.js";function n(n,r){return t(n,e,r)}export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,r as t,t as n}from"./useBaseQuery-BnktROLi.js";function r(r,i){return n({...r,enabled:!0,suspense:!0,throwOnError:e,placeholderData:void 0},t,i)}export{r as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,n as t}from"./jsx-runtime-DG_AJzB_.js";import{b as n,x as r,y as i}from"./schemas-BXHHM7OC.js";var a=e(t(),1),o=e=>e.type===`checkbox`,s=e=>e instanceof Date,c=e=>e==null,l=e=>typeof e==`object`,u=e=>!c(e)&&!Array.isArray(e)&&l(e)&&!s(e),d=e=>u(e)&&e.target?o(e.target)?e.target.checked:e.target.value:e,f=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,p=(e,t)=>e.has(f(t)),m=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty(`isPrototypeOf`)},h=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function g(e){if(e instanceof Date)return new Date(e);let t=typeof FileList<`u`&&e instanceof FileList;if(h&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&!(u(e)&&m(e)))return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=g(e[t]));return r}var _=e=>/^\w*$/.test(e),v=e=>e===void 0,y=e=>Array.isArray(e)?e.filter(Boolean):[],b=e=>y(e.replace(/["|']|\]/g,``).split(/\.|\[/)),x=(e,t,n)=>{if(!t||!u(e))return n;let r=(_(t)?[t]:b(t)).reduce((e,t)=>c(e)?e:e[t],e);return v(r)||r===e?v(e[t])?n:e[t]:r},S=e=>typeof e==`boolean`,C=e=>typeof e==`function`,w=(e,t,n)=>{let r=-1,i=_(t)?[t]:b(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=u(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(t===`__proto__`||t===`constructor`||t===`prototype`)return;e[t]=a,e=e[t]}},T={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`},E={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},D={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`},O=a.createContext(null);O.displayName=`HookFormControlContext`;var k=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==E.all&&(t._proxyFormState[i]=!r||E.all),n&&(n[i]=!0),e[i]}});return i},A=typeof window<`u`?a.useLayoutEffect:a.useEffect,j=e=>typeof e==`string`,ee=(e,t,n,r,i)=>j(e)?(r&&t.watch.add(e),x(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),x(n,e))):(r&&(t.watchAll=!0),n),M=e=>c(e)||!l(e);function N(e,t,n=new WeakSet){if(M(e)||M(t))return Object.is(e,t);if(s(e)&&s(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(let a of r){let r=e[a];if(!i.includes(a))return!1;if(a!==`ref`){let e=t[a];if(s(r)&&s(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!N(r,e,n):!Object.is(r,e))return!1}}return!0}var P=a.createContext(null);P.displayName=`HookFormContext`;var F=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},I=e=>Array.isArray(e)?e:[e],te=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function ne(e,t){let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];if(i&&u(i)&&a){let e=ne(i,a);u(e)&&(n[r]=e)}else e[r]&&(n[r]=a)}return n}var L=e=>u(e)&&!Object.keys(e).length,re=e=>e.type===`file`,R=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},ie=e=>e.type===`select-multiple`,ae=e=>e.type===`radio`,oe=e=>ae(e)||o(e),se=e=>R(e)&&e.isConnected;function ce(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=v(e)?r++:e[t[r++]];return e}function le(e){for(let t in e)if(e.hasOwnProperty(t)&&!v(e[t]))return!1;return!0}function z(e,t){let n=Array.isArray(t)?t:_(t)?[t]:b(t),r=n.length===1?e:ce(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(u(r)&&L(r)||Array.isArray(r)&&le(r))&&z(e,n.slice(0,-1)),e}var ue=e=>{for(let t in e)if(C(e[t]))return!0;return!1};function B(e){return Array.isArray(e)||u(e)&&!ue(e)}function V(e,t={}){for(let n in e){let r=e[n];B(r)?(t[n]=Array.isArray(r)?[]:{},V(r,t[n])):v(r)||(t[n]=!0)}return t}function H(e,t,n){n||=V(t);for(let r in e){let i=e[r];if(B(i))v(t)||M(n[r])?n[r]=V(i,Array.isArray(i)?[]:{}):H(i,c(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!N(i,e)}}return n}var U={value:!1,isValid:!1},de={value:!0,isValid:!0},W=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||e[0].value===``?de:{value:e[0].value,isValid:!0}:de:U}return U},fe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>v(e)?e:t?e===``?NaN:e&&+e:n&&j(e)?new Date(e):r?r(e):e,pe={isValid:!1,value:null},G=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,pe):pe;function me(e){let t=e.ref;return re(t)?t.files:ae(t)?G(e.refs).value:ie(t)?[...t.selectedOptions].map(({value:e})=>e):o(t)?W(e.refs).value:fe(v(t.value)?e.ref.value:t.value,e)}var he=(e,t,n,r)=>{let i={};for(let n of e){let e=x(t,n);e&&w(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},K=e=>e instanceof RegExp,q=e=>v(e)?e:K(e)?e.source:u(e)?K(e.value)?e.value.source:e.value:e,ge=e=>({isOnSubmit:!e||e===E.onSubmit,isOnBlur:e===E.onBlur,isOnChange:e===E.onChange,isOnAll:e===E.all,isOnTouch:e===E.onTouched}),_e=`AsyncFunction`,ve=e=>!!e&&!!e.validate&&!!(C(e.validate)&&e.validate.constructor.name===_e||u(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===_e)),ye=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),be=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),J=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=x(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(J(a,t))break}else if(u(a)&&J(a,t))break}}};function xe(e,t,n){let r=x(e,n);if(r||_(n))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=x(t,r),o=x(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var Se=(e,t,n,r)=>{n(e);let{name:i,...a}=e;return L(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||E.all))},Ce=(e,t,n)=>!e||!t||e===t||I(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),we=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,Te=(e,t)=>!y(x(e,t)).length&&z(e,t),Ee=(e,t,n)=>{let r=I(x(e,n));return w(r,`root`,t[n]),w(e,n,r),e};function Y(e,t,n=`validate`){if(j(e)||Array.isArray(e)&&e.every(j)||S(e)&&!e)return{type:n,message:j(e)?e:``,ref:t}}var X=e=>u(e)&&!K(e)?e:{value:e,message:``},De=async(e,t,n,r,i,a)=>{let{ref:s,refs:l,required:d,maxLength:f,minLength:p,min:m,max:h,pattern:g,validate:_,name:y,valueAsNumber:b,mount:w}=e._f,T=x(n,y);if(!w||t.has(y))return{};let E=l?l[0]:s,O=e=>{i&&E.reportValidity&&(E.setCustomValidity(S(e)?``:e||``),E.reportValidity())},k={},A=ae(s),ee=o(s),M=A||ee,N=(b||re(s))&&v(s.value)&&v(T)||R(s)&&s.value===``||T===``||Array.isArray(T)&&!T.length,P=F.bind(null,y,r,k),I=(e,t,n,r=D.maxLength,i=D.minLength)=>{let a=e?t:n;k[y]={type:e?r:i,message:a,ref:s,...P(e?r:i,a)}};if(a?!Array.isArray(T)||!T.length:d&&(!M&&(N||c(T))||S(T)&&!T||ee&&!W(l).isValid||A&&!G(l).isValid)){let{value:e,message:t}=j(d)?{value:!!d,message:d}:X(d);if(e&&(k[y]={type:D.required,message:t,ref:E,...P(D.required,t)},!r))return O(t),k}if(!N&&(!c(m)||!c(h))){let e,t,n=X(h),i=X(m);if(!c(T)&&!isNaN(T)){let r=s.valueAsNumber||T&&+T;c(n.value)||(e=r>n.value),c(i.value)||(t=r<i.value)}else{let r=s.valueAsDate||new Date(T),a=e=>new Date(new Date().toDateString()+` `+e),o=s.type==`time`,c=s.type==`week`;j(n.value)&&T&&(e=o?a(T)>a(n.value):c?T>n.value:r>new Date(n.value)),j(i.value)&&T&&(t=o?a(T)<a(i.value):c?T<i.value:r<new Date(i.value))}if((e||t)&&(I(!!e,n.message,i.message,D.max,D.min),!r))return O(k[y].message),k}if((f||p)&&!N&&(j(T)||a&&Array.isArray(T))){let e=X(f),t=X(p),n=!c(e.value)&&T.length>+e.value,i=!c(t.value)&&T.length<+t.value;if((n||i)&&(I(n,e.message,t.message),!r))return O(k[y].message),k}if(g&&!N&&j(T)){let{value:e,message:t}=X(g);if(K(e)&&!T.match(e)&&(k[y]={type:D.pattern,message:t,ref:s,...P(D.pattern,t)},!r))return O(t),k}if(_){if(C(_)){let e=Y(await _(T,n),E);if(e&&(k[y]={...e,...P(D.validate,e.message)},!r))return O(e.message),k}else if(u(_)){let e={};for(let t in _){if(!L(e)&&!r)break;let i=Y(await _[t](T,n),E,t);i&&(e={...i,...P(t,i.message)},O(i.message),r&&(k[y]=e))}if(!L(e)&&(k[y]={ref:E,...e},!r))return k}}return O(!0),k},Oe={mode:E.onSubmit,reValidateMode:E.onChange,shouldFocusError:!0};function Z(e={}){let t={...Oe,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:C(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=(u(t.defaultValues)||u(t.values))&&g(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:g(i),l={action:!1,mount:!1,watch:!1,keepIsValid:!1},f={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,_=0,b={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},D={...b},O={...D},k={array:te(),state:te()},A=t.criteriaMode===E.all,M=e=>t=>{clearTimeout(_),_=setTimeout(e,t)},P=async e=>{if(!l.keepIsValid&&!t.disabled&&(D.isValid||O.isValid||e)){let e;t.resolver?(e=L((await U()).errors),F()):e=await W(r,!0),e!==n.isValid&&k.state.next({isValid:e})}},F=(e,r)=>{!t.disabled&&(D.isValidating||D.validatingFields||O.isValidating||O.validatingFields)&&((e||Array.from(f.mount)).forEach(e=>{e&&(r?w(n.validatingFields,e,r):z(n.validatingFields,e))}),k.state.next({validatingFields:n.validatingFields,isValidating:!L(n.validatingFields)}))},ae=(e,o=[],s,c,u=!0,d=!0)=>{if(c&&s&&!t.disabled){if(l.action=!0,d&&Array.isArray(x(r,e))){let t=s(x(r,e),c.argA,c.argB);u&&w(r,e,t)}if(d&&Array.isArray(x(n.errors,e))){let t=s(x(n.errors,e),c.argA,c.argB);u&&w(n.errors,e,t),Te(n.errors,e)}if((D.touchedFields||O.touchedFields)&&d&&Array.isArray(x(n.touchedFields,e))){let t=s(x(n.touchedFields,e),c.argA,c.argB);u&&w(n.touchedFields,e,t)}(D.dirtyFields||O.dirtyFields)&&(n.dirtyFields=H(i,a)),k.state.next({name:e,isDirty:G(e,o),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else w(a,e,o)},ce=(e,t)=>{w(n.errors,e,t),k.state.next({errors:n.errors})},le=e=>{n.errors=e,k.state.next({errors:n.errors,isValid:!1})},ue=(e,t,n,o)=>{let s=x(r,e);if(s){let r=x(a,e,v(n)?x(i,e):n);v(r)||o&&o.defaultChecked||t?w(a,e,t?r:me(s._f)):Y(e,r),l.mount&&!l.action&&P()}},B=(e,r,a,o,s)=>{let c=!1,l=!1,u={name:e};if(!t.disabled){if(!a||o){(D.isDirty||O.isDirty)&&(l=n.isDirty,n.isDirty=u.isDirty=G(),c=l!==u.isDirty);let t=N(x(i,e),r);l=!!x(n.dirtyFields,e),t?z(n.dirtyFields,e):w(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,c||=(D.dirtyFields||O.dirtyFields)&&l!==!t}if(a){let t=x(n.touchedFields,e);t||(w(n.touchedFields,e,a),u.touchedFields=n.touchedFields,c||=(D.touchedFields||O.touchedFields)&&t!==a)}c&&s&&k.state.next(u)}return c?u:{}},V=(e,r,i,a)=>{let o=x(n.errors,e),s=(D.isValid||O.isValid)&&S(r)&&n.isValid!==r;if(t.delayError&&i?(m=M(()=>ce(e,i)),m(t.delayError)):(clearTimeout(_),m=null,i?w(n.errors,e,i):z(n.errors,e)),(i?!N(o,i):o)||!L(a)||s){let t={...a,...s&&S(r)?{isValid:r}:{},errors:n.errors,name:e};n={...n,...t},k.state.next(t)}},U=async e=>(F(e,!0),await t.resolver(a,t.context,he(e||f.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),de=async e=>{let{errors:t}=await U(e);if(F(e),e)for(let r of e){let e=x(t,r);e?w(n.errors,r,e):z(n.errors,r)}else n.errors=t;return t},W=async(r,i,o={valid:!0})=>{for(let s in r){let c=r[s];if(c){let{_f:r,...s}=c;if(r){let s=f.array.has(r.name),l=c._f&&ve(c._f);l&&D.validatingFields&&F([r.name],!0);let u=await De(c,f.disabled,a,A,t.shouldUseNativeValidation&&!i,s);if(l&&D.validatingFields&&F([r.name]),u[r.name]&&(o.valid=!1,i||e.shouldUseNativeValidation))break;!i&&(x(u,r.name)?s?Ee(n.errors,u,r.name):w(n.errors,r.name,u[r.name]):z(n.errors,r.name))}!L(s)&&await W(s,i,o)}}return o.valid},pe=()=>{for(let e of f.unMount){let t=x(r,e);t&&(t._f.refs?t._f.refs.every(e=>!se(e)):!se(t._f.ref))&&Le(e)}f.unMount=new Set},G=(e,n)=>!t.disabled&&(e&&n&&w(a,e,n),!N(Ae(),i)),K=(e,t,n)=>ee(e,f,{...l.mount?a:v(t)?i:j(e)?{[e]:t}:t},n,t),_e=e=>y(x(l.mount?a:i,e,t.shouldUnregister?x(i,e,[]):[])),Y=(e,t,n={})=>{let i=x(r,e),s=t;if(i){let n=i._f;n&&(!n.disabled&&w(a,e,fe(t,n)),s=R(n.ref)&&c(t)?``:t,ie(n.ref)?[...n.ref.options].forEach(e=>e.selected=s.includes(e.value)):n.refs?o(n.ref)?n.refs.forEach(e=>{(!e.defaultChecked||!e.disabled)&&(Array.isArray(s)?e.checked=!!s.find(t=>t===e.value):e.checked=s===e.value||!!s)}):n.refs.forEach(e=>e.checked=e.value===s):re(n.ref)?n.ref.value=``:(n.ref.value=s,n.ref.type||k.state.next({name:e,values:g(a)})))}(n.shouldDirty||n.shouldTouch)&&B(e,s,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&$(e)},X=(e,t,n)=>{for(let i in t){if(!t.hasOwnProperty(i))return;let a=t[i],o=e+`.`+i,c=x(r,o);(f.array.has(e)||u(a)||c&&!c._f)&&!s(a)?X(o,a,n):Y(o,a,n)}},Z=(e,t,o={})=>{let s=x(r,e),u=f.array.has(e),d=g(t);w(a,e,d),u?(k.array.next({name:e,values:g(a)}),(D.isDirty||D.dirtyFields||O.isDirty||O.dirtyFields)&&o.shouldDirty&&k.state.next({name:e,dirtyFields:H(i,a),isDirty:G(e,d)})):s&&!s._f&&!c(d)?X(e,d,o):Y(e,d,o),be(e,f)?k.state.next({...n,name:e,values:g(a)}):k.state.next({name:l.mount?e:void 0,values:g(a)})},ke=async e=>{l.mount=!0;let i=e.target,o=i.name,c=!0,u=x(r,o),p=e=>{c=Number.isNaN(e)||s(e)&&isNaN(e.getTime())||N(e,x(a,o,e))},h=ge(t.mode),_=ge(t.reValidateMode);if(u){let s,l,v=i.type?me(u._f):d(e),y=e.type===T.BLUR||e.type===T.FOCUS_OUT,b=!ye(u._f)&&!t.resolver&&!x(n.errors,o)&&!u._f.deps||we(y,x(n.touchedFields,o),n.isSubmitted,_,h),S=be(o,f,y);w(a,o,v),y?(!i||!i.readOnly)&&(u._f.onBlur&&u._f.onBlur(e),m&&m(0)):u._f.onChange&&u._f.onChange(e);let C=B(o,v,y),E=!L(C)||S;if(!y&&k.state.next({name:o,type:e.type,values:g(a)}),b)return(D.isValid||O.isValid)&&(t.mode===`onBlur`?y&&P():y||P()),E&&k.state.next({name:o,...S?{}:C});if(!y&&S&&k.state.next({...n}),t.resolver){let{errors:e}=await U([o]);if(F([o]),p(v),c){let t=xe(n.errors,r,o),i=xe(e,r,t.name||o);s=i.error,o=i.name,l=L(e)}}else F([o],!0),s=(await De(u,f.disabled,a,A,t.shouldUseNativeValidation))[o],F([o]),p(v),c&&(s?l=!1:(D.isValid||O.isValid)&&(l=await W(r,!0)));c&&(u._f.deps&&(!Array.isArray(u._f.deps)||u._f.deps.length>0)&&$(u._f.deps),V(o,l,s,C))}},Q=(e,t)=>{if(x(n.errors,t)&&e.focus)return e.focus(),1},$=async(e,i={})=>{let a,o,s=I(e);if(t.resolver){let t=await de(v(e)?e:s);a=L(t),o=e?!s.some(e=>x(t,e)):a}else e?(o=(await Promise.all(s.map(async e=>{let t=x(r,e);return await W(t&&t._f?{[e]:t}:t)}))).every(Boolean),!(!o&&!n.isValid)&&P()):o=a=await W(r);return k.state.next({...!j(e)||(D.isValid||O.isValid)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},errors:n.errors}),i.shouldFocus&&!o&&J(r,Q,e?s:f.mount),o},Ae=(e,t)=>{let r={...l.mount?a:i};return t&&(r=ne(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),v(e)?r:j(e)?x(r,e):e.map(e=>x(r,e))},je=(e,t)=>({invalid:!!x((t||n).errors,e),isDirty:!!x((t||n).dirtyFields,e),error:x((t||n).errors,e),isValidating:!!x(n.validatingFields,e),isTouched:!!x((t||n).touchedFields,e)}),Me=e=>{e&&I(e).forEach(e=>z(n.errors,e)),k.state.next({errors:e?n.errors:{}})},Ne=(e,t,i)=>{let a=(x(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,...l}=x(n.errors,e)||{};w(n.errors,e,{...l,...t,ref:a}),k.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},Pe=(e,t)=>C(e)?k.state.subscribe({next:n=>`values`in n&&e(K(void 0,t),n)}):K(e,t,!0),Fe=e=>k.state.subscribe({next:t=>{Ce(e.name,t.name,e.exact)&&Se(t,e.formState||D,qe,e.reRenderRoot)&&e.callback({values:{...a},...n,...t,defaultValues:i})}}).unsubscribe,Ie=e=>(l.mount=!0,O={...O,...e.formState},Fe({...e,formState:{...b,...e.formState}})),Le=(e,o={})=>{for(let s of e?I(e):f.mount)f.mount.delete(s),f.array.delete(s),o.keepValue||(z(r,s),z(a,s)),!o.keepError&&z(n.errors,s),!o.keepDirty&&z(n.dirtyFields,s),!o.keepTouched&&z(n.touchedFields,s),!o.keepIsValidating&&z(n.validatingFields,s),!t.shouldUnregister&&!o.keepDefaultValue&&z(i,s);k.state.next({values:g(a)}),k.state.next({...n,...o.keepDirty?{isDirty:G()}:{}}),!o.keepIsValid&&P()},Re=({disabled:e,name:t})=>{if(S(e)&&l.mount||e||f.disabled.has(t)){let n=f.disabled.has(t)!==!!e;e?f.disabled.add(t):f.disabled.delete(t),n&&l.mount&&!l.action&&P()}},ze=(e,n={})=>{let a=x(r,e),o=S(n.disabled)||S(t.disabled);return w(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),f.mount.add(e),a?Re({disabled:S(n.disabled)?n.disabled:t.disabled,name:e}):ue(e,!0,n.value),{...o?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:q(n.min),max:q(n.max),minLength:q(n.minLength),maxLength:q(n.maxLength),pattern:q(n.pattern)}:{},name:e,onChange:ke,onBlur:ke,ref:o=>{if(o){ze(e,n),a=x(r,e);let t=v(o.value)&&o.querySelectorAll&&o.querySelectorAll(`input,select,textarea`)[0]||o,s=oe(t),c=a._f.refs||[];if(s?c.find(e=>e===t):t===a._f.ref)return;w(r,e,{_f:{...a._f,...s?{refs:[...c.filter(se),t,...Array.isArray(x(i,e))?[{}]:[]],ref:{type:t.type,name:e}}:{ref:t}}}),ue(e,!1,void 0,t)}else a=x(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(p(f.array,e)&&l.action)&&f.unMount.add(e)}}},Be=()=>t.shouldFocusError&&J(r,Q,f.mount),Ve=e=>{S(e)&&(k.state.next({disabled:e}),J(r,(t,n)=>{let i=x(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},He=(e,i)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=g(a);if(k.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await U();F(),n.errors=e,c=g(t)}else await W(r);if(f.disabled.size)for(let e of f.disabled)z(c,e);if(z(n.errors,`root`),L(n.errors)){k.state.next({errors:{}});try{await e(c,o)}catch(e){s=e}}else i&&await i({...n.errors},o),Be(),setTimeout(Be);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:L(n.errors)&&!s,submitCount:n.submitCount+1,errors:n.errors}),s)throw s},Ue=(e,t={})=>{x(r,e)&&(v(t.defaultValue)?Z(e,g(x(i,e))):(Z(e,t.defaultValue),w(i,e,g(t.defaultValue))),t.keepTouched||z(n.touchedFields,e),t.keepDirty||(z(n.dirtyFields,e),n.isDirty=t.defaultValue?G(e,g(x(i,e))):G()),t.keepError||(z(n.errors,e),D.isValid&&P()),k.state.next({...n}))},We=(e,o={})=>{let s=e?g(e):i,c=g(s),u=L(e),d=u?i:c;if(o.keepDefaultValues||(i=s),!o.keepValues){if(o.keepDirtyValues){let e=new Set([...f.mount,...Object.keys(H(i,a))]);for(let t of Array.from(e)){let e=x(n.dirtyFields,t),r=x(a,t),i=x(d,t);e&&!v(r)?w(d,t,r):!e&&!v(i)&&Z(t,i)}}else{if(h&&v(e))for(let e of f.mount){let t=x(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(R(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(o.keepFieldsRef)for(let e of f.mount)Z(e,x(d,e));else r={}}a=t.shouldUnregister?o.keepDefaultValues?g(i):{}:g(d),k.array.next({values:{...d}}),k.state.next({values:{...d}})}f={mount:o.keepDirtyValues?f.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},l.mount=!D.isValid||!!o.keepIsValid||!!o.keepDirtyValues||!t.shouldUnregister&&!L(d),l.watch=!!t.shouldUnregister,l.keepIsValid=!!o.keepIsValid,l.action=!1,o.keepErrors||(n.errors={}),k.state.next({submitCount:o.keepSubmitCount?n.submitCount:0,isDirty:u?!1:o.keepDirty?n.isDirty:!!(o.keepDefaultValues&&!N(e,i)),isSubmitted:o.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:u?{}:o.keepDirtyValues?o.keepDefaultValues&&a?H(i,a):n.dirtyFields:o.keepDefaultValues&&e?H(i,e):o.keepDirty?n.dirtyFields:{},touchedFields:o.keepTouched?n.touchedFields:{},errors:o.keepErrors?n.errors:{},isSubmitSuccessful:o.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},Ge=(e,n)=>We(C(e)?e(a):e,{...t.resetOptions,...n}),Ke=(e,t={})=>{let n=x(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&C(e.select)&&e.select()})}},qe=e=>{n={...n,...e}},Je={control:{register:ze,unregister:Le,getFieldState:je,handleSubmit:He,setError:Ne,_subscribe:Fe,_runSchema:U,_updateIsValidating:F,_focusError:Be,_getWatch:K,_getDirty:G,_setValid:P,_setFieldArray:ae,_setDisabledField:Re,_setErrors:le,_getFieldArray:_e,_reset:We,_resetDefaultValues:()=>C(t.defaultValues)&&t.defaultValues().then(e=>{Ge(e,t.resetOptions),k.state.next({isLoading:!1})}),_removeUnmounted:pe,_disableForm:Ve,_subjects:k,_proxyFormState:D,get _fields(){return r},get _formValues(){return a},get _state(){return l},set _state(e){l=e},get _defaultValues(){return i},get _names(){return f},set _names(e){f=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e}}},subscribe:Ie,trigger:$,register:ze,handleSubmit:He,watch:Pe,setValue:Z,getValues:Ae,reset:Ge,resetField:Ue,clearErrors:Me,unregister:Le,setError:Ne,setFocus:Ke,getFieldState:je};return{...Je,formControl:Je}}function ke(e={}){let t=a.useRef(void 0),n=a.useRef(void 0),[r,i]=a.useState({isDirty:!1,isValidating:!1,isLoading:C(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:C(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!C(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...i}=Z(e);t.current={...i,formState:r}}let o=t.current.control;return o._options=e,A(()=>{let e=o._subscribe({formState:o._proxyFormState,callback:()=>i({...o._formState}),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),o._formState.isReady=!0,e},[o]),a.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),a.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),a.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),a.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),a.useEffect(()=>{if(o._proxyFormState.isDirty){let e=o._getDirty();e!==r.isDirty&&o._subjects.state.next({isDirty:e})}},[o,r.isDirty]),a.useEffect(()=>{e.values&&!N(e.values,n.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),o._options.resetOptions?.keepIsValid||o._setValid(),n.current=e.values,i(e=>({...e}))):o._resetDefaultValues()},[o,e.values]),a.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=a.useMemo(()=>k(r,o),[o,r]),t.current}var Q=(e,t,n)=>{if(e&&`reportValidity`in e){let r=x(n,t);e.setCustomValidity(r&&r.message||``),e.reportValidity()}},$=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&`reportValidity`in r.ref?Q(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>Q(t,n,e))}},Ae=(e,t)=>{t.shouldUseNativeValidation&&$(e,t);let n={};for(let r in e){let i=x(t.fields,r),a=Object.assign(e[r]||{},{ref:i&&i.ref});if(je(t.names||Object.keys(e),r)){let e=Object.assign({},x(n,r));w(e,`root`,a),w(n,r,e)}else w(n,r,a)}return n},je=(e,t)=>{let n=Me(t);return e.some(e=>Me(e).match(`^${n}\\.\\d+`))};function Me(e){return e.replace(/\]|\[/g,``)}function Ne(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function Pe(e,t){for(var n={};e.length;){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(`unionErrors`in r){var s=r.unionErrors[0].errors[0];n[o]={message:s.message,type:s.code}}else n[o]={message:a,type:i};if(`unionErrors`in r&&r.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=F(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()}return n}function Fe(e,t){for(var n={};e.length;){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(r.code===`invalid_union`&&r.errors.length>0){var s=r.errors[0][0];n[o]={message:s.message,type:s.code}}else n[o]={message:a,type:i};if(r.code===`invalid_union`&&r.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=F(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()}return n}function Ie(e,t,a){if(a===void 0&&(a={}),function(e){return`_def`in e&&typeof e._def==`object`&&`typeName`in e._def}(e))return function(n,r,i){try{return Promise.resolve(Ne(function(){return Promise.resolve(e[a.mode===`sync`?`parse`:`parseAsync`](n,t)).then(function(e){return i.shouldUseNativeValidation&&$({},i),{errors:{},values:a.raw?Object.assign({},n):e}})},function(e){if(function(e){return Array.isArray(e?.issues)}(e))return{values:{},errors:Ae(Pe(e.errors,!i.shouldUseNativeValidation&&i.criteriaMode===`all`),i)};throw e}))}catch(e){return Promise.reject(e)}};if(function(e){return`_zod`in e&&typeof e._zod==`object`}(e))return function(o,s,c){try{return Promise.resolve(Ne(function(){return Promise.resolve((a.mode===`sync`?i:n)(e,o,t)).then(function(e){return c.shouldUseNativeValidation&&$({},c),{errors:{},values:a.raw?Object.assign({},o):e}})},function(e){if(function(e){return e instanceof r}(e))return{values:{},errors:Ae(Fe(e.issues,!c.shouldUseNativeValidation&&c.criteriaMode===`all`),c)};throw e}))}catch(e){return Promise.reject(e)}};throw Error(`Invalid input: not a Zod schema`)}export{ke as n,Ie as t};
|
|
1
|
+
import{i as e,n as t}from"./jsx-runtime-DG_AJzB_.js";import{b as n,x as r,y as i}from"./schemas-BwLRjo3Z.js";var a=e(t(),1),o=e=>e.type===`checkbox`,s=e=>e instanceof Date,c=e=>e==null,l=e=>typeof e==`object`,u=e=>!c(e)&&!Array.isArray(e)&&l(e)&&!s(e),d=e=>u(e)&&e.target?o(e.target)?e.target.checked:e.target.value:e,f=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,p=(e,t)=>e.has(f(t)),m=e=>{let t=e.constructor&&e.constructor.prototype;return u(t)&&t.hasOwnProperty(`isPrototypeOf`)},h=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function g(e){if(e instanceof Date)return new Date(e);let t=typeof FileList<`u`&&e instanceof FileList;if(h&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&!(u(e)&&m(e)))return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=g(e[t]));return r}var _=e=>/^\w*$/.test(e),v=e=>e===void 0,y=e=>Array.isArray(e)?e.filter(Boolean):[],b=e=>y(e.replace(/["|']|\]/g,``).split(/\.|\[/)),x=(e,t,n)=>{if(!t||!u(e))return n;let r=(_(t)?[t]:b(t)).reduce((e,t)=>c(e)?e:e[t],e);return v(r)||r===e?v(e[t])?n:e[t]:r},S=e=>typeof e==`boolean`,C=e=>typeof e==`function`,w=(e,t,n)=>{let r=-1,i=_(t)?[t]:b(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=u(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(t===`__proto__`||t===`constructor`||t===`prototype`)return;e[t]=a,e=e[t]}},T={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`},E={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},D={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`},O=a.createContext(null);O.displayName=`HookFormControlContext`;var k=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==E.all&&(t._proxyFormState[i]=!r||E.all),n&&(n[i]=!0),e[i]}});return i},A=typeof window<`u`?a.useLayoutEffect:a.useEffect,j=e=>typeof e==`string`,ee=(e,t,n,r,i)=>j(e)?(r&&t.watch.add(e),x(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),x(n,e))):(r&&(t.watchAll=!0),n),M=e=>c(e)||!l(e);function N(e,t,n=new WeakSet){if(M(e)||M(t))return Object.is(e,t);if(s(e)&&s(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(let a of r){let r=e[a];if(!i.includes(a))return!1;if(a!==`ref`){let e=t[a];if(s(r)&&s(e)||u(r)&&u(e)||Array.isArray(r)&&Array.isArray(e)?!N(r,e,n):!Object.is(r,e))return!1}}return!0}var P=a.createContext(null);P.displayName=`HookFormContext`;var F=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},I=e=>Array.isArray(e)?e:[e],te=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function ne(e,t){let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];if(i&&u(i)&&a){let e=ne(i,a);u(e)&&(n[r]=e)}else e[r]&&(n[r]=a)}return n}var L=e=>u(e)&&!Object.keys(e).length,re=e=>e.type===`file`,R=e=>{if(!h)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},ie=e=>e.type===`select-multiple`,ae=e=>e.type===`radio`,oe=e=>ae(e)||o(e),se=e=>R(e)&&e.isConnected;function ce(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;)e=v(e)?r++:e[t[r++]];return e}function le(e){for(let t in e)if(e.hasOwnProperty(t)&&!v(e[t]))return!1;return!0}function z(e,t){let n=Array.isArray(t)?t:_(t)?[t]:b(t),r=n.length===1?e:ce(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(u(r)&&L(r)||Array.isArray(r)&&le(r))&&z(e,n.slice(0,-1)),e}var ue=e=>{for(let t in e)if(C(e[t]))return!0;return!1};function B(e){return Array.isArray(e)||u(e)&&!ue(e)}function V(e,t={}){for(let n in e){let r=e[n];B(r)?(t[n]=Array.isArray(r)?[]:{},V(r,t[n])):v(r)||(t[n]=!0)}return t}function H(e,t,n){n||=V(t);for(let r in e){let i=e[r];if(B(i))v(t)||M(n[r])?n[r]=V(i,Array.isArray(i)?[]:{}):H(i,c(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!N(i,e)}}return n}var U={value:!1,isValid:!1},de={value:!0,isValid:!0},W=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||e[0].value===``?de:{value:e[0].value,isValid:!0}:de:U}return U},fe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>v(e)?e:t?e===``?NaN:e&&+e:n&&j(e)?new Date(e):r?r(e):e,pe={isValid:!1,value:null},G=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,pe):pe;function me(e){let t=e.ref;return re(t)?t.files:ae(t)?G(e.refs).value:ie(t)?[...t.selectedOptions].map(({value:e})=>e):o(t)?W(e.refs).value:fe(v(t.value)?e.ref.value:t.value,e)}var he=(e,t,n,r)=>{let i={};for(let n of e){let e=x(t,n);e&&w(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},K=e=>e instanceof RegExp,q=e=>v(e)?e:K(e)?e.source:u(e)?K(e.value)?e.value.source:e.value:e,ge=e=>({isOnSubmit:!e||e===E.onSubmit,isOnBlur:e===E.onBlur,isOnChange:e===E.onChange,isOnAll:e===E.all,isOnTouch:e===E.onTouched}),_e=`AsyncFunction`,ve=e=>!!e&&!!e.validate&&!!(C(e.validate)&&e.validate.constructor.name===_e||u(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===_e)),ye=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),be=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),J=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=x(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(J(a,t))break}else if(u(a)&&J(a,t))break}}};function xe(e,t,n){let r=x(e,n);if(r||_(n))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=x(t,r),o=x(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var Se=(e,t,n,r)=>{n(e);let{name:i,...a}=e;return L(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||E.all))},Ce=(e,t,n)=>!e||!t||e===t||I(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),we=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,Te=(e,t)=>!y(x(e,t)).length&&z(e,t),Ee=(e,t,n)=>{let r=I(x(e,n));return w(r,`root`,t[n]),w(e,n,r),e};function Y(e,t,n=`validate`){if(j(e)||Array.isArray(e)&&e.every(j)||S(e)&&!e)return{type:n,message:j(e)?e:``,ref:t}}var X=e=>u(e)&&!K(e)?e:{value:e,message:``},De=async(e,t,n,r,i,a)=>{let{ref:s,refs:l,required:d,maxLength:f,minLength:p,min:m,max:h,pattern:g,validate:_,name:y,valueAsNumber:b,mount:w}=e._f,T=x(n,y);if(!w||t.has(y))return{};let E=l?l[0]:s,O=e=>{i&&E.reportValidity&&(E.setCustomValidity(S(e)?``:e||``),E.reportValidity())},k={},A=ae(s),ee=o(s),M=A||ee,N=(b||re(s))&&v(s.value)&&v(T)||R(s)&&s.value===``||T===``||Array.isArray(T)&&!T.length,P=F.bind(null,y,r,k),I=(e,t,n,r=D.maxLength,i=D.minLength)=>{let a=e?t:n;k[y]={type:e?r:i,message:a,ref:s,...P(e?r:i,a)}};if(a?!Array.isArray(T)||!T.length:d&&(!M&&(N||c(T))||S(T)&&!T||ee&&!W(l).isValid||A&&!G(l).isValid)){let{value:e,message:t}=j(d)?{value:!!d,message:d}:X(d);if(e&&(k[y]={type:D.required,message:t,ref:E,...P(D.required,t)},!r))return O(t),k}if(!N&&(!c(m)||!c(h))){let e,t,n=X(h),i=X(m);if(!c(T)&&!isNaN(T)){let r=s.valueAsNumber||T&&+T;c(n.value)||(e=r>n.value),c(i.value)||(t=r<i.value)}else{let r=s.valueAsDate||new Date(T),a=e=>new Date(new Date().toDateString()+` `+e),o=s.type==`time`,c=s.type==`week`;j(n.value)&&T&&(e=o?a(T)>a(n.value):c?T>n.value:r>new Date(n.value)),j(i.value)&&T&&(t=o?a(T)<a(i.value):c?T<i.value:r<new Date(i.value))}if((e||t)&&(I(!!e,n.message,i.message,D.max,D.min),!r))return O(k[y].message),k}if((f||p)&&!N&&(j(T)||a&&Array.isArray(T))){let e=X(f),t=X(p),n=!c(e.value)&&T.length>+e.value,i=!c(t.value)&&T.length<+t.value;if((n||i)&&(I(n,e.message,t.message),!r))return O(k[y].message),k}if(g&&!N&&j(T)){let{value:e,message:t}=X(g);if(K(e)&&!T.match(e)&&(k[y]={type:D.pattern,message:t,ref:s,...P(D.pattern,t)},!r))return O(t),k}if(_){if(C(_)){let e=Y(await _(T,n),E);if(e&&(k[y]={...e,...P(D.validate,e.message)},!r))return O(e.message),k}else if(u(_)){let e={};for(let t in _){if(!L(e)&&!r)break;let i=Y(await _[t](T,n),E,t);i&&(e={...i,...P(t,i.message)},O(i.message),r&&(k[y]=e))}if(!L(e)&&(k[y]={ref:E,...e},!r))return k}}return O(!0),k},Oe={mode:E.onSubmit,reValidateMode:E.onChange,shouldFocusError:!0};function Z(e={}){let t={...Oe,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:C(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=(u(t.defaultValues)||u(t.values))&&g(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:g(i),l={action:!1,mount:!1,watch:!1,keepIsValid:!1},f={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},m,_=0,b={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},D={...b},O={...D},k={array:te(),state:te()},A=t.criteriaMode===E.all,M=e=>t=>{clearTimeout(_),_=setTimeout(e,t)},P=async e=>{if(!l.keepIsValid&&!t.disabled&&(D.isValid||O.isValid||e)){let e;t.resolver?(e=L((await U()).errors),F()):e=await W(r,!0),e!==n.isValid&&k.state.next({isValid:e})}},F=(e,r)=>{!t.disabled&&(D.isValidating||D.validatingFields||O.isValidating||O.validatingFields)&&((e||Array.from(f.mount)).forEach(e=>{e&&(r?w(n.validatingFields,e,r):z(n.validatingFields,e))}),k.state.next({validatingFields:n.validatingFields,isValidating:!L(n.validatingFields)}))},ae=(e,o=[],s,c,u=!0,d=!0)=>{if(c&&s&&!t.disabled){if(l.action=!0,d&&Array.isArray(x(r,e))){let t=s(x(r,e),c.argA,c.argB);u&&w(r,e,t)}if(d&&Array.isArray(x(n.errors,e))){let t=s(x(n.errors,e),c.argA,c.argB);u&&w(n.errors,e,t),Te(n.errors,e)}if((D.touchedFields||O.touchedFields)&&d&&Array.isArray(x(n.touchedFields,e))){let t=s(x(n.touchedFields,e),c.argA,c.argB);u&&w(n.touchedFields,e,t)}(D.dirtyFields||O.dirtyFields)&&(n.dirtyFields=H(i,a)),k.state.next({name:e,isDirty:G(e,o),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else w(a,e,o)},ce=(e,t)=>{w(n.errors,e,t),k.state.next({errors:n.errors})},le=e=>{n.errors=e,k.state.next({errors:n.errors,isValid:!1})},ue=(e,t,n,o)=>{let s=x(r,e);if(s){let r=x(a,e,v(n)?x(i,e):n);v(r)||o&&o.defaultChecked||t?w(a,e,t?r:me(s._f)):Y(e,r),l.mount&&!l.action&&P()}},B=(e,r,a,o,s)=>{let c=!1,l=!1,u={name:e};if(!t.disabled){if(!a||o){(D.isDirty||O.isDirty)&&(l=n.isDirty,n.isDirty=u.isDirty=G(),c=l!==u.isDirty);let t=N(x(i,e),r);l=!!x(n.dirtyFields,e),t?z(n.dirtyFields,e):w(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,c||=(D.dirtyFields||O.dirtyFields)&&l!==!t}if(a){let t=x(n.touchedFields,e);t||(w(n.touchedFields,e,a),u.touchedFields=n.touchedFields,c||=(D.touchedFields||O.touchedFields)&&t!==a)}c&&s&&k.state.next(u)}return c?u:{}},V=(e,r,i,a)=>{let o=x(n.errors,e),s=(D.isValid||O.isValid)&&S(r)&&n.isValid!==r;if(t.delayError&&i?(m=M(()=>ce(e,i)),m(t.delayError)):(clearTimeout(_),m=null,i?w(n.errors,e,i):z(n.errors,e)),(i?!N(o,i):o)||!L(a)||s){let t={...a,...s&&S(r)?{isValid:r}:{},errors:n.errors,name:e};n={...n,...t},k.state.next(t)}},U=async e=>(F(e,!0),await t.resolver(a,t.context,he(e||f.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),de=async e=>{let{errors:t}=await U(e);if(F(e),e)for(let r of e){let e=x(t,r);e?w(n.errors,r,e):z(n.errors,r)}else n.errors=t;return t},W=async(r,i,o={valid:!0})=>{for(let s in r){let c=r[s];if(c){let{_f:r,...s}=c;if(r){let s=f.array.has(r.name),l=c._f&&ve(c._f);l&&D.validatingFields&&F([r.name],!0);let u=await De(c,f.disabled,a,A,t.shouldUseNativeValidation&&!i,s);if(l&&D.validatingFields&&F([r.name]),u[r.name]&&(o.valid=!1,i||e.shouldUseNativeValidation))break;!i&&(x(u,r.name)?s?Ee(n.errors,u,r.name):w(n.errors,r.name,u[r.name]):z(n.errors,r.name))}!L(s)&&await W(s,i,o)}}return o.valid},pe=()=>{for(let e of f.unMount){let t=x(r,e);t&&(t._f.refs?t._f.refs.every(e=>!se(e)):!se(t._f.ref))&&Le(e)}f.unMount=new Set},G=(e,n)=>!t.disabled&&(e&&n&&w(a,e,n),!N(Ae(),i)),K=(e,t,n)=>ee(e,f,{...l.mount?a:v(t)?i:j(e)?{[e]:t}:t},n,t),_e=e=>y(x(l.mount?a:i,e,t.shouldUnregister?x(i,e,[]):[])),Y=(e,t,n={})=>{let i=x(r,e),s=t;if(i){let n=i._f;n&&(!n.disabled&&w(a,e,fe(t,n)),s=R(n.ref)&&c(t)?``:t,ie(n.ref)?[...n.ref.options].forEach(e=>e.selected=s.includes(e.value)):n.refs?o(n.ref)?n.refs.forEach(e=>{(!e.defaultChecked||!e.disabled)&&(Array.isArray(s)?e.checked=!!s.find(t=>t===e.value):e.checked=s===e.value||!!s)}):n.refs.forEach(e=>e.checked=e.value===s):re(n.ref)?n.ref.value=``:(n.ref.value=s,n.ref.type||k.state.next({name:e,values:g(a)})))}(n.shouldDirty||n.shouldTouch)&&B(e,s,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&$(e)},X=(e,t,n)=>{for(let i in t){if(!t.hasOwnProperty(i))return;let a=t[i],o=e+`.`+i,c=x(r,o);(f.array.has(e)||u(a)||c&&!c._f)&&!s(a)?X(o,a,n):Y(o,a,n)}},Z=(e,t,o={})=>{let s=x(r,e),u=f.array.has(e),d=g(t);w(a,e,d),u?(k.array.next({name:e,values:g(a)}),(D.isDirty||D.dirtyFields||O.isDirty||O.dirtyFields)&&o.shouldDirty&&k.state.next({name:e,dirtyFields:H(i,a),isDirty:G(e,d)})):s&&!s._f&&!c(d)?X(e,d,o):Y(e,d,o),be(e,f)?k.state.next({...n,name:e,values:g(a)}):k.state.next({name:l.mount?e:void 0,values:g(a)})},ke=async e=>{l.mount=!0;let i=e.target,o=i.name,c=!0,u=x(r,o),p=e=>{c=Number.isNaN(e)||s(e)&&isNaN(e.getTime())||N(e,x(a,o,e))},h=ge(t.mode),_=ge(t.reValidateMode);if(u){let s,l,v=i.type?me(u._f):d(e),y=e.type===T.BLUR||e.type===T.FOCUS_OUT,b=!ye(u._f)&&!t.resolver&&!x(n.errors,o)&&!u._f.deps||we(y,x(n.touchedFields,o),n.isSubmitted,_,h),S=be(o,f,y);w(a,o,v),y?(!i||!i.readOnly)&&(u._f.onBlur&&u._f.onBlur(e),m&&m(0)):u._f.onChange&&u._f.onChange(e);let C=B(o,v,y),E=!L(C)||S;if(!y&&k.state.next({name:o,type:e.type,values:g(a)}),b)return(D.isValid||O.isValid)&&(t.mode===`onBlur`?y&&P():y||P()),E&&k.state.next({name:o,...S?{}:C});if(!y&&S&&k.state.next({...n}),t.resolver){let{errors:e}=await U([o]);if(F([o]),p(v),c){let t=xe(n.errors,r,o),i=xe(e,r,t.name||o);s=i.error,o=i.name,l=L(e)}}else F([o],!0),s=(await De(u,f.disabled,a,A,t.shouldUseNativeValidation))[o],F([o]),p(v),c&&(s?l=!1:(D.isValid||O.isValid)&&(l=await W(r,!0)));c&&(u._f.deps&&(!Array.isArray(u._f.deps)||u._f.deps.length>0)&&$(u._f.deps),V(o,l,s,C))}},Q=(e,t)=>{if(x(n.errors,t)&&e.focus)return e.focus(),1},$=async(e,i={})=>{let a,o,s=I(e);if(t.resolver){let t=await de(v(e)?e:s);a=L(t),o=e?!s.some(e=>x(t,e)):a}else e?(o=(await Promise.all(s.map(async e=>{let t=x(r,e);return await W(t&&t._f?{[e]:t}:t)}))).every(Boolean),!(!o&&!n.isValid)&&P()):o=a=await W(r);return k.state.next({...!j(e)||(D.isValid||O.isValid)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},errors:n.errors}),i.shouldFocus&&!o&&J(r,Q,e?s:f.mount),o},Ae=(e,t)=>{let r={...l.mount?a:i};return t&&(r=ne(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),v(e)?r:j(e)?x(r,e):e.map(e=>x(r,e))},je=(e,t)=>({invalid:!!x((t||n).errors,e),isDirty:!!x((t||n).dirtyFields,e),error:x((t||n).errors,e),isValidating:!!x(n.validatingFields,e),isTouched:!!x((t||n).touchedFields,e)}),Me=e=>{e&&I(e).forEach(e=>z(n.errors,e)),k.state.next({errors:e?n.errors:{}})},Ne=(e,t,i)=>{let a=(x(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,...l}=x(n.errors,e)||{};w(n.errors,e,{...l,...t,ref:a}),k.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},Pe=(e,t)=>C(e)?k.state.subscribe({next:n=>`values`in n&&e(K(void 0,t),n)}):K(e,t,!0),Fe=e=>k.state.subscribe({next:t=>{Ce(e.name,t.name,e.exact)&&Se(t,e.formState||D,qe,e.reRenderRoot)&&e.callback({values:{...a},...n,...t,defaultValues:i})}}).unsubscribe,Ie=e=>(l.mount=!0,O={...O,...e.formState},Fe({...e,formState:{...b,...e.formState}})),Le=(e,o={})=>{for(let s of e?I(e):f.mount)f.mount.delete(s),f.array.delete(s),o.keepValue||(z(r,s),z(a,s)),!o.keepError&&z(n.errors,s),!o.keepDirty&&z(n.dirtyFields,s),!o.keepTouched&&z(n.touchedFields,s),!o.keepIsValidating&&z(n.validatingFields,s),!t.shouldUnregister&&!o.keepDefaultValue&&z(i,s);k.state.next({values:g(a)}),k.state.next({...n,...o.keepDirty?{isDirty:G()}:{}}),!o.keepIsValid&&P()},Re=({disabled:e,name:t})=>{if(S(e)&&l.mount||e||f.disabled.has(t)){let n=f.disabled.has(t)!==!!e;e?f.disabled.add(t):f.disabled.delete(t),n&&l.mount&&!l.action&&P()}},ze=(e,n={})=>{let a=x(r,e),o=S(n.disabled)||S(t.disabled);return w(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),f.mount.add(e),a?Re({disabled:S(n.disabled)?n.disabled:t.disabled,name:e}):ue(e,!0,n.value),{...o?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:q(n.min),max:q(n.max),minLength:q(n.minLength),maxLength:q(n.maxLength),pattern:q(n.pattern)}:{},name:e,onChange:ke,onBlur:ke,ref:o=>{if(o){ze(e,n),a=x(r,e);let t=v(o.value)&&o.querySelectorAll&&o.querySelectorAll(`input,select,textarea`)[0]||o,s=oe(t),c=a._f.refs||[];if(s?c.find(e=>e===t):t===a._f.ref)return;w(r,e,{_f:{...a._f,...s?{refs:[...c.filter(se),t,...Array.isArray(x(i,e))?[{}]:[]],ref:{type:t.type,name:e}}:{ref:t}}}),ue(e,!1,void 0,t)}else a=x(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(p(f.array,e)&&l.action)&&f.unMount.add(e)}}},Be=()=>t.shouldFocusError&&J(r,Q,f.mount),Ve=e=>{S(e)&&(k.state.next({disabled:e}),J(r,(t,n)=>{let i=x(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},He=(e,i)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=g(a);if(k.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await U();F(),n.errors=e,c=g(t)}else await W(r);if(f.disabled.size)for(let e of f.disabled)z(c,e);if(z(n.errors,`root`),L(n.errors)){k.state.next({errors:{}});try{await e(c,o)}catch(e){s=e}}else i&&await i({...n.errors},o),Be(),setTimeout(Be);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:L(n.errors)&&!s,submitCount:n.submitCount+1,errors:n.errors}),s)throw s},Ue=(e,t={})=>{x(r,e)&&(v(t.defaultValue)?Z(e,g(x(i,e))):(Z(e,t.defaultValue),w(i,e,g(t.defaultValue))),t.keepTouched||z(n.touchedFields,e),t.keepDirty||(z(n.dirtyFields,e),n.isDirty=t.defaultValue?G(e,g(x(i,e))):G()),t.keepError||(z(n.errors,e),D.isValid&&P()),k.state.next({...n}))},We=(e,o={})=>{let s=e?g(e):i,c=g(s),u=L(e),d=u?i:c;if(o.keepDefaultValues||(i=s),!o.keepValues){if(o.keepDirtyValues){let e=new Set([...f.mount,...Object.keys(H(i,a))]);for(let t of Array.from(e)){let e=x(n.dirtyFields,t),r=x(a,t),i=x(d,t);e&&!v(r)?w(d,t,r):!e&&!v(i)&&Z(t,i)}}else{if(h&&v(e))for(let e of f.mount){let t=x(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(R(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(o.keepFieldsRef)for(let e of f.mount)Z(e,x(d,e));else r={}}a=t.shouldUnregister?o.keepDefaultValues?g(i):{}:g(d),k.array.next({values:{...d}}),k.state.next({values:{...d}})}f={mount:o.keepDirtyValues?f.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},l.mount=!D.isValid||!!o.keepIsValid||!!o.keepDirtyValues||!t.shouldUnregister&&!L(d),l.watch=!!t.shouldUnregister,l.keepIsValid=!!o.keepIsValid,l.action=!1,o.keepErrors||(n.errors={}),k.state.next({submitCount:o.keepSubmitCount?n.submitCount:0,isDirty:u?!1:o.keepDirty?n.isDirty:!!(o.keepDefaultValues&&!N(e,i)),isSubmitted:o.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:u?{}:o.keepDirtyValues?o.keepDefaultValues&&a?H(i,a):n.dirtyFields:o.keepDefaultValues&&e?H(i,e):o.keepDirty?n.dirtyFields:{},touchedFields:o.keepTouched?n.touchedFields:{},errors:o.keepErrors?n.errors:{},isSubmitSuccessful:o.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},Ge=(e,n)=>We(C(e)?e(a):e,{...t.resetOptions,...n}),Ke=(e,t={})=>{let n=x(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&C(e.select)&&e.select()})}},qe=e=>{n={...n,...e}},Je={control:{register:ze,unregister:Le,getFieldState:je,handleSubmit:He,setError:Ne,_subscribe:Fe,_runSchema:U,_updateIsValidating:F,_focusError:Be,_getWatch:K,_getDirty:G,_setValid:P,_setFieldArray:ae,_setDisabledField:Re,_setErrors:le,_getFieldArray:_e,_reset:We,_resetDefaultValues:()=>C(t.defaultValues)&&t.defaultValues().then(e=>{Ge(e,t.resetOptions),k.state.next({isLoading:!1})}),_removeUnmounted:pe,_disableForm:Ve,_subjects:k,_proxyFormState:D,get _fields(){return r},get _formValues(){return a},get _state(){return l},set _state(e){l=e},get _defaultValues(){return i},get _names(){return f},set _names(e){f=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e}}},subscribe:Ie,trigger:$,register:ze,handleSubmit:He,watch:Pe,setValue:Z,getValues:Ae,reset:Ge,resetField:Ue,clearErrors:Me,unregister:Le,setError:Ne,setFocus:Ke,getFieldState:je};return{...Je,formControl:Je}}function ke(e={}){let t=a.useRef(void 0),n=a.useRef(void 0),[r,i]=a.useState({isDirty:!1,isValidating:!1,isLoading:C(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:C(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!C(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...i}=Z(e);t.current={...i,formState:r}}let o=t.current.control;return o._options=e,A(()=>{let e=o._subscribe({formState:o._proxyFormState,callback:()=>i({...o._formState}),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),o._formState.isReady=!0,e},[o]),a.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),a.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),a.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),a.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),a.useEffect(()=>{if(o._proxyFormState.isDirty){let e=o._getDirty();e!==r.isDirty&&o._subjects.state.next({isDirty:e})}},[o,r.isDirty]),a.useEffect(()=>{e.values&&!N(e.values,n.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),o._options.resetOptions?.keepIsValid||o._setValid(),n.current=e.values,i(e=>({...e}))):o._resetDefaultValues()},[o,e.values]),a.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=a.useMemo(()=>k(r,o),[o,r]),t.current}var Q=(e,t,n)=>{if(e&&`reportValidity`in e){let r=x(n,t);e.setCustomValidity(r&&r.message||``),e.reportValidity()}},$=(e,t)=>{for(let n in t.fields){let r=t.fields[n];r&&r.ref&&`reportValidity`in r.ref?Q(r.ref,n,e):r&&r.refs&&r.refs.forEach(t=>Q(t,n,e))}},Ae=(e,t)=>{t.shouldUseNativeValidation&&$(e,t);let n={};for(let r in e){let i=x(t.fields,r),a=Object.assign(e[r]||{},{ref:i&&i.ref});if(je(t.names||Object.keys(e),r)){let e=Object.assign({},x(n,r));w(e,`root`,a),w(n,r,e)}else w(n,r,a)}return n},je=(e,t)=>{let n=Me(t);return e.some(e=>Me(e).match(`^${n}\\.\\d+`))};function Me(e){return e.replace(/\]|\[/g,``)}function Ne(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function Pe(e,t){for(var n={};e.length;){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(`unionErrors`in r){var s=r.unionErrors[0].errors[0];n[o]={message:s.message,type:s.code}}else n[o]={message:a,type:i};if(`unionErrors`in r&&r.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=F(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()}return n}function Fe(e,t){for(var n={};e.length;){var r=e[0],i=r.code,a=r.message,o=r.path.join(`.`);if(!n[o])if(r.code===`invalid_union`&&r.errors.length>0){var s=r.errors[0][0];n[o]={message:s.message,type:s.code}}else n[o]={message:a,type:i};if(r.code===`invalid_union`&&r.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=F(o,t,n,i,l?[].concat(l,r.message):r.message)}e.shift()}return n}function Ie(e,t,a){if(a===void 0&&(a={}),function(e){return`_def`in e&&typeof e._def==`object`&&`typeName`in e._def}(e))return function(n,r,i){try{return Promise.resolve(Ne(function(){return Promise.resolve(e[a.mode===`sync`?`parse`:`parseAsync`](n,t)).then(function(e){return i.shouldUseNativeValidation&&$({},i),{errors:{},values:a.raw?Object.assign({},n):e}})},function(e){if(function(e){return Array.isArray(e?.issues)}(e))return{values:{},errors:Ae(Pe(e.errors,!i.shouldUseNativeValidation&&i.criteriaMode===`all`),i)};throw e}))}catch(e){return Promise.reject(e)}};if(function(e){return`_zod`in e&&typeof e._zod==`object`}(e))return function(o,s,c){try{return Promise.resolve(Ne(function(){return Promise.resolve((a.mode===`sync`?i:n)(e,o,t)).then(function(e){return c.shouldUseNativeValidation&&$({},c),{errors:{},values:a.raw?Object.assign({},o):e}})},function(e){if(function(e){return e instanceof r}(e))return{values:{},errors:Ae(Fe(e.issues,!c.shouldUseNativeValidation&&c.criteriaMode===`all`),c)};throw e}))}catch(e){return Promise.reject(e)}};throw Error(`Invalid input: not a Zod schema`)}export{ke as n,Ie as t};
|
|
@@ -18,28 +18,28 @@
|
|
|
18
18
|
}
|
|
19
19
|
})();
|
|
20
20
|
</script>
|
|
21
|
-
<script type="module" crossorigin src="/assets/index-
|
|
21
|
+
<script type="module" crossorigin src="/assets/index-C9VlNdd_.js"></script>
|
|
22
22
|
<link rel="modulepreload" crossorigin href="/assets/jsx-runtime-DG_AJzB_.js">
|
|
23
23
|
<link rel="modulepreload" crossorigin href="/assets/useRouterState-DpT8luFk.js">
|
|
24
24
|
<link rel="modulepreload" crossorigin href="/assets/link-Cgvqhh5w.js">
|
|
25
25
|
<link rel="modulepreload" crossorigin href="/assets/matchContext-CDajBC0L.js">
|
|
26
26
|
<link rel="modulepreload" crossorigin href="/assets/api-base-url-DIb6qukm.js">
|
|
27
|
-
<link rel="modulepreload" crossorigin href="/assets/api-client-
|
|
28
|
-
<link rel="modulepreload" crossorigin href="/assets/app-routes-
|
|
29
|
-
<link rel="modulepreload" crossorigin href="/assets/auth-client-
|
|
30
|
-
<link rel="modulepreload" crossorigin href="/assets/query-timing-
|
|
31
|
-
<link rel="modulepreload" crossorigin href="/assets/organization-query-keys-
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/assets/api-client-Tmtae0wC.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="/assets/app-routes-BJtCemWJ.js">
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/auth-client-CVsUOxFj.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="/assets/query-timing-CO3WQkW1.js">
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/assets/organization-query-keys-DLHrXHGP.js">
|
|
32
32
|
<link rel="modulepreload" crossorigin href="/assets/utils-C8DGLIgm.js">
|
|
33
33
|
<link rel="modulepreload" crossorigin href="/assets/compiler-runtime-DCc3R3Xn.js">
|
|
34
34
|
<link rel="modulepreload" crossorigin href="/assets/createReactComponent-_L2mp4Ui.js">
|
|
35
|
-
<link rel="modulepreload" crossorigin href="/assets/useBaseUiId-
|
|
36
|
-
<link rel="modulepreload" crossorigin href="/assets/getDisabledMountTransitionStyles-
|
|
37
|
-
<link rel="modulepreload" crossorigin href="/assets/query-
|
|
38
|
-
<link rel="modulepreload" crossorigin href="/assets/queryOptions-
|
|
39
|
-
<link rel="modulepreload" crossorigin href="/assets/schemas-
|
|
40
|
-
<link rel="modulepreload" crossorigin href="/assets/src-
|
|
41
|
-
<link rel="modulepreload" crossorigin href="/assets/organization-permissions-
|
|
42
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
35
|
+
<link rel="modulepreload" crossorigin href="/assets/useBaseUiId-BCer0ph2.js">
|
|
36
|
+
<link rel="modulepreload" crossorigin href="/assets/getDisabledMountTransitionStyles-C-jmk481.js">
|
|
37
|
+
<link rel="modulepreload" crossorigin href="/assets/query-C1n0RfvA.js">
|
|
38
|
+
<link rel="modulepreload" crossorigin href="/assets/queryOptions-DgMxBJDn.js">
|
|
39
|
+
<link rel="modulepreload" crossorigin href="/assets/schemas-BwLRjo3Z.js">
|
|
40
|
+
<link rel="modulepreload" crossorigin href="/assets/src-8B8fN55i.js">
|
|
41
|
+
<link rel="modulepreload" crossorigin href="/assets/organization-permissions-CW7dzzFM.js">
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B4OsjuJp.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="root"></div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE "data_sources" DROP COLUMN "use_as_data_source";
|