@sapienx/agentos 0.1.8 → 0.1.9
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/bundle/.next/BUILD_ID +1 -1
- package/bundle/.next/app-path-routes-manifest.json +14 -12
- package/bundle/.next/build-manifest.json +6 -6
- package/bundle/.next/prerender-manifest.json +3 -3
- package/bundle/.next/required-server-files.json +18 -6
- package/bundle/.next/routes-manifest.json +17 -0
- package/bundle/.next/server/app/_global-error/page.js +32 -3
- package/bundle/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/bundle/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/_global-error.html +1 -2
- package/bundle/.next/server/app/_global-error.rsc +15 -11
- package/bundle/.next/server/app/_global-error.segments/_full.segment.rsc +15 -11
- package/bundle/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/bundle/.next/server/app/_global-error.segments/_global-error.segment.rsc +4 -3
- package/bundle/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/bundle/.next/server/app/_global-error.segments/_index.segment.rsc +4 -3
- package/bundle/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/bundle/.next/server/app/_not-found/page.js +2 -2
- package/bundle/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/bundle/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/_not-found.html +1 -1
- package/bundle/.next/server/app/_not-found.rsc +14 -12
- package/bundle/.next/server/app/_not-found.segments/_full.segment.rsc +14 -12
- package/bundle/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/bundle/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
- package/bundle/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/bundle/.next/server/app/_not-found.segments/_not-found.segment.rsc +4 -3
- package/bundle/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/bundle/.next/server/app/api/agents/route.js +1 -1
- package/bundle/.next/server/app/api/agents/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/diagnostics/route.js +1 -1
- package/bundle/.next/server/app/api/diagnostics/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/diagnostics/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/files/reveal/route.js +1 -1
- package/bundle/.next/server/app/api/files/reveal/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/files/reveal/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/gateway/control/route.js +1 -1
- package/bundle/.next/server/app/api/gateway/control/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/gateway/control/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/mission/route.js +1 -1
- package/bundle/.next/server/app/api/mission/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/mission/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/models/providers/route.js +2 -2
- package/bundle/.next/server/app/api/models/providers/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/models/providers/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/onboarding/models/route.js +2 -2
- package/bundle/.next/server/app/api/onboarding/models/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/onboarding/models/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/onboarding/route.js +2 -2
- package/bundle/.next/server/app/api/onboarding/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/onboarding/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/deploy/route.js +2 -2
- package/bundle/.next/server/app/api/planner/[planId]/deploy/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/deploy/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/document-rewrite/route.js +1 -0
- package/bundle/.next/server/app/api/planner/[planId]/document-rewrite/route.js.nft.json +1 -0
- package/bundle/.next/server/app/api/planner/[planId]/document-rewrite/route_client-reference-manifest.js +1 -0
- package/bundle/.next/server/app/api/planner/[planId]/route.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/simulate/route.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/simulate/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/simulate/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/turn/route.js +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/turn/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/planner/[planId]/turn/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/planner/route.js +1 -1
- package/bundle/.next/server/app/api/planner/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/planner/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/reset/route.js +2 -2
- package/bundle/.next/server/app/api/reset/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/reset/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/runtimes/[runtimeId]/route.js +1 -1
- package/bundle/.next/server/app/api/runtimes/[runtimeId]/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/runtimes/[runtimeId]/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/settings/gateway/route.js +1 -1
- package/bundle/.next/server/app/api/settings/gateway/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/settings/gateway/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/settings/workspace-root/route.js +1 -1
- package/bundle/.next/server/app/api/settings/workspace-root/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/settings/workspace-root/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/snapshot/route.js +1 -1
- package/bundle/.next/server/app/api/snapshot/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/snapshot/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/stream/route.js +2 -2
- package/bundle/.next/server/app/api/stream/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/stream/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/system/open-terminal/route.js +1 -1
- package/bundle/.next/server/app/api/system/open-terminal/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/system/open-terminal/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/tasks/[taskId]/abort/route.js +1 -1
- package/bundle/.next/server/app/api/tasks/[taskId]/abort/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/tasks/[taskId]/abort/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/tasks/[taskId]/stream/route.js +2 -2
- package/bundle/.next/server/app/api/tasks/[taskId]/stream/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/tasks/[taskId]/stream/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/update/route.js +2 -2
- package/bundle/.next/server/app/api/update/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/api/workspaces/[workspaceId]/edit-draft/route.js +1 -0
- package/bundle/.next/server/app/api/workspaces/[workspaceId]/edit-draft/route.js.nft.json +1 -0
- package/bundle/.next/server/app/api/workspaces/[workspaceId]/edit-draft/route_client-reference-manifest.js +1 -0
- package/bundle/.next/server/app/api/workspaces/route.js +2 -2
- package/bundle/.next/server/app/api/workspaces/route.js.nft.json +1 -1
- package/bundle/.next/server/app/api/workspaces/route_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app/page.js +163 -12
- package/bundle/.next/server/app/page.js.nft.json +1 -1
- package/bundle/.next/server/app/page_client-reference-manifest.js +1 -1
- package/bundle/.next/server/app-paths-manifest.json +14 -12
- package/bundle/.next/server/chunks/212.js +98 -0
- package/bundle/.next/server/chunks/35.js +45 -0
- package/bundle/.next/server/chunks/408.js +18 -0
- package/bundle/.next/server/chunks/49.js +250 -0
- package/bundle/.next/server/chunks/{350.js → 661.js} +1 -1
- package/bundle/.next/server/chunks/678.js +1 -0
- package/bundle/.next/server/chunks/825.js +1 -0
- package/bundle/.next/server/functions-config-manifest.json +3 -1
- package/bundle/.next/server/middleware-build-manifest.js +1 -1
- package/bundle/.next/server/pages/404.html +1 -1
- package/bundle/.next/server/pages/500.html +1 -2
- package/bundle/.next/server/prefetch-hints.json +1 -0
- package/bundle/.next/server/server-reference-manifest.json +1 -1
- package/bundle/.next/static/GiI1KbaEnOWQ2uB6c5S7l/_buildManifest.js +1 -0
- package/bundle/.next/static/chunks/424-90a1df1753670aa3.js +32 -0
- package/bundle/.next/static/chunks/4a846800-6992bfdb6d680e8c.js +1 -0
- package/bundle/.next/static/chunks/583-20f3363124499c5d.js +1 -0
- package/bundle/.next/static/chunks/805-27fb5cc3e5bbb716.js +15 -0
- package/bundle/.next/static/chunks/app/_global-error/{page-75723f28c245a30d.js → page-e372189c79e963a1.js} +1 -1
- package/bundle/.next/static/chunks/app/_not-found/{page-75723f28c245a30d.js → page-e372189c79e963a1.js} +1 -1
- package/bundle/.next/static/chunks/app/api/agents/{route-75723f28c245a30d.js → route-e372189c79e963a1.js} +1 -1
- package/bundle/.next/static/chunks/app/api/diagnostics/{route-75723f28c245a30d.js → route-e372189c79e963a1.js} +1 -1
- package/bundle/.next/static/chunks/app/api/files/reveal/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/gateway/control/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/mission/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/models/providers/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/onboarding/models/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/onboarding/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/planner/[planId]/deploy/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/planner/[planId]/document-rewrite/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/planner/[planId]/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/planner/[planId]/simulate/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/planner/[planId]/turn/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/planner/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/reset/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/runtimes/[runtimeId]/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/settings/gateway/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/settings/workspace-root/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/snapshot/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/stream/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/system/open-terminal/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/tasks/[taskId]/abort/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/tasks/[taskId]/stream/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/update/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/workspaces/[workspaceId]/edit-draft/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/api/workspaces/route-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/layout-f64f74d82381e703.js +1 -0
- package/bundle/.next/static/chunks/app/not-found-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/app/page-f4845e91032a411f.js +163 -0
- package/bundle/.next/static/chunks/f6503f1c-76bd524eece75922.js +1 -0
- package/bundle/.next/static/chunks/framework-3804ea39af33aa2e.js +1 -0
- package/bundle/.next/static/chunks/main-28f7be32434a5aa2.js +5 -0
- package/bundle/.next/static/chunks/main-app-5eca1027f109d5af.js +1 -0
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/app-error-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/forbidden-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/global-error-e382d739d625239d.js +1 -0
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e372189c79e963a1.js +1 -0
- package/bundle/.next/static/chunks/webpack-5bdc2ea2996939e4.js +1 -0
- package/bundle/.next/static/css/de551c93149758e0.css +3 -0
- package/bundle/node_modules/@next/env/package.json +1 -1
- package/bundle/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
- package/bundle/node_modules/next/dist/build/analysis/extract-const-value.js +78 -63
- package/bundle/node_modules/next/dist/build/analysis/get-page-static-info.js +64 -40
- package/bundle/node_modules/next/dist/build/create-compiler-aliases.js +2 -0
- package/bundle/node_modules/next/dist/build/define-env.js +29 -11
- package/bundle/node_modules/next/dist/build/duration-to-string.js +1 -1
- package/bundle/node_modules/next/dist/build/entries.js +55 -295
- package/bundle/node_modules/next/dist/build/file-classifier.js +76 -0
- package/bundle/node_modules/next/dist/build/get-supported-browsers.js +38 -0
- package/bundle/node_modules/next/dist/build/load-jsconfig.js +7 -7
- package/bundle/node_modules/next/dist/build/lockfile.js +90 -9
- package/bundle/node_modules/next/dist/build/next-config-ts/transpile-config.js +128 -49
- package/bundle/node_modules/next/dist/build/print-build-errors.js +72 -0
- package/bundle/node_modules/next/dist/build/route-discovery.js +353 -0
- package/bundle/node_modules/next/dist/build/segment-config/app/app-segment-config.js +34 -17
- package/bundle/node_modules/next/dist/build/static-paths/app.js +68 -15
- package/bundle/node_modules/next/dist/build/static-paths/pages.js +3 -3
- package/bundle/node_modules/next/dist/build/swc/index.js +125 -48
- package/bundle/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
- package/bundle/node_modules/next/dist/build/swc/options.js +23 -6
- package/bundle/node_modules/next/dist/build/utils.js +48 -94
- package/bundle/node_modules/next/dist/build/webpack/config/blocks/css/index.js +14 -3
- package/bundle/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +4 -2
- package/bundle/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +4 -2
- package/bundle/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +1 -0
- package/bundle/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +5 -5
- package/bundle/node_modules/next/dist/build/webpack/config/index.js +3 -2
- package/bundle/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +2 -1
- package/bundle/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +8 -1
- package/bundle/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +13 -4
- package/bundle/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +3 -1
- package/bundle/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +2 -16
- package/bundle/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +2 -2
- package/bundle/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +106 -0
- package/bundle/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +16 -8
- package/bundle/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +24 -11
- package/bundle/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +21 -2
- package/bundle/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +6 -5
- package/bundle/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +10 -14
- package/bundle/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +18 -4
- package/bundle/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +5 -4
- package/bundle/node_modules/next/dist/build/webpack-config.js +18 -8
- package/bundle/node_modules/next/dist/cli/next-test.js +4 -3
- package/bundle/node_modules/next/dist/client/app-find-source-map-url.js +2 -1
- package/bundle/node_modules/next/dist/client/components/app-router-headers.js +10 -0
- package/bundle/node_modules/next/dist/client/components/app-router-instance.js +82 -4
- package/bundle/node_modules/next/dist/client/components/app-router.js +39 -20
- package/bundle/node_modules/next/dist/client/components/builtin/app-error.js +29 -65
- package/bundle/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
- package/bundle/node_modules/next/dist/client/components/builtin/global-error.js +56 -38
- package/bundle/node_modules/next/dist/client/components/error-boundary.js +16 -6
- package/bundle/node_modules/next/dist/client/components/forbidden.js +1 -1
- package/bundle/node_modules/next/dist/client/components/handle-isr-error.js +3 -4
- package/bundle/node_modules/next/dist/client/components/links.js +7 -0
- package/bundle/node_modules/next/dist/client/components/navigation-untracked.js +2 -0
- package/bundle/node_modules/next/dist/client/components/navigation.js +27 -0
- package/bundle/node_modules/next/dist/client/components/navigation.react-server.js +5 -2
- package/bundle/node_modules/next/dist/client/components/not-found.js +1 -1
- package/bundle/node_modules/next/dist/client/components/redirect-boundary.js +1 -1
- package/bundle/node_modules/next/dist/client/components/redirect-error.js +0 -9
- package/bundle/node_modules/next/dist/client/components/redirect.js +2 -2
- package/bundle/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +73 -0
- package/bundle/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +102 -8
- package/bundle/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +165 -48
- package/bundle/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +19 -11
- package/bundle/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +669 -457
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +19 -20
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +5 -117
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +34 -19
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +16 -32
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +85 -57
- package/bundle/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +12 -10
- package/bundle/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +10 -1
- package/bundle/node_modules/next/dist/client/components/router-reducer/router-reducer.js +1 -1
- package/bundle/node_modules/next/dist/client/components/segment-cache/bfcache.js +128 -0
- package/bundle/node_modules/next/dist/client/components/segment-cache/cache.js +732 -231
- package/bundle/node_modules/next/dist/client/components/segment-cache/lru.js +13 -6
- package/bundle/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
- package/bundle/node_modules/next/dist/client/components/segment-cache/navigation.js +388 -250
- package/bundle/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
- package/bundle/node_modules/next/dist/client/components/segment-cache/scheduler.js +154 -55
- package/bundle/node_modules/next/dist/client/components/segment-cache/vary-path.js +63 -1
- package/bundle/node_modules/next/dist/client/components/unauthorized.js +1 -1
- package/bundle/node_modules/next/dist/client/components/use-action-queue.js +49 -3
- package/bundle/node_modules/next/dist/client/dev/hot-reloader/app/hot-reloader-app.js +9 -1
- package/bundle/node_modules/next/dist/client/flight-data-helpers.js +42 -29
- package/bundle/node_modules/next/dist/client/lib/javascript-url.js +32 -0
- package/bundle/node_modules/next/dist/client/lib/promise.js +53 -0
- package/bundle/node_modules/next/dist/client/{app-build-id.js → navigation-build-id.js} +17 -13
- package/bundle/node_modules/next/dist/client/react-client-callbacks/on-recoverable-error.js +14 -0
- package/bundle/node_modules/next/dist/client/route-loader.js +9 -46
- package/bundle/node_modules/next/dist/client/router.js +1 -1
- package/bundle/node_modules/next/dist/compiled/@next/font/dist/google/font-data.json +74 -3
- package/bundle/node_modules/next/dist/compiled/babel/bundle.js +1 -1
- package/bundle/node_modules/next/dist/compiled/babel-packages/packages-bundle.js +4 -4
- package/bundle/node_modules/next/dist/compiled/browserslist/index.js +1 -1
- package/bundle/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
- package/bundle/node_modules/next/dist/compiled/next-devtools/index.js +2209 -23
- package/bundle/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +42 -12
- package/bundle/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +42 -12
- package/bundle/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +42 -12
- package/bundle/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +42 -12
- package/bundle/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
- package/bundle/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +10 -10
- package/bundle/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +10 -10
- package/bundle/node_modules/next/dist/compiled/react-is/package.json +1 -1
- package/bundle/node_modules/next/dist/compiled/tar/index.min.js +1 -0
- package/bundle/node_modules/next/dist/compiled/tar/package.json +1 -1
- package/bundle/node_modules/next/dist/compiled/unistore/unistore.js +1 -1
- package/bundle/node_modules/next/dist/lib/bundler.js +97 -0
- package/bundle/node_modules/next/dist/lib/constants.js +19 -4
- package/bundle/node_modules/next/dist/lib/download-swc.js +2 -2
- package/bundle/node_modules/next/dist/lib/find-root.js +11 -7
- package/bundle/node_modules/next/dist/lib/format-server-error.js +1 -0
- package/bundle/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +3 -20
- package/bundle/node_modules/next/dist/lib/interop-default.js +1 -0
- package/bundle/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
- package/bundle/node_modules/next/dist/lib/load-custom-routes.js +49 -5
- package/bundle/node_modules/next/dist/lib/memory/trace.js +109 -0
- package/bundle/node_modules/next/dist/lib/metadata/get-metadata-route.js +11 -2
- package/bundle/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
- package/bundle/node_modules/next/dist/lib/patch-incorrect-lockfile.js +5 -5
- package/bundle/node_modules/next/dist/lib/try-to-parse-path.js +1 -2
- package/bundle/node_modules/next/dist/lib/turbopack-warning.js +0 -1
- package/bundle/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +6 -3
- package/bundle/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +1 -1
- package/bundle/node_modules/next/dist/lib/typescript/missingDependencyError.js +1 -1
- package/bundle/node_modules/next/dist/lib/typescript/runTypeCheck.js +6 -8
- package/bundle/node_modules/next/dist/lib/typescript/type-paths.js +7 -12
- package/bundle/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +17 -7
- package/bundle/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +9 -12
- package/bundle/node_modules/next/dist/lib/verify-typescript-setup.js +66 -16
- package/bundle/node_modules/next/dist/next-devtools/server/shared.js +6 -10
- package/bundle/node_modules/next/dist/next-devtools/shared/webpack-module-path.js +4 -4
- package/bundle/node_modules/next/dist/next-devtools/userspace/app/app-dev-overlay-error-boundary.js +22 -4
- package/bundle/node_modules/next/dist/next-devtools/userspace/app/errors/stitched-error.js +7 -1
- package/bundle/node_modules/next/dist/next-devtools/userspace/app/forward-logs.js +18 -13
- package/bundle/node_modules/next/dist/next-devtools/userspace/app/segment-explorer-node.js +7 -4
- package/bundle/node_modules/next/dist/server/app-render/action-handler.js +83 -15
- package/bundle/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +0 -82
- package/bundle/node_modules/next/dist/server/app-render/app-render-render-utils.js +45 -81
- package/bundle/node_modules/next/dist/server/app-render/app-render.js +1746 -803
- package/bundle/node_modules/next/dist/server/app-render/create-component-tree.js +136 -50
- package/bundle/node_modules/next/dist/server/app-render/create-error-handler.js +6 -4
- package/bundle/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +52 -26
- package/bundle/node_modules/next/dist/server/app-render/csrf-protection.js +14 -3
- package/bundle/node_modules/next/dist/server/app-render/debug-channel-server.js +30 -0
- package/bundle/node_modules/next/dist/server/app-render/debug-channel-server.web.js +71 -0
- package/bundle/node_modules/next/dist/server/app-render/dynamic-rendering.js +353 -37
- package/bundle/node_modules/next/dist/server/app-render/get-asset-query-string.js +2 -2
- package/bundle/node_modules/next/dist/server/app-render/get-layer-assets.js +1 -1
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
- package/bundle/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
- package/bundle/node_modules/next/dist/server/app-render/manifests-singleton.js +8 -1
- package/bundle/node_modules/next/dist/server/app-render/postponed-state.js +2 -1
- package/bundle/node_modules/next/dist/server/app-render/prospective-render-utils.js +1 -0
- package/bundle/node_modules/next/dist/server/app-render/segment-explorer-path.js +35 -10
- package/bundle/node_modules/next/dist/server/app-render/staged-rendering.js +142 -72
- package/bundle/node_modules/next/dist/server/app-render/stale-time.js +111 -0
- package/bundle/node_modules/next/dist/server/app-render/stream-ops.js +106 -0
- package/bundle/node_modules/next/dist/server/app-render/stream-ops.web.js +163 -0
- package/bundle/node_modules/next/dist/server/app-render/types.js +10 -4
- package/bundle/node_modules/next/dist/server/app-render/use-flight-response.js +3 -1
- package/bundle/node_modules/next/dist/server/app-render/vary-params.js +336 -0
- package/bundle/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +59 -12
- package/bundle/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +54 -26
- package/bundle/node_modules/next/dist/server/async-storage/request-store.js +4 -4
- package/bundle/node_modules/next/dist/server/async-storage/work-store.js +2 -5
- package/bundle/node_modules/next/dist/server/base-server.js +65 -53
- package/bundle/node_modules/next/dist/server/config-schema.js +93 -8
- package/bundle/node_modules/next/dist/server/config-shared.js +57 -7
- package/bundle/node_modules/next/dist/server/config.js +96 -25
- package/bundle/node_modules/next/dist/server/dev/browser-logs/file-logger.js +9 -6
- package/bundle/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +46 -0
- package/bundle/node_modules/next/dist/server/dev/browser-logs/source-map.js +1 -4
- package/bundle/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +264 -33
- package/bundle/node_modules/next/dist/server/dev/hot-reloader-webpack.js +8 -4
- package/bundle/node_modules/next/dist/server/dev/log-requests.js +10 -2
- package/bundle/node_modules/next/dist/server/dev/middleware-turbopack.js +20 -10
- package/bundle/node_modules/next/dist/server/dev/middleware-webpack.js +13 -3
- package/bundle/node_modules/next/dist/server/dev/next-dev-server.js +19 -6
- package/bundle/node_modules/next/dist/server/dev/on-demand-entry-handler.js +69 -0
- package/bundle/node_modules/next/dist/server/dev/require-cache.js +51 -21
- package/bundle/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
- package/bundle/node_modules/next/dist/server/dev/static-paths-worker.js +1 -0
- package/bundle/node_modules/next/dist/server/dev/turbopack-utils.js +6 -15
- package/bundle/node_modules/next/dist/server/dynamic-rendering-utils.js +22 -0
- package/bundle/node_modules/next/dist/server/image-optimizer.js +157 -27
- package/bundle/node_modules/next/dist/server/lib/app-info-log.js +16 -38
- package/bundle/node_modules/next/dist/server/lib/cache-control.js +1 -1
- package/bundle/node_modules/next/dist/server/lib/clone-response.js +16 -16
- package/bundle/node_modules/next/dist/server/lib/cpu-profile.js +47 -16
- package/bundle/node_modules/next/dist/server/lib/dev-bundler-service.js +2 -2
- package/bundle/node_modules/next/dist/server/lib/disk-lru-cache.external.js +57 -0
- package/bundle/node_modules/next/dist/server/lib/find-page-file.js +27 -7
- package/bundle/node_modules/next/dist/server/lib/implicit-tags.js +3 -3
- package/bundle/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +5 -3
- package/bundle/node_modules/next/dist/server/lib/incremental-cache/index.js +32 -10
- package/bundle/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +18 -1
- package/bundle/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
- package/bundle/node_modules/next/dist/server/lib/lru-cache.js +9 -1
- package/bundle/node_modules/next/dist/server/lib/patch-fetch.js +40 -7
- package/bundle/node_modules/next/dist/server/lib/postponed-request-body.js +64 -0
- package/bundle/node_modules/next/dist/server/lib/render-server.js +4 -1
- package/bundle/node_modules/next/dist/server/lib/router-server.js +24 -13
- package/bundle/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
- package/bundle/node_modules/next/dist/server/lib/router-utils/filesystem.js +16 -15
- package/bundle/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +32 -11
- package/bundle/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +3 -3
- package/bundle/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.js +71 -71
- package/bundle/node_modules/next/dist/server/lib/router-utils/typegen.js +247 -2
- package/bundle/node_modules/next/dist/server/lib/server-ipc/utils.js +2 -1
- package/bundle/node_modules/next/dist/server/lib/start-server.js +73 -39
- package/bundle/node_modules/next/dist/server/lib/trace/tracer.js +11 -1
- package/bundle/node_modules/next/dist/server/lib/utils.js +40 -11
- package/bundle/node_modules/next/dist/server/load-components.js +2 -0
- package/bundle/node_modules/next/dist/server/load-manifest.external.js +37 -17
- package/bundle/node_modules/next/dist/server/mcp/tools/get-errors.js +11 -4
- package/bundle/node_modules/next/dist/server/mcp/tools/get-logs.js +9 -3
- package/bundle/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +52 -44
- package/bundle/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +6 -2
- package/bundle/node_modules/next/dist/server/mcp/tools/get-routes.js +44 -79
- package/bundle/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +12 -4
- package/bundle/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +62 -72
- package/bundle/node_modules/next/dist/server/next-server.js +69 -99
- package/bundle/node_modules/next/dist/server/next.js +3 -0
- package/bundle/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +61 -6
- package/bundle/node_modules/next/dist/server/node-environment-extensions/date.js +4 -4
- package/bundle/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +13 -6
- package/bundle/node_modules/next/dist/server/node-environment-extensions/{utils.js → io-utils.js} +14 -5
- package/bundle/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +8 -8
- package/bundle/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
- package/bundle/node_modules/next/dist/server/node-environment-extensions/random.js +2 -2
- package/bundle/node_modules/next/dist/server/node-environment-extensions/{unhandled-rejection.js → unhandled-rejection.external.js} +23 -4
- package/bundle/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +3 -3
- package/bundle/node_modules/next/dist/server/node-environment.js +1 -1
- package/bundle/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +2 -1
- package/bundle/node_modules/next/dist/server/patch-error-inspect.js +37 -20
- package/bundle/node_modules/next/dist/server/render-result.js +9 -0
- package/bundle/node_modules/next/dist/server/render.js +27 -25
- package/bundle/node_modules/next/dist/server/require-hook.js +19 -8
- package/bundle/node_modules/next/dist/server/response-cache/utils.js +1 -0
- package/bundle/node_modules/next/dist/server/resume-data-cache/cache-store.js +35 -23
- package/bundle/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +16 -7
- package/bundle/node_modules/next/dist/server/revalidation-utils.js +12 -7
- package/bundle/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +2 -1
- package/bundle/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +4 -1
- package/bundle/node_modules/next/dist/server/route-modules/app-page/module.js +31 -1
- package/bundle/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
- package/bundle/node_modules/next/dist/server/route-modules/pages/pages-handler.js +31 -8
- package/bundle/node_modules/next/dist/server/route-modules/route-module.js +71 -18
- package/bundle/node_modules/next/dist/server/stream-utils/encoded-tags.js +8 -0
- package/bundle/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +239 -58
- package/bundle/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +7 -2
- package/bundle/node_modules/next/dist/server/typescript/constant.js +1 -0
- package/bundle/node_modules/next/dist/server/typescript/rules/config.js +14 -3
- package/bundle/node_modules/next/dist/server/web/adapter.js +7 -3
- package/bundle/node_modules/next/dist/server/web/next-url.js +6 -2
- package/bundle/node_modules/next/dist/server/web/sandbox/sandbox.js +3 -0
- package/bundle/node_modules/next/dist/shared/lib/app-router-types.js +30 -11
- package/bundle/node_modules/next/dist/shared/lib/constants.js +7 -7
- package/bundle/node_modules/next/dist/shared/lib/deployment-id.js +37 -10
- package/bundle/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/bundle/node_modules/next/dist/shared/lib/errors/code-frame.js +20 -0
- package/bundle/node_modules/next/dist/shared/lib/format-webpack-messages.js +22 -2
- package/bundle/node_modules/next/dist/shared/lib/image-config.js +3 -1
- package/bundle/node_modules/next/dist/shared/lib/is-internal.js +2 -0
- package/bundle/node_modules/next/dist/shared/lib/magic-identifier.js +6 -6
- package/bundle/node_modules/next/dist/shared/lib/router/router.js +32 -0
- package/bundle/node_modules/next/dist/shared/lib/router/utils/app-paths.js +11 -0
- package/bundle/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +11 -4
- package/bundle/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +3 -2
- package/bundle/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +9 -2
- package/bundle/node_modules/next/dist/shared/lib/router/utils/parse-url.js +8 -2
- package/bundle/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
- package/bundle/node_modules/next/dist/shared/lib/server-reference-info.js +4 -0
- package/bundle/node_modules/next/dist/shared/lib/size-limit.js +6 -1
- package/bundle/node_modules/next/dist/shared/lib/turbopack/compilation-events.js +47 -10
- package/bundle/node_modules/next/dist/shared/lib/turbopack/manifest-loader.js +90 -116
- package/bundle/node_modules/next/dist/shared/lib/turbopack/utils.js +14 -26
- package/bundle/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
- package/bundle/node_modules/next/dist/shared/lib/utils.js +2 -2
- package/bundle/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/bundle/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/bundle/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/bundle/node_modules/next/dist/trace/index.js +4 -0
- package/bundle/node_modules/next/dist/trace/report/to-json-build.js +11 -108
- package/bundle/node_modules/next/dist/trace/report/to-json.js +52 -38
- package/bundle/node_modules/next/dist/trace/trace.js +15 -1
- package/bundle/node_modules/next/package.json +21 -23
- package/bundle/node_modules/react/cjs/react.development.js +1284 -0
- package/bundle/package.json +2 -2
- package/bundle/server.js +1 -1
- package/package.json +1 -1
- package/bundle/.next/server/chunks/31.js +0 -1
- package/bundle/.next/server/chunks/419.js +0 -249
- package/bundle/.next/server/chunks/463.js +0 -13
- package/bundle/.next/server/chunks/603.js +0 -91
- package/bundle/.next/server/chunks/709.js +0 -22
- package/bundle/.next/server/chunks/957.js +0 -1
- package/bundle/.next/static/chunks/26-8f7c2b7e8773b4cb.js +0 -2
- package/bundle/.next/static/chunks/273-31916bcd40e3f381.js +0 -1
- package/bundle/.next/static/chunks/474f1956-ebf51c0dd00ff236.js +0 -1
- package/bundle/.next/static/chunks/4a846800-817e4d43c6c4047f.js +0 -1
- package/bundle/.next/static/chunks/878-919c758aa9e87b6d.js +0 -13
- package/bundle/.next/static/chunks/app/api/files/reveal/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/gateway/control/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/mission/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/models/providers/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/onboarding/models/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/onboarding/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/planner/[planId]/deploy/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/planner/[planId]/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/planner/[planId]/simulate/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/planner/[planId]/turn/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/planner/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/reset/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/runtimes/[runtimeId]/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/settings/gateway/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/settings/workspace-root/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/snapshot/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/stream/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/system/open-terminal/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/tasks/[taskId]/abort/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/tasks/[taskId]/stream/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/update/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/api/workspaces/route-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/layout-6c2c9cd9b518452f.js +0 -1
- package/bundle/.next/static/chunks/app/not-found-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/app/page-dee040e8fa0bfe5c.js +0 -14
- package/bundle/.next/static/chunks/framework-56f40d86ebc2172f.js +0 -1
- package/bundle/.next/static/chunks/main-app-245e6e74e3ad1df9.js +0 -1
- package/bundle/.next/static/chunks/main-f015e68ea54ff136.js +0 -5
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/app-error-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/forbidden-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/global-error-62eeb2b37b76f847.js +0 -1
- package/bundle/.next/static/chunks/next/dist/client/components/builtin/unauthorized-75723f28c245a30d.js +0 -1
- package/bundle/.next/static/chunks/webpack-032b5b42e067a790.js +0 -1
- package/bundle/.next/static/css/665b6d1d1e231c6e.css +0 -3
- package/bundle/.next/static/dMZieB6mihw477BgExG8r/_buildManifest.js +0 -1
- package/bundle/node_modules/next/dist/client/components/router-reducer/handle-mutable.js +0 -66
- package/bundle/node_modules/next/dist/compiled/babel/code-frame.js +0 -1
- package/bundle/node_modules/next/dist/compiled/babel-code-frame/index.js +0 -1
- package/bundle/node_modules/next/dist/compiled/babel-code-frame/package.json +0 -1
- package/bundle/node_modules/next/dist/compiled/tar/index.js +0 -1
- package/bundle/node_modules/next/dist/server/app-render/staged-validation.js +0 -32
- package/bundle/node_modules/next/dist/server/lib/router-utils/block-cross-site.js +0 -76
- package/bundle/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js +0 -52
- package/bundle/node_modules/typescript/lib/typescript.js +0 -200276
- package/bundle/node_modules/typescript/package.json +0 -120
- /package/bundle/.next/static/{dMZieB6mihw477BgExG8r → GiI1KbaEnOWQ2uB6c5S7l}/_ssgManifest.js +0 -0
package/bundle/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"date-fns": "^4.1.0",
|
|
29
29
|
"lucide-react": "^0.511.0",
|
|
30
30
|
"motion": "^12.7.4",
|
|
31
|
-
"next": "^16.
|
|
31
|
+
"next": "^16.2.0",
|
|
32
32
|
"react": "^19.0.0",
|
|
33
33
|
"react-dom": "^19.0.0",
|
|
34
34
|
"sonner": "^2.0.3",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@types/react-dom": "^19.0.4",
|
|
42
42
|
"autoprefixer": "^10.4.20",
|
|
43
43
|
"eslint": "^9.22.0",
|
|
44
|
-
"eslint-config-next": "^16.
|
|
44
|
+
"eslint-config-next": "^16.2.0",
|
|
45
45
|
"postcss": "^8.5.3",
|
|
46
46
|
"tailwindcss": "^3.4.17",
|
|
47
47
|
"tailwindcss-animate": "^1.0.7",
|
package/bundle/server.js
CHANGED
|
@@ -9,7 +9,7 @@ const currentPort = parseInt(process.env.PORT, 10) || 3000
|
|
|
9
9
|
const hostname = process.env.HOSTNAME || '0.0.0.0'
|
|
10
10
|
|
|
11
11
|
let keepAliveTimeout = parseInt(process.env.KEEP_ALIVE_TIMEOUT, 10)
|
|
12
|
-
const nextConfig = {"env":{},"webpack":null,"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.mjs","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/Users/kazimakgul/Documents/GitHub/AgentOS","cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"dynamicOnHover":false,"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":9,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptSkipMetadata":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"viewTransition":false,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":false,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":
|
|
12
|
+
const nextConfig = {"env":{},"webpack":null,"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.mjs","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":false,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/Users/kazimakgul/Documents/GitHub/AgentOS","cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"appNewScrollHandler":false,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":false,"partialFallbacks":false,"dynamicOnHover":false,"varyParams":false,"prefetchInlining":false,"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":9,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"imgOptSkipMetadata":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"viewTransition":false,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":false,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"proxyClientMaxBodySize":10485760,"hideLogsAfterAbort":false,"mcpServer":true,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":false,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","optimizePackageImports":["lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.mjs","turbopack":{"root":"/Users/kazimakgul/Documents/GitHub/AgentOS"},"distDirRoot":".next"}
|
|
13
13
|
|
|
14
14
|
process.env.__NEXT_PRIVATE_STANDALONE_CONFIG = JSON.stringify(nextConfig)
|
|
15
15
|
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=31,exports.ids=[31],exports.modules={8031:(a,b,c)=>{c.d(b,{l$:()=>u,oR:()=>q});var d=c(636),e=c(1309);let f=Array(12).fill(0),g=({visible:a,className:b})=>d.createElement("div",{className:["sonner-loading-wrapper",b].filter(Boolean).join(" "),"data-visible":a},d.createElement("div",{className:"sonner-spinner"},f.map((a,b)=>d.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${b}`})))),h=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),i=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),j=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),k=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),l=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},d.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),d.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),m=1;class n{constructor(){this.subscribe=a=>(this.subscribers.push(a),()=>{let b=this.subscribers.indexOf(a);this.subscribers.splice(b,1)}),this.publish=a=>{this.subscribers.forEach(b=>b(a))},this.addToast=a=>{this.publish(a),this.toasts=[...this.toasts,a]},this.create=a=>{var b;let{message:c,...d}=a,e="number"==typeof(null==a?void 0:a.id)||(null==(b=a.id)?void 0:b.length)>0?a.id:m++,f=this.toasts.find(a=>a.id===e),g=void 0===a.dismissible||a.dismissible;return this.dismissedToasts.has(e)&&this.dismissedToasts.delete(e),f?this.toasts=this.toasts.map(b=>b.id===e?(this.publish({...b,...a,id:e,title:c}),{...b,...a,id:e,dismissible:g,title:c}):b):this.addToast({title:c,...d,dismissible:g,id:e}),e},this.dismiss=a=>(a?(this.dismissedToasts.add(a),requestAnimationFrame(()=>this.subscribers.forEach(b=>b({id:a,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(b=>b({id:a.id,dismiss:!0}))}),a),this.message=(a,b)=>this.create({...b,message:a}),this.error=(a,b)=>this.create({...b,message:a,type:"error"}),this.success=(a,b)=>this.create({...b,type:"success",message:a}),this.info=(a,b)=>this.create({...b,type:"info",message:a}),this.warning=(a,b)=>this.create({...b,type:"warning",message:a}),this.loading=(a,b)=>this.create({...b,type:"loading",message:a}),this.promise=(a,b)=>{let c,e;if(!b)return;void 0!==b.loading&&(e=this.create({...b,promise:a,type:"loading",message:b.loading,description:"function"!=typeof b.description?b.description:void 0}));let f=Promise.resolve(a instanceof Function?a():a),g=void 0!==e,h=f.then(async a=>{if(c=["resolve",a],d.isValidElement(a))g=!1,this.create({id:e,type:"default",message:a});else if(p(a)&&!a.ok){g=!1;let c="function"==typeof b.error?await b.error(`HTTP error! status: ${a.status}`):b.error,f="function"==typeof b.description?await b.description(`HTTP error! status: ${a.status}`):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"error",description:f,...h})}else if(a instanceof Error){g=!1;let c="function"==typeof b.error?await b.error(a):b.error,f="function"==typeof b.description?await b.description(a):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"error",description:f,...h})}else if(void 0!==b.success){g=!1;let c="function"==typeof b.success?await b.success(a):b.success,f="function"==typeof b.description?await b.description(a):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"success",description:f,...h})}}).catch(async a=>{if(c=["reject",a],void 0!==b.error){g=!1;let c="function"==typeof b.error?await b.error(a):b.error,f="function"==typeof b.description?await b.description(a):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"error",description:f,...h})}}).finally(()=>{g&&(this.dismiss(e),e=void 0),null==b.finally||b.finally.call(b)}),i=()=>new Promise((a,b)=>h.then(()=>"reject"===c[0]?b(c[1]):a(c[1])).catch(b));return"string"!=typeof e&&"number"!=typeof e?{unwrap:i}:Object.assign(e,{unwrap:i})},this.custom=(a,b)=>{let c=(null==b?void 0:b.id)||m++;return this.create({jsx:a(c),id:c,...b}),c},this.getActiveToasts=()=>this.toasts.filter(a=>!this.dismissedToasts.has(a.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}let o=new n,p=a=>a&&"object"==typeof a&&"ok"in a&&"boolean"==typeof a.ok&&"status"in a&&"number"==typeof a.status,q=Object.assign((a,b)=>{let c=(null==b?void 0:b.id)||m++;return o.addToast({title:a,...b,id:c}),c},{success:o.success,info:o.info,warning:o.warning,error:o.error,custom:o.custom,message:o.message,promise:o.promise,dismiss:o.dismiss,loading:o.loading},{getHistory:()=>o.toasts,getToasts:()=>o.getActiveToasts()});function r(a){return void 0!==a.label}function s(...a){return a.filter(Boolean).join(" ")}!function(a){if(!a||"u"<typeof document)return;let b=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",b.appendChild(c),c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(a))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let t=a=>{var b,c,e,f,m,n,o,p,q,t,u,v,w;let{invert:x,toast:y,unstyled:z,interacting:A,setHeights:B,visibleToasts:C,heights:D,index:E,toasts:F,expanded:G,removeToast:H,defaultRichColors:I,closeButton:J,style:K,cancelButtonStyle:L,actionButtonStyle:M,className:N="",descriptionClassName:O="",duration:P,position:Q,gap:R,expandByDefault:S,classNames:T,icons:U,closeButtonAriaLabel:V="Close toast"}=a,[W,X]=d.useState(null),[Y,Z]=d.useState(null),[$,_]=d.useState(!1),[aa,ab]=d.useState(!1),[ac,ad]=d.useState(!1),[ae,af]=d.useState(!1),[ag,ah]=d.useState(!1),[ai,aj]=d.useState(0),[ak,al]=d.useState(0),am=d.useRef(y.duration||P||4e3),an=d.useRef(null),ao=d.useRef(null),ap=0===E,aq=E+1<=C,ar=y.type,as=!1!==y.dismissible,at=y.className||"",au=y.descriptionClassName||"",av=d.useMemo(()=>D.findIndex(a=>a.toastId===y.id)||0,[D,y.id]),aw=d.useMemo(()=>{var a;return null!=(a=y.closeButton)?a:J},[y.closeButton,J]),ax=d.useMemo(()=>y.duration||P||4e3,[y.duration,P]),ay=d.useRef(0),az=d.useRef(0),aA=d.useRef(0),aB=d.useRef(null),[aC,aD]=Q.split("-"),aE=d.useMemo(()=>D.reduce((a,b,c)=>c>=av?a:a+b.height,0),[D,av]),aF=(()=>{let[a,b]=d.useState(document.hidden);return d.useEffect(()=>{let a=()=>{b(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),a})(),aG=y.invert||x,aH="loading"===ar;az.current=d.useMemo(()=>av*R+aE,[av,aE]),d.useEffect(()=>{am.current=ax},[ax]),d.useEffect(()=>{_(!0)},[]),d.useEffect(()=>{let a=ao.current;if(a){let b=a.getBoundingClientRect().height;return al(b),B(a=>[{toastId:y.id,height:b,position:y.position},...a]),()=>B(a=>a.filter(a=>a.toastId!==y.id))}},[B,y.id]),d.useLayoutEffect(()=>{if(!$)return;let a=ao.current,b=a.style.height;a.style.height="auto";let c=a.getBoundingClientRect().height;a.style.height=b,al(c),B(a=>a.find(a=>a.toastId===y.id)?a.map(a=>a.toastId===y.id?{...a,height:c}:a):[{toastId:y.id,height:c,position:y.position},...a])},[$,y.title,y.description,B,y.id,y.jsx,y.action,y.cancel]);let aI=d.useCallback(()=>{ab(!0),aj(az.current),B(a=>a.filter(a=>a.toastId!==y.id)),setTimeout(()=>{H(y)},200)},[y,H,B,az]);d.useEffect(()=>{let a;if((!y.promise||"loading"!==ar)&&y.duration!==1/0&&"loading"!==y.type){if(G||A||aF){if(aA.current<ay.current){let a=new Date().getTime()-ay.current;am.current=am.current-a}aA.current=new Date().getTime()}else am.current!==1/0&&(ay.current=new Date().getTime(),a=setTimeout(()=>{null==y.onAutoClose||y.onAutoClose.call(y,y),aI()},am.current));return()=>clearTimeout(a)}},[G,A,y,ar,aF,aI]),d.useEffect(()=>{y.delete&&(aI(),null==y.onDismiss||y.onDismiss.call(y,y))},[aI,y.delete]);let aJ=y.icon||(null==U?void 0:U[ar])||(a=>{switch(a){case"success":return h;case"info":return j;case"warning":return i;case"error":return k;default:return null}})(ar);return d.createElement("li",{tabIndex:0,ref:ao,className:s(N,at,null==T?void 0:T.toast,null==y||null==(b=y.classNames)?void 0:b.toast,null==T?void 0:T.default,null==T?void 0:T[ar],null==y||null==(c=y.classNames)?void 0:c[ar]),"data-sonner-toast":"","data-rich-colors":null!=(t=y.richColors)?t:I,"data-styled":!(y.jsx||y.unstyled||z),"data-mounted":$,"data-promise":!!y.promise,"data-swiped":ag,"data-removed":aa,"data-visible":aq,"data-y-position":aC,"data-x-position":aD,"data-index":E,"data-front":ap,"data-swiping":ac,"data-dismissible":as,"data-type":ar,"data-invert":aG,"data-swipe-out":ae,"data-swipe-direction":Y,"data-expanded":!!(G||S&&$),"data-testid":y.testId,style:{"--index":E,"--toasts-before":E,"--z-index":F.length-E,"--offset":`${aa?ai:az.current}px`,"--initial-height":S?"auto":`${ak}px`,...K,...y.style},onDragEnd:()=>{ad(!1),X(null),aB.current=null},onPointerDown:a=>{2===a.button||aH||!as||(an.current=new Date,aj(az.current),a.target.setPointerCapture(a.pointerId),"BUTTON"!==a.target.tagName&&(ad(!0),aB.current={x:a.clientX,y:a.clientY}))},onPointerUp:()=>{var a,b,c,d,e;if(ae||!as)return;aB.current=null;let f=Number((null==(a=ao.current)?void 0:a.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),g=Number((null==(b=ao.current)?void 0:b.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),h=new Date().getTime()-(null==(c=an.current)?void 0:c.getTime()),i="x"===W?f:g,j=Math.abs(i)/h;if(Math.abs(i)>=45||j>.11){aj(az.current),null==y.onDismiss||y.onDismiss.call(y,y),"x"===W?Z(f>0?"right":"left"):Z(g>0?"down":"up"),aI(),af(!0);return}null==(d=ao.current)||d.style.setProperty("--swipe-amount-x","0px"),null==(e=ao.current)||e.style.setProperty("--swipe-amount-y","0px"),ah(!1),ad(!1),X(null)},onPointerMove:b=>{var c,d,e,f;if(!aB.current||!as||(null==(c=window.getSelection())?void 0:c.toString().length)>0)return;let g=b.clientY-aB.current.y,h=b.clientX-aB.current.x,i=null!=(f=a.swipeDirections)?f:function(a){let[b,c]=a.split("-"),d=[];return b&&d.push(b),c&&d.push(c),d}(Q);!W&&(Math.abs(h)>1||Math.abs(g)>1)&&X(Math.abs(h)>Math.abs(g)?"x":"y");let j={x:0,y:0},k=a=>1/(1.5+Math.abs(a)/20);if("y"===W){if(i.includes("top")||i.includes("bottom"))if(i.includes("top")&&g<0||i.includes("bottom")&&g>0)j.y=g;else{let a=g*k(g);j.y=Math.abs(a)<Math.abs(g)?a:g}}else if("x"===W&&(i.includes("left")||i.includes("right")))if(i.includes("left")&&h<0||i.includes("right")&&h>0)j.x=h;else{let a=h*k(h);j.x=Math.abs(a)<Math.abs(h)?a:h}(Math.abs(j.x)>0||Math.abs(j.y)>0)&&ah(!0),null==(d=ao.current)||d.style.setProperty("--swipe-amount-x",`${j.x}px`),null==(e=ao.current)||e.style.setProperty("--swipe-amount-y",`${j.y}px`)}},aw&&!y.jsx&&"loading"!==ar?d.createElement("button",{"aria-label":V,"data-disabled":aH,"data-close-button":!0,onClick:aH||!as?()=>{}:()=>{aI(),null==y.onDismiss||y.onDismiss.call(y,y)},className:s(null==T?void 0:T.closeButton,null==y||null==(e=y.classNames)?void 0:e.closeButton)},null!=(u=null==U?void 0:U.close)?u:l):null,(ar||y.icon||y.promise)&&null!==y.icon&&((null==U?void 0:U[ar])!==null||y.icon)?d.createElement("div",{"data-icon":"",className:s(null==T?void 0:T.icon,null==y||null==(f=y.classNames)?void 0:f.icon)},y.promise||"loading"===y.type&&!y.icon?y.icon||((null==U?void 0:U.loading)?d.createElement("div",{className:s(null==T?void 0:T.loader,null==y||null==(w=y.classNames)?void 0:w.loader,"sonner-loader"),"data-visible":"loading"===ar},U.loading):d.createElement(g,{className:s(null==T?void 0:T.loader,null==y||null==(v=y.classNames)?void 0:v.loader),visible:"loading"===ar})):null,"loading"!==y.type?aJ:null):null,d.createElement("div",{"data-content":"",className:s(null==T?void 0:T.content,null==y||null==(m=y.classNames)?void 0:m.content)},d.createElement("div",{"data-title":"",className:s(null==T?void 0:T.title,null==y||null==(n=y.classNames)?void 0:n.title)},y.jsx?y.jsx:"function"==typeof y.title?y.title():y.title),y.description?d.createElement("div",{"data-description":"",className:s(O,au,null==T?void 0:T.description,null==y||null==(o=y.classNames)?void 0:o.description)},"function"==typeof y.description?y.description():y.description):null),d.isValidElement(y.cancel)?y.cancel:y.cancel&&r(y.cancel)?d.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||L,onClick:a=>{!r(y.cancel)||as&&(null==y.cancel.onClick||y.cancel.onClick.call(y.cancel,a),aI())},className:s(null==T?void 0:T.cancelButton,null==y||null==(p=y.classNames)?void 0:p.cancelButton)},y.cancel.label):null,d.isValidElement(y.action)?y.action:y.action&&r(y.action)?d.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||M,onClick:a=>{!r(y.action)||(null==y.action.onClick||y.action.onClick.call(y.action,a),a.defaultPrevented||aI())},className:s(null==T?void 0:T.actionButton,null==y||null==(q=y.classNames)?void 0:q.actionButton)},y.action.label):null)},u=d.forwardRef(function(a,b){let{id:c,invert:f,position:g="bottom-right",hotkey:h=["altKey","KeyT"],expand:i,closeButton:j,className:k,offset:l,mobileOffset:m,theme:n="light",richColors:p,duration:q,style:r,visibleToasts:s=3,toastOptions:u,dir:v="ltr",gap:w=14,icons:x,containerAriaLabel:y="Notifications"}=a,[z,A]=d.useState([]),B=d.useMemo(()=>c?z.filter(a=>a.toasterId===c):z.filter(a=>!a.toasterId),[z,c]),C=d.useMemo(()=>Array.from(new Set([g].concat(B.filter(a=>a.position).map(a=>a.position)))),[B,g]),[D,E]=d.useState([]),[F,G]=d.useState(!1),[H,I]=d.useState(!1),[J,K]=d.useState("system"!==n?n:"light"),L=d.useRef(null),M=h.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=d.useRef(null),O=d.useRef(!1),P=d.useCallback(a=>{A(b=>{var c;return(null==(c=b.find(b=>b.id===a.id))?void 0:c.delete)||o.dismiss(a.id),b.filter(({id:b})=>b!==a.id)})},[]);return d.useEffect(()=>o.subscribe(a=>{a.dismiss?requestAnimationFrame(()=>{A(b=>b.map(b=>b.id===a.id?{...b,delete:!0}:b))}):setTimeout(()=>{e.flushSync(()=>{A(b=>{let c=b.findIndex(b=>b.id===a.id);return -1!==c?[...b.slice(0,c),{...b[c],...a},...b.slice(c+1)]:[a,...b]})})})}),[z]),d.useEffect(()=>{"system"!==n?K(n):"system"===n&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light"))},[n]),d.useEffect(()=>{z.length<=1&&G(!1)},[z]),d.useEffect(()=>{let a=a=>{var b,c;h.every(b=>a[b]||a.code===b)&&(G(!0),null==(c=L.current)||c.focus()),"Escape"===a.code&&(document.activeElement===L.current||(null==(b=L.current)?void 0:b.contains(document.activeElement)))&&G(!1)};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[h]),d.useEffect(()=>{if(L.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,O.current=!1)}},[L.current]),d.createElement("section",{ref:b,"aria-label":`${y} ${M}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map((b,c)=>{var e;let g,[h,n]=b.split("-");return B.length?d.createElement("ol",{key:b,dir:"auto"===v?"ltr":v,tabIndex:-1,ref:L,className:k,"data-sonner-toaster":!0,"data-sonner-theme":J,"data-y-position":h,"data-x-position":n,style:{"--front-toast-height":`${(null==(e=D[0])?void 0:e.height)||0}px`,"--width":"356px","--gap":`${w}px`,...r,...(g={},[l,m].forEach((a,b)=>{let c=1===b,d=c?"--mobile-offset":"--offset",e=c?"16px":"24px";function f(a){["top","right","bottom","left"].forEach(b=>{g[`${d}-${b}`]="number"==typeof a?`${a}px`:a})}"number"==typeof a||"string"==typeof a?f(a):"object"==typeof a?["top","right","bottom","left"].forEach(b=>{void 0===a[b]?g[`${d}-${b}`]=e:g[`${d}-${b}`]="number"==typeof a[b]?`${a[b]}px`:a[b]}):f(e)}),g)},onBlur:a=>{O.current&&!a.currentTarget.contains(a.relatedTarget)&&(O.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:a=>{!(a.target instanceof HTMLElement&&"false"===a.target.dataset.dismissible)&&(O.current||(O.current=!0,N.current=a.relatedTarget))},onMouseEnter:()=>G(!0),onMouseMove:()=>G(!0),onMouseLeave:()=>{H||G(!1)},onDragEnd:()=>G(!1),onPointerDown:a=>{a.target instanceof HTMLElement&&"false"===a.target.dataset.dismissible||I(!0)},onPointerUp:()=>I(!1)},B.filter(a=>!a.position&&0===c||a.position===b).map((c,e)=>{var g,h;return d.createElement(t,{key:c.id,icons:x,index:e,toast:c,defaultRichColors:p,duration:null!=(g=null==u?void 0:u.duration)?g:q,className:null==u?void 0:u.className,descriptionClassName:null==u?void 0:u.descriptionClassName,invert:f,visibleToasts:s,closeButton:null!=(h=null==u?void 0:u.closeButton)?h:j,interacting:H,position:b,style:null==u?void 0:u.style,unstyled:null==u?void 0:u.unstyled,classNames:null==u?void 0:u.classNames,cancelButtonStyle:null==u?void 0:u.cancelButtonStyle,actionButtonStyle:null==u?void 0:u.actionButtonStyle,closeButtonAriaLabel:null==u?void 0:u.closeButtonAriaLabel,removeToast:P,toasts:B.filter(a=>a.position==c.position),heights:D.filter(a=>a.position==c.position),setHeights:E,expandByDefault:i,gap:w,expanded:F,swipeDirections:a.swipeDirections})})):null}))})}};
|