panoma 0.10.1 → 0.10.2
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/app/BUILD-INFO.json +2 -2
- package/app/apps/web/.next-bundle/BUILD_ID +1 -1
- package/app/apps/web/.next-bundle/app-build-manifest.json +336 -336
- package/app/apps/web/.next-bundle/app-path-routes-manifest.json +45 -45
- package/app/apps/web/.next-bundle/build-manifest.json +3 -3
- package/app/apps/web/.next-bundle/prerender-manifest.json +3 -3
- package/app/apps/web/.next-bundle/required-server-files.json +3 -3
- package/app/apps/web/.next-bundle/server/app/(app)/agents/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/agents/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/ai/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/ai/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/apps/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/apps/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/bridge/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/bridge/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/copies/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/copies/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/credentials/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/credentials/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/disk/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/disk/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/handoff/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/handoff/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/hidden/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/hidden/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/packages/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/packages/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/runs/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/runs/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/search/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/search/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/spend/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/spend/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/twin/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/twin/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/_not-found/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/accounts/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/accounts/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/apps/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/apps/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/consult/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/consult/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/context/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/context/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/hello/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/hello/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/journal/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/journal/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/keys/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/keys/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/log/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/log/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/notes/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/notes/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/video/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/video/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/ai/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/ai/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assets/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assets/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assignments/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assignments/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/catalog/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/catalog/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/check/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/check/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/consultations/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/consultations/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/describe/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/describe/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/disk/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/disk/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/enrich/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/enrich/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/environment/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/environment/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/record/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/record/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/handoff/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/hooks/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/hooks/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/ingest/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/ingest/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/apply/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/apply/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/context/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/context/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/inspect/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/inspect/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/repair/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/repair/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/review/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/md/review/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/memory/export/route.js +2 -2
- package/app/apps/web/.next-bundle/server/app/api/memory/export/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/north/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/north/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/notes/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/notes/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/open/all/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/open/all/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/open/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/open/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/project/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/project/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/rescan/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/rescan/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/roots/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/roots/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/runs/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/runs/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/scale/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/scale/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/search/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/secrets/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/secrets/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/spend/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/spend/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/tasks/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/tasks/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/today/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/today/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/assign/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/assign/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/classify/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/classify/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/critique/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/critique/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/design/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/design/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/distill/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/distill/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/look/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/look/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/mine/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/mine/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/score/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/score/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/shot/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/shot/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/sources/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/sources/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/taste/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/taste/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/watch/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/watch/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/apple-icon.png/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/icon/[id]/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/icon/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/icon.png/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app-paths-manifest.json +45 -45
- package/app/apps/web/.next-bundle/server/chunks/1454.js +2 -0
- package/app/apps/web/.next-bundle/server/chunks/1646.js +5 -5
- package/app/apps/web/.next-bundle/server/chunks/2791.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3863.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/6131.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/6206.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/6384.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/7245.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/8463.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/9128.js +1 -1
- package/app/apps/web/.next-bundle/server/functions-config-manifest.json +11 -11
- package/app/apps/web/.next-bundle/server/middleware-build-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/middleware-manifest.json +5 -5
- package/app/apps/web/.next-bundle/server/middleware.js +2 -2
- package/app/apps/web/.next-bundle/server/next-font-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/next-font-manifest.json +1 -1
- package/app/apps/web/.next-bundle/server/pages/500.html +1 -1
- package/app/apps/web/.next-bundle/server/server-reference-manifest.json +1 -1
- package/app/apps/web/.next-bundle/static/chunks/{1369-fb920ad29be2918f.js → 1369-2c988debdc250f63.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/2575-61e3c59775a07058.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2921-abf2bd91adbc76d4.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2948-e207a4e3dee8fa26.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/7f092448-8ec90a5d5349d5de.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/agents/{page-3afe149292dee4cb.js → page-cae57c1555749574.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/ai/{page-4ecef849842c0215.js → page-f63553805baaea0c.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/page-da64889cd7413e00.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/{page-bd093636b54de647.js → page-3cf7accd30ae08c7.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-f1661f3e36e93d98.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-44ebbc5d00245788.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/page-c1d8a21174d6bba2.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/disk/{page-d1b9aa25253546a0.js → page-79c4c0af255ea5db.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/{error-20d26934fcea6996.js → error-bc8b33871ce6ee62.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/handoff/{page-caeb1272bc905425.js → page-41198249f6480477.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-0eec0c39fae7b922.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/{layout-61ec32158b7b0386.js → layout-f4763a241faa2e25.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/{page-4e66f8bbd733f4d8.js → page-bf90188e9460900b.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/{page-ea393b5af74124b8.js → page-8ac2b429692e90c6.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/{page-c14bfd37ecf94790.js → page-a6579330ff0a1c45.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/page-71e91e2f82fbcd0a.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-44ebbc5d00245788.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/search/{page-7f5dd10dd14c3069.js → page-0788d039d155cdf2.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-9b43a28c5537214d.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/look/{page-0d3a90c3dcaaa271.js → page-47bc811a5a4bbed5.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/{page-4040b9fbbbdb6c96.js → page-12d36b362fc4d2d2.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-4bffe36641979e0c.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-44ebbc5d00245788.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/not-found-44ebbc5d00245788.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/main-app-ec5cb301dd9fc61e.js +1 -0
- package/app/apps/web/.next-bundle/static/css/b1d2cc9ccd4e30bf.css +1 -0
- package/app/apps/web/server.js +1 -1
- package/app/node_modules/drizzle-orm/node_modules/.bin/gel +3 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/app/apps/web/.next-bundle/server/chunks/3904.js +0 -2
- package/app/apps/web/.next-bundle/server/chunks/6393.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/2575-99d85f1074e44653.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/2921-92c9a83559025278.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/2948-db3dde2d3c76f184.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/7f092448-875cfd730dc78b44.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/page-17367d7f0718d9c3.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-6326cc50e994047a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-d88bc2305712e08e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/page-c889987f707634f7.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-fdc07e400a6c28f2.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/page-dad4f70f6abc8ead.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-d88bc2305712e08e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-1e46fbb47677deaf.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-998202d323b07695.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-d88bc2305712e08e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/not-found-d88bc2305712e08e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/main-app-c9667f88ce212af6.js +0 -1
- package/app/apps/web/.next-bundle/static/css/5fdcdf46b29ffe26.css +0 -1
- /package/app/apps/web/.next-bundle/static/{0vrfPmNlhBe8bulSyjKSh → w6oDX-SYfedAnhX2GThXZ}/_buildManifest.js +0 -0
- /package/app/apps/web/.next-bundle/static/{0vrfPmNlhBe8bulSyjKSh → w6oDX-SYfedAnhX2GThXZ}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2921],{10354:(e,s,t)=>{var a=t(61990);t.o(a,"usePathname")&&t.d(s,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(s,{useSearchParams:function(){return a.useSearchParams}})},56684:(e,s,t)=>{t.d(s,{k5:()=>p});var a=t(32165),l={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=a.createContext&&a.createContext(l),r=["attr","size","title"];function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(null,arguments)}function c(e,s){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);s&&(a=a.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,a)}return t}function o(e){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?c(Object(t),!0).forEach(function(s){var a,l,n;a=e,l=s,n=t[s],(l=function(e){var s=function(e,s){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,s||"default");if("object"!=typeof a)return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(e)}(e,"string");return"symbol"==typeof s?s:s+""}(l))in a?Object.defineProperty(a,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):a[l]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))})}return e}function p(e){return s=>a.createElement(d,i({attr:o({},e.attr)},s),function e(s){return s&&s.map((s,t)=>a.createElement(s.tag,o({key:t},s.attr),e(s.child)))}(e.child))}function d(e){var s=s=>{var t,l=e.attr,n=e.size,c=e.title,p=function(e,s){if(null==e)return{};var t,a,l=function(e,s){if(null==e)return{};var t={};for(var a in e)if(({}).hasOwnProperty.call(e,a)){if(-1!==s.indexOf(a))continue;t[a]=e[a]}return t}(e,s);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)t=n[a],-1===s.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(l[t]=e[t])}return l}(e,r),d=n||s.size||"1em";return s.className&&(t=s.className),e.className&&(t=(t?t+" ":"")+e.className),a.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,l,p,{className:t,style:o(o({color:e.color||s.color},s.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),c&&a.createElement("title",null,c),e.children)};return void 0!==n?a.createElement(n.Consumer,null,e=>s(e)):s(l)}},57776:(e,s,t)=>{t.d(s,{AppDetail:()=>k,uV:()=>x,jY:()=>w});var a=t(38657),l=t(32165),n=t(3043),r=t(9144),i=t(52948),c=t(97234),o=t(76982),p=t(3953),d=t.n(p),u=t(10354);function m(e){var s,t;let{ready:c,project:o,projects:p,loadError:m=!1,step:x}=e,h=(0,r.kj)(),b=(0,u.useRouter)(),j=(0,l.useId)(),[v,g]=(0,l.useTransition)(),[f,N]=(0,l.useState)(null),y=f&&f.queryProject===o?f.slug:null!=o?o:"",k=p.find(e=>e.slug===y),w=!!(y&&!k),C=new Map;for(let e of p)C.set(e.name,(null!=(s=C.get(e.name))?s:0)+1);return(0,a.jsxs)(i.Zp,{as:"section",id:"app-launch",tabIndex:-1,"aria-labelledby":"".concat(j,"-title"),"aria-busy":v||void 0,className:"scroll-mt-[calc(var(--bar-height)+var(--space-4))]",children:[x,(0,a.jsx)("h2",{id:"".concat(j,"-title"),className:"mt-1 text-base font-semibold text-chalk",children:h("apps.launch.title")}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:h("apps.launch.intro")}),m?(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)(i.lZ,{text:h("apps.launch.loadError")}),(0,a.jsx)(i.rA,{tone:"surface",className:"mt-3",type:"button",onClick:function(){g(()=>b.refresh())},busy:v,busyLabel:h("apps.launch.loading"),children:h("apps.retry")})]}):0===p.length?(0,a.jsx)(i.pp,{variant:"bare",className:"mt-4",title:h("apps.launch.empty"),action:(0,a.jsx)(d(),{href:"/",className:"text-xs text-chalk underline underline-offset-4",children:h("apps.launch.catalog")}),children:h("apps.launch.emptyHint")}):(0,a.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,a.jsxs)(i.l6,{label:h("apps.launch.project"),size:"lg",value:null!=(t=null==k?void 0:k.slug)?t:"",disabled:v,"aria-describedby":"".concat(j,"-open-hint").concat(w?" ".concat(j,"-missing"):""),onChange:e=>N({queryProject:o,slug:e.target.value}),children:[(0,a.jsx)("option",{value:"",children:h("apps.launch.choose")}),p.map(e=>{var s;return(0,a.jsx)("option",{value:e.slug,children:(null!=(s=C.get(e.name))?s:0)>1?"".concat(e.name," \xb7 ").concat(e.slug):e.name},e.slug)})]}),w&&(0,a.jsx)("p",{id:"".concat(j,"-missing"),role:"status",className:"text-xs leading-relaxed text-smoke",children:h("apps.launch.missingProject")}),c&&k?(0,a.jsxs)(d(),{href:"/p/".concat(encodeURIComponent(k.slug),"/video"),prefetch:!1,className:"apps-button apps-button-primary gap-2",children:[h("apps.launch.open"),(0,a.jsx)(n.r9I,{className:"size-4","aria-hidden":!0})]}):(0,a.jsxs)(i.rA,{tone:"accent",size:"lg",type:"button",disabled:!0,children:[h("apps.launch.open"),(0,a.jsx)(n.r9I,{className:"size-4","aria-hidden":!0})]}),(0,a.jsx)("p",{id:"".concat(j,"-open-hint"),className:"text-xs leading-relaxed text-smoke",children:h("apps.launch.openHint")})]}),!c&&(0,a.jsxs)("div",{className:"mt-4 border-t border-edge pt-3",children:[(0,a.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:h("apps.launch.setupHint")}),(0,a.jsx)(d(),{href:"#app-requirements",className:"mt-2 inline-block text-xs text-chalk underline underline-offset-4",children:h("apps.launch.setupLink")})]}),(0,a.jsx)("p",{role:"status",className:"sr-only",children:v?h("apps.launch.loading"):""})]})}function x(e){let{error:s}=e,t=(0,r.kj)();if(!s)return null;let l=(0,c.hz)(s),n=l.stage?{...l.vars,stage:t("apps.jobs.stage.".concat(l.stage))}:l.vars;return(0,a.jsxs)("div",{className:"mt-4 rounded border border-edge bg-raised p-3 text-sm",role:"alert",children:[(0,a.jsx)("p",{className:"text-smoke",children:t(l.key,n)}),l.quote&&(0,a.jsx)("blockquote",{className:"mt-1 break-words",children:l.quote})]})}let h={install:"apps.working.install",update:"apps.working.update",browser:"apps.working.browser",doctor:"apps.working.doctor"};function b(e){var s;let{job:t}=e,l=(0,r.kj)();if(!t)return null;let n=(0,c.xK)(t),i="browser"===t.tool&&void 0!==n?l("apps.working.browserPercent",{n:n}):l(null!=(s=h[t.tool])?s:"apps.working.other");return(0,a.jsxs)("div",{className:"mt-3",role:"status","aria-live":"polite",children:[(0,a.jsx)("p",{className:"text-sm text-smoke",children:i}),void 0!==n&&(0,a.jsx)("progress",{className:"mt-2 w-full",max:100,value:n,"aria-label":l("apps.jobs.progress",{n:n})})]})}function j(e){let{n:s,total:t=3}=e,l=(0,r.kj)();return(0,a.jsx)("p",{className:"eyebrow",children:l("apps.stepOf",{n:s,total:t})})}function v(e){var s;let{t,app:l,busy:n,onOperate:r}=e,i=(null==(s=l.npm)?void 0:s.present)===!1;return(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap gap-2",children:[l.version&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"apps-button",disabled:n||i,onClick:()=>r("update"),children:t("apps.update")}),(0,a.jsx)("button",{className:"apps-button",disabled:n,onClick:()=>r(!1===l.enabled?"enable":"disable"),children:t(!1===l.enabled?"apps.enable":"apps.disable")}),l.previousVersion&&(0,a.jsx)("button",{className:"apps-button",disabled:n,onClick:()=>r("rollback"),children:t("apps.rollback")})]}),(0,a.jsx)("button",{className:"apps-button",disabled:n,onClick:()=>r("check"),children:t("apps.check")})]})}function g(e){var s,t,l,n;let{t:r,locale:c,requirement:o,app:p,busy:d,working:u,onOperate:m}=e,x=!0===o.present?"apps.present":!1===o.present?"apps.missing":"apps.unchecked";return(0,a.jsxs)("div",{className:"mt-5 border-t border-edge pt-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",children:r("browser"===o.id?"apps.browser":"apps.ffmpeg")}),(0,a.jsx)(i.vw,{size:"md",tone:o.present?"live":!1===o.present?"idle":"neutral",children:r(x)})]}),(0,a.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:r("browser"===o.id?"apps.browserHint":"apps.ffmpegHint")}),"browser"===o.id?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:r("apps.browserOwnCopy")}),!o.present&&(0,a.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:r("apps.browserConsent",{n:null!=(t=o.approxMB)?t:550})}),(0,a.jsx)("a",{className:"mt-2 inline-block text-sm underline",href:null!=(l=o.termsUrl)?l:"https://www.google.com/chrome/terms/",target:"_blank",rel:"noreferrer",children:r("apps.terms")}),!o.present&&(0,a.jsx)("div",{children:(0,a.jsx)("button",{className:"apps-button mt-3",disabled:d||!p.version,onClick:()=>m("browser"),children:r("apps.download")})}),(0,a.jsx)(b,{job:u})]}):!o.present&&(0,a.jsx)("p",{className:"mt-2 break-words text-sm leading-relaxed text-smoke",children:null!=(n=null==(s=o.install)?void 0:s[c])?n:r("apps.ffmpegInstall")})]})}function f(e){var s;let{t,locale:l,app:n,busy:r,working:o,onOperate:p}=e,d=o&&["install","update","doctor"].includes(o.tool)?o:void 0;return(0,a.jsxs)(i.Zp,{as:"section",id:"app-requirements",tabIndex:-1,"aria-labelledby":"app-requirements-title",className:"scroll-mt-[calc(var(--bar-height)+var(--space-4))]",children:[(0,a.jsx)(j,{n:1}),(0,a.jsx)("h2",{id:"app-requirements-title",className:"mt-1 text-base font-semibold",children:t("apps.requirements")}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:t("apps.setupIntro")}),!n.version&&(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("button",{className:"apps-button apps-button-primary",disabled:r||(null==(s=n.npm)?void 0:s.present)===!1,onClick:()=>p("install"),children:t("apps.install")}),(0,a.jsx)("p",{className:"mt-2 text-xs text-smoke",children:t("apps.installHint")})]}),n.version&&!1===n.enabled&&(0,a.jsx)("button",{className:"apps-button apps-button-primary mt-4",disabled:r,onClick:()=>p("enable"),children:t("apps.enable")}),n.version&&(0,a.jsx)("button",{className:"apps-button mt-3",disabled:r,onClick:()=>p("doctor"),children:t("apps.refreshRequirements")}),(0,a.jsx)(b,{job:d}),n.requirementsAt&&(0,a.jsx)("p",{className:"mt-2 text-xs text-smoke",children:t("apps.checkedAt",{date:new Date(n.requirementsAt).toLocaleString(l)})}),(0,c.CG)(n).map(e=>(0,a.jsx)(g,{t:t,locale:l,requirement:e,app:n,busy:r,working:(null==o?void 0:o.tool)===e.id?o:void 0,onOperate:p},e.id))]})}function N(e){var s,t,n,r,c;let{t:o,locale:p,app:d,busy:u,onOperate:m}=e,[x,h]=(0,l.useState)(!1),b=null!=(n=null==(s=d.space)?void 0:s.dataBytes)?n:0;return(0,a.jsxs)(i.Zp,{as:"section",children:[(0,a.jsx)("h2",{className:"text-base font-semibold",children:o("apps.versions")}),(0,a.jsxs)("div",{className:"mt-3 space-y-2 font-mono text-xs",children:[(0,a.jsx)("p",{children:d.pkg}),(0,a.jsx)("p",{children:o("apps.version",{version:null!=(r=d.version)?r:"—"})}),d.previousVersion&&(0,a.jsx)("p",{children:o("apps.previous",{version:d.previousVersion})}),d.latestVersion&&(0,a.jsx)("p",{children:o("apps.available",{version:d.latestVersion})}),d.registryAt&&(0,a.jsx)("p",{children:o("apps.registryAt",{date:new Date(d.registryAt).toLocaleString(p)})}),d.stagedVersion&&(0,a.jsx)("p",{children:o("apps.staged",{version:d.stagedVersion})}),(0,a.jsx)("p",{children:o("apps.packageSpace",{bytes:(0,i.z3)(null!=(c=null==(t=d.space)?void 0:t.packageBytes)?c:0)})}),(0,a.jsx)("p",{children:o("apps.dataSpace",{bytes:(0,i.z3)(b)})})]}),(0,a.jsx)(v,{t:o,app:d,busy:u,onOperate:m}),d.version&&(0,a.jsx)("button",{className:"apps-button mt-4",disabled:u,onClick:()=>m("uninstall"),children:o("apps.uninstall")}),b>0&&(0,a.jsx)("button",{className:"apps-button mt-3",disabled:u,onClick:()=>h(!0),children:o("apps.clean")}),x&&(0,a.jsxs)("div",{className:"mt-3 rounded border border-edge p-3",children:[(0,a.jsx)("p",{className:"text-sm",children:o("apps.cleanConfirm",{bytes:(0,i.z3)(b)})}),(0,a.jsxs)("div",{className:"mt-3 flex gap-2",children:[(0,a.jsx)("button",{className:"apps-button",disabled:u,onClick:()=>{h(!1),m("clean")},children:o("apps.confirm")}),(0,a.jsx)("button",{className:"apps-button",onClick:()=>h(!1),children:o("apps.cancel")})]})]})]})}function y(e){let{t:s,app:t}=e;return(0,a.jsxs)(i.Zp,{as:"section",children:[(0,a.jsx)("h2",{className:"text-base font-semibold",children:s("apps.legal")}),(0,a.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-smoke",children:s("apps.privacy")}),t.version&&(0,a.jsx)("div",{className:"mt-4 flex gap-4 text-sm",children:["license","notices","codecs"].map(e=>(0,a.jsx)("a",{className:"underline",href:"/api/apps/".concat(t.id,"/legal?document=").concat(e),target:"_blank",rel:"noreferrer",children:s("apps.".concat(e))},e))})]})}function k(e){var s,t,p,d,u,h;let{id:b,project:v,projects:g,projectsError:k}=e,C=(0,r.kj)(),S=(0,r.Ym)(),{app:O,error:P,setError:q,reload:A}=function(e){var s,t;let[a,n]=(0,l.useState)(null),[r,i]=(0,l.useState)(null),o=(0,l.useCallback)(async()=>{try{n(await (0,c.Tl)("/api/apps/".concat(encodeURIComponent(e),"?space=1"))),i(null)}catch(e){i(String(e instanceof Error?e.message:e))}},[e]);(0,l.useEffect)(()=>{o()},[o]);let p=null==a||null==(t=a.jobs)||null==(s=t.find(e=>c.Cn.has(e.status)))?void 0:s.id;return(0,l.useEffect)(()=>{if(!p)return;let e=new AbortController;return(0,c.E4)(p,e.signal,e=>{n(s=>{var t;return s?{...s,jobs:null==(t=s.jobs)?void 0:t.map(s=>s.id===e.id?e:s)}:s}),i(null),c.Cn.has(e.status)||o()},i),()=>e.abort()},[p,o]),{app:a,error:r,setError:i,reload:o}}(b),[E,z]=(0,l.useState)(!1),I=(0,l.useCallback)(async e=>{z(!0),q(null);try{await (0,c.Tl)("/api/apps/".concat(encodeURIComponent(b),"/").concat(e),{}),await A()}catch(e){q(e.message)}finally{z(!1)}},[b,A,q]),T=(0,l.useCallback)(e=>{I(e)},[I]);if(!O)return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x,{error:P}),(0,a.jsx)("p",{className:"mt-6 text-smoke",children:C("apps.loading")}),P&&(0,a.jsx)("button",{className:"apps-button mt-3",onClick:()=>void A(),children:C("apps.retry")})]});let R=E||!!(null==(s=O.jobs)?void 0:s.some(e=>c.Cn.has(e.status))),D=(0,c.Qp)(O),L=(0,c.sk)(O);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("header",{className:"mt-5",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,a.jsx)(n.UW0,{"aria-hidden":!0,className:"h-16 w-16 shrink-0 text-accent"}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"eyebrow",children:C("apps.official")}),(0,a.jsx)("h1",{className:"page-shell__title mt-1",children:(0,c.JB)(O,S)})]}),(0,a.jsx)(i.vw,{size:"md",tone:O.ready&&!1!==O.enabled?"live":"strong",children:C((0,c.nN)(O))})]}),(0,a.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-relaxed text-smoke",children:null!=(u=null==(p=O.manifest)||null==(t=p.summary)?void 0:t[S])?u:C("apps.videoSummary")}),(0,a.jsx)("p",{className:"mt-3 text-sm font-semibold text-chalk",children:(0,a.jsx)("a",{className:"underline underline-offset-4",href:"create"===L?"#app-launch":"#app-requirements",children:C("apps.next.".concat(L))})})]}),(0,a.jsx)(x,{error:null!=P?P:O.error}),(null==(d=O.npm)?void 0:d.present)===!1&&(0,a.jsx)("p",{className:"mt-4 text-sm text-smoke",children:C("apps.npmMissing")}),(0,a.jsxs)("div",{className:"mt-6 flex flex-col gap-4 lg:grid lg:grid-cols-2 lg:items-start",children:[(0,a.jsxs)("div",{className:"contents lg:flex lg:flex-col lg:gap-4",children:[(0,a.jsx)("div",{className:"order-1 lg:contents",children:(0,a.jsx)(f,{t:C,locale:S,app:O,busy:R,working:D,onOperate:T})}),(0,a.jsx)("div",{className:"order-3 lg:contents",children:(0,a.jsx)(m,{ready:!!(O.ready&&!1!==O.enabled),project:v,projects:g,loadError:k,step:(0,a.jsx)(j,{n:3})})})]}),(0,a.jsxs)("div",{className:"contents lg:flex lg:flex-col lg:gap-4",children:[(0,a.jsx)("div",{className:"order-2 lg:contents",children:(0,a.jsx)(o.G,{app:O,busy:R,onSave:A,step:(0,a.jsx)(j,{n:2})})}),(0,a.jsx)("div",{className:"order-4 lg:contents",children:(0,a.jsx)(N,{t:C,locale:S,app:O,busy:R,onOperate:T})})]})]}),(0,a.jsx)("div",{className:"mt-4 grid items-start gap-4 lg:grid-cols-2",children:(0,a.jsx)(y,{t:C,app:O})}),(0,a.jsxs)("section",{className:"mt-8",children:[(0,a.jsx)("h2",{className:"text-base font-semibold",children:C("apps.jobs.title")}),(0,a.jsx)(w,{jobs:null!=(h=O.jobs)?h:[],onCancel:e=>{(0,c.Tl)("/api/apps/jobs/".concat(e.id,"/cancel"),{}).then(A).catch(e=>q(e.message))}})]})]})}function w(e){let{jobs:s,onCancel:t}=e,l=(0,r.kj)(),n=(0,r.Ym)();return(0,a.jsxs)("div",{className:"mt-4 space-y-3",children:[0===s.length&&(0,a.jsx)(i.pp,{variant:"note",title:l("apps.jobs.empty")}),s.map(e=>{var s,r;let i=(0,c.xK)(e),o=c.Cn.has(e.status),p=e.requestedAt?new Date(e.requestedAt).toLocaleString(n):"";return(0,a.jsxs)("div",{className:"rounded border border-edge p-4",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,a.jsxs)("p",{className:"text-sm",role:"status",children:[(0,a.jsx)("span",{className:"font-mono",children:e.tool})," \xb7 ",l((0,c.$J)(e.status)),p&&(0,a.jsxs)("span",{className:"text-faint",children:[" \xb7 ",p]}),e.requestedBy&&(0,a.jsxs)("span",{className:"text-faint",children:[" \xb7 ",l("apps.jobs.requestedBy",{name:e.requestedBy})]})]}),t&&o&&(0,a.jsx)("button",{className:"apps-button",disabled:"cancelling"===e.status,onClick:()=>t(e),children:l("apps.jobs.cancel")})]}),o&&(null==(s=e.progress)?void 0:s.message)&&(0,a.jsx)("blockquote",{className:"mt-2 text-sm text-smoke",children:e.progress.message}),o&&void 0!==i&&(0,a.jsx)("progress",{className:"mt-3 w-full",max:100,value:i,"aria-label":l("apps.jobs.progress",{n:i})}),(0,a.jsx)(x,{error:e.error}),!o&&e.error&&(null==(r=e.progress)?void 0:r.message)&&(0,a.jsxs)("details",{className:"mt-2 text-sm",children:[(0,a.jsx)("summary",{className:"text-smoke",children:l("apps.jobs.lastSaid")}),(0,a.jsx)("blockquote",{className:"mt-2 break-words text-smoke",children:e.progress.message})]})]},e.id)})]})}},76982:(e,s,t)=>{t.d(s,{G:()=>u,n:()=>d});var a=t(38657),l=t(3953),n=t.n(l),r=t(32165),i=t(3043),c=t(97234),o=t(9144),p=t(52948);let d=[{value:"claude",label:"Claude Code"},{value:"codex",label:"Codex"},{value:"anthropic",label:"Anthropic API"},{value:"openai",label:"OpenAI API"}];function u(e){var s,t,l,u,x,h,b,j,v,g;let{app:f,busy:N,onSave:y,step:k}=e,w=(0,o.kj)(),C=(0,o.Ym)(),[S,O]=(0,r.useState)(null),[P,q]=(0,r.useState)(null),[A,E]=(0,r.useState)(!1),[z,I]=(0,r.useState)(!1),[T,R]=(0,r.useState)(!1),[D,L]=(0,r.useState)(!1),[Z,H]=(0,r.useState)(null),[V,_]=(0,r.useState)(!1),[B,F]=(0,r.useState)(!0),U=(0,r.useRef)(!1),J=null!=(b=null!=S?S:null==(s=f.settings)?void 0:s.brain)?b:"none",G=null!=(j=null!=P?P:null==(t=f.settings)?void 0:t.voice)&&j,M="none"!==J&&J!==(null!=(v=null==(l=f.settings)?void 0:l.brain)?v:"none")||G&&!(null==(u=f.settings)?void 0:u.voice),Y=G&&!(null==Z?void 0:Z.configured),K=N||z,W="/api/apps/".concat(encodeURIComponent(f.id),"/credentials"),Q=(0,r.useCallback)(async e=>{F(!0),_(!1);try{let s=await (0,c.Tl)(W,void 0,"GET",e);(null==e?void 0:e.aborted)||H(s)}catch(s){(null==e?void 0:e.aborted)||_(!0)}finally{(null==e?void 0:e.aborted)||F(!1)}},[W]);function $(){E(!1),R(!1),L(!1)}async function X(){if(!U.current&&!K&&!Y&&(!M||A)){U.current=!0,I(!0),R(!1),L(!1);try{let e=await (0,c.Tl)("/api/apps/".concat(encodeURIComponent(f.id),"/settings"),{brain:J,voice:G,confirm:A},"PATCH");O(e.settings.brain),q(e.settings.voice),await y(),E(!1),R(!0)}catch(e){L(!0)}finally{U.current=!1,I(!1)}}}return(0,r.useEffect)(()=>{let e=new AbortController;return Q(e.signal),()=>e.abort()},[Q]),(0,a.jsxs)(p.Zp,{as:"section","aria-labelledby":"app-providers-title",children:[k,(0,a.jsxs)("div",{className:"mt-1 flex flex-wrap items-center justify-between gap-2",children:[(0,a.jsx)("h2",{id:"app-providers-title",className:"text-base font-semibold",children:w("apps.providers")}),(0,a.jsx)(p.vw,{size:"md",children:w("apps.optional")})]}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:w("apps.providersIntro")}),(0,a.jsxs)("div",{className:"mt-5",children:[(0,a.jsxs)(p.l6,{label:w("apps.brain"),value:J,disabled:K,onChange:e=>{O(e.target.value),$()},children:[(0,a.jsx)("option",{value:"none",children:w("apps.none")}),(0,a.jsx)("option",{value:"auto",children:w("apps.auto")}),d.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))]}),(0,a.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:w("apps.brainHint")}),(0,a.jsx)(n(),{href:"/ai",className:"mt-2 inline-block text-xs underline underline-offset-4",children:w("apps.configureModel")})]}),(0,a.jsxs)("div",{className:"mt-5 border-t border-edge pt-5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(i.INy,{"aria-hidden":!0,className:"h-5 w-5"}),(0,a.jsx)("h3",{className:"text-sm font-semibold",children:w("apps.voice")})]}),(0,a.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:w("apps.voiceHint")}),B?(0,a.jsx)("p",{role:"status",className:"mt-3 text-xs text-smoke",children:w("apps.key.loading")}):V?(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsx)(p.lZ,{text:w("apps.key.loadFailed")}),(0,a.jsx)(p.rA,{type:"button",tone:"surface",className:"mt-2",onClick:()=>void Q(),children:w("apps.retry")})]}):Z&&(0,a.jsx)(m,{endpoint:W,status:Z,busy:K,onChanged:e=>{H(e),$()}}),(0,a.jsx)(p.Jl,{size:"lg",className:"mt-4",checked:G,disabled:K||B&&!G||!(null==Z?void 0:Z.configured)&&!G,onChange:e=>{q(e.target.checked),$()},children:w("apps.enableVoice")}),Y&&(0,a.jsx)("p",{className:"mt-2 text-xs text-smoke",children:w("apps.key.required")})]}),M&&(0,a.jsxs)("div",{className:"mt-5 border-t border-edge pt-4",children:[(0,a.jsx)("div",{className:"space-y-2 text-xs leading-relaxed text-smoke",children:(null!=(g=null==(h=f.manifest)||null==(x=h.providers)?void 0:x.filter(e=>"brain"===e.id?"none"!==J:G))?g:[]).map(e=>(0,a.jsx)("p",{children:e.sends[C]},e.id))}),(0,a.jsx)(p.Jl,{size:"lg",className:"mt-3",checked:A,disabled:K,onChange:e=>E(e.target.checked),children:w("apps.providerConfirm")})]}),(0,a.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-3 border-t border-edge pt-4",children:[(0,a.jsx)(p.rA,{type:"button",tone:"accent",busy:z,busyLabel:w("apps.saving"),disabled:K||Y||M&&!A,onClick:()=>void X(),children:w("apps.providerSave")}),(0,a.jsx)("p",{role:"status",className:"text-xs text-smoke",children:T?w("apps.providersSaved"):""})]}),D&&(0,a.jsx)(p.lZ,{text:w("apps.providersFailed"),className:"mt-3"}),(0,a.jsx)(n(),{href:"/spend",className:"mt-3 inline-block text-xs underline underline-offset-4",children:w("apps.spendLink")})]})}function m(e){let{endpoint:s,status:t,busy:l,onChanged:n}=e,d=(0,o.kj)(),[u,m]=(0,r.useState)(""),[x,h]=(0,r.useState)(!1),[b,j]=(0,r.useState)(!1),[v,g]=(0,r.useState)(!1),[f,N]=(0,r.useState)(!1),[y,k]=(0,r.useState)(null),w=(0,r.useRef)(!1),C=l||v,S=(0,r.useRef)(null);async function O(e){if(!w.current&&!C){w.current=!0,g(!0),N(!1),k(null);try{let t=await (0,c.Tl)(s,"POST"===e?{provider:"elevenlabs",key:u.trim()}:{provider:"elevenlabs"},e);m(""),h(!1),j(!1),k("POST"===e?"saved":"removed"),n(t)}catch(e){N(!0)}finally{w.current=!1,g(!1)}}}return(0,r.useEffect)(()=>{var e,s;x&&(null==(s=S.current)||null==(e=s.querySelector("input"))||e.focus())},[x]),(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,a.jsx)(i.JPZ,{"aria-hidden":!0,className:"h-4 w-4"}),(0,a.jsx)(p.vw,{size:"md",tone:t.configured?"strong":"neutral",children:d(t.configured?"apps.key.configured":"apps.key.missing")})]}),(!t.configured||x)&&(0,a.jsxs)("form",{ref:S,className:"mt-3",onSubmit:e=>{e.preventDefault(),u.trim()&&O("POST")},children:[(0,a.jsx)(p.D0,{label:d("apps.key.label"),type:"password",autoComplete:"off",spellCheck:!1,required:!0,maxLength:500,value:u,disabled:C,"aria-describedby":"elevenlabs-key-hint",onChange:e=>{m(e.target.value),N(!1),k(null)}}),(0,a.jsx)("p",{id:"elevenlabs-key-hint",className:"mt-2 text-xs leading-relaxed text-smoke",children:d("apps.key.hint")}),(0,a.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,a.jsx)(p.rA,{type:"submit",tone:"surface",busy:v,busyLabel:d("apps.saving"),disabled:C||!u.trim(),children:d("apps.key.save")}),x&&(0,a.jsx)(p.rA,{type:"button",tone:"quiet",disabled:C,onClick:()=>{h(!1),m("")},children:d("apps.cancel")}),(0,a.jsx)("a",{href:"https://elevenlabs.io/app/settings/api-keys",target:"_blank",rel:"noreferrer",className:"text-xs underline underline-offset-4",children:d("apps.key.get")})]})]}),t.configured&&!x&&!b&&(0,a.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[(0,a.jsx)(p.rA,{type:"button",tone:"surface",disabled:C,onClick:()=>{h(!0),k(null)},children:d("apps.key.replace")}),(0,a.jsx)(p.rA,{type:"button",tone:"quiet",disabled:C,onClick:()=>j(!0),children:d("apps.key.remove")})]}),b&&(0,a.jsxs)("div",{className:"mt-3 border-l border-edge pl-3",children:[(0,a.jsx)("p",{className:"text-xs leading-relaxed",children:d("apps.key.removeConfirm")}),(0,a.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2",children:[(0,a.jsx)(p.rA,{type:"button",tone:"danger",busy:v,disabled:C,onClick:()=>void O("DELETE"),children:d("apps.key.remove")}),(0,a.jsx)(p.rA,{type:"button",tone:"quiet",disabled:C,onClick:()=>j(!1),children:d("apps.cancel")})]})]}),(0,a.jsx)("p",{role:"status",className:"mt-2 text-xs text-smoke",children:y?d("saved"===y?"apps.key.saved":"apps.key.removed"):""}),f&&(0,a.jsx)(p.lZ,{text:d("apps.key.saveFailed"),className:"mt-2"})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2948],{50178:(e,t,n)=>{function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es";if(!e)return"—";let n=Math.floor((Date.now()-new Date(e).getTime())/864e5);if("en"===t){if(n<=0)return"today";if(1===n)return"yesterday";if(n<30)return"".concat(n," d ago");if(n<365){let e=Math.floor(n/30);return"".concat(e," month").concat(1===e?"":"s"," ago")}let e=Math.floor(n/365);return"".concat(e," year").concat(1===e?"":"s"," ago")}if(n<=0)return"hoy";if(1===n)return"ayer";if(n<30)return"hace ".concat(n," d");if(n<365){let e=Math.floor(n/30);return"hace ".concat(e," ").concat(1===e?"mes":"meses")}let a=Math.floor(n/365);return"hace ".concat(a," a\xf1o").concat(1===a?"":"s")}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),c=n-new Date(e).getTime();if(!Number.isFinite(c))return"—";let r="en"===t;if(c<6e4)return r?"just now":"ahora mismo";if(c<36e5){let e=Math.floor(c/6e4);return r?"".concat(e," min ago"):"hace ".concat(e," min")}if(c<1728e5){let e=Math.floor(c/36e5);return r?"".concat(e," h ago"):"hace ".concat(e," h")}return a(e,t)}n.d(t,{K:()=>c,P:()=>a})},52948:(e,t,n)=>{n.d(t,{D0:()=>f,Jl:()=>y,KW:()=>o.K,Pp:()=>o.P,Zp:()=>M,fs:()=>v,hV:()=>i,l6:()=>g,lZ:()=>l,pp:()=>C,rA:()=>h,vw:()=>F,z3:()=>s.z});var a=n(38657),c=n(3043),r=n(2575),o=n(50178),s=n(98194);function i(e){let{name:t,src:n,size:o=56,tone:s="brand",locale:i}=e,l="panoma"===t.toLowerCase(),d="demo-runner"===t.toLowerCase()?"/assets/projects/demo-runner.png":null,x=l?"/assets/brand/panoma.svg":null!=n?n:d;return x?(0,a.jsx)("img",{src:x,loading:"lazy",alt:(0,r.t)(i,"common.iconOf",{name:t}),width:o,height:o,className:"shrink-0 rounded-[22%] border border-edge object-cover shadow-sm",style:{width:o,height:o}}):(0,a.jsx)("span",{"aria-hidden":!0,className:"flex shrink-0 items-center justify-center rounded-[22%] border border-edge ".concat("neutral"===s?"project-icon--neutral":"bg-raised text-accent"),style:{width:o,height:o},children:(0,a.jsx)(c.KQe,{style:{width:.46*o,height:.46*o}})})}function l(e){let{text:t,as:n="p",className:c}=e;return(0,a.jsx)(n,{role:"alert",className:"font-mono text-[11px] text-fail".concat(c?" ".concat(c):""),children:t})}let d="rounded border transition duration-[var(--duration-fast)] disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:cursor-not-allowed aria-disabled:opacity-50",x={raised:"border-edge bg-raised text-smoke hover:border-accent hover:text-accent",surface:"border-edge bg-surface text-smoke hover:border-accent hover:text-accent",plain:"border-edge text-smoke hover:border-chalk",accent:"border-accent bg-accent text-white hover:opacity-85",danger:"border-fail text-fail hover:bg-fail hover:text-white",quiet:"border-transparent text-faint hover:text-smoke"},m={sm:"min-h-[26px] px-2.5 py-1 text-[11px]",md:"min-h-[30px] px-3 py-1.5 text-xs",lg:"min-h-[34px] px-4 py-1.5 text-sm"};function h(e){let{tone:t,size:n="md",busy:c=!1,busyLabel:r,disabled:o,className:s,children:i,...l}=e,h=null!=o?o:c,u=h&&"button"===l.type;return(0,a.jsx)("button",{"aria-busy":c||void 0,...l,...u?{"aria-disabled":!0,onClick:e=>{e.preventDefault()}}:{disabled:h},className:"".concat(d," ").concat("inline-flex items-center justify-center gap-1.5 font-mono"," ").concat(x[t]," ").concat(m[n]).concat(s?" ".concat(s):""),children:c&&void 0!==r?r:i})}let u={sm:"min-h-[30px] px-2.5 py-1.5 text-xs",md:"min-h-[34px] px-3 py-1.5 text-sm",lg:"min-h-[38px] px-3.5 py-2 text-sm"},b="mb-1 block font-mono text-[11px] text-smoke";function p(e,t,n){return"".concat(d," ").concat("w-full bg-raised text-chalk placeholder:text-faint focus:border-accent focus:outline-none"," ").concat(t?"border-fail":"border-edge"," ").concat(u[e]).concat(n?" ".concat(n):"")}function f(e){let{label:t,hideLabel:n=!1,size:c="md",invalid:r=!1,className:o,...s}=e;return(0,a.jsxs)("label",{className:"block".concat(o?" ".concat(o):""),children:[(0,a.jsx)("span",{className:n?"sr-only":b,children:t}),(0,a.jsx)("input",{...s,"aria-invalid":r||void 0,className:p(c,r)})]})}function g(e){let{label:t,hideLabel:n=!1,size:c="md",invalid:r=!1,className:o,children:s,...i}=e;return(0,a.jsxs)("label",{className:"block".concat(o?" ".concat(o):""),children:[(0,a.jsx)("span",{className:n?"sr-only":b,children:t}),(0,a.jsx)("select",{...i,"aria-invalid":r||void 0,className:p(c,r,"cursor-pointer"),children:s})]})}function v(e){let{label:t,hideLabel:n=!1,size:c="md",invalid:r=!1,rows:o=3,className:s,...i}=e;return(0,a.jsxs)("label",{className:"block".concat(s?" ".concat(s):""),children:[(0,a.jsx)("span",{className:n?"sr-only":b,children:t}),(0,a.jsx)("textarea",{...i,rows:o,"aria-invalid":r||void 0,className:p(c,r,"resize-y leading-relaxed")})]})}let j={sm:"min-h-[26px] gap-2 text-xs",md:"min-h-[30px] gap-2 text-sm",lg:"min-h-11 gap-2.5 text-sm"},k={sm:"size-3.5",md:"size-4",lg:"size-[18px]"};function y(e){let{size:t="md",disabled:n,className:c,children:r,...o}=e;return(0,a.jsxs)("label",{className:"inline-flex items-center ".concat(j[t]," ").concat(n?"cursor-not-allowed opacity-50":"cursor-pointer").concat(c?" ".concat(c):""),children:[(0,a.jsx)("input",{...o,type:"checkbox",disabled:n,className:"".concat(k[t]," shrink-0 accent-accent")}),(0,a.jsx)("span",{children:r})]})}let N={surface:"bg-surface",raised:"bg-raised",ground:"bg-ground",plain:"bg-transparent"},w={none:"",sm:"p-3",md:"p-4",lg:"p-6"};function M(e){let{as:t="div",tone:n="surface",pad:c="md",emphatic:r=!1,className:o,children:s,...i}=e,l=w[c];return(0,a.jsx)(t,{...i,className:"rounded-lg border ".concat(r?"border-chalk":"border-edge"," ").concat(N[n]).concat(l?" ".concat(l):"").concat(o?" ".concat(o):""),children:s})}let z={framed:" place-items-center rounded-lg border border-dashed border-edge-bright bg-ground p-8 text-center",bare:"",note:""},D={framed:"text-sm font-semibold text-chalk",bare:"text-sm font-semibold text-chalk",note:"text-sm text-smoke"};function C(e){let{icon:t,title:n,action:c,variant:r="framed",className:o,children:s,...i}=e;return(0,a.jsxs)("div",{...i,className:"grid gap-1".concat(z[r]).concat(o?" ".concat(o):""),children:[t&&(0,a.jsx)("span",{className:"text-smoke","aria-hidden":!0,children:t}),(0,a.jsx)("p",{className:D[r],children:n}),s&&(0,a.jsx)("p",{className:"text-xs text-smoke",children:s}),c&&(0,a.jsx)("div",{className:"mt-3",children:c})]})}let K={neutral:"border-edge bg-raised text-smoke",quiet:"border-edge bg-raised text-faint",strong:"border-edge bg-raised text-chalk",accent:"border-accent/30 bg-accent/10 text-accent",live:"border-live/30 bg-live/10 text-chalk",idle:"border-idle/30 bg-idle/10 text-chalk",fail:"border-fail/30 bg-fail/10 text-fail"},B={sm:"text-[10px]",md:"text-[11px]"},_={center:"items-center gap-1",baseline:"items-baseline gap-1"};function F(e){let{tone:t="neutral",size:n="sm",align:c="center",className:r,children:o,...s}=e;return(0,a.jsx)("span",{...s,className:"".concat("inline-flex rounded border px-1.5 py-0.5 font-mono"," ").concat(_[c]," ").concat(B[n]," ").concat(K[t]).concat(r?" ".concat(r):""),children:o})}},98194:(e,t,n)=>{n.d(t,{z:()=>a});function a(e){return e<1024?"".concat(e," B"):e<1048576?"".concat(Math.round(e/1024)," KB"):e<0x40000000?"".concat((e/1048576).toFixed(1)," MB"):"".concat((e/0x40000000).toFixed(1)," GB")}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6587],{3043:(t,r,e)=>{e.d(r,{$mg:()=>tr,A6:()=>P,AN7:()=>ts,B3U:()=>tu,BgB:()=>F,CU3:()=>T,Dco:()=>X,Dho:()=>tl,ENP:()=>u,EgV:()=>K,F2d:()=>to,G7A:()=>p,INy:()=>A,J7E:()=>m,JJh:()=>w,JPZ:()=>j,Jhl:()=>b,K0m:()=>L,K7t:()=>n,K8V:()=>Y,KQe:()=>D,OvC:()=>ti,UW0:()=>Z,V83:()=>x,XVA:()=>R,XcM:()=>g,Y48:()=>I,YJZ:()=>C,YL0:()=>V,YT$:()=>v,YUE:()=>M,Yzk:()=>c,Zs_:()=>s,ax_:()=>f,bZk:()=>N,bv7:()=>i,d7T:()=>z,dNM:()=>te,efr:()=>tc,f9d:()=>E,fZH:()=>a,gBk:()=>H,gj5:()=>B,hru:()=>$,jXD:()=>th,lPA:()=>G,mUU:()=>W,mmf:()=>S,ngD:()=>y,o7e:()=>q,oNX:()=>d,qRK:()=>tt,r9I:()=>td,sdO:()=>l,tZt:()=>k,vsK:()=>_,wNU:()=>tn,wl$:()=>ta,x5m:()=>Q,yRo:()=>h,z1N:()=>U,zKo:()=>O,zMq:()=>J});var o=e(56684);function n(t){return(0,o.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"},child:[]}]})(t)}function i(t){return(0,o.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"},child:[]}]})(t)}function a(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"},child:[]}]})(t)}function d(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},child:[]}]})(t)}function c(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 8.25V18a2.25 2.25 0 0 0 2.25 2.25h13.5A2.25 2.25 0 0 0 21 18V8.25m-18 0V6a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 6v2.25m-18 0h18M5.25 6h.008v.008H5.25V6ZM7.5 6h.008v.008H7.5V6Zm2.25 0h.008v.008H9.75V6Z"},child:[]}]})(t)}function h(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"},child:[]}]})(t)}function l(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"},child:[]}]})(t)}function u(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"},child:[]}]})(t)}function s(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 8.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v8.25A2.25 2.25 0 0 0 6 16.5h2.25m8.25-8.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-7.5A2.25 2.25 0 0 1 8.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 0 0-2.25 2.25v6"},child:[]}]})(t)}function k(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"},child:[]}]})(t)}function v(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.348 14.652a3.75 3.75 0 0 1 0-5.304m5.304 0a3.75 3.75 0 0 1 0 5.304m-7.425 2.121a6.75 6.75 0 0 1 0-9.546m9.546 0a6.75 6.75 0 0 1 0 9.546M5.106 18.894c-3.808-3.807-3.808-9.98 0-13.788m13.788 0c3.808 3.807 3.808 9.98 0 13.788M12 12h.008v.008H12V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"},child:[]}]})(t)}function g(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.217 10.907a2.25 2.25 0 1 0 0 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186 9.566-5.314m-9.566 7.5 9.566 5.314m0 0a2.25 2.25 0 1 0 3.935 2.186 2.25 2.25 0 0 0-3.935-2.186Zm0-12.814a2.25 2.25 0 1 0 3.933-2.185 2.25 2.25 0 0 0-3.933 2.185Z"},child:[]}]})(t)}function m(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 17.25v-.228a4.5 4.5 0 0 0-.12-1.03l-2.268-9.64a3.375 3.375 0 0 0-3.285-2.602H7.923a3.375 3.375 0 0 0-3.285 2.602l-2.268 9.64a4.5 4.5 0 0 0-.12 1.03v.228m19.5 0a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3m19.5 0a3 3 0 0 0-3-3H5.25a3 3 0 0 0-3 3m16.5 0h.008v.008h-.008v-.008Zm-3 0h.008v.008h-.008v-.008Z"},child:[]}]})(t)}function L(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"},child:[]}]})(t)}function f(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"},child:[]}]})(t)}function p(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},child:[]},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"},child:[]}]})(t)}function M(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"},child:[]}]})(t)}function C(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"},child:[]}]})(t)}function A(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18.75a6 6 0 0 0 6-6v-1.5m-6 7.5a6 6 0 0 1-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 0 1-3-3V4.5a3 3 0 1 1 6 0v8.25a3 3 0 0 1-3 3Z"},child:[]}]})(t)}function w(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"},child:[]}]})(t)}function B(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"},child:[]}]})(t)}function j(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"},child:[]}]})(t)}function x(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 3.75H6.912a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H15M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859M12 3v8.25m0 0-3-3m3 3 3-3"},child:[]}]})(t)}function W(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z"},child:[]}]})(t)}function H(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 0 0-1.883 2.542l.857 6a2.25 2.25 0 0 0 2.227 1.932H19.05a2.25 2.25 0 0 0 2.227-1.932l.857-6a2.25 2.25 0 0 0-1.883-2.542m-16.5 0V6A2.25 2.25 0 0 1 6 3.75h3.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 0 1.06.44H18A2.25 2.25 0 0 1 20.25 9v.776"},child:[]}]})(t)}function V(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 0 0 4.5 10.5a7.464 7.464 0 0 1-1.15 3.993m1.989 3.559A11.209 11.209 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.666 18.666 0 0 1-2.485 5.33"},child:[]}]})(t)}function Z(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h1.5C5.496 19.5 6 18.996 6 18.375m-3.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-1.5A1.125 1.125 0 0 1 18 18.375M20.625 4.5H3.375m17.25 0c.621 0 1.125.504 1.125 1.125M20.625 4.5h-1.5C18.504 4.5 18 5.004 18 5.625m3.75 0v1.5c0 .621-.504 1.125-1.125 1.125M3.375 4.5c-.621 0-1.125.504-1.125 1.125M3.375 4.5h1.5C5.496 4.5 6 5.004 6 5.625m-3.75 0v1.5c0 .621.504 1.125 1.125 1.125m0 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m1.5-3.75C5.496 8.25 6 7.746 6 7.125v-1.5M4.875 8.25C5.496 8.25 6 8.754 6 9.375v1.5m0-5.25v5.25m0-5.25C6 5.004 6.504 4.5 7.125 4.5h9.75c.621 0 1.125.504 1.125 1.125m1.125 2.625h1.5m-1.5 0A1.125 1.125 0 0 1 18 7.125v-1.5m1.125 2.625c-.621 0-1.125.504-1.125 1.125v1.5m2.625-2.625c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125M18 5.625v5.25M7.125 12h9.75m-9.75 0A1.125 1.125 0 0 1 6 10.875M7.125 12C6.504 12 6 12.504 6 13.125m0-2.25C6 11.496 5.496 12 4.875 12M18 10.875c0 .621-.504 1.125-1.125 1.125M18 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m-12 5.25v-5.25m0 5.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125m-12 0v-1.5c0-.621-.504-1.125-1.125-1.125M18 18.375v-5.25m0 5.25v-1.5c0-.621.504-1.125 1.125-1.125M18 13.125v1.5c0 .621.504 1.125 1.125 1.125M18 13.125c0-.621.504-1.125 1.125-1.125M6 13.125v1.5c0 .621-.504 1.125-1.125 1.125M6 13.125C6 12.504 5.496 12 4.875 12m-1.5 0h1.5m-1.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M19.125 12h1.5m0 0c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h1.5m14.25 0h1.5"},child:[]}]})(t)}function N(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"},child:[]},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"},child:[]}]})(t)}function K(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"},child:[]}]})(t)}function U(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"},child:[]}]})(t)}function E(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"},child:[]}]})(t)}function J(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"},child:[]}]})(t)}function R(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"},child:[]}]})(t)}function Y(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"},child:[]}]})(t)}function _(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"},child:[]}]})(t)}function b(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"},child:[]}]})(t)}function z(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"},child:[]}]})(t)}function D(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9.75 16.5 12l-2.25 2.25m-4.5 0L7.5 12l2.25-2.25M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"},child:[]}]})(t)}function X(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"},child:[]}]})(t)}function P(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"},child:[]}]})(t)}function $(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"},child:[]}]})(t)}function q(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"},child:[]}]})(t)}function y(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"},child:[]}]})(t)}function I(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"},child:[]}]})(t)}function O(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"},child:[]}]})(t)}function S(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"},child:[]}]})(t)}function T(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},child:[]}]})(t)}function F(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"},child:[]}]})(t)}function G(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0 1 20.25 6v12A2.25 2.25 0 0 1 18 20.25H6A2.25 2.25 0 0 1 3.75 18V6A2.25 2.25 0 0 1 6 3.75h1.5m9 0h-9"},child:[]}]})(t)}function Q(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"},child:[]}]})(t)}function tt(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.75 3.104v5.714a2.25 2.25 0 0 1-.659 1.591L5 14.5M9.75 3.104c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 0 1 4.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19.8 15.3M14.25 3.104c.251.023.501.05.75.082M19.8 15.3l-1.57.393A9.065 9.065 0 0 1 12 15a9.065 9.065 0 0 0-6.23-.693L5 14.5m14.8.8 1.402 1.402c1.232 1.232.65 3.318-1.067 3.611A48.309 48.309 0 0 1 12 21c-2.773 0-5.491-.235-8.135-.687-1.718-.293-2.3-2.379-1.067-3.61L5 14.5"},child:[]}]})(t)}function tr(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"},child:[]}]})(t)}function te(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"},child:[]}]})(t)}function to(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"},child:[]}]})(t)}function tn(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"},child:[]}]})(t)}function ti(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 19.5 15-15m0 0H8.25m11.25 0v11.25"},child:[]}]})(t)}function ta(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"},child:[]}]})(t)}function td(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"},child:[]}]})(t)}function tc(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"},child:[]}]})(t)}function th(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"},child:[]}]})(t)}function tl(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"},child:[]}]})(t)}function tu(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.25 7.5-.625 10.632a2.25 2.25 0 0 1-2.247 2.118H6.622a2.25 2.25 0 0 1-2.247-2.118L3.75 7.5M10 11.25h4M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"},child:[]}]})(t)}function ts(t){return(0,o.k5)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"},child:[]}]})(t)}}}]);
|
package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/page-17367d7f0718d9c3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5974],{7144:(e,s,n)=>{Promise.resolve().then(n.bind(n,57776)),Promise.resolve().then(n.t.bind(n,3953,23))}},e=>{e.O(0,[6587,3953,2575,2948,1369,2921,1305,6823,7358],()=>e(e.s=7144)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2657],{9144:(e,t,s)=>{"use strict";s.d(t,{I18nProvider:()=>o,Ym:()=>c,Zs:()=>d,kj:()=>u});var r=s(38657),a=s(32165),l=s(2575);let i=(0,a.createContext)("en"),n=(0,a.createContext)("panoma");function o(e){let{locale:t,cli:s,children:a}=e;return(0,r.jsx)(i.Provider,{value:t,children:(0,r.jsx)(n.Provider,{value:s,children:a})})}function c(){return(0,a.useContext)(i)}function d(){return(0,a.useContext)(n)}function u(){let e=(0,a.useContext)(i),t=(0,a.useContext)(n);return(0,a.useCallback)((s,r)=>(0,l.t)(e,s,{cli:t,...r}),[e,t])}},10354:(e,t,s)=>{"use strict";var r=s(61990);s.o(r,"usePathname")&&s.d(t,{usePathname:function(){return r.usePathname}}),s.o(r,"useRouter")&&s.d(t,{useRouter:function(){return r.useRouter}}),s.o(r,"useSearchParams")&&s.d(t,{useSearchParams:function(){return r.useSearchParams}})},28639:(e,t,s)=>{"use strict";s.d(t,{BridgeSteps:()=>p});var r=s(38657),a=s(32165),l=s(3953),i=s.n(l),n=s(10354),o=s(3043),c=s(9144),d=s(52948);let u={catalog:{title:"bridge.step.catalog.title",detail:"bridge.step.catalog.detail",purpose:"bridge.step.catalog.purpose",icon:o.mUU},model:{title:"bridge.step.model.title",detail:"bridge.step.model.detail",purpose:"bridge.step.model.purpose",icon:o.K8V},agent:{title:"bridge.step.agent.title",detail:"bridge.step.agent.detail",purpose:"bridge.step.agent.purpose",icon:o.Jhl},hooks:{title:"bridge.step.hooks.title",detail:"bridge.step.hooks.detail",purpose:"bridge.step.hooks.purpose",icon:o.efr}};function m(e){let{command:t,label:s}=e,l=(0,c.kj)(),[i,n]=(0,a.useState)(null),u=(0,a.useRef)(null);async function m(){u.current&&clearTimeout(u.current);try{await navigator.clipboard.writeText(t),n("copied"),u.current=setTimeout(()=>n(null),1600)}catch(e){n("failed")}}return(0,a.useEffect)(()=>()=>{u.current&&clearTimeout(u.current)},[]),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("p",{className:"text-xs text-smoke",children:s}),(0,r.jsxs)(d.Zp,{tone:"raised",pad:"sm",className:"flex flex-wrap items-center justify-between gap-3",children:[(0,r.jsx)("code",{className:"min-w-0 max-w-full break-words font-mono text-xs text-chalk",children:t}),(0,r.jsxs)(d.rA,{tone:"plain",type:"button",onClick:()=>void m(),"aria-label":l("bridge.copyCommand",{command:t}),children:[(0,r.jsx)(o.hru,{className:"size-4","aria-hidden":!0}),l("copied"===i?"bridge.copied":"bridge.copy")]})]}),(0,r.jsx)("p",{role:"status",className:"text-xs text-smoke",children:"failed"===i?l("bridge.copyFailed"):"copied"===i?l("bridge.copied"):null})]})}function p(e){let{report:t,progress:s}=e,l=(0,c.kj)(),p=(0,c.Zs)(),x=(0,n.useRouter)(),[h,g]=(0,a.useState)(!1),[b,f]=(0,a.useState)(null),[j,y]=(0,a.useTransition)(),[v,k]=(0,a.useState)(!1),N=(0,a.useRef)(null),w=(0,a.useRef)(!1);async function O(){if(!h){g(!0),f(null);try{var e,t,s,r,a,i;let n=await fetch("/api/hooks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({})}),o=await n.json().catch(()=>({}));n.ok?(w.current=!0,f({text:l("bridge.hooksDone",{installed:String(null!=(e=o.installed)?e:0),noRepo:String(null!=(t=o.noRepo)?t:0),foreign:String(null!=(s=o.foreign)?s:0),failed:String(null!=(r=o.failed)?r:0)}),error:(null!=(a=o.failed)?a:0)>0}),y(()=>x.refresh())):f({text:null!=(i=o.error)?i:l("bridge.hooksFailed"),error:!0})}catch(e){f({text:l("bridge.hooksFailed"),error:!0})}finally{g(!1)}}}return(0,a.useEffect)(()=>{if(w.current&&t.hooks.installed>=t.hooks.installable){var e;w.current=!1,null==(e=N.current)||e.focus()}},[t.hooks.installed,t.hooks.installable]),(0,r.jsxs)("section",{className:"min-w-0 space-y-4 xl:col-span-2","aria-labelledby":"bridge-setup-title",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{id:"bridge-setup-title",className:"text-base font-semibold",children:l("bridge.setup.title")}),(0,r.jsx)("p",{className:"mt-1 text-xs text-smoke",children:l("bridge.setup.progress",{completed:s.completed,total:s.total})})]}),(0,r.jsxs)(d.rA,{tone:"surface",type:"button",onClick:function(){k(!0),y(()=>x.refresh())},busy:j,busyLabel:l("bridge.refreshing"),children:[(0,r.jsx)(o.efr,{className:"size-4","aria-hidden":!0}),l("bridge.refresh")]})]}),(0,r.jsx)("div",{className:"flex gap-1.5","aria-hidden":!0,children:s.setupSteps.map((e,t)=>(0,r.jsx)("span",{className:"h-1 flex-1 rounded-full ".concat(t<s.completed?"bg-accent":"bg-edge")},e.id))}),(0,r.jsx)("p",{role:"status",className:"sr-only",children:v&&!j?l("bridge.refreshed"):null}),s.ready&&(0,r.jsxs)(d.Zp,{tone:"raised",className:"flex items-start gap-3",children:[(0,r.jsx)(o.mmf,{className:"size-5 shrink-0","aria-hidden":!0}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-sm font-semibold",children:l("bridge.titleReady")}),(0,r.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-smoke",children:l("bridge.leadReady")})]})]}),(0,r.jsx)("ol",{className:"space-y-3",children:s.setupSteps.map((e,a)=>{var n;let c=u[e.id],x=c.icon,g="next"===e.state,f="done"===e.state;return(0,r.jsx)(d.Zp,{as:"li",emphatic:g,"aria-current":g?"step":void 0,children:(0,r.jsxs)("div",{className:"flex items-start gap-3",children:[(0,r.jsx)("span",{className:"flex size-9 shrink-0 items-center justify-center rounded-lg bg-raised text-chalk","aria-hidden":!0,children:(0,r.jsx)(x,{className:"size-5"})}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,r.jsx)("h3",{ref:"hooks"===e.id?N:void 0,tabIndex:"hooks"===e.id?-1:void 0,className:"text-sm font-semibold",children:l(c.title)}),(0,r.jsxs)(d.vw,{tone:g?"accent":"neutral",size:"md",children:[f&&(0,r.jsx)(o.mmf,{className:"size-3","aria-hidden":!0}),l(f?"bridge.state.done":g?"bridge.state.next":"bridge.state.waiting")]})]}),(0,r.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-smoke",children:l(c.purpose,{tool:"panoma_log"})}),(0,r.jsx)("p",{className:"mt-2 font-mono text-xs text-smoke",children:l(c.detail,{count:e.detail.count,total:null!=(n=e.detail.total)?n:0})}),(0,r.jsx)("span",{className:"sr-only",children:l("bridge.setup.step",{n:a+1,total:s.total})}),"catalog"===e.id&&(f?(0,r.jsxs)(i(),{href:"/",className:"mt-3 inline-flex items-center gap-1 text-xs underline underline-offset-4",children:[l("bridge.step.catalog.go")," ",(0,r.jsx)(o.r9I,{className:"size-3","aria-hidden":!0})]}):(0,r.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,r.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:l("bridge.step.catalog.pending")}),(0,r.jsx)(m,{label:l("bridge.terminal"),command:"".concat(p," up ~/Desktop")})]})),"model"===e.id&&(0,r.jsxs)("div",{className:"mt-3 space-y-2",children:[f&&(0,r.jsx)("p",{className:"text-xs text-smoke",children:l("bridge.step.model.detected")}),(0,r.jsxs)(i(),{href:"/ai",className:"apps-button gap-2".concat(g?" apps-button-primary":""),children:[l(f?"bridge.step.model.manage":"bridge.step.model.go"),(0,r.jsx)(o.r9I,{className:"size-4","aria-hidden":!0})]})]}),"agent"===e.id&&(0,r.jsxs)("div",{className:"mt-3 space-y-3",children:[!f&&t.agents.keys>0&&(0,r.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:l("bridge.step.agent.keyUnused")}),f&&(0,r.jsx)("p",{className:"text-xs text-smoke",children:l("bridge.step.agent.seen")}),(0,r.jsxs)(i(),{href:"/agents",className:"apps-button gap-2".concat(g?" apps-button-primary":""),children:[l(f?"bridge.step.agent.manage":"bridge.step.agent.go"),(0,r.jsx)(o.r9I,{className:"size-4","aria-hidden":!0})]}),!f&&(0,r.jsxs)("details",{className:"text-xs text-smoke",children:[(0,r.jsx)("summary",{className:"cursor-pointer py-1.5 underline underline-offset-4",children:l("bridge.step.agent.terminal")}),(0,r.jsxs)("div",{className:"mt-2 space-y-2",children:[(0,r.jsx)(m,{label:l("bridge.terminal"),command:"".concat(p,' agent-key "Claude Code" --install')}),(0,r.jsx)("p",{className:"leading-relaxed",children:l("bridge.restartHint")})]})]})]}),"hooks"===e.id&&(0,r.jsxs)("div",{className:f&&!b?"":"mt-3 space-y-3",children:[t.hooks.installed<t.hooks.installable?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:l("bridge.step.hooks.scope")}),(0,r.jsx)(d.rA,{tone:g?"accent":"surface",size:"lg",type:"button",onClick:()=>void O(),busy:h,busyLabel:l("bridge.step.hooks.installing"),children:l("bridge.step.hooks.install")}),(0,r.jsxs)("details",{className:"text-xs text-smoke",children:[(0,r.jsx)("summary",{className:"cursor-pointer py-1.5 underline underline-offset-4",children:l("bridge.hooksAlt")}),(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(m,{label:l("bridge.step.hooks.terminal"),command:"".concat(p," hooks --install")})})]}),(0,r.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:l("bridge.restartHint")})]}):0===t.hooks.installable?(0,r.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:l("bridge.step.hooks.noGit")}):null,(0,r.jsxs)("div",{className:"text-xs leading-relaxed",children:[(0,r.jsx)("p",{role:"status",className:"text-smoke",children:b&&!b.error?b.text:null}),(0,r.jsx)("p",{role:"alert",className:"text-fail",children:(null==b?void 0:b.error)?b.text:null})]})]})]})]})},e.id)})})]})}},56684:(e,t,s)=>{"use strict";s.d(t,{k5:()=>d});var r=s(32165),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=r.createContext&&r.createContext(a),i=["attr","size","title"];function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function c(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?o(Object(s),!0).forEach(function(t){var r,a,l;r=e,a=t,l=s[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function d(e){return t=>r.createElement(u,n({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,s)=>r.createElement(t.tag,c({key:s},t.attr),e(t.child)))}(e.child))}function u(e){var t=t=>{var s,a=e.attr,l=e.size,o=e.title,d=function(e,t){if(null==e)return{};var s,r,a=function(e,t){if(null==e)return{};var s={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;s[r]=e[r]}return s}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)s=l[r],-1===t.indexOf(s)&&({}).propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}(e,i),u=l||t.size||"1em";return t.className&&(s=t.className),e.className&&(s=(s?s+" ":"")+e.className),r.createElement("svg",n({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,d,{className:s,style:c(c({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&r.createElement("title",null,o),e.children)};return void 0!==l?r.createElement(l.Consumer,null,e=>t(e)):t(a)}},67017:(e,t,s)=>{Promise.resolve().then(s.bind(s,28639)),Promise.resolve().then(s.t.bind(s,3953,23))}},e=>{e.O(0,[6587,3953,2575,2948,1305,6823,7358],()=>e(e.s=67017)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2229,2966,4345,4709],{25860:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,3953,23))}},e=>{e.O(0,[3953,1305,6823,7358],()=>e(e.s=25860)),_N_E=e.O()}]);
|
package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/page-c889987f707634f7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4138],{9144:(e,t,n)=>{"use strict";n.d(t,{I18nProvider:()=>i,Ym:()=>o,Zs:()=>u,kj:()=>d});var r=n(38657),s=n(32165),a=n(2575);let l=(0,s.createContext)("en"),c=(0,s.createContext)("panoma");function i(e){let{locale:t,cli:n,children:s}=e;return(0,r.jsx)(l.Provider,{value:t,children:(0,r.jsx)(c.Provider,{value:n,children:s})})}function o(){return(0,s.useContext)(l)}function u(){return(0,s.useContext)(c)}function d(){let e=(0,s.useContext)(l),t=(0,s.useContext)(c);return(0,s.useCallback)((n,r)=>(0,a.t)(e,n,{cli:t,...r}),[e,t])}},21248:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(38657);function s(e){let{text:t,slots:n}=e,s=t.split(/\{(\w+)\}/g);return(0,r.jsx)(r.Fragment,{children:s.map((e,t)=>{var s;return t%2==0?e:(0,r.jsx)("span",{children:null!=(s=n[e])?s:"{".concat(e,"}")},t)})})}},56684:(e,t,n)=>{"use strict";n.d(t,{k5:()=>u});var r=n(32165),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=r.createContext&&r.createContext(s),l=["attr","size","title"];function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){var r,s,a;r=e,s=t,a=n[t],(s=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(s))in r?Object.defineProperty(r,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[s]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e){return t=>r.createElement(d,c({attr:o({},e.attr)},t),function e(t){return t&&t.map((t,n)=>r.createElement(t.tag,o({key:n},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var n,s=e.attr,a=e.size,i=e.title,u=function(e,t){if(null==e)return{};var n,r,s=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}(e,l),d=a||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,s,u,{className:n,style:o(o({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),i&&r.createElement("title",null,i),e.children)};return void 0!==a?r.createElement(a.Consumer,null,e=>t(e)):t(s)}},84456:(e,t,n)=>{"use strict";n.d(t,{SecretScan:()=>x});var r=n(38657),s=n(3953),a=n.n(s),l=n(32165),c=n(9144),i=n(21248),o=n(52948);let u=new Set(["env-file","key-file","google-service-account","ssh-private-key"]),d={critical:"text-fail border-fail/40 bg-fail/8",high:"text-chalk border-idle/40 bg-idle/[0.08]",medium:"text-smoke border-edge bg-raised"};function x(){let e=(0,c.kj)(),t=t=>{var n;return null!=(n=e("secret.".concat(t.ruleId)))?n:t.label},[n,s]=(0,l.useState)("ready"),[x,p]=(0,l.useState)(null),[m,f]=(0,l.useState)(null);async function h(){s("searching"),f(null);try{var t;let n=await fetch("/api/secrets",{method:"POST"}),r=await n.json();n.ok?p(r):f(null!=(t=r.error)?t:e("scan.failed"))}catch(t){f(e("scan.unreachable"))}finally{s("ready")}}return(0,r.jsxs)("div",{children:[(0,r.jsx)(o.rA,{tone:"surface",type:"button",onClick:h,busy:"searching"===n,busyLabel:e("scan.busy"),children:x?e("scan.again"):e("scan.start")}),m&&(0,r.jsx)(o.lZ,{text:m,className:"mt-2"}),x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("p",{className:"mt-4 flex flex-wrap gap-x-5 gap-y-1 font-mono text-xs text-faint",children:[(0,r.jsxs)("span",{className:x.total>0?"text-fail":"text-live",children:[e(1===x.total?"scan.findingOne":"scan.findingMany",{n:x.total})," ",e(1===x.results.length?"search.inProjectOne":"search.inProjectMany",{n:x.results.length})]}),(0,r.jsx)("span",{children:e("scan.reposScanned",{n:x.scanned})}),x.skipped>0&&(0,r.jsx)("span",{children:e("scan.skipped",{n:x.skipped})}),x.ignoredPublic>0&&(0,r.jsx)("span",{title:e("scan.publicTitle"),children:e("scan.public",{n:x.ignoredPublic})})]}),0===x.results.length?(0,r.jsx)(o.pp,{className:"mt-4",title:e("scan.clean")}):(0,r.jsx)("ul",{className:"mt-4 space-y-3",children:x.results.map(n=>(0,r.jsxs)(o.Zp,{as:"li",pad:"none",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-1 border-b border-edge px-4 py-2.5",children:[(0,r.jsx)(a(),{href:"/p/".concat(n.slug),className:"text-sm font-medium hover:text-accent",children:n.name}),(0,r.jsx)("span",{className:"font-mono text-[11px] text-faint",title:n.root,children:function(e){let t=e.split("/");return t.length<=3?e:"…/".concat(t.slice(-2).join("/"))}(n.root)}),(0,r.jsx)("span",{className:"ml-auto font-mono text-[11px] text-faint",children:n.findings.length})]}),(0,r.jsx)("ul",{className:"divide-y divide-edge/50",children:n.findings.map((n,s)=>{var a;return(0,r.jsxs)("li",{className:"px-4 py-2",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-2.5 gap-y-1",children:[(0,r.jsx)("span",{className:"rounded border px-1.5 font-mono text-[10px] ".concat(d[n.severity]),title:n.severity,children:e("severity.".concat(n.severity))}),(0,r.jsx)("span",{className:"text-xs text-chalk",children:u.has(n.ruleId)?e("scan.trackedByGit",{label:t(n)}):t(n)}),(0,r.jsxs)("span",{className:"font-mono text-[10px] text-faint",children:[n.file,n.line>0&&":".concat(n.line)]})]}),n.line>0&&(0,r.jsx)("code",{className:"mt-1 block truncate font-mono text-[10px] text-smoke",children:n.excerpt}),(0,r.jsx)("p",{className:"mt-0.5 text-[11px] leading-relaxed text-faint",children:null!=(a=e("secretWhy.".concat(u.has(n.ruleId)?"file":n.ruleId)))?a:n.why})]},"".concat(n.file,":").concat(n.line,":").concat(s))})})]},n.id))}),(0,r.jsxs)(o.Zp,{className:"mt-6 text-xs leading-relaxed text-smoke",children:[(0,r.jsx)("p",{className:"font-medium text-chalk",children:e("scan.orderTitle")}),(0,r.jsxs)("ol",{className:"mt-2 list-inside list-decimal space-y-1 text-faint",children:[(0,r.jsx)("li",{children:(0,r.jsx)(i.h,{text:e("scan.step1"),slots:{act:(0,r.jsx)("span",{className:"text-smoke",children:e("scan.step1Act")})}})}),(0,r.jsx)("li",{children:(0,r.jsx)("span",{className:"text-smoke",children:e("scan.step2")})}),(0,r.jsx)("li",{children:(0,r.jsx)(i.h,{text:e("scan.step3"),slots:{act:(0,r.jsx)("span",{className:"text-smoke",children:e("scan.step3Act")})}})})]}),(0,r.jsx)("p",{className:"mt-3 font-mono text-[10px]",children:e("scan.notStored")})]})]})]})}},98230:(e,t,n)=>{Promise.resolve().then(n.bind(n,84456))}},e=>{e.O(0,[6587,3953,2575,2948,1305,6823,7358],()=>e(e.s=98230)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9816],{9144:(e,t,r)=>{"use strict";r.d(t,{I18nProvider:()=>u,Ym:()=>l,Zs:()=>c,kj:()=>f});var n=r(38657),a=r(32165),i=r(2575);let o=(0,a.createContext)("en"),s=(0,a.createContext)("panoma");function u(e){let{locale:t,cli:r,children:a}=e;return(0,n.jsx)(o.Provider,{value:t,children:(0,n.jsx)(s.Provider,{value:r,children:a})})}function l(){return(0,a.useContext)(o)}function c(){return(0,a.useContext)(s)}function f(){let e=(0,a.useContext)(o),t=(0,a.useContext)(s);return(0,a.useCallback)((r,n)=>(0,i.t)(e,r,{cli:t,...n}),[e,t])}},10354:(e,t,r)=>{"use strict";var n=r(61990);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},28860:(e,t,r)=>{"use strict";r.d(t,{Readmit:()=>c,Unhide:()=>l});var n=r(38657),a=r(10354),i=r(32165),o=r(9144),s=r(52948);function u(){let e=(0,o.kj)(),t=(0,a.useRouter)(),[r,n]=(0,i.useState)(!1),[s,u]=(0,i.useState)(null);return{busy:r,error:s,send:async function(r){n(!0),u(null);try{var a;let n=await fetch("/api/project",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});n.ok?t.refresh():u(null!=(a=(await n.json()).error)?a:e("undo.failed"))}catch(t){u(e("undo.unreachable"))}finally{n(!1)}}}}function l(e){let{projectId:t}=e,r=(0,o.kj)(),{busy:a,error:i,send:l}=u();return(0,n.jsxs)("span",{className:"inline-flex items-center gap-2",children:[i&&(0,n.jsx)(s.lZ,{as:"span",text:i}),(0,n.jsx)(s.rA,{tone:"raised",size:"sm",type:"button",busy:a,busyLabel:"…",onClick:()=>l({action:"mostrar",id:t}),className:"shrink-0",children:r("undo.unhide")})]})}function c(e){let{root:t}=e,r=(0,o.kj)(),{busy:a,error:i,send:l}=u();return(0,n.jsxs)("span",{className:"inline-flex items-center gap-2",children:[i&&(0,n.jsx)(s.lZ,{as:"span",text:i}),(0,n.jsx)(s.rA,{tone:"raised",size:"sm",type:"button",busy:a,busyLabel:"…",onClick:()=>l({action:"readmitir",root:t}),className:"shrink-0",children:r("undo.readmit")})]})}},51917:(e,t,r)=>{Promise.resolve().then(r.bind(r,28860)),Promise.resolve().then(r.t.bind(r,3953,23))},56684:(e,t,r)=>{"use strict";r.d(t,{k5:()=>c});var n=r(32165),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(a),o=["attr","size","title"];function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,a,i;n=e,a=t,i=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e){return t=>n.createElement(f,s({attr:l({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,l({key:r},t.attr),e(t.child)))}(e.child))}function f(e){var t=t=>{var r,a=e.attr,i=e.size,u=e.title,c=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,o),f=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,c,{className:r,style:l(l({color:e.color||t.color},t.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),u&&n.createElement("title",null,u),e.children)};return void 0!==i?n.createElement(i.Consumer,null,e=>t(e)):t(a)}}},e=>{e.O(0,[6587,3953,2575,2948,1305,6823,7358],()=>e(e.s=51917)),_N_E=e.O()}]);
|
package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/page-dad4f70f6abc8ead.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[668],{9144:(e,t,r)=>{"use strict";r.d(t,{I18nProvider:()=>s,Ym:()=>c,Zs:()=>u,kj:()=>d});var n=r(38657),a=r(32165),i=r(2575);let o=(0,a.createContext)("en"),l=(0,a.createContext)("panoma");function s(e){let{locale:t,cli:r,children:a}=e;return(0,n.jsx)(o.Provider,{value:t,children:(0,n.jsx)(l.Provider,{value:r,children:a})})}function c(){return(0,a.useContext)(o)}function u(){return(0,a.useContext)(l)}function d(){let e=(0,a.useContext)(o),t=(0,a.useContext)(l);return(0,a.useCallback)((r,n)=>(0,i.t)(e,r,{cli:t,...n}),[e,t])}},10354:(e,t,r)=>{"use strict";var n=r(61990);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},21248:(e,t,r)=>{"use strict";r.d(t,{h:()=>a});var n=r(38657);function a(e){let{text:t,slots:r}=e,a=t.split(/\{(\w+)\}/g);return(0,n.jsx)(n.Fragment,{children:a.map((e,t)=>{var a;return t%2==0?e:(0,n.jsx)("span",{children:null!=(a=r[e])?a:"{".concat(e,"}")},t)})})}},29467:(e,t,r)=>{Promise.resolve().then(r.bind(r,98623)),Promise.resolve().then(r.t.bind(r,3953,23))},56684:(e,t,r)=>{"use strict";r.d(t,{k5:()=>u});var n=r(32165),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(a),o=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){var n,a,i;n=e,a=t,i=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e){return t=>n.createElement(d,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var r,a=e.attr,i=e.size,s=e.title,u=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,o),d=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,u,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),e.children)};return void 0!==i?n.createElement(i.Consumer,null,e=>t(e)):t(a)}},98623:(e,t,r)=>{"use strict";r.d(t,{RunActions:()=>c});var n=r(38657),a=r(10354),i=r(32165),o=r(9144),l=r(21248),s=r(52948);function c(e){let{runId:t,branch:r}=e,c=(0,o.kj)(),u=(0,a.useRouter)(),[d,f]=(0,i.useState)(null),[p,b]=(0,i.useState)(null);async function m(e){f(e),b(null);try{var r,n;let a=await fetch("/api/runs/".concat(t),{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:e})}),i=await a.json();b({ok:!!i.ok,detail:null!=(n=null!=(r=i.detail)?r:i.error)?n:c("runActions.noDetail")}),i.ok&&u.refresh()}catch(e){b({ok:!1,detail:c("runActions.unreachable")})}finally{f(null)}}return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsx)(s.rA,{tone:"accent",size:"lg",onClick:()=>m("aplicar"),busy:"aplicar"===d,busyLabel:c("runActions.merging"),disabled:null!==d,children:c("runActions.apply")}),(0,n.jsx)(s.rA,{tone:"plain",size:"lg",onClick:()=>m("descartar"),busy:"descartar"===d,busyLabel:c("runActions.discarding"),disabled:null!==d,children:c("runActions.discard")})]}),(0,n.jsx)("p",{className:"mt-2 font-mono text-[11px] text-faint",children:(0,n.jsx)(l.h,{text:c("runActions.note"),slots:{branch:(0,n.jsx)("span",{className:"text-smoke",children:r})}})}),p&&(0,n.jsx)("p",{className:"mt-3 rounded border px-3 py-2 text-xs ".concat(p.ok?"border-live/30 bg-live/10 text-live":"border-idle/30 bg-idle/10 text-idle"),children:p.detail})]})}}},e=>{e.O(0,[6587,3953,2575,2948,1305,6823,7358],()=>e(e.s=29467)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2229,2966,4345,4709],{25860:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,3953,23))}},e=>{e.O(0,[3953,1305,6823,7358],()=>e(e.s=25860)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5172],{9144:(e,t,s)=>{"use strict";s.d(t,{I18nProvider:()=>o,Ym:()=>c,Zs:()=>d,kj:()=>p});var n=s(38657),a=s(32165),r=s(2575);let l=(0,a.createContext)("en"),i=(0,a.createContext)("panoma");function o(e){let{locale:t,cli:s,children:a}=e;return(0,n.jsx)(l.Provider,{value:t,children:(0,n.jsx)(i.Provider,{value:s,children:a})})}function c(){return(0,a.useContext)(l)}function d(){return(0,a.useContext)(i)}function p(){let e=(0,a.useContext)(l),t=(0,a.useContext)(i);return(0,a.useCallback)((s,n)=>(0,r.t)(e,s,{cli:t,...n}),[e,t])}},10354:(e,t,s)=>{"use strict";var n=s(61990);s.o(n,"usePathname")&&s.d(t,{usePathname:function(){return n.usePathname}}),s.o(n,"useRouter")&&s.d(t,{useRouter:function(){return n.useRouter}}),s.o(n,"useSearchParams")&&s.d(t,{useSearchParams:function(){return n.useSearchParams}})},40092:(e,t,s)=>{Promise.resolve().then(s.bind(s,44653))},44653:(e,t,s)=>{"use strict";s.d(t,{SpendControls:()=>f});var n=s(38657),a=s(10354),r=s(32165),l=s(9144),i=s(52948);function o(e){return"es"===e?"es-ES":"en-US"}function c(e,t){return new Intl.NumberFormat(o(t)).format(e)}let d={read:"spend.family.read",look:"spend.family.look",memory:"spend.family.memory",ask:"spend.family.ask",rehearse:"spend.family.rehearse",episodes:"spend.family.episodes",card:"spend.family.card",app:"spend.family.app",handoff:"spend.family.handoff"},p={read:"spend.familyHint.read",look:"spend.familyHint.look",memory:"spend.familyHint.memory",ask:"spend.familyHint.ask",rehearse:"spend.familyHint.rehearse",episodes:"spend.familyHint.episodes",card:"spend.familyHint.card",app:"spend.familyHint.app",handoff:"spend.familyHint.handoff"},m={factory:"spend.source.factory",file:"spend.source.file",env:"spend.source.env",paused:"spend.source.paused"};function u(e){return Object.fromEntries(e.map(e=>[e.key,{input:e.rate?String(e.rate.input):"",output:e.rate?String(e.rate.output):""}]))}function x(e){return Object.fromEntries(e.families.map(t=>{let s=e.chosen[t.family];return[t.family,void 0===s?"":String(s)]}))}function h(e){return e&&(""!==e.input.trim()||""!==e.output.trim())?{input:Number(e.input||0),output:Number(e.output||0)}:null}function f(e){let{initial:t}=e,s=(0,l.kj)(),d=(0,l.Ym)(),p=(0,a.useRouter)(),[m,f]=(0,r.useState)(()=>x(t)),[j,v]=(0,r.useState)(()=>u(t.models)),[g,N]=(0,r.useState)(t.currency),[k,w]=(0,r.useState)(t.paused),[O,C]=(0,r.useState)(t.shots),[S,P]=(0,r.useState)(!1),[E,H]=(0,r.useState)(!1),[D,F]=(0,r.useState)(!1),[z,R]=(0,r.useState)(null),M=(0,r.useRef)(!1),A=3===g.trim().length?g.trim().toUpperCase():t.currency;function I(){F(!0),H(!1),R(null)}function _(e,t,s){v(n=>{var a;return{...n,[e]:{...null!=(a=n[e])?a:{input:"",output:""},[t]:s}}}),I()}function L(e){C(e),I()}async function U(e){if(e.preventDefault(),M.current)return;M.current=!0,P(!0),I();let n={caps:Object.fromEntries(t.families.filter(e=>void 0===e.env).map(e=>{var t;let s=(null!=(t=m[e.family])?t:"").trim();return[e.family,""===s?null:Number(s)]})),rates:{...t.rates,...Object.fromEntries(t.models.map(e=>[e.key,h(j[e.key])]))},currency:g.trim().toUpperCase(),paused:k,shots:O};try{let e=await fetch("/api/spend",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}),t=await e.json().catch(()=>({}));if(!e.ok){var a;R([null!=(a=t.error)?a:s("spend.failed"),t.hint].filter(Boolean).join(" "));return}if(!Array.isArray(t.families)||!Array.isArray(t.models))return void R(s("spend.failed"));f(x(t)),v(u(t.models)),N(t.currency),w(t.paused),C(t.shots),H(!0),F(!1),p.refresh()}catch(e){R(s("project.unreachable"))}finally{M.current=!1,P(!1)}}return(0,n.jsxs)("form",{onSubmit:U,"aria-busy":S,className:"mt-6 space-y-4",children:[(0,n.jsxs)(i.Zp,{as:"section","aria-labelledby":"spend-caps-title",children:[(0,n.jsx)("h2",{id:"spend-caps-title",className:"text-base font-semibold",children:s("spend.caps")}),(0,n.jsx)("p",{className:"mt-2 max-w-2xl text-xs leading-relaxed text-smoke",children:s("spend.capsHint")}),(0,n.jsx)("div",{className:"mt-4 border-b border-edge pb-4",children:(0,n.jsxs)(i.Jl,{checked:k,disabled:S,onChange:e=>{w(e.target.checked),I()},children:[s("spend.pause"),(0,n.jsx)("span",{className:"mt-1 block text-xs leading-relaxed text-smoke",children:s("spend.pauseHint")})]})}),(0,n.jsx)("ul",{className:"mt-4 space-y-4",children:t.families.map(e=>{var t;return(0,n.jsx)(b,{line:e,value:null!=(t=m[e.family])?t:"",disabled:S,onChange:t=>{f(s=>({...s,[e.family]:t})),I()}},e.family)})})]}),(0,n.jsxs)(i.Zp,{as:"section","aria-labelledby":"spend-rates-title",children:[(0,n.jsx)("h2",{id:"spend-rates-title",className:"text-base font-semibold",children:s("spend.byModel")}),(0,n.jsx)("p",{className:"mt-2 max-w-2xl text-xs leading-relaxed text-smoke",children:s("spend.rateHint")}),(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)(i.D0,{label:s("spend.currency"),"aria-describedby":"spend-currency-hint",type:"text",maxLength:3,autoCapitalize:"characters",spellCheck:!1,value:g,disabled:S,onChange:e=>{N(e.target.value),I()},className:"w-24"}),(0,n.jsx)("p",{id:"spend-currency-hint",className:"mt-1 max-w-2xl text-xs leading-relaxed text-smoke",children:s("spend.currencyHint")})]}),0===t.models.length?(0,n.jsx)(i.pp,{variant:"bare",className:"mt-4",title:s("spend.monthEmpty"),children:s("spend.modelsEmptyHint")}):(0,n.jsx)("div",{className:"mt-4 overflow-x-auto",children:(0,n.jsxs)("table",{className:"w-full min-w-[40rem] text-sm",children:[(0,n.jsxs)("caption",{className:"sr-only",children:[s("spend.byModel")," \xb7 ",s("spend.month")]}),(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{className:"text-left font-mono text-[11px] text-smoke",children:[(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 font-normal",children:s("spend.model")}),(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 text-right font-normal",children:s("spend.colCalls")}),(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 text-right font-normal",children:s("spend.colIn")}),(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 text-right font-normal",children:s("spend.colOut")}),(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 text-right font-normal",children:s("spend.colUnmetered")}),(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 font-normal",children:s("spend.colRateIn")}),(0,n.jsx)("th",{scope:"col",className:"py-1 pr-3 font-normal",children:s("spend.colRateOut")}),(0,n.jsx)("th",{scope:"col",className:"py-1 text-right font-normal",children:s("spend.colCost")})]})}),(0,n.jsx)("tbody",{children:t.models.map(e=>{var t,a;let r=null!=(t=j[e.key])?t:{input:"",output:""},l=(a=h(r))?e.input/1e6*a.input+e.output/1e6*a.output:null;return(0,n.jsxs)("tr",{className:"border-t border-edge",children:[(0,n.jsx)("th",{scope:"row",className:"py-2 pr-3 text-left font-mono text-xs font-normal",children:e.key}),(0,n.jsx)("td",{className:"py-2 pr-3 text-right font-mono text-xs",children:c(e.calls,d)}),(0,n.jsx)("td",{className:"py-2 pr-3 text-right font-mono text-xs",children:c(e.input,d)}),(0,n.jsx)("td",{className:"py-2 pr-3 text-right font-mono text-xs",children:c(e.output,d)}),(0,n.jsx)("td",{className:"py-2 pr-3 text-right font-mono text-xs",children:c(e.unmetered,d)}),(0,n.jsx)("td",{className:"py-2 pr-3",children:(0,n.jsx)(i.D0,{label:s("spend.rateInLabel",{model:e.key}),hideLabel:!0,size:"sm",className:"w-24",type:"number",min:0,step:"any",inputMode:"decimal",placeholder:"—",value:r.input,disabled:S,onChange:t=>_(e.key,"input",t.target.value)})}),(0,n.jsx)("td",{className:"py-2 pr-3",children:(0,n.jsx)(i.D0,{label:s("spend.rateOutLabel",{model:e.key}),hideLabel:!0,size:"sm",className:"w-24",type:"number",min:0,step:"any",inputMode:"decimal",placeholder:"—",value:r.output,disabled:S,onChange:t=>_(e.key,"output",t.target.value)})}),(0,n.jsx)("td",{className:"py-2 text-right font-mono text-xs",children:e.calls>0&&e.unmetered===e.calls&&e.input+e.output===0?s("spend.rateUnmetered"):null===l?s("spend.rateMissing"):function(e,t,s){try{return new Intl.NumberFormat(o(s),{style:"currency",currency:t,minimumFractionDigits:2,maximumFractionDigits:4}).format(e)}catch(s){return"".concat(e.toFixed(2)," ").concat(t)}}(l,A,d)})]},e.key)})})]})})]}),(0,n.jsxs)(i.Zp,{as:"section","aria-labelledby":"spend-shots-title",children:[(0,n.jsx)("h2",{id:"spend-shots-title",className:"text-base font-semibold",children:s("spend.shots")}),(0,n.jsx)("p",{id:"spend-shots-hint",className:"mt-2 max-w-2xl text-xs leading-relaxed text-smoke",children:s("spend.shotsHint")}),(0,n.jsxs)("fieldset",{"aria-labelledby":"spend-shots-title","aria-describedby":"spend-shots-hint",className:"mt-4 flex flex-col gap-3 border-0 p-0",children:[(0,n.jsx)(y,{value:"full",chosen:O,disabled:S,label:s("spend.shotFull"),hint:s("spend.shotFullHint"),onChoose:L}),(0,n.jsx)(y,{value:"fit",chosen:O,disabled:S,label:s("spend.shotFit",{n:c(t.shotEdge,d)}),hint:s("spend.shotFitHint"),onChoose:L})]}),(0,n.jsx)("p",{className:"mt-3 max-w-2xl text-xs leading-relaxed text-smoke",children:s("spend.shotsPng")})]}),(0,n.jsxs)("div",{className:D||S||E?"sticky bottom-[calc(var(--dock-height)+env(safe-area-inset-bottom,0px)+var(--space-2))] rounded-lg border border-edge bg-surface p-3 min-[761px]:bottom-4":"py-2",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,n.jsx)(i.rA,{type:"submit",tone:"accent",busy:S,busyLabel:s("spend.saving"),children:s("spend.save")}),(0,n.jsx)("p",{role:"status","aria-live":"polite",className:"text-xs text-smoke",children:D?s("spend.dirty"):E?s("spend.saved"):""})]}),z&&(0,n.jsx)(i.lZ,{text:z,className:"mt-3"})]})]})}function y(e){let{value:t,chosen:s,disabled:a,label:r,hint:l,onChoose:i}=e,o="spend-shots-".concat(t);return(0,n.jsxs)("label",{htmlFor:o,className:"flex items-start gap-2 text-sm",children:[(0,n.jsx)("input",{id:o,type:"radio",name:"spend-shots",value:t,checked:s===t,disabled:a,onChange:()=>i(t),className:"mt-1"}),(0,n.jsxs)("span",{className:"max-w-2xl",children:[r,(0,n.jsx)("span",{className:"mt-0.5 block text-xs leading-relaxed text-smoke",children:l})]})]})}function b(e){var t,s,a,r;let{line:o,value:u,disabled:x,onChange:h}=e,f=(0,l.kj)(),y=(0,l.Ym)(),b="spend-cap-".concat(o.family),v=void 0!==o.env,g="paused"===o.source,N=0===o.cap,k=o.used>=o.cap,w="env"===o.source?f("spend.source.env",{name:o.variable}):f(m[o.source]);return(0,n.jsxs)("li",{className:"border-t border-edge pt-4 first:border-0 first:pt-0",children:[(0,n.jsxs)("div",{className:"grid gap-3 sm:grid-cols-[minmax(0,1fr)_7rem] sm:gap-x-6",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-baseline gap-2",children:[(0,n.jsx)("label",{id:"".concat(b,"-name"),htmlFor:b,className:"text-sm font-semibold",children:f(d[o.family])}),(0,n.jsx)(i.vw,{tone:g||N||k?"strong":"neutral",size:"md",children:f(g?"spend.state.paused":N?"spend.state.disabled":k?"spend.state.exhausted":"spend.state.enabled")})]}),(0,n.jsx)("p",{id:"".concat(b,"-hint"),className:"mt-1 text-xs leading-relaxed text-smoke",children:f(p[o.family])}),(0,n.jsx)("p",{className:"mt-2 font-mono text-xs text-smoke",children:f("app"===o.family?"spend.usageAttempts":"spend.usageCalls",{used:c(o.used,y),cap:c(o.cap,y)})}),(0,n.jsx)("div",{className:"mt-2 h-1 overflow-hidden rounded-full bg-raised","aria-hidden":!0,children:(0,n.jsx)("div",{className:"h-full bg-chalk",style:{width:"".concat((a=o.used,(r=o.cap)<=0?100*(a>0):Math.min(100,Math.round(a/r*100))),"%")}})}),(0,n.jsxs)("div",{className:"mt-2 flex flex-wrap items-baseline gap-2 text-xs text-smoke",children:[(0,n.jsx)(i.vw,{size:"md",children:w}),"factory"!==o.source&&(0,n.jsx)("span",{children:f("spend.factory",{n:c(o.factory,y)})})]}),(0,n.jsx)(j,{row:o})]}),(0,n.jsxs)("div",{className:"max-w-28",children:[(0,n.jsx)("span",{id:"".concat(b,"-unit"),className:"mb-1 block text-xs leading-relaxed text-smoke",children:f("app"===o.family?"spend.capAttempts":"spend.capCalls")}),(0,n.jsx)("input",{id:b,"aria-labelledby":"".concat(b,"-name ").concat(b,"-unit"),"aria-describedby":"".concat(b,"-hint").concat(v?" ".concat(b,"-env"):""),type:"number",min:0,max:1e5,step:1,inputMode:"numeric",placeholder:String(o.factory),value:v?String(o.cap):u,disabled:x||v,onChange:e=>h(e.target.value),className:"block w-full rounded border border-edge bg-surface px-2 py-1.5 font-mono text-xs disabled:opacity-50"})]})]}),v&&(0,n.jsx)("p",{id:"".concat(b,"-env"),className:"mt-2 text-xs leading-relaxed text-smoke",children:!1===o.envReadable?f("spend.envUnread",{name:o.variable,value:null!=(t=o.env)?t:"",factory:o.factory}):f("spend.envDecides",{name:o.variable,value:null!=(s=o.env)?s:""})}),"app"===o.family&&(0,n.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:f("spend.appReservationsHint")})]})}function j(e){let{row:t}=e,s=(0,l.kj)(),a=(0,l.Ym)();if(!(t.input>0||t.output>0||t.unmetered>0||t.images>0))return null;let r=[];return t.input+t.output>0&&r.push(s("spend.tokens",{input:c(t.input,a),output:c(t.output,a)})),t.unmetered>0&&r.push(s("spend.unmetered",{n:c(t.unmetered,a)})),t.images>0&&r.push(s("spend.images",{n:c(t.images,a)})),(0,n.jsx)("p",{className:"mt-2 font-mono text-xs leading-relaxed text-smoke",children:r.join(" \xb7 ")})}},56684:(e,t,s)=>{"use strict";s.d(t,{k5:()=>d});var n=s(32165),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},r=n.createContext&&n.createContext(a),l=["attr","size","title"];function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)({}).hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(null,arguments)}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,n)}return s}function c(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?o(Object(s),!0).forEach(function(t){var n,a,r;n=e,a=t,r=s[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var n=s.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[a]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function d(e){return t=>n.createElement(p,i({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,s)=>n.createElement(t.tag,c({key:s},t.attr),e(t.child)))}(e.child))}function p(e){var t=t=>{var s,a=e.attr,r=e.size,o=e.title,d=function(e,t){if(null==e)return{};var s,n,a=function(e,t){if(null==e)return{};var s={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;s[n]=e[n]}return s}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)s=r[n],-1===t.indexOf(s)&&({}).propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}(e,l),p=r||t.size||"1em";return t.className&&(s=t.className),e.className&&(s=(s?s+" ":"")+e.className),n.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,d,{className:s,style:c(c({color:e.color||t.color},t.style),e.style),height:p,width:p,xmlns:"http://www.w3.org/2000/svg"}),o&&n.createElement("title",null,o),e.children)};return void 0!==r?n.createElement(r.Consumer,null,e=>t(e)):t(a)}}},e=>{e.O(0,[6587,2575,2948,1305,6823,7358],()=>e(e.s=40092)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4406],{12991:(e,t,r)=>{"use strict";r.d(t,{OpenFolder:()=>c});var n=r(38657),o=r(32165),i=r(3043),a=r(2575),l=r(91635);let s={folder:{idle:"open.folder",busy:"open.busy",done:"open.doneFolder"},editor:{idle:"open.editor",busy:"open.busy",done:"open.done"},terminal:{idle:"open.terminal",busy:"open.busy",done:"open.done"}};function c(e){let{projectId:t,path:r,tool:c="folder",appearance:u="inline",locale:d}=e,[p,f]=(0,o.useState)("ready"),[y,m]=(0,o.useState)(null);async function b(){f("opening"),m(null);let e=await (0,l.A)({id:t,tool:c},(0,a.t)(d,"open.unreachable"));e.ok?(f("open"),setTimeout(()=>f("ready"),2e3)):(f("ready"),m(e.message))}let v=s[c],h=(0,a.t)(d,v.idle),g="editor"===c?i.KQe:"terminal"===c?i.Jhl:i.mUU;return(0,n.jsxs)("span",{className:"open-project-action open-project-action--".concat(u),children:[(0,n.jsxs)("button",{type:"button",onClick:b,disabled:"opening"===p,title:"".concat(h," \xb7 ").concat(r),children:[(0,n.jsx)(g,{"aria-hidden":!0}),"opening"===p?(0,a.t)(d,v.busy):"open"===p?(0,a.t)(d,v.done):h]}),y&&(0,n.jsx)("span",{className:"open-project-action__error",children:y})]})}},14262:(e,t,r)=>{"use strict";r.d(t,{CopyCommand:()=>l});var n=r(38657),o=r(2575),i=r(19014),a=r(52948);function l(e){let{command:t,label:r,locale:l}=e,{copied:s,copy:c}=(0,i.K)();return(0,n.jsxs)(a.rA,{tone:"raised",size:"sm",type:"button",onClick:()=>c(t),title:(0,o.t)(l,"copy.command",{command:t}),children:[(0,n.jsx)("span",{children:null!=r?r:t}),(0,n.jsx)("span",{className:"text-faint",children:s?(0,o.t)(l,"copy.done"):"⧉"})]})}},19014:(e,t,r)=>{"use strict";r.d(t,{K:()=>o});var n=r(32165);function o(){let[e,t]=(0,n.useState)(!1),[r,o]=(0,n.useState)(!1);return{copied:e,failed:r,copy:(0,n.useCallback)(async e=>{try{await navigator.clipboard.writeText(e),o(!1),t(!0),setTimeout(()=>t(!1),1600)}catch(e){o(!0)}},[])}}},35261:(e,t,r)=>{"use strict";async function n(e,t,r,n){let o,i;try{o=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}catch(e){return{ok:!1,message:r}}try{i=await o.json()}catch(e){return{ok:!1,message:String(o.status)}}return o.ok&&(null==i?void 0:i.ok)?{ok:!0,data:i}:{ok:!1,message:(null==n?void 0:n(null!=i?i:{}))||(null==i?void 0:i.error)||String(o.status)}}r.d(t,{B:()=>n})},56684:(e,t,r)=>{"use strict";r.d(t,{k5:()=>u});var n=r(32165),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=n.createContext&&n.createContext(o),a=["attr","size","title"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e){return t=>n.createElement(d,l({attr:c({},e.attr)},t),function e(t){return t&&t.map((t,r)=>n.createElement(t.tag,c({key:r},t.attr),e(t.child)))}(e.child))}function d(e){var t=t=>{var r,o=e.attr,i=e.size,s=e.title,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),d=i||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",l({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,u,{className:r,style:c(c({color:e.color||t.color},t.style),e.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),s&&n.createElement("title",null,s),e.children)};return void 0!==i?n.createElement(i.Consumer,null,e=>t(e)):t(o)}},63277:(e,t,r)=>{Promise.resolve().then(r.bind(r,14262)),Promise.resolve().then(r.bind(r,12991)),Promise.resolve().then(r.t.bind(r,3953,23))},91635:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(35261);async function o(e,t){let r=await (0,n.B)("/api/open",{id:e.id,tool:e.tool,...e.with?{with:e.with}:{}},t,e=>[e.error,e.hint].filter(Boolean).join(" "));return r.ok?{ok:!0}:{ok:!1,message:r.message}}}},e=>{e.O(0,[6587,3953,2575,2948,1305,6823,7358],()=>e(e.s=63277)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2229,2966,4345,4709],{25860:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,3953,23))}},e=>{e.O(0,[3953,1305,6823,7358],()=>e(e.s=25860)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2229,2966,4345,4709],{25860:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,3953,23))}},e=>{e.O(0,[3953,1305,6823,7358],()=>e(e.s=25860)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7358],{11131:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,75164,23)),Promise.resolve().then(n.t.bind(n,54941,23)),Promise.resolve().then(n.t.bind(n,6143,23)),Promise.resolve().then(n.t.bind(n,76004,23)),Promise.resolve().then(n.t.bind(n,18304,23)),Promise.resolve().then(n.t.bind(n,98584,23)),Promise.resolve().then(n.t.bind(n,72646,23)),Promise.resolve().then(n.t.bind(n,3181,23)),Promise.resolve().then(n.bind(n,56984))},52561:()=>{}},e=>{var s=s=>e(e.s=s);e.O(0,[1305,6823],()=>(s(39628),s(11131))),_N_E=e.O()}]);
|