panoma 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/app/BUILD-INFO.json +3 -3
- package/app/apps/web/.next-bundle/BUILD_ID +1 -1
- package/app/apps/web/.next-bundle/app-build-manifest.json +414 -322
- package/app/apps/web/.next-bundle/app-path-routes-manifest.json +45 -33
- package/app/apps/web/.next-bundle/build-manifest.json +3 -3
- package/app/apps/web/.next-bundle/prerender-manifest.json +9 -9
- package/app/apps/web/.next-bundle/required-server-files.json +5 -4
- package/app/apps/web/.next-bundle/routes-manifest.json +14 -0
- 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 -0
- package/app/apps/web/.next-bundle/server/app/(app)/handoff/page_client-reference-manifest.js +1 -0
- 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 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/apps/route_client-reference-manifest.js +1 -0
- 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 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route_client-reference-manifest.js +1 -0
- 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 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/video/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/agent/video/route_client-reference-manifest.js +1 -0
- 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 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/record/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/record/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/handoff/route_client-reference-manifest.js +1 -0
- 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 -33
- package/app/apps/web/.next-bundle/server/chunks/1190.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/1214.js +217 -0
- package/app/apps/web/.next-bundle/server/chunks/1646.js +5 -5
- package/app/apps/web/.next-bundle/server/chunks/2455.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/2658.js +2 -2
- package/app/apps/web/.next-bundle/server/chunks/305.js +3 -0
- package/app/apps/web/.next-bundle/server/chunks/329.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3347.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/376.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3815.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3834.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/3863.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3896.js +16 -0
- package/app/apps/web/.next-bundle/server/chunks/4478.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/4498.js +2 -2
- package/app/apps/web/.next-bundle/server/chunks/4810.js +5 -5
- package/app/apps/web/.next-bundle/server/chunks/5103.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/{5975.js → 5676.js} +1 -1
- package/app/apps/web/.next-bundle/server/chunks/5839.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/6206.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/6384.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/6913.js +7 -7
- package/app/apps/web/.next-bundle/server/chunks/{2256.js → 7011.js} +2 -2
- package/app/apps/web/.next-bundle/server/chunks/7245.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/7400.js +3 -0
- package/app/apps/web/.next-bundle/server/chunks/7498.js +2 -0
- package/app/apps/web/.next-bundle/server/chunks/7957.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/8404.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/8441.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/8463.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/9006.js +3 -0
- package/app/apps/web/.next-bundle/server/chunks/9128.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/{6693.js → 9226.js} +2 -2
- package/app/apps/web/.next-bundle/server/chunks/9441.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/9511.js +16 -0
- package/app/apps/web/.next-bundle/server/functions-config-manifest.json +14 -8
- 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-514f421b74ddd546.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/{2202-897aaad3cd785ea6.js → 2202-320ee3883061ca36.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/2575-e53eff318f43e123.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2921-92c9a83559025278.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2948-db3dde2d3c76f184.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/4189-0adcbb5b786fe4ed.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/7f092448-875cfd730dc78b44.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/agents/{page-28b11f831b7bc8c4.js → page-be3b13d1301a5855.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/ai/{page-8b5fe63986bf3757.js → page-beb96e7f7a56ac65.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/{page-dc2c3a7874636c29.js → page-7fd561dfea561bee.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-ba0da767076b59ee.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-b8cc7ef93c7a01f7.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-1c5bac527b81fbfb.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/{page-0c3307d9cff31e71.js → page-db952949fd680244.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/disk/{page-13cd17998c4b3c05.js → page-58dba9a693f3efd1.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-2c3f75f2c68c6bab.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/handoff/page-af0790c554af2371.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-a2f95d21457cf062.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-2f357c79701ed83e.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-ea0ecbae2d960666.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-51409af610218587.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-ad2cd4e236fd2f60.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/{page-0f664082168a49b2.js → page-75c179ccca63a724.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-1c5bac527b81fbfb.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/search/{page-0c57c71f581cdf40.js → page-5f61bffc868d47cc.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-fce603598ab4b457.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/look/{page-a1f666c611d55a0c.js → page-e8582a3dd4da47bb.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/{page-c7212909b051736c.js → page-6e103fc5ed54eabe.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-433663c1b9556d04.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/apps/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/conversations/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/handoff/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/cancel/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/jobs/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/[id]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/digest/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/launch/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/record/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-1c5bac527b81fbfb.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-eac7618918d667c0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/not-found-1c5bac527b81fbfb.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/{main-app-a35ca295bbc2c578.js → main-app-0bad81d9bc79bc82.js} +1 -1
- package/app/apps/web/.next-bundle/static/css/5fdcdf46b29ffe26.css +1 -0
- package/app/apps/web/.next-bundle/static/phRAJdip0Dtgh1L1Yw0jm/_buildManifest.js +1 -0
- package/app/apps/web/server.js +1 -1
- package/app/node_modules/@panoma/ai/dist/index.d.ts +6 -1
- package/app/node_modules/@panoma/ai/dist/index.js +43 -6
- package/app/node_modules/@panoma/core/dist/index.d.ts +39 -1
- package/app/node_modules/@panoma/core/dist/index.js +149 -57
- package/app/node_modules/@panoma/core/dist/untrusted.d.ts +14 -1
- package/app/node_modules/@panoma/db/dist/{chunk-V6TJYC6N.js → chunk-VTHU57AZ.js} +59 -3
- package/app/node_modules/@panoma/db/dist/{client-B1_3MF0o.d.ts → client-B2H4A_7h.d.ts} +379 -3
- package/app/node_modules/@panoma/db/dist/client.d.ts +1 -1
- package/app/node_modules/@panoma/db/dist/client.js +1 -1
- package/app/node_modules/@panoma/db/dist/index.d.ts +56 -4
- package/app/node_modules/@panoma/db/dist/index.js +104 -27
- package/app/node_modules/@panoma/db/migrations/0060_handoffs.sql +23 -0
- package/app/node_modules/@panoma/db/migrations/0061_handoff_surface.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0062_handoff_requested_by.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0063_app_job_requested_by.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/meta/0060_snapshot.json +4258 -0
- package/app/node_modules/@panoma/db/migrations/meta/0061_snapshot.json +4265 -0
- package/app/node_modules/@panoma/db/migrations/meta/0062_snapshot.json +4271 -0
- package/app/node_modules/@panoma/db/migrations/meta/0063_snapshot.json +4277 -0
- package/app/node_modules/@panoma/db/migrations/meta/_journal.json +28 -0
- package/app/node_modules/@panoma/handoff/dist/chunk-4PTSNPI3.js +73 -0
- package/app/node_modules/@panoma/handoff/dist/faults.d.ts +26 -0
- package/app/node_modules/@panoma/handoff/dist/faults.js +14 -0
- package/app/node_modules/@panoma/handoff/dist/index.d.ts +579 -0
- package/app/node_modules/@panoma/handoff/dist/index.js +3364 -0
- package/app/node_modules/@panoma/handoff/package.json +23 -0
- package/app/node_modules/@panoma/mcp/dist/index.js +709 -13
- package/app/node_modules/drizzle-orm/node_modules/.bin/gel +3 -3
- package/dist/{ai-command-IRSVAWYU.js → ai-command-TSSMG7H3.js} +4 -4
- package/dist/{apps-FI2Q2CFP.js → apps-7E4RUVJY.js} +4 -4
- package/dist/{check-command-PPILA25M.js → check-command-RIUGB4HV.js} +4 -4
- package/dist/{chunk-P7ZGHSMO.js → chunk-3QYJKRW6.js} +209 -1
- package/dist/{chunk-5EG7NRL4.js → chunk-3T3WTSPS.js} +147 -57
- package/dist/{chunk-BCHIG2AU.js → chunk-47UUF7B7.js} +2 -2
- package/dist/{chunk-JY7ALFNX.js → chunk-6RVG2VUY.js} +44 -7
- package/dist/{chunk-2MKBCYVH.js → chunk-FWSQH4NS.js} +3 -3
- package/dist/{chunk-YQOQAFTY.js → chunk-HHHT2MTQ.js} +2 -2
- package/dist/{chunk-AW6KPPIR.js → chunk-WAI2SCFY.js} +22 -4
- package/dist/{dist-NQIOBJFO.js → dist-F3N6LCV6.js} +2 -2
- package/dist/{dist-G32QKT7H.js → dist-PQLBVRZQ.js} +7 -1
- package/dist/{dist-F5A5RVCK.js → dist-RNXJD4VL.js} +1 -1
- package/dist/handoff-command-NGSYPGWW.js +3876 -0
- package/dist/index.js +47 -16
- package/dist/{md-command-Q4M2YBEH.js → md-command-PYD3SPHA.js} +3 -3
- package/dist/{memory-command-IXVQSADX.js → memory-command-BWP52OQS.js} +3 -3
- package/dist/{next-command-2PXBP5OR.js → next-command-NFDGQMHO.js} +4 -4
- package/dist/{north-command-XFUNSNPH.js → north-command-SKBVZEGK.js} +4 -4
- package/dist/{review-command-6AH7MVKP.js → review-command-SMYI7XKH.js} +2 -2
- package/dist/{spend-command-DA36GLNI.js → spend-command-NYAELLRP.js} +3 -3
- package/dist/{twin-command-HYEG2WPA.js → twin-command-M25PTHLP.js} +9 -8
- package/dist/{video-TWUW2L36.js → video-QKEQ2FGR.js} +6 -6
- package/npm-shrinkwrap.json +2 -2
- package/package.json +3 -2
- package/app/apps/web/.next-bundle/server/chunks/1602.js +0 -3
- package/app/apps/web/.next-bundle/server/chunks/3088.js +0 -16
- package/app/apps/web/.next-bundle/server/chunks/3768.js +0 -3
- package/app/apps/web/.next-bundle/server/chunks/5251.js +0 -217
- package/app/apps/web/.next-bundle/server/chunks/5741.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/5941.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/7581.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/8384.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/8990.js +0 -2
- package/app/apps/web/.next-bundle/static/chunks/1369-8f6dde7e48bc4684.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/2340-11b365d374b2be7b.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/2575-62182d00e5cf3115.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/261-1c2829beaca77dc9.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/7f092448-e07c21e2897ac52e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-00ec4bf42a14ac17.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-86a819d6d7f65cd0.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-69ee3fc638b1eecf.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-4706c73d842251e2.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-55639b16ccebad95.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-7f3d387ae540018d.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-c3c3a9be458adeed.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-088684f252e3d59c.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-6cf474454fb2ea5e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-69ee3fc638b1eecf.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-201b626f17f11eeb.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-c545489e991b83d2.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-69ee3fc638b1eecf.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-de6e3e5d6198c075.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/not-found-69ee3fc638b1eecf.js +0 -1
- package/app/apps/web/.next-bundle/static/css/988bfb2024e770b7.css +0 -1
- package/app/apps/web/.next-bundle/static/mhsTm5XiqL98MCgDVB08u/_buildManifest.js +0 -1
- /package/app/apps/web/.next-bundle/static/{mhsTm5XiqL98MCgDVB08u → phRAJdip0Dtgh1L1Yw0jm}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=7957,exports.ids=[7957],exports.modules={54699:(a,b,c)=>{c.d(b,{E3:()=>f,Sx:()=>i,kX:()=>g,nb:()=>j,u4:()=>h});var d=c(4528),e=c(86247);let f=["install","browser","update","rollback","enable","disable","uninstall","clean","doctor","check"],g={panoma_video_auto:["goal","format","new_story","theme","langs","until","force","voice","url","brain","music","dance","creative_brief"],panoma_video_render:["brief_id","theme","hook","lang","format","force","voice","brain"],panoma_video_review:["render_id","detail"],panoma_video_revise:["brief_id","expectedRevision","edits","instruction","restoreRevision","note","brain"],panoma_video_story:["brief_id"],panoma_video_scout:["detail"]};function h(a){return!!a&&"object"==typeof a&&!Array.isArray(a)}function i(a,b){if(!g[a]||!d.wh[a])throw new e.G8("unknown-app-tool");if(!h(b)||JSON.stringify(b).length>64e3)throw new e.G8("invalid-app-input");if(Object.keys(b).some(b=>!g[a].includes(b)))throw new e.G8("unknown-app-input");if(void 0!==b.url){let a;try{a=new URL(String(b.url))}catch{throw new e.G8("local-url-required")}if(!["http:","https:"].includes(a.protocol)||a.username||a.password||!["localhost","127.0.0.1","[::1]"].includes(a.hostname))throw new e.G8("local-url-required")}for(let a of["brief_id","render_id","hook"])if(void 0!==b[a]&&("string"!=typeof b[a]||!/^[a-z0-9][a-z0-9-]{0,199}$/.test(b[a])))throw new e.G8(`invalid-${a}`);return b}function j(a,b,c){if("panoma_video_review"===b&&"fail"===a.status||h(a.review)&&"fail"===a.review.status)return"review-failed";if(h(a.stages)){let b=Object.entries(a.stages).find(([,a])=>h(a)&&"failed"===a.status);if(b)return"stage-failed: "+b[0]}if(Array.isArray(a.renders)){if(a.renders.some(a=>h(a)&&h(a.review)&&"fail"===a.review.status))return"review-failed";if("panoma_video_auto"===b&&"plan"!==c.until&&!a.renders.length)return"no-supported-production"}}},87711:(a,b,c)=>{c.d(b,{Ag:()=>w,Ap:()=>k,Cv:()=>A,Js:()=>j,TC:()=>B,_r:()=>u,i_:()=>i,jQ:()=>y,l4:()=>v,lG:()=>z,ov:()=>l,p9:()=>x,tY:()=>g,wo:()=>n});var d=c(51455),e=c(76760),f=c(26913);let g=["read","look","memory","ask","rehearse","episodes","card","app"],h={read:300,look:20,memory:12,ask:20,rehearse:20,episodes:20,card:100,app:20},i={read:"PANOMA_READ_BUDGET",look:"PANOMA_LOOK_BUDGET",memory:"PANOMA_DISTILL_BUDGET",ask:"PANOMA_ASK_BUDGET",rehearse:"PANOMA_REHEARSE_BUDGET",episodes:"PANOMA_EPISODE_BUDGET",card:"PANOMA_CARD_BUDGET",app:"PANOMA_APP_BUDGET"},j={read:["distill","classify","synthesize"],look:["look"],memory:["memory"],ask:["ask"],rehearse:["rehearse"],episodes:["episodes"],card:["describe","review"],app:["app"]};function k(a){return g.find(b=>j[b].includes(a))}let l=1568;function m(){return{caps:{},rates:{},currency:"USD",paused:!1,shots:"full"}}function n(a,b){return`${a}/${b}`}function o(){return(0,f.iu)("spend.json")}let p=/^[A-Z]{3}$/;function q(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function r(a){return"number"==typeof a&&Number.isInteger(a)&&a>=0&&a<=1e5}function s(a){if(!q(a))return!1;let{input:b,output:c}=a;return"number"==typeof b&&Number.isFinite(b)&&b>=0&&"number"==typeof c&&Number.isFinite(c)&&c>=0}function t(a){return a.length>0&&a.length<=200&&a.includes("/")}async function u(){let a;try{a=await (0,d.readFile)(o(),"utf8")}catch{return{settings:m(),broken:!1}}try{let b=function(a){if(!q(a))return;let b=m();if(q(a.caps))for(let c of g){let d=a.caps[c];r(d)&&(b.caps[c]=d)}if(q(a.rates))for(let[c,d]of Object.entries(a.rates))t(c)&&s(d)&&(b.rates[c]={input:d.input,output:d.output});return"string"==typeof a.currency&&p.test(a.currency)&&(b.currency=a.currency),!0===a.paused&&(b.paused=!0),"fit"===a.shots&&(b.shots="fit"),b}(JSON.parse(a));return b?{settings:b,broken:!1}:{settings:m(),broken:!0}}catch{return{settings:m(),broken:!0}}}async function v(a){let b=o();await (0,d.mkdir)((0,e.dirname)(b),{recursive:!0});let c=`${b}.${process.pid}.${Math.random().toString(36).slice(2,8)}.tmp`;await (0,d.writeFile)(c,JSON.stringify(a,null,2),{mode:384}),await (0,d.rename)(c,b)}function w(a,b){if(!q(b))return{fault:"body"};let c={caps:{...a.caps},rates:{...a.rates},currency:a.currency,paused:a.paused,shots:a.shots};if(void 0!==b.caps){if(!q(b.caps))return{fault:"caps"};for(let[a,d]of Object.entries(b.caps)){let b=g.find(b=>b===a);if(!b)return{fault:"caps"};if(null===d){delete c.caps[b];continue}if(!r(d))return{fault:"caps"};c.caps[b]=d}}if(void 0!==b.rates){if(!q(b.rates))return{fault:"rates"};let a={};for(let[c,d]of Object.entries(b.rates)){if(!t(c))return{fault:"rates"};if(null!==d){if(!s(d))return{fault:"rates"};a[c]={input:d.input,output:d.output}}}c.rates=a}if(void 0!==b.currency){if("string"!=typeof b.currency||!p.test(b.currency))return{fault:"currency"};c.currency=b.currency}if(void 0!==b.paused){if("boolean"!=typeof b.paused)return{fault:"paused"};c.paused=b.paused}if(void 0!==b.shots){if("full"!==b.shots&&"fit"!==b.shots)return{fault:"shots"};c.shots=b.shots}return{settings:c}}async function x(){let{settings:a}=await u();return a.shots}function y(a,b){if(void 0===a||""===a.trim())return b;let c=Number(a.trim());return!Number.isInteger(c)||c<0?b:c}function z(a,b,c){let d=h[a],e=b[i[a]],f=void 0!==e&&""!==e.trim()?e:void 0;if(c.paused)return{cap:0,source:"paused",factory:d,...void 0!==f?{env:f}:{}};if(void 0!==f)return{cap:y(f,d),source:"env",factory:d,env:f};let g=c.caps[a];return void 0!==g?{cap:g,source:"file",factory:d}:{cap:d,source:"factory",factory:d}}async function A(a){let{settings:b}=await u();return z(a,process.env,b)}async function B(){let{settings:a}=await u();return Object.fromEntries(g.map(b=>[b,z(b,process.env,a)]))}}};
|
|
1
|
+
"use strict";exports.id=7957,exports.ids=[7957],exports.modules={54699:(a,b,c)=>{c.d(b,{E3:()=>f,Sx:()=>i,kX:()=>g,nb:()=>j,u4:()=>h});var d=c(4528),e=c(86247);let f=["install","browser","update","rollback","enable","disable","uninstall","clean","doctor","check"],g={panoma_video_auto:["goal","format","new_story","theme","langs","until","force","voice","url","brain","music","dance","creative_brief"],panoma_video_render:["brief_id","theme","hook","lang","format","force","voice","brain"],panoma_video_review:["render_id","detail"],panoma_video_revise:["brief_id","expectedRevision","edits","instruction","restoreRevision","note","brain"],panoma_video_story:["brief_id"],panoma_video_scout:["detail"]};function h(a){return!!a&&"object"==typeof a&&!Array.isArray(a)}function i(a,b){if(!g[a]||!d.wh[a])throw new e.G8("unknown-app-tool");if(!h(b)||JSON.stringify(b).length>64e3)throw new e.G8("invalid-app-input");if(Object.keys(b).some(b=>!g[a].includes(b)))throw new e.G8("unknown-app-input");if(void 0!==b.url){let a;try{a=new URL(String(b.url))}catch{throw new e.G8("local-url-required")}if(!["http:","https:"].includes(a.protocol)||a.username||a.password||!["localhost","127.0.0.1","[::1]"].includes(a.hostname))throw new e.G8("local-url-required")}for(let a of["brief_id","render_id","hook"])if(void 0!==b[a]&&("string"!=typeof b[a]||!/^[a-z0-9][a-z0-9-]{0,199}$/.test(b[a])))throw new e.G8(`invalid-${a}`);return b}function j(a,b,c){if("panoma_video_review"===b&&"fail"===a.status||h(a.review)&&"fail"===a.review.status)return"review-failed";if(h(a.stages)){let b=Object.entries(a.stages).find(([,a])=>h(a)&&"failed"===a.status);if(b)return"stage-failed: "+b[0]}if(Array.isArray(a.renders)){if(a.renders.some(a=>h(a)&&h(a.review)&&"fail"===a.review.status))return"review-failed";if("panoma_video_auto"===b&&"plan"!==c.until&&!a.renders.length)return"no-supported-production"}}},87711:(a,b,c)=>{c.d(b,{Ag:()=>w,Ap:()=>k,Cv:()=>A,Js:()=>j,TC:()=>B,_r:()=>u,i_:()=>i,jQ:()=>y,l4:()=>v,lG:()=>z,ov:()=>l,p9:()=>x,tY:()=>g,wo:()=>n});var d=c(51455),e=c(76760),f=c(26913);let g=["read","look","memory","ask","rehearse","episodes","card","app","handoff"],h={read:300,look:20,memory:12,ask:20,rehearse:20,episodes:20,card:100,app:20,handoff:10},i={read:"PANOMA_READ_BUDGET",look:"PANOMA_LOOK_BUDGET",memory:"PANOMA_DISTILL_BUDGET",ask:"PANOMA_ASK_BUDGET",rehearse:"PANOMA_REHEARSE_BUDGET",episodes:"PANOMA_EPISODE_BUDGET",card:"PANOMA_CARD_BUDGET",app:"PANOMA_APP_BUDGET",handoff:"PANOMA_HANDOFF_BUDGET"},j={read:["distill","classify","synthesize"],look:["look"],memory:["memory"],ask:["ask"],rehearse:["rehearse"],episodes:["episodes"],card:["describe","review"],app:["app"],handoff:["handoff"]};function k(a){return g.find(b=>j[b].includes(a))}let l=1568;function m(){return{caps:{},rates:{},currency:"USD",paused:!1,shots:"full"}}function n(a,b){return`${a}/${b}`}function o(){return(0,f.iu)("spend.json")}let p=/^[A-Z]{3}$/;function q(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function r(a){return"number"==typeof a&&Number.isInteger(a)&&a>=0&&a<=1e5}function s(a){if(!q(a))return!1;let{input:b,output:c}=a;return"number"==typeof b&&Number.isFinite(b)&&b>=0&&"number"==typeof c&&Number.isFinite(c)&&c>=0}function t(a){return a.length>0&&a.length<=200&&a.includes("/")}async function u(){let a;try{a=await (0,d.readFile)(o(),"utf8")}catch{return{settings:m(),broken:!1}}try{let b=function(a){if(!q(a))return;let b=m();if(q(a.caps))for(let c of g){let d=a.caps[c];r(d)&&(b.caps[c]=d)}if(q(a.rates))for(let[c,d]of Object.entries(a.rates))t(c)&&s(d)&&(b.rates[c]={input:d.input,output:d.output});return"string"==typeof a.currency&&p.test(a.currency)&&(b.currency=a.currency),!0===a.paused&&(b.paused=!0),"fit"===a.shots&&(b.shots="fit"),b}(JSON.parse(a));return b?{settings:b,broken:!1}:{settings:m(),broken:!0}}catch{return{settings:m(),broken:!0}}}async function v(a){let b=o();await (0,d.mkdir)((0,e.dirname)(b),{recursive:!0});let c=`${b}.${process.pid}.${Math.random().toString(36).slice(2,8)}.tmp`;await (0,d.writeFile)(c,JSON.stringify(a,null,2),{mode:384}),await (0,d.rename)(c,b)}function w(a,b){if(!q(b))return{fault:"body"};let c={caps:{...a.caps},rates:{...a.rates},currency:a.currency,paused:a.paused,shots:a.shots};if(void 0!==b.caps){if(!q(b.caps))return{fault:"caps"};for(let[a,d]of Object.entries(b.caps)){let b=g.find(b=>b===a);if(!b)return{fault:"caps"};if(null===d){delete c.caps[b];continue}if(!r(d))return{fault:"caps"};c.caps[b]=d}}if(void 0!==b.rates){if(!q(b.rates))return{fault:"rates"};let a={};for(let[c,d]of Object.entries(b.rates)){if(!t(c))return{fault:"rates"};if(null!==d){if(!s(d))return{fault:"rates"};a[c]={input:d.input,output:d.output}}}c.rates=a}if(void 0!==b.currency){if("string"!=typeof b.currency||!p.test(b.currency))return{fault:"currency"};c.currency=b.currency}if(void 0!==b.paused){if("boolean"!=typeof b.paused)return{fault:"paused"};c.paused=b.paused}if(void 0!==b.shots){if("full"!==b.shots&&"fit"!==b.shots)return{fault:"shots"};c.shots=b.shots}return{settings:c}}async function x(){let{settings:a}=await u();return a.shots}function y(a,b){if(void 0===a||""===a.trim())return b;let c=Number(a.trim());return!Number.isInteger(c)||c<0?b:c}function z(a,b,c){let d=h[a],e=b[i[a]],f=void 0!==e&&""!==e.trim()?e:void 0;if(c.paused)return{cap:0,source:"paused",factory:d,...void 0!==f?{env:f}:{}};if(void 0!==f)return{cap:y(f,d),source:"env",factory:d,env:f};let g=c.caps[a];return void 0!==g?{cap:g,source:"file",factory:d}:{cap:d,source:"factory",factory:d}}async function A(a){let{settings:b}=await u();return z(a,process.env,b)}async function B(){let{settings:a}=await u();return Object.fromEntries(g.map(b=>[b,z(b,process.env,a)]))}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.id=8404,exports.ids=[8404],exports.modules={28345:(a,b,c)=>{"use strict";c.d(b,{Dk:()=>r,Jb:()=>q,Wp:()=>t,i:()=>n,px:()=>p});var d=c(4528),e=c(24445),f=c(63351),g=c(90336),h=c(86247);let i=/(?<![A-Za-z0-9])file:\/\/\S*/gi,j=/(?<![A-Za-z0-9])[A-Za-z]:[\\/][^\s"'<>|*?]*(?:[ \t][^\s"'<>|*?\\/]*[\\/][^\s"'<>|*?]*)*/g,k=/(^|[\s("'=])\/(?=[^\s/])[^\s"'<>)]*/g,l=/[^\s"'<>|*?]*\\[^\s"'<>|*?]*/g,m="[local path]";function n(a){return"string"==typeof a?a.replace(i,m).replace(j,m).replace(k,`$1${m}`).replace(l,m):a instanceof Date?a.toISOString():Array.isArray(a)?a.map(n):a&&"object"==typeof a?Object.fromEntries(Object.entries(a).filter(([a])=>!["path","home","root","entry","packageRoot","rootAtCreation","pid"].includes(a)).map(([a,b])=>[a,n(b)])):a}function o(a){return a.enabled&&!!a.version&&["installed","staged"].includes(a.status)&&(0,g.no)(a.requirements,(0,g.Jh)(a.manifest))}async function p(a,b={}){let g=(0,d.lb)(a),{ensureAppSupervisor:i}=await Promise.all([c.e(4810),c.e(5103),c.e(7957)]).then(c.bind(c,35103));await i();let{db:j}=await (0,f.db)(),k=await (0,e.SxX)(j,a);if(!k)throw new h.G8("unknown-app");let l=b.space?(0,d.Q2)(a):void 0,[m,q,r,s]=await Promise.all([(0,d.eZ)(g.pkg).catch(()=>void 0),(0,e.cvP)(j,{appId:a,limit:15}),l?(0,d.pF)(l.root):void 0,l?(0,d.pF)(l.data):void 0]),t=(0,d.no)();return{...k,manifest:function a(b){return b instanceof Date?b.toISOString():Array.isArray(b)?b.map(a):b&&"object"==typeof b?Object.fromEntries(Object.entries(b).map(([b,c])=>[b,a(c)])):b}(k.manifest),requirements:n(k.requirements),error:n(k.error),ready:o(k),latestVersion:m?.version??null,registryAt:m?.checkedAt??null,...l?{space:{packageBytes:r??0,dataBytes:s??0}}:{},npm:{present:!!t,source:t?.source??null},jobs:q.map(({input:a,result:b,pid:c,...d})=>n(d))}}async function q(a){try{let{ensureAppSupervisor:b}=await Promise.all([c.e(4810),c.e(5103),c.e(7957)]).then(c.bind(c,35103));await b();let{db:d}=await (0,f.db)(),g=await (0,e.SxX)(d,a);return!!g&&o(g)}catch{return!1}}async function r(){return{apps:await Promise.all(d.iC.map(a=>p(a.id)))}}let s=["none","auto","claude","codex","anthropic","openai"];async function t(a,b){if((0,d.lb)(a),Object.keys(b).some(a=>!["brain","voice","confirm"].includes(a)))throw new h.G8("unknown-setting");let c=b.brain;if(void 0!==b.brain&&!s.includes(c))throw new h.G8("invalid-brain");if(void 0!==b.voice&&"boolean"!=typeof b.voice)throw new h.G8("invalid-voice");let{db:g}=await (0,f.db)();return(0,e.NfF)(async()=>{let c=await (0,e.SxX)(g,a);if(!c)throw new h.G8("unknown-app");let d={...c.settings,...b};if(delete d.confirm,("none"!==d.brain&&d.brain!==c.settings.brain||d.voice&&!c.settings.voice)&&!0!==b.confirm)throw new h.G8("provider-confirmation-required");return await (0,e.fyc)(g,a,{settings:d}),d})}},47033:()=>{},54699:(a,b,c)=>{"use strict";c.d(b,{E3:()=>f,Sx:()=>i,kX:()=>g,nb:()=>j,u4:()=>h});var d=c(4528),e=c(86247);let f=["install","browser","update","rollback","enable","disable","uninstall","clean","doctor","check"],g={panoma_video_auto:["goal","format","new_story","theme","langs","until","force","voice","url","brain","music","dance","creative_brief"],panoma_video_render:["brief_id","theme","hook","lang","format","force","voice","brain"],panoma_video_review:["render_id","detail"],panoma_video_revise:["brief_id","expectedRevision","edits","instruction","restoreRevision","note","brain"],panoma_video_story:["brief_id"],panoma_video_scout:["detail"]};function h(a){return!!a&&"object"==typeof a&&!Array.isArray(a)}function i(a,b){if(!g[a]||!d.wh[a])throw new e.G8("unknown-app-tool");if(!h(b)||JSON.stringify(b).length>64e3)throw new e.G8("invalid-app-input");if(Object.keys(b).some(b=>!g[a].includes(b)))throw new e.G8("unknown-app-input");if(void 0!==b.url){let a;try{a=new URL(String(b.url))}catch{throw new e.G8("local-url-required")}if(!["http:","https:"].includes(a.protocol)||a.username||a.password||!["localhost","127.0.0.1","[::1]"].includes(a.hostname))throw new e.G8("local-url-required")}for(let a of["brief_id","render_id","hook"])if(void 0!==b[a]&&("string"!=typeof b[a]||!/^[a-z0-9][a-z0-9-]{0,199}$/.test(b[a])))throw new e.G8(`invalid-${a}`);return b}function j(a,b,c){if("panoma_video_review"===b&&"fail"===a.status||h(a.review)&&"fail"===a.review.status)return"review-failed";if(h(a.stages)){let b=Object.entries(a.stages).find(([,a])=>h(a)&&"failed"===a.status);if(b)return"stage-failed: "+b[0]}if(Array.isArray(a.renders)){if(a.renders.some(a=>h(a)&&h(a.review)&&"fail"===a.review.status))return"review-failed";if("panoma_video_auto"===b&&"plan"!==c.until&&!a.renders.length)return"no-supported-production"}}},55130:(a,b,c)=>{"use strict";c.d(b,{Me:()=>k,Um:()=>h,Z6:()=>i,ar:()=>g});var d=c(54699),e=c(28345),f=c(86247);function g(a){let{pid:b,...c}=a,{_projectId:d,...e}=a.input;return{...c,input:e}}function h(){if(process.env.DATABASE_URL)return Response.json({error:"local-catalog-required"},{status:403})}async function i(a){let b;if(!a.body)throw new f.G8("invalid-body");let c=a.body.getReader(),e=[],g=0;try{for(;;){let{value:a,done:b}=await c.read();if(b)break;if((g+=a.length)>65536)throw await c.cancel(),new f.G8("body-too-large");e.push(a)}}finally{c.releaseLock()}try{b=JSON.parse(Buffer.concat(e).toString("utf8"))}catch{throw new f.G8("invalid-body")}if(!(0,d.u4)(b))throw new f.G8("invalid-body");return b}let j={"local-catalog-required":403,"unknown-app":404,"unknown-app-operation":404,"job-not-found":404,"app-job-not-found":404,"project-not-found":404,"artifact-not-found":404,"not-installed":409,"app-not-enabled":409,"app-budget-exhausted":409,"provider-not-enabled":409,"provider-confirmation-required":409,"ambiguous-project":409};function k(a){let{code:b,detail:c}=(0,f.Kl)(a),d=b?{error:b,...c?{detail:(0,e.i)(c)}:{}}:{error:(0,e.i)(a instanceof Error?a.message:"app-request-failed")};return Response.json(d,{status:(b&&j[b])??400})}},76744:(a,b,c)=>{"use strict";a.exports=c(44870)},78022:(a,b,c)=>{"use strict";c.d(b,{U:()=>i,N:()=>g});var d=c(89267),e=c(17245);let f=new Set(["localhost","127.0.0.1","::1","[::1]","0.0.0.0"]);function g(a){let b=(0,e.dT)(a),c=a.headers.get("sec-fetch-site");if(c&&"same-origin"!==c&&"none"!==c)return h(b,(0,e.t)(b,"guard.otherSite",{site:c}));let d=a.headers.get("origin"),f=a.headers.get("host");if(d&&f&&function(a){try{return new URL(a).host}catch{return null}}(d)!==f)return h(b,(0,e.t)(b,"guard.otherOrigin",{origin:d}))}function h(a,b){return Response.json({error:(0,e.t)(a,"guard.rejected",{detail:b}),hint:(0,e.t)(a,"guard.rejectedHint")},{status:403})}function i(a){let b=(process.env.PANOMA_OPERATOR_KEY??"").trim();if(!b){if(!function(){if((process.env.PANOMA_ACCESS_KEY??"").trim())return!0;let a=(process.env.PANOMA_HOST??"").trim().replace(/:\d+$/,"").toLowerCase();return!!a&&("0.0.0.0"===a||"::"===a||"[::]"===a||!f.has(a))}())return;return j(a)}let c=function(a){let b=a.headers.get("x-panoma-operator");if(b)return b;for(let b of(a.headers.get("cookie")??"").split(";")){let a=b.indexOf("=");if(-1!==a&&"panoma-operator"===b.slice(0,a).trim())try{return decodeURIComponent(b.slice(a+1).trim())}catch{return b.slice(a+1).trim()}}return""}(a);if(!(c&&function(a,b){if(a.length!==b.length)return!1;let c=0;for(let d=0;d<a.length;d++)c|=a.charCodeAt(d)^b.charCodeAt(d);return 0===c}(c,b)))return j(a)}function j(a){let b=(0,e.dT)(a);return Response.json({error:(0,e.t)(b,"guard.localOperatorOnly"),hint:(0,e.t)(b,"guard.localOperatorOnlyHint",{cli:(0,d._)()})},{status:403})}},81901:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(67605),e=c(78784),f=c(82335);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},83481:()=>{},86247:(a,b,c)=>{"use strict";c.d(b,{G8:()=>d.G8,Kl:()=>d.Kl});var d=c(97445)},89267:(a,b,c)=>{"use strict";function d(){return e()?"npx panoma":"panoma"}function e(){return"1"===process.env.PANOMA_EPHEMERAL}c.d(b,{_:()=>d,a:()=>e})},90336:(a,b,c)=>{"use strict";c.d(b,{Jh:()=>o,Q9:()=>q,ge:()=>m,no:()=>p});var d=c(73024),e=c(51455),f=c(76760),g=c(96622),h=c(37602),i=c(79161),j=c(4528),k=c(24445),l=c(86247);class m extends Error{constructor(a,b){super(a),this.result=b}}function n(a){return!!a&&"object"==typeof a&&!Array.isArray(a)}function o(a){return n(a)&&Array.isArray(a.requirements)?a.requirements.map(a=>n(a)&&"string"==typeof a.id?a.id:"").filter(Boolean):[]}function p(a,b){return!!n(a)&&!!b.length&&b.every(b=>n(a[b])&&!0===a[b].present)}async function q(a,b={}){let c,o=(0,j.Q2)(a.id),p=(0,j.Pi)(a.id,{jobId:b.jobId,brain:b.brain??"none",providerEnv:b.providerEnv,maxBrainCalls:b.maxBrainCalls??0});if(await (0,j.LS)(o.logs),await (0,j.LS)(o.data),await (0,e.mkdir)(o.logs,{recursive:!0,mode:448}),b.jobId&&!/^[a-zA-Z0-9-]{1,100}$/.test(b.jobId))throw new l.G8("invalid-job-id");let r=await (0,e.open)((0,f.join)(o.logs,"job-"+(b.jobId??"probe")+".log"),d.constants.O_WRONLY|d.constants.O_CREAT|d.constants.O_TRUNC|(d.constants.O_NOFOLLOW??0),384),s=0,t="",u=!1,v=Promise.resolve(),w=new g.K({name:"panoma-app-host",version:"1"},{capabilities:{}}),x=new h.oQ({command:process.execPath,args:["-e",'const {spawn}=require("node:child_process");\nconst parent=process.ppid;\nconst child=spawn(process.execPath,[process.argv[1]],{env:process.env,cwd:process.cwd(),detached:process.platform!=="win32",stdio:["pipe","pipe","pipe"],windowsHide:true});\nlet closing=false;\nfunction stop(code=0){if(closing)return;closing=true;clearInterval(watch);\nif(process.platform==="win32"){const k=spawn("taskkill",["/T","/F","/PID",String(child.pid)],{windowsHide:true,stdio:"ignore"});k.on("error",()=>process.exit(code));k.on("exit",()=>process.exit(code));}\nelse{try{process.kill(-child.pid,"SIGTERM")}catch{}setTimeout(()=>{try{process.kill(-child.pid,"SIGKILL")}catch{}process.exit(code)},1000)}\nsetTimeout(()=>process.exit(code),1800).unref();}\nconst watch=setInterval(()=>{try{process.kill(parent,0);if(process.ppid!==parent)stop(1)}catch{stop(1)}},1000);\nchild.stdout.pipe(process.stdout);child.stderr.pipe(process.stderr);process.stdin.pipe(child.stdin);\nprocess.stdout.on("error",()=>stop(1));process.stderr.on("error",()=>stop(1));\nprocess.stdin.on("end",()=>stop());process.stdin.on("error",()=>stop(1));\nchild.stdin.on("error",()=>{});child.on("error",()=>stop(1));child.on("exit",code=>stop(code||0));\nprocess.on("SIGTERM",()=>stop());process.on("SIGINT",()=>stop());',a.entry],cwd:a.root,env:p,stderr:"pipe"});function y(a){for(let c of Object.values(b.providerEnv??{}))c&&(a=a.split(c).join("[redacted]"));return a.replace(/(?:sk-[A-Za-z0-9_-]{10,}|panoma_[A-Za-z0-9_-]{15,})/g,"[redacted]")}function z(a){if(s>=1048576)return;let b=Buffer.from(y(a)).subarray(0,1048576-s);s+=b.length,v=v.then(async()=>{await r.write(b)}).catch(()=>{})}x.stderr?.on("data",a=>{let d=(t+a.toString("utf8")).split("\n");for(let a of(t=d.pop(),d)){let d=u||a.length>65536;if(u=!1,!d){try{let d=JSON.parse(a);"panoma-app-spend"===d.event&&d.job===b.jobId&&n(d.spend)&&Number.isSafeInteger(d.spend.calls)&&d.spend.calls>=0&&d.spend.calls<=k.q8B&&d.spend.calls>=(c?.calls??0)&&(c=d.spend)}catch{}z(a+"\n")}}t.length>65536&&(t="",u=!0)});let A=!1;async function B(){A||(A=!0,await w.close().catch(()=>{}),u||z(t),await v,await r.close())}async function C(a,b,c={}){let d=await w.callTool({name:a,arguments:b,...c.token?{_meta:{progressToken:c.token}}:{}},i.TF,{signal:c.signal,timeout:c.timeout??2e4,maxTotalTimeout:c.timeout??2e4,onprogress:c.onProgress}),e=n(d.structuredContent)?d.structuredContent:void 0;if(d.isError){let a=d.content;throw new m(y(a.find(a=>"text"===a.type)?.text??"app-error").slice(0,4e3),e)}if(!e)throw new m("malformed-app-result");return e}try{await w.connect(x,{timeout:2e4,signal:b.signal}),x.pid&&b.onPid?.(x.pid);let d=b.deepProbe?{probe:"deep"}:{};return{guide:function(a,b,c){if(!n(a)||"string"!=typeof a.version)throw new l.G8("malformed-guide");if(a.version!==b)throw new l.G8("protocol-mismatch");if(!n(a.requirements))throw new l.G8("malformed-requirements");if(!c.length)throw Error("malformed-requirements: none declared");for(let b of c){let c=a.requirements[b];if(!n(c)||"boolean"!=typeof c.present)throw Error("malformed-requirements: "+b)}return a}(await C("panoma_video_guide",d,{signal:b.signal,timeout:j.SG}),a.manifest.protocol,a.manifest.requirements.map(a=>a.id)),pid:x.pid,get spend(){return c},call:C,close:B}}catch(a){throw await B(),a}}}};
|
|
1
|
+
exports.id=8404,exports.ids=[8404],exports.modules={28345:(a,b,c)=>{"use strict";c.d(b,{Dk:()=>r,Jb:()=>q,Wp:()=>t,i:()=>n,px:()=>p});var d=c(4528),e=c(28388),f=c(63351),g=c(90336),h=c(86247);let i=/(?<![A-Za-z0-9])file:\/\/\S*/gi,j=/(?<![A-Za-z0-9])[A-Za-z]:[\\/][^\s"'<>|*?]*(?:[ \t][^\s"'<>|*?\\/]*[\\/][^\s"'<>|*?]*)*/g,k=/(^|[\s("'=])\/(?=[^\s/])[^\s"'<>)]*/g,l=/[^\s"'<>|*?]*\\[^\s"'<>|*?]*/g,m="[local path]";function n(a){return"string"==typeof a?a.replace(i,m).replace(j,m).replace(k,`$1${m}`).replace(l,m):a instanceof Date?a.toISOString():Array.isArray(a)?a.map(n):a&&"object"==typeof a?Object.fromEntries(Object.entries(a).filter(([a])=>!["path","home","root","entry","packageRoot","rootAtCreation","pid"].includes(a)).map(([a,b])=>[a,n(b)])):a}function o(a){return a.enabled&&!!a.version&&["installed","staged"].includes(a.status)&&(0,g.no)(a.requirements,(0,g.Jh)(a.manifest))}async function p(a,b={}){let g=(0,d.lb)(a),{ensureAppSupervisor:i}=await Promise.all([c.e(4810),c.e(5103),c.e(7957)]).then(c.bind(c,35103));await i();let{db:j}=await (0,f.db)(),k=await (0,e.SxX)(j,a);if(!k)throw new h.G8("unknown-app");let l=b.space?(0,d.Q2)(a):void 0,[m,q,r,s]=await Promise.all([(0,d.eZ)(g.pkg).catch(()=>void 0),(0,e.cvP)(j,{appId:a,limit:15}),l?(0,d.pF)(l.root):void 0,l?(0,d.pF)(l.data):void 0]),t=(0,d.no)();return{...k,manifest:function a(b){return b instanceof Date?b.toISOString():Array.isArray(b)?b.map(a):b&&"object"==typeof b?Object.fromEntries(Object.entries(b).map(([b,c])=>[b,a(c)])):b}(k.manifest),requirements:n(k.requirements),error:n(k.error),ready:o(k),latestVersion:m?.version??null,registryAt:m?.checkedAt??null,...l?{space:{packageBytes:r??0,dataBytes:s??0}}:{},npm:{present:!!t,source:t?.source??null},jobs:q.map(({input:a,result:b,pid:c,...d})=>n(d))}}async function q(a){try{let{ensureAppSupervisor:b}=await Promise.all([c.e(4810),c.e(5103),c.e(7957)]).then(c.bind(c,35103));await b();let{db:d}=await (0,f.db)(),g=await (0,e.SxX)(d,a);return!!g&&o(g)}catch{return!1}}async function r(){return{apps:await Promise.all(d.iC.map(a=>p(a.id)))}}let s=["none","auto","claude","codex","anthropic","openai"];async function t(a,b){if((0,d.lb)(a),Object.keys(b).some(a=>!["brain","voice","confirm"].includes(a)))throw new h.G8("unknown-setting");let c=b.brain;if(void 0!==b.brain&&!s.includes(c))throw new h.G8("invalid-brain");if(void 0!==b.voice&&"boolean"!=typeof b.voice)throw new h.G8("invalid-voice");let{db:g}=await (0,f.db)();return(0,e.NfF)(async()=>{let c=await (0,e.SxX)(g,a);if(!c)throw new h.G8("unknown-app");let d={...c.settings,...b};if(delete d.confirm,("none"!==d.brain&&d.brain!==c.settings.brain||d.voice&&!c.settings.voice)&&!0!==b.confirm)throw new h.G8("provider-confirmation-required");return await (0,e.fyc)(g,a,{settings:d}),d})}},47033:()=>{},54699:(a,b,c)=>{"use strict";c.d(b,{E3:()=>f,Sx:()=>i,kX:()=>g,nb:()=>j,u4:()=>h});var d=c(4528),e=c(86247);let f=["install","browser","update","rollback","enable","disable","uninstall","clean","doctor","check"],g={panoma_video_auto:["goal","format","new_story","theme","langs","until","force","voice","url","brain","music","dance","creative_brief"],panoma_video_render:["brief_id","theme","hook","lang","format","force","voice","brain"],panoma_video_review:["render_id","detail"],panoma_video_revise:["brief_id","expectedRevision","edits","instruction","restoreRevision","note","brain"],panoma_video_story:["brief_id"],panoma_video_scout:["detail"]};function h(a){return!!a&&"object"==typeof a&&!Array.isArray(a)}function i(a,b){if(!g[a]||!d.wh[a])throw new e.G8("unknown-app-tool");if(!h(b)||JSON.stringify(b).length>64e3)throw new e.G8("invalid-app-input");if(Object.keys(b).some(b=>!g[a].includes(b)))throw new e.G8("unknown-app-input");if(void 0!==b.url){let a;try{a=new URL(String(b.url))}catch{throw new e.G8("local-url-required")}if(!["http:","https:"].includes(a.protocol)||a.username||a.password||!["localhost","127.0.0.1","[::1]"].includes(a.hostname))throw new e.G8("local-url-required")}for(let a of["brief_id","render_id","hook"])if(void 0!==b[a]&&("string"!=typeof b[a]||!/^[a-z0-9][a-z0-9-]{0,199}$/.test(b[a])))throw new e.G8(`invalid-${a}`);return b}function j(a,b,c){if("panoma_video_review"===b&&"fail"===a.status||h(a.review)&&"fail"===a.review.status)return"review-failed";if(h(a.stages)){let b=Object.entries(a.stages).find(([,a])=>h(a)&&"failed"===a.status);if(b)return"stage-failed: "+b[0]}if(Array.isArray(a.renders)){if(a.renders.some(a=>h(a)&&h(a.review)&&"fail"===a.review.status))return"review-failed";if("panoma_video_auto"===b&&"plan"!==c.until&&!a.renders.length)return"no-supported-production"}}},55130:(a,b,c)=>{"use strict";c.d(b,{Me:()=>k,Um:()=>h,Z6:()=>i,ar:()=>g});var d=c(54699),e=c(28345),f=c(86247);function g(a){let{pid:b,...c}=a,{_projectId:d,...e}=a.input;return{...c,input:e}}function h(){if(process.env.DATABASE_URL)return Response.json({error:"local-catalog-required"},{status:403})}async function i(a){let b;if(!a.body)throw new f.G8("invalid-body");let c=a.body.getReader(),e=[],g=0;try{for(;;){let{value:a,done:b}=await c.read();if(b)break;if((g+=a.length)>65536)throw await c.cancel(),new f.G8("body-too-large");e.push(a)}}finally{c.releaseLock()}try{b=JSON.parse(Buffer.concat(e).toString("utf8"))}catch{throw new f.G8("invalid-body")}if(!(0,d.u4)(b))throw new f.G8("invalid-body");return b}let j={"local-catalog-required":403,"unknown-app":404,"unknown-app-operation":404,"job-not-found":404,"app-job-not-found":404,"project-not-found":404,"artifact-not-found":404,"not-installed":409,"app-not-enabled":409,"app-budget-exhausted":409,"provider-not-enabled":409,"provider-confirmation-required":409,"ambiguous-project":409};function k(a){let{code:b,detail:c}=(0,f.Kl)(a),d=b?{error:b,...c?{detail:(0,e.i)(c)}:{}}:{error:(0,e.i)(a instanceof Error?a.message:"app-request-failed")};return Response.json(d,{status:(b&&j[b])??400})}},76744:(a,b,c)=>{"use strict";a.exports=c(44870)},78022:(a,b,c)=>{"use strict";c.d(b,{U:()=>i,N:()=>g});var d=c(89267),e=c(17245);let f=new Set(["localhost","127.0.0.1","::1","[::1]","0.0.0.0"]);function g(a){let b=(0,e.dT)(a),c=a.headers.get("sec-fetch-site");if(c&&"same-origin"!==c&&"none"!==c)return h(b,(0,e.t)(b,"guard.otherSite",{site:c}));let d=a.headers.get("origin"),f=a.headers.get("host");if(d&&f&&function(a){try{return new URL(a).host}catch{return null}}(d)!==f)return h(b,(0,e.t)(b,"guard.otherOrigin",{origin:d}))}function h(a,b){return Response.json({error:(0,e.t)(a,"guard.rejected",{detail:b}),hint:(0,e.t)(a,"guard.rejectedHint")},{status:403})}function i(a){let b=(process.env.PANOMA_OPERATOR_KEY??"").trim();if(!b){if(!function(){if((process.env.PANOMA_ACCESS_KEY??"").trim())return!0;let a=(process.env.PANOMA_HOST??"").trim().replace(/:\d+$/,"").toLowerCase();return!!a&&("0.0.0.0"===a||"::"===a||"[::]"===a||!f.has(a))}())return;return j(a)}let c=function(a){let b=a.headers.get("x-panoma-operator");if(b)return b;for(let b of(a.headers.get("cookie")??"").split(";")){let a=b.indexOf("=");if(-1!==a&&"panoma-operator"===b.slice(0,a).trim())try{return decodeURIComponent(b.slice(a+1).trim())}catch{return b.slice(a+1).trim()}}return""}(a);if(!(c&&function(a,b){if(a.length!==b.length)return!1;let c=0;for(let d=0;d<a.length;d++)c|=a.charCodeAt(d)^b.charCodeAt(d);return 0===c}(c,b)))return j(a)}function j(a){let b=(0,e.dT)(a);return Response.json({error:(0,e.t)(b,"guard.localOperatorOnly"),hint:(0,e.t)(b,"guard.localOperatorOnlyHint",{cli:(0,d._)()})},{status:403})}},81901:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(67605),e=c(78784),f=c(82335);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},83481:()=>{},86247:(a,b,c)=>{"use strict";c.d(b,{G8:()=>d.G8,Kl:()=>d.Kl});var d=c(97445)},89267:(a,b,c)=>{"use strict";function d(){return e()?"npx panoma":"panoma"}function e(){return"1"===process.env.PANOMA_EPHEMERAL}c.d(b,{_:()=>d,a:()=>e})},90336:(a,b,c)=>{"use strict";c.d(b,{Jh:()=>o,Q9:()=>q,ge:()=>m,no:()=>p});var d=c(73024),e=c(51455),f=c(76760),g=c(96622),h=c(37602),i=c(79161),j=c(4528),k=c(28388),l=c(86247);class m extends Error{constructor(a,b){super(a),this.result=b}}function n(a){return!!a&&"object"==typeof a&&!Array.isArray(a)}function o(a){return n(a)&&Array.isArray(a.requirements)?a.requirements.map(a=>n(a)&&"string"==typeof a.id?a.id:"").filter(Boolean):[]}function p(a,b){return!!n(a)&&!!b.length&&b.every(b=>n(a[b])&&!0===a[b].present)}async function q(a,b={}){let c,o=(0,j.Q2)(a.id),p=(0,j.Pi)(a.id,{jobId:b.jobId,brain:b.brain??"none",providerEnv:b.providerEnv,maxBrainCalls:b.maxBrainCalls??0});if(await (0,j.LS)(o.logs),await (0,j.LS)(o.data),await (0,e.mkdir)(o.logs,{recursive:!0,mode:448}),b.jobId&&!/^[a-zA-Z0-9-]{1,100}$/.test(b.jobId))throw new l.G8("invalid-job-id");let r=await (0,e.open)((0,f.join)(o.logs,"job-"+(b.jobId??"probe")+".log"),d.constants.O_WRONLY|d.constants.O_CREAT|d.constants.O_TRUNC|(d.constants.O_NOFOLLOW??0),384),s=0,t="",u=!1,v=Promise.resolve(),w=new g.K({name:"panoma-app-host",version:"1"},{capabilities:{}}),x=new h.oQ({command:process.execPath,args:["-e",'const {spawn}=require("node:child_process");\nconst parent=process.ppid;\nconst child=spawn(process.execPath,[process.argv[1]],{env:process.env,cwd:process.cwd(),detached:process.platform!=="win32",stdio:["pipe","pipe","pipe"],windowsHide:true});\nlet closing=false;\nfunction stop(code=0){if(closing)return;closing=true;clearInterval(watch);\nif(process.platform==="win32"){const k=spawn("taskkill",["/T","/F","/PID",String(child.pid)],{windowsHide:true,stdio:"ignore"});k.on("error",()=>process.exit(code));k.on("exit",()=>process.exit(code));}\nelse{try{process.kill(-child.pid,"SIGTERM")}catch{}setTimeout(()=>{try{process.kill(-child.pid,"SIGKILL")}catch{}process.exit(code)},1000)}\nsetTimeout(()=>process.exit(code),1800).unref();}\nconst watch=setInterval(()=>{try{process.kill(parent,0);if(process.ppid!==parent)stop(1)}catch{stop(1)}},1000);\nchild.stdout.pipe(process.stdout);child.stderr.pipe(process.stderr);process.stdin.pipe(child.stdin);\nprocess.stdout.on("error",()=>stop(1));process.stderr.on("error",()=>stop(1));\nprocess.stdin.on("end",()=>stop());process.stdin.on("error",()=>stop(1));\nchild.stdin.on("error",()=>{});child.on("error",()=>stop(1));child.on("exit",code=>stop(code||0));\nprocess.on("SIGTERM",()=>stop());process.on("SIGINT",()=>stop());',a.entry],cwd:a.root,env:p,stderr:"pipe"});function y(a){for(let c of Object.values(b.providerEnv??{}))c&&(a=a.split(c).join("[redacted]"));return a.replace(/(?:sk-[A-Za-z0-9_-]{10,}|panoma_[A-Za-z0-9_-]{15,})/g,"[redacted]")}function z(a){if(s>=1048576)return;let b=Buffer.from(y(a)).subarray(0,1048576-s);s+=b.length,v=v.then(async()=>{await r.write(b)}).catch(()=>{})}x.stderr?.on("data",a=>{let d=(t+a.toString("utf8")).split("\n");for(let a of(t=d.pop(),d)){let d=u||a.length>65536;if(u=!1,!d){try{let d=JSON.parse(a);"panoma-app-spend"===d.event&&d.job===b.jobId&&n(d.spend)&&Number.isSafeInteger(d.spend.calls)&&d.spend.calls>=0&&d.spend.calls<=k.q8B&&d.spend.calls>=(c?.calls??0)&&(c=d.spend)}catch{}z(a+"\n")}}t.length>65536&&(t="",u=!0)});let A=!1;async function B(){A||(A=!0,await w.close().catch(()=>{}),u||z(t),await v,await r.close())}async function C(a,b,c={}){let d=await w.callTool({name:a,arguments:b,...c.token?{_meta:{progressToken:c.token}}:{}},i.TF,{signal:c.signal,timeout:c.timeout??2e4,maxTotalTimeout:c.timeout??2e4,onprogress:c.onProgress}),e=n(d.structuredContent)?d.structuredContent:void 0;if(d.isError){let a=d.content;throw new m(y(a.find(a=>"text"===a.type)?.text??"app-error").slice(0,4e3),e)}if(!e)throw new m("malformed-app-result");return e}try{await w.connect(x,{timeout:2e4,signal:b.signal}),x.pid&&b.onPid?.(x.pid);let d=b.deepProbe?{probe:"deep"}:{};return{guide:function(a,b,c){if(!n(a)||"string"!=typeof a.version)throw new l.G8("malformed-guide");if(a.version!==b)throw new l.G8("protocol-mismatch");if(!n(a.requirements))throw new l.G8("malformed-requirements");if(!c.length)throw Error("malformed-requirements: none declared");for(let b of c){let c=a.requirements[b];if(!n(c)||"boolean"!=typeof c.present)throw Error("malformed-requirements: "+b)}return a}(await C("panoma_video_guide",d,{signal:b.signal,timeout:j.SG}),a.manifest.protocol,a.manifest.requirements.map(a=>a.id)),pid:x.pid,get spend(){return c},call:C,close:B}}catch(a){throw await B(),a}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.id=8441,exports.ids=[8441],exports.modules={11795:(a,b,c)=>{"use strict";c.d(b,{cu:()=>g,gO:()=>d,m$:()=>h,m9:()=>f,x3:()=>e});let d=500;function e(a){if(!k(a))return{kind:"malformed"};let b=a.reactions;if(!Array.isArray(b))return{kind:"malformed"};if(b.length>d)return{kind:"tooMany",sent:b.length};let c=[];for(let a of b){let b=function(a){if(!k(a))return;let b=i(a.source),c=i(a.sessionId),d=i(a.reaction);if(void 0===b||void 0===c||void 0===d)return;let e={source:b,sessionId:c,at:"string"==typeof a.at?a.at:"",reaction:d,signals:j(a.signals)},f=i(a.cwd);void 0!==f&&(e.cwd=f);let g=j(a.paths).filter(a=>a.startsWith("/"));g.length>0&&(e.paths=g);let h=i(a.delivery);return void 0!==h&&(e.delivery=h),e}(a);if(void 0===b)return{kind:"malformed"};c.push(b)}return{kind:"batch",reactions:c}}function f(a){let b=new Set;for(let c of a)for(let a of(c.cwd&&b.add(c.cwd),c.paths??[]))b.add(a);return[...b]}function g(a,b){let c,d=new Map;for(let c of a.paths??[]){let a=b.get(c);void 0!==a&&d.set(a,(d.get(a)??0)+1)}let e=void 0===a.cwd?void 0:b.get(a.cwd);if(0===d.size)return e;let f=0;for(let[a,b]of d){if(b>f){c=a,f=b;continue}b===f&&a===e&&(c=a)}return c??e}function h(a,b){let c=[],d=new Set,e=0,f=0;for(let h of a){let a=function(a){if(""===a)return;let b=new Date(a);return Number.isNaN(b.getTime())?void 0:b}(h.at);if(void 0===a){e+=1;continue}let i=g(h,b);if(void 0===i){f+=1;continue}d.add(i),c.push({identity:i,source:h.source,sessionId:h.sessionId,at:a,category:h.signals[0]??null,quote:h.reaction,context:h.delivery?h.delivery:null,signals:h.signals})}return{rows:c,undated:e,unmatched:f,projects:d.size}}function i(a){return"string"==typeof a&&a.length>0?a:void 0}function j(a){return Array.isArray(a)?a.filter(a=>"string"==typeof a&&a.length>0):[]}function k(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}},47033:()=>{},76744:(a,b,c)=>{"use strict";a.exports=c(44870)},78022:(a,b,c)=>{"use strict";c.d(b,{U:()=>i,N:()=>g});var d=c(89267),e=c(17245);let f=new Set(["localhost","127.0.0.1","::1","[::1]","0.0.0.0"]);function g(a){let b=(0,e.dT)(a),c=a.headers.get("sec-fetch-site");if(c&&"same-origin"!==c&&"none"!==c)return h(b,(0,e.t)(b,"guard.otherSite",{site:c}));let d=a.headers.get("origin"),f=a.headers.get("host");if(d&&f&&function(a){try{return new URL(a).host}catch{return null}}(d)!==f)return h(b,(0,e.t)(b,"guard.otherOrigin",{origin:d}))}function h(a,b){return Response.json({error:(0,e.t)(a,"guard.rejected",{detail:b}),hint:(0,e.t)(a,"guard.rejectedHint")},{status:403})}function i(a){let b=(process.env.PANOMA_OPERATOR_KEY??"").trim();if(!b){if(!function(){if((process.env.PANOMA_ACCESS_KEY??"").trim())return!0;let a=(process.env.PANOMA_HOST??"").trim().replace(/:\d+$/,"").toLowerCase();return!!a&&("0.0.0.0"===a||"::"===a||"[::]"===a||!f.has(a))}())return;return j(a)}let c=function(a){let b=a.headers.get("x-panoma-operator");if(b)return b;for(let b of(a.headers.get("cookie")??"").split(";")){let a=b.indexOf("=");if(-1!==a&&"panoma-operator"===b.slice(0,a).trim())try{return decodeURIComponent(b.slice(a+1).trim())}catch{return b.slice(a+1).trim()}}return""}(a);if(!(c&&function(a,b){if(a.length!==b.length)return!1;let c=0;for(let d=0;d<a.length;d++)c|=a.charCodeAt(d)^b.charCodeAt(d);return 0===c}(c,b)))return j(a)}function j(a){let b=(0,e.dT)(a);return Response.json({error:(0,e.t)(b,"guard.localOperatorOnly"),hint:(0,e.t)(b,"guard.localOperatorOnlyHint",{cli:(0,d._)()})},{status:403})}},81901:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(67605),e=c(78784),f=c(82335);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},83481:()=>{},89267:(a,b,c)=>{"use strict";function d(){return e()?"npx panoma":"panoma"}function e(){return"1"===process.env.PANOMA_EPHEMERAL}c.d(b,{_:()=>d,a:()=>e})}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.id=8463,exports.ids=[8463],exports.modules={45157:(a,b,c)=>{"use strict";c.d(b,{$mg:()=>_,A6:()=>Q,AN7:()=>aj,B3U:()=>ai,CU3:()=>X,Dco:()=>P,Dho:()=>ah,ENP:()=>l,EgV:()=>F,G7A:()=>t,INy:()=>v,J7E:()=>q,JJh:()=>w,JPZ:()=>y,Jhl:()=>M,K0m:()=>r,K7t:()=>e,K8V:()=>K,KQe:()=>O,OvC:()=>ac,UW0:()=>D,V83:()=>z,XVA:()=>J,XcM:()=>p,Y48:()=>U,YL0:()=>C,YT$:()=>o,YUE:()=>u,Yzk:()=>i,Zs_:()=>m,ax_:()=>s,bZk:()=>E,bv7:()=>f,d7T:()=>N,dNM:()=>aa,efr:()=>af,f9d:()=>H,fZH:()=>g,gBk:()=>B,gj5:()=>x,hru:()=>R,jXD:()=>ag,lPA:()=>Y,mUU:()=>A,mmf:()=>W,ngD:()=>T,o7e:()=>S,oNX:()=>h,qRK:()=>$,r9I:()=>ae,sdO:()=>k,tZt:()=>n,vsK:()=>L,wNU:()=>ab,wl$:()=>ad,x5m:()=>Z,yRo:()=>j,z1N:()=>G,zKo:()=>V,zMq:()=>I});var d=c(51685);function e(a){return(0,d.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:[]}]})(a)}function f(a){return(0,d.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:[]}]})(a)}function g(a){return(0,d.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:[]}]})(a)}function h(a){return(0,d.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:[]}]})(a)}function i(a){return(0,d.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:[]}]})(a)}function j(a){return(0,d.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:[]}]})(a)}function k(a){return(0,d.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:[]}]})(a)}function l(a){return(0,d.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:[]}]})(a)}function m(a){return(0,d.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:[]}]})(a)}function n(a){return(0,d.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:[]}]})(a)}function o(a){return(0,d.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:[]}]})(a)}function p(a){return(0,d.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:[]}]})(a)}function q(a){return(0,d.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:[]}]})(a)}function r(a){return(0,d.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:[]}]})(a)}function s(a){return(0,d.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:[]}]})(a)}function t(a){return(0,d.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:[]}]})(a)}function u(a){return(0,d.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:[]}]})(a)}function v(a){return(0,d.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:[]}]})(a)}function w(a){return(0,d.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:[]}]})(a)}function x(a){return(0,d.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:[]}]})(a)}function y(a){return(0,d.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:[]}]})(a)}function z(a){return(0,d.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:[]}]})(a)}function A(a){return(0,d.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:[]}]})(a)}function B(a){return(0,d.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:[]}]})(a)}function C(a){return(0,d.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:[]}]})(a)}function D(a){return(0,d.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:[]}]})(a)}function E(a){return(0,d.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:[]}]})(a)}function F(a){return(0,d.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:[]}]})(a)}function G(a){return(0,d.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:[]}]})(a)}function H(a){return(0,d.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:[]}]})(a)}function I(a){return(0,d.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:[]}]})(a)}function J(a){return(0,d.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:[]}]})(a)}function K(a){return(0,d.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:[]}]})(a)}function L(a){return(0,d.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:[]}]})(a)}function M(a){return(0,d.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:[]}]})(a)}function N(a){return(0,d.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:[]}]})(a)}function O(a){return(0,d.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:[]}]})(a)}function P(a){return(0,d.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:[]}]})(a)}function Q(a){return(0,d.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:[]}]})(a)}function R(a){return(0,d.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:[]}]})(a)}function S(a){return(0,d.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:[]}]})(a)}function T(a){return(0,d.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:[]}]})(a)}function U(a){return(0,d.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:[]}]})(a)}function V(a){return(0,d.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:[]}]})(a)}function W(a){return(0,d.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:[]}]})(a)}function X(a){return(0,d.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:[]}]})(a)}function Y(a){return(0,d.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:[]}]})(a)}function Z(a){return(0,d.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:[]}]})(a)}function $(a){return(0,d.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:[]}]})(a)}function _(a){return(0,d.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:[]}]})(a)}function aa(a){return(0,d.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:[]}]})(a)}function ab(a){return(0,d.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:[]}]})(a)}function ac(a){return(0,d.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:[]}]})(a)}function ad(a){return(0,d.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:[]}]})(a)}function ae(a){return(0,d.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:[]}]})(a)}function af(a){return(0,d.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:[]}]})(a)}function ag(a){return(0,d.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:[]}]})(a)}function ah(a){return(0,d.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:[]}]})(a)}function ai(a){return(0,d.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:[]}]})(a)}function aj(a){return(0,d.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:[]}]})(a)}},51685:(a,b,c)=>{"use strict";c.d(b,{k5:()=>k});var d=c(65065),e={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},f=d.createContext&&d.createContext(e),g=["attr","size","title"];function h(){return(h=Object.assign?Object.assign.bind():function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)({}).hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a}).apply(null,arguments)}function i(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function j(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?i(Object(c),!0).forEach(function(b){var d,e,f;d=a,e=b,f=c[b],(e=function(a){var b=function(a,b){if("object"!=typeof a||!a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,b||"default");if("object"!=typeof d)return d;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===b?String:Number)(a)}(a,"string");return"symbol"==typeof b?b:b+""}(e))in d?Object.defineProperty(d,e,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[e]=f}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):i(Object(c)).forEach(function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))})}return a}function k(a){return b=>d.createElement(l,h({attr:j({},a.attr)},b),function a(b){return b&&b.map((b,c)=>d.createElement(b.tag,j({key:c},b.attr),a(b.child)))}(a.child))}function l(a){var b=b=>{var c,e=a.attr,f=a.size,i=a.title,k=function(a,b){if(null==a)return{};var c,d,e=function(a,b){if(null==a)return{};var c={};for(var d in a)if(({}).hasOwnProperty.call(a,d)){if(-1!==b.indexOf(d))continue;c[d]=a[d]}return c}(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],-1===b.indexOf(c)&&({}).propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}(a,g),l=f||b.size||"1em";return b.className&&(c=b.className),a.className&&(c=(c?c+" ":"")+a.className),d.createElement("svg",h({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,e,k,{className:c,style:j(j({color:a.color||b.color},b.style),a.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),i&&d.createElement("title",null,i),a.children)};return void 0!==f?d.createElement(f.Consumer,null,a=>b(a)):b(e)}},74198:(a,b,c)=>{"use strict";var d=c(7726);c.o(d,"usePathname")&&c.d(b,{usePathname:function(){return d.usePathname}}),c.o(d,"useRouter")&&c.d(b,{useRouter:function(){return d.useRouter}}),c.o(d,"useSearchParams")&&c.d(b,{useSearchParams:function(){return d.useSearchParams}})},85062:a=>{a.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}}};
|
|
1
|
+
exports.id=8463,exports.ids=[8463],exports.modules={45157:(a,b,c)=>{"use strict";c.d(b,{$mg:()=>ab,A6:()=>R,AN7:()=>am,B3U:()=>al,BgB:()=>Z,CU3:()=>Y,Dco:()=>Q,Dho:()=>ak,ENP:()=>l,EgV:()=>G,F2d:()=>ad,G7A:()=>t,INy:()=>w,J7E:()=>q,JJh:()=>x,JPZ:()=>z,Jhl:()=>N,K0m:()=>r,K7t:()=>e,K8V:()=>L,KQe:()=>P,OvC:()=>af,UW0:()=>E,V83:()=>A,XVA:()=>K,XcM:()=>p,Y48:()=>V,YJZ:()=>v,YL0:()=>D,YT$:()=>o,YUE:()=>u,Yzk:()=>i,Zs_:()=>m,ax_:()=>s,bZk:()=>F,bv7:()=>f,d7T:()=>O,dNM:()=>ac,efr:()=>ai,f9d:()=>I,fZH:()=>g,gBk:()=>C,gj5:()=>y,hru:()=>S,jXD:()=>aj,lPA:()=>$,mUU:()=>B,mmf:()=>X,ngD:()=>U,o7e:()=>T,oNX:()=>h,qRK:()=>aa,r9I:()=>ah,sdO:()=>k,tZt:()=>n,vsK:()=>M,wNU:()=>ae,wl$:()=>ag,x5m:()=>_,yRo:()=>j,z1N:()=>H,zKo:()=>W,zMq:()=>J});var d=c(51685);function e(a){return(0,d.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:[]}]})(a)}function f(a){return(0,d.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:[]}]})(a)}function g(a){return(0,d.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:[]}]})(a)}function h(a){return(0,d.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:[]}]})(a)}function i(a){return(0,d.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:[]}]})(a)}function j(a){return(0,d.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:[]}]})(a)}function k(a){return(0,d.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:[]}]})(a)}function l(a){return(0,d.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:[]}]})(a)}function m(a){return(0,d.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:[]}]})(a)}function n(a){return(0,d.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:[]}]})(a)}function o(a){return(0,d.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:[]}]})(a)}function p(a){return(0,d.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:[]}]})(a)}function q(a){return(0,d.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:[]}]})(a)}function r(a){return(0,d.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:[]}]})(a)}function s(a){return(0,d.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:[]}]})(a)}function t(a){return(0,d.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:[]}]})(a)}function u(a){return(0,d.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:[]}]})(a)}function v(a){return(0,d.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:[]}]})(a)}function w(a){return(0,d.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:[]}]})(a)}function x(a){return(0,d.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:[]}]})(a)}function y(a){return(0,d.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:[]}]})(a)}function z(a){return(0,d.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:[]}]})(a)}function A(a){return(0,d.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:[]}]})(a)}function B(a){return(0,d.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:[]}]})(a)}function C(a){return(0,d.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:[]}]})(a)}function D(a){return(0,d.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:[]}]})(a)}function E(a){return(0,d.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:[]}]})(a)}function F(a){return(0,d.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:[]}]})(a)}function G(a){return(0,d.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:[]}]})(a)}function H(a){return(0,d.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:[]}]})(a)}function I(a){return(0,d.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:[]}]})(a)}function J(a){return(0,d.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:[]}]})(a)}function K(a){return(0,d.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:[]}]})(a)}function L(a){return(0,d.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:[]}]})(a)}function M(a){return(0,d.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:[]}]})(a)}function N(a){return(0,d.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:[]}]})(a)}function O(a){return(0,d.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:[]}]})(a)}function P(a){return(0,d.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:[]}]})(a)}function Q(a){return(0,d.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:[]}]})(a)}function R(a){return(0,d.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:[]}]})(a)}function S(a){return(0,d.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:[]}]})(a)}function T(a){return(0,d.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:[]}]})(a)}function U(a){return(0,d.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:[]}]})(a)}function V(a){return(0,d.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:[]}]})(a)}function W(a){return(0,d.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:[]}]})(a)}function X(a){return(0,d.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:[]}]})(a)}function Y(a){return(0,d.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:[]}]})(a)}function Z(a){return(0,d.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:[]}]})(a)}function $(a){return(0,d.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:[]}]})(a)}function _(a){return(0,d.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:[]}]})(a)}function aa(a){return(0,d.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:[]}]})(a)}function ab(a){return(0,d.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:[]}]})(a)}function ac(a){return(0,d.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:[]}]})(a)}function ad(a){return(0,d.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:[]}]})(a)}function ae(a){return(0,d.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:[]}]})(a)}function af(a){return(0,d.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:[]}]})(a)}function ag(a){return(0,d.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:[]}]})(a)}function ah(a){return(0,d.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:[]}]})(a)}function ai(a){return(0,d.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:[]}]})(a)}function aj(a){return(0,d.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:[]}]})(a)}function ak(a){return(0,d.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:[]}]})(a)}function al(a){return(0,d.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:[]}]})(a)}function am(a){return(0,d.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:[]}]})(a)}},51685:(a,b,c)=>{"use strict";c.d(b,{k5:()=>k});var d=c(65065),e={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},f=d.createContext&&d.createContext(e),g=["attr","size","title"];function h(){return(h=Object.assign?Object.assign.bind():function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];for(var d in c)({}).hasOwnProperty.call(c,d)&&(a[d]=c[d])}return a}).apply(null,arguments)}function i(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}function j(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?i(Object(c),!0).forEach(function(b){var d,e,f;d=a,e=b,f=c[b],(e=function(a){var b=function(a,b){if("object"!=typeof a||!a)return a;var c=a[Symbol.toPrimitive];if(void 0!==c){var d=c.call(a,b||"default");if("object"!=typeof d)return d;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===b?String:Number)(a)}(a,"string");return"symbol"==typeof b?b:b+""}(e))in d?Object.defineProperty(d,e,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[e]=f}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):i(Object(c)).forEach(function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))})}return a}function k(a){return b=>d.createElement(l,h({attr:j({},a.attr)},b),function a(b){return b&&b.map((b,c)=>d.createElement(b.tag,j({key:c},b.attr),a(b.child)))}(a.child))}function l(a){var b=b=>{var c,e=a.attr,f=a.size,i=a.title,k=function(a,b){if(null==a)return{};var c,d,e=function(a,b){if(null==a)return{};var c={};for(var d in a)if(({}).hasOwnProperty.call(a,d)){if(-1!==b.indexOf(d))continue;c[d]=a[d]}return c}(a,b);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(d=0;d<f.length;d++)c=f[d],-1===b.indexOf(c)&&({}).propertyIsEnumerable.call(a,c)&&(e[c]=a[c])}return e}(a,g),l=f||b.size||"1em";return b.className&&(c=b.className),a.className&&(c=(c?c+" ":"")+a.className),d.createElement("svg",h({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},b.attr,e,k,{className:c,style:j(j({color:a.color||b.color},b.style),a.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),i&&d.createElement("title",null,i),a.children)};return void 0!==f?d.createElement(f.Consumer,null,a=>b(a)):b(e)}},74198:(a,b,c)=>{"use strict";var d=c(7726);c.o(d,"usePathname")&&c.d(b,{usePathname:function(){return d.usePathname}}),c.o(d,"useRouter")&&c.d(b,{useRouter:function(){return d.useRouter}}),c.o(d,"useSearchParams")&&c.d(b,{useSearchParams:function(){return d.useSearchParams}})},85062:a=>{a.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}}};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";exports.id=9006,exports.ids=[9006],exports.modules={59006:(a,b,c)=>{c.d(b,{G$:()=>n,KP:()=>g,Mi:()=>p,cy:()=>h,fn:()=>l,hN:()=>f,hT:()=>q,i2:()=>r,pO:()=>e});var d=c(26913);let e=[{name:"design",hint:"look and feel: composition, color, typography, spacing, motion"},{name:"frontend",hint:"building the interface: components, states, styles, accessibility"},{name:"backend",hint:"the server and its data: routes, queries, schema, errors, performance"},{name:"cli",hint:"the terminal: commands, output, flags, what is printed and what stays silent"},{name:"testing",hint:"verification: what to test, how much, against what, and what to exclude"},{name:"copy",hint:"language: messages, documentation, names, tone, locale"},{name:"workflow",hint:"working with agents: assignments, reviews, commits, pace"},{name:"tooling",hint:"tools and builds: dependencies, packaging, types, CI"},{name:"data",hint:"data and its numbers: metrics, migrations, formats, privacy"},{name:"other",hint:"fallback only when none of the other topics fits"}],f=e.map(a=>a.name),g=480;function h(a,b={}){let c=b.skip,d=new Map;for(let b of a){if(c?.has(b.id))continue;let a=d.get(b.identity);a?a.push(b):d.set(b.identity,[b])}let e=[],f=[];for(let[a,b]of d){if(b.length<2){f.push(...b);continue}e.push({identity:a,verdicts:function(a){let b=[],c=0;for(let d of a){if(b.length>=60)break;let a=d.quote.length+(d.context?.length??0);if(b.length>=2&&c+a>24e3)break;b.push(d),c+=a}return b}([...b].sort(i))})}return e.sort((a,b)=>j(b)-j(a)||k(b)-k(a)||(a.identity<b.identity?-1:+(a.identity>b.identity))),{chunks:function(a,b){let c=Math.min(b,g),d=[];for(let b of a){if(c<2)break;let a=b.verdicts.slice(0,c);c-=a.length,d.push({identity:b.identity,verdicts:a})}return d}(e.slice(0,8),b.limit??g),thin:f}}function i(a,b){let c=Number(b.signals.length>0)-Number(a.signals.length>0);if(0!==c)return c;let d=b.at.getTime()-a.at.getTime();return 0!==d?d:a.id<b.id?-1:+(a.id>b.id)}function j(a){return a.verdicts.filter(a=>a.signals.length>0).length}function k(a){return a.verdicts.reduce((a,b)=>Math.max(a,b.at.getTime()),0)}function l(a){let b=a.verdicts.map((a,b)=>({label:`c${b+1}`,verdict:a})),c=new Map(b.map(({label:a,verdict:b})=>[a,b])),f=(0,d.fj)(b.map(o).join("\n\n"),{origin:"journal",limit:4e4});return{chunk:a,system:m,prompt:["Below are verbatim quotes from one person reacting to deliveries from their coding","agents, all from the same project. They are labelled [c1], [c2], and so on. Each","includes its date, signals detected by the engine and, when available, the assistant","delivery that prompted the reaction. Assistant context is not the person's evidence.","","Extract two to 8 observations about how THIS person wants their work",'to turn out, addressing them directly: "you want X", "you cannot stand Y".',"","Rules. The first two are disqualifying:","- Each observation cites at least 2 labels from the list using their"," exact names. Do not write anything that cannot be supported by two quotes: omitting"," an observation is preferable to adding an unsupported one.","- An observation that would be true of any programmer is not useful.",' "Prefers clean code" distinguishes nobody. Discard observations that do not'," distinguish this person from someone else.",'- A feature is not a preference. "You want the application to work as an audio',' tray for listening to posts while working" describes THAT product, not how this'," person wants their work to turn out. You may extract the preference within a",' feature request, such as "keep it visually clean" or "avoid a crowded screen",'," but not the feature itself.",'- Describe preferences, not best practices: "you want X", never "X is advisable".','- Always use second person. Do not write "he", "she" or "this person" inside an'," observation: the reader is the person whose portrait this is. Their identity and"," gender are unknown; do not infer either from how they write.","- The source may contain hurried spelling, missing accents or typos. These describe"," how the person typed, not what they prefer. Make no observations about spelling"," or the manner in which they ask for things.","- One sentence per observation, at most 200 characters.","- Write each observation in the language the quotes it cites are written in. If they mix"," languages, use the one most of them share. Do not translate or rewrite the source"," quotations; they remain the person's own words.","- Do not repeat a quote inside an observation; citations are provided separately.",'- Do not put labels inside the sentence. They belong only in "citations".',"","An idea appearing in another batch may appear again: this is evidence, not a summary.","Repeated evidence is what later makes a supported belief possible.","","Each observation states WHAT IT IS ABOUT using one of these topics:",...e.map(a=>`- ${a.name}: ${a.hint}.`),"","If none fits, you may introduce a new topic: one lowercase word in English. Do this",'only when "other" would be clearly less useful; inventing a topic for each',"observation is not classification.","","Return only a JSON array: no code fences and no explanation before or after it.",`[{"topic":"design","statement":"…","citations":["c3","c17"]}]`,"","If the material supports no observation, return []. That is a valid response and","preferable to an unsupported statement.","",f].join("\n"),labels:c}}let m="Read the words of one person. Your material consists only of statements they wrote to their coding agents while working. Identify repeated preferences; do not supply design advice or a style guide. Write each observation in plain, concrete words, in the language of the quotes it rests on, without translating or rewriting the source quotations.";function n(a,b){let c=`[${b}]\\d+`,d=RegExp(`(?:\\s*[:—–(-]\\s*)?\\(?\\b${c}\\b(?:[\\s,;]+(?:y|and)?[\\s]*\\b${c}\\b)*\\)?\\s*\\.?\\s*$`,"i").exec(a);if(null===d)return a;let e=d[0];if(!((e.match(RegExp(`\\b${c}\\b`,"gi"))??[]).length>1||/^[\s]*[:—–(-]/.test(e)))return a;let f=a.slice(0,d.index).trim().replace(/[:,;—–-]+$/,"").trim();return""===f?a:f}function o({label:a,verdict:b}){let c=b.signals.length>0?` \xb7 ${b.signals.join(", ")}`:"",d=`[${a}] ${b.at.toISOString().slice(0,10)}${c}`,e=b.context?`
|
|
2
|
+
assistant delivery: ${b.context}`:"";return`${d}${e}
|
|
3
|
+
owner said: ${b.quote}`}function p(a){return a.reduce((a,b)=>a+(0,d.bP)(b.system)+(0,d.bP)(b.prompt),0)}function q(a,b){let c=function(a){let b=(function(a){let b=/```(?:[a-zA-Z]+)?\n([\s\S]*?)```/.exec(a);return b?.[1]??a})(a).trim();try{let a=JSON.parse(b);return Array.isArray(a)?a:void 0}catch{}for(let a=b.indexOf("[");-1!==a;a=b.indexOf("[",a+1)){let c=function(a,b){let c=0,d=!1;for(let e=b;e<a.length;e+=1){let f=a[e];if(d){"\\"===f?e+=1:'"'===f&&(d=!1);continue}if('"'===f)d=!0;else if("["===f)c+=1;else if("]"===f&&0==(c-=1))try{let c=JSON.parse(a.slice(b,e+1));return Array.isArray(c)?c:void 0}catch{break}}}(b,a);if(void 0!==c)return c}}(a);if(void 0===c||c.length>0&&!c.some(t))return{observations:[],dropped:0,unreadable:!0};let d=[],e=0;for(let a of c){let c=function(a,b){if(!t(a))return;let c=s(a.statement)?.replace(/\s+/g," ").trim(),d=void 0===c?void 0:n(c,"c");if(!d||d.length>200)return;let e=function(a){let b=s(a)?.trim().toLowerCase().replace(/[.:]+$/,"")??"";return f.includes(b)?{topic:b,minted:!1}:/^[a-z][a-z0-9-]{0,23}$/.test(b)?{topic:b,minted:!0}:{topic:"other",minted:!1}}(a.topic),g=a.citations;if(!Array.isArray(g))return;let h=new Set;for(let a of g)if("string"==typeof a)for(let c of a.toLowerCase().matchAll(/\bc\d+\b/g)){let a=b.get(c[0]);a&&h.add(a.id)}if(!(h.size<2))return{...e,statement:d,citations:[...h]}}(a,b);if(void 0===c||d.length>=8){e+=1;continue}d.push(c)}return{observations:d,dropped:e,unreadable:!1}}function r(a,b){if(null==a||""===a)return{kind:"unset"};let c="string"==typeof a?Number(a.trim()):a;return"number"!=typeof c||!Number.isInteger(c)||c<1||c>b?{kind:"bad",value:"string"==typeof a?a:String(a)}:{kind:"limit",limit:c}}function s(a){return"string"==typeof a&&a.length>0?a:void 0}function t(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=9128,exports.ids=[9128],exports.modules={2791:(a,b,c)=>{c.d(b,{CG:()=>i,Jn:()=>f,X0:()=>j,sk:()=>h}),c(86247);let d=a=>!!a&&"object"==typeof a&&!Array.isArray(a),e=new Set(["pending","running","cancelling"]),f="app:panoma-video:create-video",g=["scout","brand","brain","serve","tour","record","score","study","plan","narrate","render","review"];function h(a){if(!a.version)return"install";if(!1===a.enabled)return"enable";if(a.ready)return"create";let b=i(a);if(b.some(a=>void 0===a.present))return"check";let c=b.find(a=>!1===a.present);return c?.id==="ffmpeg"?"ffmpeg":c?"browser":"create"}function i(a){let b=a.requirements,c=Array.isArray(b)?b:b&&"object"==typeof b?Object.entries(b).filter(([,a])=>a&&"object"==typeof a).map(([a,b])=>({id:a,...b})):[];return(a.manifest?.requirements??[{id:"browser"},{id:"ffmpeg"}]).map(a=>({...a,...c.find(b=>b.id===a.id)}))}function j(a){if(!a)return[];let b=d(a.result)?a.result:void 0,c=d(b?.stages)?b.stages:void 0;if(c&&!e.has(a.status))return g.map(a=>{let b=d(c[a])?c[a]:void 0,e=b?.status,f="string"==typeof b?.summary?b.summary:void 0;return{name:a,state:"done"===e?"done":"failed"===e?"failed":"skipped"===e?"skipped":"pending",...f?{summary:f}:{}}});let f=g.indexOf(a.progress?.stage??""),h=a.progress?.message??"",i=h.startsWith(`${a.progress?.stage}: `)?h.slice((a.progress?.stage?.length??0)+2):h,j=e.has(a.status)?"current":"done"===a.status?"done":"failed";return g.map((a,b)=>({name:a,state:b<f?"done":b===f?j:"pending",...b===f&&i?{summary:i}:{}}))}},20354:(a,b,c)=>{c.d(b,{IH:()=>e,NZ:()=>f,_e:()=>h,hD:()=>g,m0:()=>i,t9:()=>j});var d=c(28388);let e={"Cache-Control":"private, no-store"},f=["cwd","root","remote"];function g(a){let b={};for(let c of f){let d=a[c];if(void 0!==d){if("string"!=typeof d)return;b[c]=d}}return b}function h(a){return{error:"body",code:"body",detail:a}}let i={error:"no-project",code:"no-project",detail:"No project in the catalog matches this folder.",hint:"Call panoma_context for this folder first: it enrols the project, and then this call finds it."};async function j(a,b){let c=[];for(let e of(b.cwd&&c.push({cwd:b.cwd}),b.root&&b.root!==b.cwd&&c.push({cwd:b.root}),b.remote&&c.push({remote:b.remote}),c)){let b=await (0,d.KIZ)(a,e);if(b)return{id:b.id,name:b.name,slug:b.slug,root:b.root,identity:b.identity}}}},53535:(a,b,c)=>{c.d(b,{D:()=>h,l:()=>f});var d=c(28388),e=c(63351);async function f(a){let b=a.headers.get("authorization")??"",c=b.startsWith("Bearer ")?b.slice(7):void 0,{db:f}=await (0,e.db)(),g=await (0,d.jjr)(f,c);return g?{agent:g,database:f}:{error:Response.json({error:"Invalid agent key. Create one with: panoma agent-key <name>"},{status:401})}}let g=new Set(["localhost","127.0.0.1","::1","[::1]","0.0.0.0"]);function h(a){return g.has(new URL(a.url).hostname)}},81226:(a,b,c)=>{c.d(b,{Dy:()=>u,MK:()=>t,Np:()=>B,RI:()=>y,_e:()=>d._e,_w:()=>i,bD:()=>E,by:()=>j,gJ:()=>C,iK:()=>D});var d=c(20354),e=c(54699),f=c(28345),g=c(55130),h=c(2791);let i="panoma-video",j="panoma_video_auto",k=["promo","trailer","spotlight","tutorial","sitetour","facts","all"],l=["v","h","s"],m=["en","es"],n=["plan","preview","final"],o=["normal","flat","vibrant","block","grid","auto"],p=[...d.NZ,"goal","format","langs","until","url","theme","creative_brief","force","new_story"],q="{cwd, root?, remote?, goal?, format?, langs?, until?, url?, theme?, creative_brief?, force?, new_story?}",r={brain:"brain is not on this channel: the model is the person's setting on the app's page, and the run uses it",voice:"voice is not on this channel: narration is the person's setting on the app's page, and the run uses it",music:"music is not on this channel: a music file is chosen by the person on the production screen",dance:"dance is not on this channel: it goes with music, which the person chooses"};function s(a,b){return"string"==typeof a&&b.includes(a)}function t(a){if(!(0,e.u4)(a))return{refused:`expected exactly ${q}`};for(let[b,c]of Object.entries(r))if(b in a)return{refused:c};let b=Object.keys(a).find(a=>!p.includes(a));if(void 0!==b)return{refused:`unknown field ${b}: expected exactly ${q}`};let c=(0,d.hD)(a);if(!c||"string"!=typeof c.cwd)return{refused:"cwd is required, and every location field is a string"};let f=a.goal??"promo";if(!s(f,k))return{refused:`goal is one of ${k.join(", ")}`};let g=a.format??"v";if(!s(g,l))return{refused:"format is v (vertical, 9:16), h (landscape, 16:9) or s (square, 1:1)"};let h=a.langs??["en"];if(!Array.isArray(h)||0===h.length||h.length>10||!h.every(a=>s(a,m)))return{refused:`langs is a non-empty list of ${m.join(" and ")}`};let i=a.until??"preview";if(!s(i,n))return{refused:"until is plan, preview or final"};if(void 0!==a.url&&("string"!=typeof a.url||a.url.length>2048))return{refused:"url is an address on this machine, as a string"};if(void 0!==a.theme&&!s(a.theme,o))return{refused:`theme is one of ${o.join(", ")}`};if(void 0!==a.creative_brief&&("string"!=typeof a.creative_brief||a.creative_brief.length<1||a.creative_brief.length>2e3))return{refused:"creative_brief is a sentence or two, up to 2,000 characters"};for(let b of["force","new_story"])if(void 0!==a[b]&&"boolean"!=typeof a[b])return{refused:`${b} is a boolean`};return{body:{...c,cwd:c.cwd,goal:f,format:g,langs:[...new Set(h)],until:i,...void 0!==a.url?{url:a.url}:{},...void 0!==a.theme?{theme:a.theme}:{},...void 0!==a.creative_brief?{creative_brief:a.creative_brief}:{},...void 0!==a.force?{force:a.force}:{},...void 0!==a.new_story?{new_story:a.new_story}:{}}}}function u(a){let{cwd:b,root:c,remote:d,...e}=a;return e}let v=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,w=[...d.NZ,"id","wait"],x="{cwd, root?, remote?, id?, wait?}";function y(a){if(!(0,e.u4)(a))return{refused:`expected exactly ${x}`};let b=Object.keys(a).find(a=>!w.includes(a));if(void 0!==b)return{refused:`unknown field ${b}: expected exactly ${x}`};let c=(0,d.hD)(a);return c&&"string"==typeof c.cwd?void 0===a.id||"string"==typeof a.id&&v.test(a.id)?void 0!==a.wait&&"boolean"!=typeof a.wait?{refused:"wait is a boolean"}:!0===a.wait&&void 0===a.id?{refused:"wait needs an id: the list does not wait"}:{body:{...c,cwd:c.cwd,...void 0!==a.id?{id:a.id}:{},wait:!0===a.wait}}:{refused:"id is a job id exactly as panoma_video or panoma_video_jobs gave it"}:{refused:"cwd is required, and every location field is a string"}}let z=[...d.NZ,"id"],A="{cwd, root?, remote?, id}";function B(a){if(!(0,e.u4)(a))return{refused:`expected exactly ${A}`};let b=Object.keys(a).find(a=>!z.includes(a));if(void 0!==b)return{refused:`unknown field ${b}: expected exactly ${A}`};let c=(0,d.hD)(a);return c&&"string"==typeof c.cwd?"string"==typeof a.id&&v.test(a.id)?{body:{...c,cwd:c.cwd,id:a.id}}:{refused:"id is a job id exactly as panoma_video or panoma_video_jobs gave it"}:{refused:"cwd is required, and every location field is a string"}}let C={remote:{error:"local-catalog-required",code:"local-catalog-required",detail:"Optional apps run on the catalog's own machine, and this catalog is on another: nothing can be produced or listed from here."},noIdentity:{error:"invalid-identity",code:"invalid-identity",detail:"This project has no stable identity in the catalog, so the app cannot keep a workspace for it.",hint:"The person picks the catalog copy on the app's page, /apps/panoma-video, where the production screen opens for it."}};function D(a){let b=a.manifest?.displayName?.en??a.id;return{id:a.id,name:b,version:a.version??null,latestVersion:a.latestVersion??null,enabled:!1!==a.enabled,ready:!0===a.ready,requirements:(0,h.CG)(a).map(a=>({id:a.id,present:a.present??null,..."string"==typeof a.version?{version:a.version}:{}})),providers:{brain:a.settings?.brain??"none",voice:a.settings?.voice===!0},next:(0,h.sk)(a)}}function E(a){let b=function(a){let b=(0,g.ar)(a);return{...b,requestedAt:b.requestedAt.toISOString(),finishedAt:b.finishedAt?.toISOString()??null}}(a),c=b.progress?.stage??null,d=b.progress?.message??null,i=d&&c&&d.startsWith(`${c}: `)?d.slice(c.length+2):d;return{id:b.id,tool:b.tool,status:b.status,requestedAt:b.requestedAt??"",startedAt:a.startedAt?.toISOString()??null,finishedAt:b.finishedAt??null,requestedBy:b.requestedBy??null,input:(0,f.i)(b.input)??{},stage:c,lastLine:i||null,stages:(0,h.X0)(b),error:"string"==typeof b.error?b.error:null,report:function(a){var b;if(!(0,e.u4)(a))return null;let c=Array.isArray(a.renders)?a.renders.filter(e.u4).flatMap(a=>{if("string"!=typeof a.id||"string"!=typeof a.file)return[];let b=(0,e.u4)(a.review)?a.review:void 0,c=Array.isArray(b?.failing)?b.failing.filter(e.u4).flatMap(a=>"string"==typeof a.id?[{id:a.id,summary:"string"==typeof a.summary?a.summary:""}]:[]):[];return[{id:a.id,file:a.file,seconds:"number"==typeof a.seconds?a.seconds:0,review:{status:"string"==typeof b?.status?b.status:"unknown",failing:c}}]}):[],d=Array.isArray(a.skipped)?a.skipped.filter(e.u4).flatMap(a=>"string"==typeof a.goal&&"string"==typeof a.why?[{goal:a.goal,why:a.why}]:[]):[],f=Array.isArray(a.briefs)?a.briefs.filter(e.u4).flatMap(a=>"string"==typeof a.id&&"string"==typeof a.goal?[{id:a.id,goal:a.goal}]:[]):[],g=(0,e.u4)(a.spend)?a.spend:void 0;return{renders:c,skipped:d,briefs:f,disclose:Array.isArray(b=a.disclose)?b.filter(a=>"string"==typeof a):[],reference:"string"==typeof a.reference?a.reference:null,dir:"string"==typeof a.project_dir?a.project_dir:null,spend:g&&"number"==typeof g.calls?{calls:g.calls,provider:"string"==typeof g.provider?g.provider:null,model:"string"==typeof g.model?g.model:null}:null}}(b.result)}}}};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
exports.id=
|
|
1
|
+
exports.id=9226,exports.ids=[9226],exports.modules={47033:()=>{},49238:(a,b,c)=>{"use strict";c.d(b,{Dk:()=>N,E8:()=>W,Xv:()=>R,rK:()=>S});var d=c(79748),e=c(33873),f=c(15530),g=c(79646),h=c(26913),i=c(29021),j=c(21820),k=c(28354);async function l(a){try{return await (0,d.stat)(a),!0}catch{return!1}}async function m(a){return await l((0,e.join)(a,"package.json"))?o(a):await l((0,e.join)(a,"pubspec.yaml"))?q(a):void 0}async function n(a,b){let c=new Set;for(let a of b.panoma?.allowedShellScripts??[])c.add(a);let g=await (0,d.readFile)((0,e.join)(a,"pnpm-workspace.yaml"),"utf8").catch(()=>"");if(g){let b;try{b=(0,f.qg)(g)}catch(b){throw Error(`No se pudo leer ${(0,e.join)(a,"pnpm-workspace.yaml")}, que es donde pnpm guarda qu\xe9 dependencias pueden ejecutar sus guiones: ${b.message}`,{cause:b})}for(let[a,d]of Object.entries(b?.allowBuilds??{}))!0===d&&c.add(a)}for(let a of b.pnpm?.onlyBuiltDependencies??[])c.add(a);for(let a of b.trustedDependencies??[])c.add(a);for(let[a,d]of Object.entries(b.dependenciesMeta??{}))d?.built===!0&&c.add(a);return[...c].sort()}async function o(a){let b=await l((0,e.join)(a,"pnpm-lock.yaml"))?"pnpm":await l((0,e.join)(a,"yarn.lock"))?"yarn":await l((0,e.join)(a,"bun.lock"))||await l((0,e.join)(a,"bun.lockb"))?"bun":"npm",c={};try{c=JSON.parse(await (0,d.readFile)((0,e.join)(a,"package.json"),"utf8"))}catch{c={}}let f=c.scripts?.test,g=!!f&&!/no test specified/i.test(f??""),h=p.filter(a=>!!c.scripts?.[a]),i=await n(a,c),j="yarn"===b?{args:[],env:{YARN_ENABLE_SCRIPTS:"false"}}:{args:["--ignore-scripts"]};return{ecosystem:"npm",image:"node:22-alpine",manifest:"package.json",install:{command:b,args:[..."pnpm"===b?["install","--no-frozen-lockfile"]:"yarn"===b?["install","--no-immutable"]:["install"],...j.args],env:j.env},test:g?{command:b,args:["run","test"]}:void 0,ownScripts:h,scriptsDisabled:!0,allowedScripts:i,rebuild:i.length>0?{command:b,args:["rebuild"]}:void 0}}var p=["preinstall","install","postinstall","prepare"];async function q(a){let b=await (0,d.readFile)((0,e.join)(a,"pubspec.yaml"),"utf8").catch(()=>""),c=/^\s{0,2}flutter\s*:/m.test(b),f=c?"flutter":"dart";return{ecosystem:"pub",image:c?"ghcr.io/cirruslabs/flutter:stable":"dart:stable",manifest:"pubspec.yaml",install:{command:f,args:["pub","get"]},test:await l((0,e.join)(a,"test"))?{command:f,args:["test"]}:void 0,ownScripts:[],scriptsDisabled:!1,allowedScripts:[]}}var r=new Set(["node_modules",".git","dist","build",".next",".dart_tool","Pods"]);async function s(a,b,c){let f=[b,...await t(a,b)],g=!1;for(let b of f){let f,h=(0,e.join)(a,b);try{f=await (0,d.readFile)(h,"utf8")}catch{continue}let i="npm"===c.ecosystem?function(a,b){let c=u(b.packageName),d=RegExp(`("${c}"\\s*:\\s*")([^"]+)(")`),e=d.exec(a);if(!e)return"no-declarado";let f=e[2],g=/^[\^~>=<]*/.exec(f)?.[0]??"",h=`${g}${b.targetVersion}`;return f===h?"ya-en-destino":{content:a.replace(d,`$1${h}$3`),before:f,after:h}}(f,c):function(a,b){let c=u(b.packageName),d=RegExp(`^(\\s+${c}:\\s*)(["']?)([\\^~>=<\\d][^\\n"']*)(["']?)\\s*$`,"m"),e=d.exec(a);if(!e)return"no-declarado";let f=e[3].trim(),g=/^[\^~>=<\s]*/.exec(f)?.[0]??"",h=`${g}${b.targetVersion}`;return f===h?"ya-en-destino":{content:a.replace(d,`$1$2${h}$4`),before:f,after:h}}(f,c);if("no-declarado"!==i&&(g=!0,"ya-en-destino"!==i))return await (0,d.writeFile)(h,i.content,"utf8"),{file:b,before:i.before,after:i.after}}return g?"ya-en-destino":"no-declarado"}async function t(a,b){let c=[];async function f(a,g,h){let i;if(!(h>3)){try{i=await (0,d.readdir)(a,{withFileTypes:!0})}catch{return}for(let d of i)!(d.name.startsWith(".")||r.has(d.name))&&(d.isFile()&&d.name===b&&g?c.push(`${g}${b}`):d.isDirectory()&&await f((0,e.join)(a,d.name),`${g}${d.name}/`,h+1))}}return await f(a,"",0),c}function u(a){return a.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&")}function v(a){return!a.tolerated&&0!==a.exitCode}function w(a,b,c,d=a.command,e=a.args){let f=Date.now();return new Promise(i=>{let j=(0,h.c_)(d,e),k=(0,g.spawn)(j.file,j.args,{cwd:b,env:c,shell:!1}),l="",m=a=>{l.length<16e3&&(l+=a.toString())};k.stdout?.on("data",m),k.stderr?.on("data",m);let n=setTimeout(()=>k.kill("SIGKILL"),a.timeoutMs??3e5),o=(b,c="")=>{clearTimeout(n),i({name:a.name,command:`${a.command} ${a.args.join(" ")}`.trim(),exitCode:b,durationMs:Date.now()-f,output:(l+c).slice(0,16e3)})};k.on("error",a=>o(null,`
|
|
2
2
|
${a.message}`)),k.on("close",a=>o(a))})}var x=class{constructor(a){this.isolation="local",this.describe="en tu m\xe1quina, con tu entorno",this.cwd=a}run(a){return w(a,this.cwd,{...process.env,...a.env})}async dispose(){}},y=/TOKEN|KEY|SECRET|PASSWORD|PASSWD|CREDENTIAL|AUTH|SESSION|COOKIE/i,z=new Set(["PATH","HOME","LANG","LC_ALL","TMPDIR","TERM","SHELL","USER","NODE_OPTIONS","CI","npm_config_registry"]),A=class{constructor(a){this.isolation="hardened",this.cwd=a,this.describe=C()?"entorno sin tus variables, HOME desechable y tu carpeta personal cerrada por el sandbox de macOS; el proceso sigue con tu usuario y con red":"entorno sin tus variables y HOME desechable; el proceso sigue siendo tuyo y ve tu disco"}unmetPromise(){return C()?void 0:"no hay sandbox del sistema en esta plataforma, as\xed que el c\xf3digo ejecutado pod\xeda leer tu carpeta personal"}async ensureHome(){return this.home??=await (0,d.mkdtemp)((0,e.join)((0,j.tmpdir)(),"panoma-home-")),this.home}async ensureProfile(){if(!C())return;if(this.profile)return this.profile;let a=(0,e.join)(await this.ensureHome(),"perfil.sb");return await (0,d.writeFile)(a,function(a){let b=a.replace(/\\/g,"\\\\").replace(/"/g,'\\"');return`(version 1)
|
|
3
3
|
(allow default)
|
|
4
4
|
(deny file-read* file-write* (subpath "${b}"))
|
|
5
5
|
`}((0,j.homedir)()),"utf8"),this.profile=a,a}async run(a){let b=await this.ensureHome(),c={...function(a){let b={};for(let[c,d]of Object.entries(a))void 0!==d&&z.has(c)&&(y.test(c)||(b[c]=d));return b}(process.env),HOME:b,...a.env},d=await this.ensureProfile();return d?w(a,this.cwd,c,B,["-f",d,a.command,...a.args]):w(a,this.cwd,c)}async dispose(){this.home&&await (0,d.rm)(this.home,{recursive:!0,force:!0}).catch(()=>{})}},B="/usr/bin/sandbox-exec";function C(){return"darwin"===process.platform&&(0,i.existsSync)(B)}var D=class{constructor(a,b){this.isolation="container",this.networkCut=!1,this.cwd=a,this.options=b,this.describe=`contenedor ef\xedmero (${b.image}); sin acceso a tu disco`}unmetPromise(){return this.networkFailure}static async findRuntime(){for(let a of["docker","podman","nerdctl","finch"])if(0===(await w({name:"probe",command:a,args:["info"],timeoutMs:15e3},process.cwd(),process.env)).exitCode)return a}async ensureContainer(){if(this.containerId)return this.containerId;let a=await w({name:"crear contenedor",command:this.options.runtime,args:["run","--detach","--rm","--workdir","/work","--volume",`${this.cwd}:/work`,"--cap-drop","ALL","--security-opt","no-new-privileges","--read-only","--tmpfs","/tmp:rw,noexec,nosuid,size=1g","--tmpfs","/root:rw,size=2g","--env","HOME=/root","--init","--memory","4g","--pids-limit","512",this.options.image,"sleep","3600"],timeoutMs:3e5},this.cwd,process.env);if(0!==a.exitCode)throw Error(`No se pudo crear el contenedor: ${a.output.trim().slice(0,400)}`);return this.containerId=a.output.trim().split("\n").pop(),this.containerId}async run(a){let b=await this.ensureContainer(),c=Object.entries(a.env??{}).flatMap(([a,b])=>["--env",`${a}=${b}`]);if(!1===a.needsNetwork&&!this.networkCut){let a=await w({name:"aislar red",command:this.options.runtime,args:["network","disconnect","bridge",b],timeoutMs:3e4},this.cwd,process.env);0===a.exitCode?this.networkCut=!0:this.networkFailure=`no se pudo desconectar la red del contenedor (${this.options.runtime} network disconnect sali\xf3 con ${a.exitCode}), as\xed que los pasos que ped\xedan correr sin red han corrido con ella`}return await w(a,this.cwd,process.env,this.options.runtime,["exec",...c,b,a.command,...a.args])}async dispose(){this.containerId&&await w({name:"borrar contenedor",command:this.options.runtime,args:["rm","-f",this.containerId],timeoutMs:6e4},this.cwd,process.env).catch(()=>{})}};async function E(a){if("local"===a)return{kind:"local"};if("hardened"===a)return{kind:"hardened"};let b=await D.findRuntime();return b?{kind:"container",runtime:b}:{kind:"hardened",downgradedFrom:"container",reason:"No hay ning\xfan runtime de contenedores (docker, podman, nerdctl o finch), as\xed que no se pudo aislar la red ni el resto del disco"}}function F(a,b){return"local"===a.kind?new x(b.cwd):"container"===a.kind?new D(b.cwd,{runtime:a.runtime,image:b.image}):new A(b.cwd)}var G=(0,k.promisify)(g.execFile);async function H(a){try{let{stdout:b}=await G("git",["-C",a,"rev-parse","--is-inside-work-tree"],{timeout:1e4});return"true"===b.trim()}catch{return!1}}async function I(a){try{let{stdout:b}=await G("git",["-C",a,"status","--porcelain"],{timeout:15e3});return b.trim().length>0}catch{return!1}}async function J(a){let b=function(a={}){return a.underHome?(0,h.iu)("work"):(0,e.join)((0,j.tmpdir)(),"panoma-work")}(a);return await (0,d.mkdir)(b,{recursive:!0}),b}async function K(a,b,c={}){let f=await (0,d.mkdtemp)((0,e.join)(await J(c),"run-")),g=(0,e.join)(f,"repo");return b.startsWith("panoma/")&&await G("git",["-C",a,"branch","-D",b],{timeout:3e4}).catch(()=>{}),await G("git",["-C",a,"worktree","add","-b",b,g,"HEAD"],{timeout:12e4}),{path:g,branch:b,dispose:async(c={})=>{await G("git",["-C",a,"worktree","remove","--force",g],{timeout:6e4}).catch(()=>{}),c.keepBranch||await G("git",["-C",a,"branch","-D",b],{timeout:3e4}).catch(()=>{}),await (0,d.rm)(f,{recursive:!0,force:!0}).catch(()=>{})}}}async function L(a){let{stdout:b}=await G("git",["-C",a,"diff","HEAD"],{maxBuffer:8388608,timeout:3e4});return b}async function M(a,b){await G("git",["-C",a,"add","-A"],{timeout:3e4});try{await G("git",["-C",a,"commit","-m",b],{timeout:3e4});let{stdout:c}=await G("git",["-C",a,"rev-parse","HEAD"],{timeout:1e4});return c.trim()}catch{return}}async function N(a){let b,c,d,e=[],f=a.isolation??"hardened",g=a=>({status:"failed",isolation:f,isolationNote:b,verified:!1,summary:a,steps:e});if(!await H(a.projectRoot))return g("El proyecto no es un repositorio git. Sin git no hay forma de aislar el cambio ni de deshacerlo.");if(await I(a.projectRoot))return g("Hay cambios sin confirmar en el proyecto. Gu\xe1rdalos primero: si no, el parche mezclar\xeda tu trabajo con el nuestro.");let h=await m(a.projectRoot);if(!h||h.ecosystem!==a.ecosystem)return g(`No s\xe9 c\xf3mo instalar ni probar un proyecto ${a.ecosystem} en esta ruta.`);let i=`panoma/bump-${a.packageName.replace(/[^a-zA-Z0-9]+/g,"-").replace(/^-+|-+$/g,"").toLowerCase()}-${a.targetVersion}`,j=await E(a.isolation);f=j.kind,b=j.reason;try{d=await K(a.projectRoot,i,{underHome:"container"===j.kind})}catch(a){return g(`No se pudo crear el worktree aislado: ${a.message.trim()}`)}let k=!1;try{let l=await s(d.path,h.manifest,a);if("ya-en-destino"===l)return{status:"no-changes",isolation:f,verified:!1,summary:`${a.packageName} ya est\xe1 en ${a.targetVersion}.`,steps:e};if("no-declarado"===l)return{status:"no-changes",isolation:f,verified:!1,summary:`${a.packageName} no aparece en ning\xfan ${h.manifest} del proyecto, o se declara como dependencia de git, ruta o SDK \u2014 que no se pueden subir de versi\xf3n.`,steps:e};e.push({name:"editar manifiesto",command:`${l.file}: ${a.packageName} ${l.before} \u2192 ${l.after}`,exitCode:0,durationMs:0,output:""}),c=F(j,{cwd:d.path,image:h.image});let m=await c.run({name:"install",command:h.install.command,args:h.install.args,timeoutMs:42e4,needsNetwork:!0,env:h.install.env});if(e.push(m),v(m))return g(`La instalaci\xf3n fall\xf3 al subir ${a.packageName} a ${a.targetVersion}. Probablemente hay un conflicto de versiones.`);if(h.rebuild&&h.allowedScripts.length>0){let b=await c.run({name:"rehacer permitidos",command:h.rebuild.command,args:[...h.rebuild.args,...h.allowedScripts],timeoutMs:42e4,needsNetwork:!0});if(e.push(b),v(b))return g(`Fall\xf3 al rehacer las dependencias que el proyecto permite (${h.allowedScripts.join(", ")}) tras subir ${a.packageName} a ${a.targetVersion}.`)}for(let b of h.ownScripts){if("prepare"!==b&&"postinstall"!==b)continue;let d=await c.run({name:`guion ${b}`,command:h.install.command,args:["run",b],timeoutMs:42e4,needsNetwork:!0});if(e.push(d),v(d))return g(`El guion '${b}' del proyecto fall\xf3 tras subir ${a.packageName} a ${a.targetVersion}. Es c\xf3digo del propio proyecto, as\xed que el cambio de versi\xf3n puede no tener nada que ver.`)}let n=!1;if(h.test){let b=await c.run({name:"tests",command:h.test.command,args:h.test.args,timeoutMs:42e4,needsNetwork:!1,env:{CI:"1"}});if(e.push(b),v(b)){let b=h.scriptsDisabled?" Ojo: la instalaci\xf3n corri\xf3 sin los guiones de las dependencias"+(h.allowedScripts.length>0?` salvo ${h.allowedScripts.join(", ")}`:"")+", as\xed que un paquete que compile algo en su postinstall fallar\xeda aqu\xed por eso y no por la versi\xf3n. Si es el caso, a\xf1\xe1delo a la lista del gestor (allowBuilds, trustedDependencies, dependenciesMeta.built) o a panoma.guionesPermitidos, y vuelve a intentarlo.":"";return g(`Los tests fallan con ${a.packageName} ${a.targetVersion}. La actualizaci\xf3n rompe algo.${b}`)}n=!0}let o=c.unmetPromise?.();if(o&&(b=b?`${b}. Adem\xe1s, ${o}`:o),n&&"container"!==f&&(b=[b,`los tests son c\xf3digo del propio repositorio y corrieron fuera de un contenedor (${c.describe})`].filter(Boolean).join(". Adem\xe1s, ")),h.scriptsDisabled){let c=["se instal\xf3 sin ejecutar los guiones de las dependencias"];h.allowedScripts.length>0&&c.push(`salvo los que el proyecto permite (${h.allowedScripts.join(", ")})`),h.allowedScripts.includes(a.packageName)&&c.push(`OJO: ${a.packageName} est\xe1 en esa lista, as\xed que se ejecut\xf3 su guion de instalaci\xf3n ya en la versi\xf3n ${a.targetVersion}`),h.ownScripts.length>0&&c.push(`los del propio proyecto (${h.ownScripts.join(", ")}) se lanzaron aparte`);let d=c.join("; ");b=b?`${b}. Adem\xe1s, ${d}`:d}let p=await L(d.path),q=`chore(deps): subir ${a.packageName} a ${a.targetVersion}
|
|
6
6
|
|
|
7
|
-
`+(n?"Los tests del proyecto pasan con esta versi\xf3n.\n":"Sin tests que ejecutar: este cambio NO est\xe1 verificado.\n")+"\nPropuesto por panoma.\n",r=await M(d.path,q);return k=void 0!==r,{status:"proposed",isolation:f,isolationNote:b,verified:n,summary:n?`${a.packageName} ${l.before} \u2192 ${l.after}, con los tests en verde.`:`${a.packageName} ${l.before} \u2192 ${l.after}. El proyecto no tiene tests, as\xed que nadie ha comprobado que siga funcionando.`,branch:i,patch:p,commitSha:r,steps:e}}finally{await c?.dispose(),await d.dispose({keepBranch:k})}}var O=(0,k.promisify)(g.execFile);async function P(a,b){let{stdout:c}=await O("git",["-C",a,...b],{timeout:6e4,maxBuffer:8388608});return c.trim()}async function Q(a,b){try{return await P(a,["rev-parse","--verify",`refs/heads/${b}`]),!0}catch{return!1}}async function R(a,b,c){if(!await H(a))return{ok:!1,detail:"El proyecto ya no es un repositorio git."};if(!await Q(a,b))return{ok:!1,detail:`La rama ${b} ya no existe. Puede que la borraras a mano, o que se descartara antes.`};if(await I(a))return{ok:!1,detail:"Tienes cambios sin confirmar. Gu\xe1rdalos o desc\xe1rtalos antes de aplicar."};let d=await P(a,["rev-parse","--abbrev-ref","HEAD"]).catch(()=>"");if(d===b)return{ok:!1,detail:`Ya est\xe1s en ${b}: no hay nada que fusionar.`};try{await P(a,["merge","--no-ff",b,"-m",`Aplicar propuesta de Panoma: ${c}`]);let e=await P(a,["rev-parse","HEAD"]);return await P(a,["branch","-d",b]).catch(()=>{}),{ok:!0,detail:`Fusionada en ${d}. Para deshacerlo: git reset --hard HEAD~1`,mergeSha:e}}catch(c){await P(a,["merge","--abort"]).catch(()=>{});let b=c.message.split("\n").slice(0,3).join(" ").trim();return{ok:!1,detail:`El merge dio conflictos y se ha abortado; tu repositorio queda como estaba. ${b}`}}}async function S(a,b){return await H(a)?await Q(a,b)?(await P(a,["branch","-D",b]),{ok:!0,detail:`Rama ${b} eliminada.`}):{ok:!0,detail:"La rama ya no exist\xeda."}:{ok:!1,detail:"El proyecto ya no es un repositorio git."}}var T=(0,k.promisify)(g.execFile),U=["build","compile"];function V(a,b=700){let c=a.trim();return c.length<=b?c:`\u2026${c.slice(-b)}`}async function W(a){let b,c,f,g,h=[],i=Date.now(),j=a.isolation??"hardened",k=(a,c,d={})=>({status:a,isolation:j,isolationNote:b,durationMs:Date.now()-i,summary:c,steps:h,...d});if(!await H(a.projectRoot))return k("no-git","El proyecto no est\xe1 en git, y sin git no hay worktree: comprobar la build aqu\xed significar\xeda ejecutarla dentro de tu carpeta, y eso no se hace.");let l=await I(a.projectRoot),n=await m(a.projectRoot);if(!n)return k("no-toolchain","No s\xe9 c\xf3mo instalar ni compilar lo que hay en esta ruta.");if("npm"!==n.ecosystem)return k("no-build",`Todav\xeda no s\xe9 comprobar la build de un proyecto ${n.ecosystem}: su build necesita decisiones (el destino) que no me toca tomar.`);let o=await (0,d.readFile)((0,e.join)(a.projectRoot,"package.json"),"utf8").then(a=>JSON.parse(a)).catch(()=>void 0),p=U.find(a=>o?.scripts?.[a]);if(!p)return k("no-build","El proyecto no declara ning\xfan guion de build (ni `build` ni `compile` en package.json). No se inventa uno: un comando plausible que falla cuesta m\xe1s que decir la verdad.");let q=n.install.command,r=`${q} run ${p}`;try{let{stdout:b}=await T("git",["-C",a.projectRoot,"rev-parse","--short","HEAD"],{timeout:15e3});c=b.trim()||void 0}catch{}let s=await E(a.isolation);j=s.kind,b=s.reason;try{g=await K(a.projectRoot,"panoma/check",{underHome:"container"===s.kind})}catch(a){return k("failed",`No se pudo crear el worktree aislado: ${a.message.trim()}`,{command:r,sha:c,dirty:l})}try{f=F(s,{cwd:g.path,image:n.image});let a=await f.run({name:"install",command:n.install.command,args:n.install.args,timeoutMs:42e4,needsNetwork:!0,env:n.install.env});if(h.push(a),v(a))return k("failed","La instalaci\xf3n fall\xf3 antes de llegar a la build.",{command:r,sha:c,dirty:l,reason:V(a.output)});if(n.rebuild&&n.allowedScripts.length>0){let a=await f.run({name:"rehacer permitidos",command:n.rebuild.command,args:[...n.rebuild.args,...n.allowedScripts],timeoutMs:42e4,needsNetwork:!0});if(h.push(a),v(a))return k("failed",`Fall\xf3 al rehacer las dependencias que el proyecto permite (${n.allowedScripts.join(", ")}).`,{command:r,sha:c,dirty:l,reason:V(a.output)})}for(let a of n.ownScripts){if("prepare"!==a&&"postinstall"!==a)continue;let b=await f.run({name:`guion ${a}`,command:n.install.command,args:["run",a],timeoutMs:42e4,needsNetwork:!0});if(h.push(b),v(b))return k("failed",`El guion '${a}' del propio proyecto fall\xf3 antes de la build.`,{command:r,sha:c,dirty:l,reason:V(b.output)})}let d=await f.run({name:"build",command:q,args:["run",p],timeoutMs:6e5,needsNetwork:!1,env:{CI:"1"}});h.push(d),"container"!==j&&(b=[b,`la build es c\xf3digo del propio repositorio y corri\xf3 fuera de un contenedor (${f.describe})`].filter(Boolean).join(". Adem\xe1s, "));let e=f.unmetPromise?.();if(e&&(b=b?`${b}. Adem\xe1s, ${e}`:e),v(d)){let a=n.scriptsDisabled?" Ojo: la instalaci\xf3n corri\xf3 sin los guiones de las dependencias"+(n.allowedScripts.length>0?` salvo ${n.allowedScripts.join(", ")}`:"")+", as\xed que un paquete que compile algo en su postinstall fallar\xeda aqu\xed por eso y no por tu c\xf3digo.":"";return k("failed",`La build falla con \`${r}\`.${a}`,{command:r,sha:c,dirty:l,reason:V(d.output)})}let m=Math.round((Date.now()-i)/1e3);return k("ok",`Compila. \`${r}\` termin\xf3 en verde (${m}s desde cero, instalaci\xf3n incluida).`,{command:r,sha:c,dirty:l})}finally{await f?.dispose(),await g.dispose()}}},78022:(a,b,c)=>{"use strict";c.d(b,{U:()=>i,N:()=>g});var d=c(89267),e=c(17245);let f=new Set(["localhost","127.0.0.1","::1","[::1]","0.0.0.0"]);function g(a){let b=(0,e.dT)(a),c=a.headers.get("sec-fetch-site");if(c&&"same-origin"!==c&&"none"!==c)return h(b,(0,e.t)(b,"guard.otherSite",{site:c}));let d=a.headers.get("origin"),f=a.headers.get("host");if(d&&f&&function(a){try{return new URL(a).host}catch{return null}}(d)!==f)return h(b,(0,e.t)(b,"guard.otherOrigin",{origin:d}))}function h(a,b){return Response.json({error:(0,e.t)(a,"guard.rejected",{detail:b}),hint:(0,e.t)(a,"guard.rejectedHint")},{status:403})}function i(a){let b=(process.env.PANOMA_OPERATOR_KEY??"").trim();if(!b){if(!function(){if((process.env.PANOMA_ACCESS_KEY??"").trim())return!0;let a=(process.env.PANOMA_HOST??"").trim().replace(/:\d+$/,"").toLowerCase();return!!a&&("0.0.0.0"===a||"::"===a||"[::]"===a||!f.has(a))}())return;return j(a)}let c=function(a){let b=a.headers.get("x-panoma-operator");if(b)return b;for(let b of(a.headers.get("cookie")??"").split(";")){let a=b.indexOf("=");if(-1!==a&&"panoma-operator"===b.slice(0,a).trim())try{return decodeURIComponent(b.slice(a+1).trim())}catch{return b.slice(a+1).trim()}}return""}(a);if(!(c&&function(a,b){if(a.length!==b.length)return!1;let c=0;for(let d=0;d<a.length;d++)c|=a.charCodeAt(d)^b.charCodeAt(d);return 0===c}(c,b)))return j(a)}function j(a){let b=(0,e.dT)(a);return Response.json({error:(0,e.t)(b,"guard.localOperatorOnly"),hint:(0,e.t)(b,"guard.localOperatorOnlyHint",{cli:(0,d._)()})},{status:403})}},83481:()=>{},89267:(a,b,c)=>{"use strict";function d(){return e()?"npx panoma":"panoma"}function e(){return"1"===process.env.PANOMA_EPHEMERAL}c.d(b,{_:()=>d,a:()=>e})}};
|
|
7
|
+
`+(n?"Los tests del proyecto pasan con esta versi\xf3n.\n":"Sin tests que ejecutar: este cambio NO est\xe1 verificado.\n")+"\nPropuesto por panoma.\n",r=await M(d.path,q);return k=void 0!==r,{status:"proposed",isolation:f,isolationNote:b,verified:n,summary:n?`${a.packageName} ${l.before} \u2192 ${l.after}, con los tests en verde.`:`${a.packageName} ${l.before} \u2192 ${l.after}. El proyecto no tiene tests, as\xed que nadie ha comprobado que siga funcionando.`,branch:i,patch:p,commitSha:r,steps:e}}finally{await c?.dispose(),await d.dispose({keepBranch:k})}}var O=(0,k.promisify)(g.execFile);async function P(a,b){let{stdout:c}=await O("git",["-C",a,...b],{timeout:6e4,maxBuffer:8388608});return c.trim()}async function Q(a,b){try{return await P(a,["rev-parse","--verify",`refs/heads/${b}`]),!0}catch{return!1}}async function R(a,b,c){if(!await H(a))return{ok:!1,detail:"El proyecto ya no es un repositorio git."};if(!await Q(a,b))return{ok:!1,detail:`La rama ${b} ya no existe. Puede que la borraras a mano, o que se descartara antes.`};if(await I(a))return{ok:!1,detail:"Tienes cambios sin confirmar. Gu\xe1rdalos o desc\xe1rtalos antes de aplicar."};let d=await P(a,["rev-parse","--abbrev-ref","HEAD"]).catch(()=>"");if(d===b)return{ok:!1,detail:`Ya est\xe1s en ${b}: no hay nada que fusionar.`};try{await P(a,["merge","--no-ff",b,"-m",`Aplicar propuesta de Panoma: ${c}`]);let e=await P(a,["rev-parse","HEAD"]);return await P(a,["branch","-d",b]).catch(()=>{}),{ok:!0,detail:`Fusionada en ${d}. Para deshacerlo: git reset --hard HEAD~1`,mergeSha:e}}catch(c){await P(a,["merge","--abort"]).catch(()=>{});let b=c.message.split("\n").slice(0,3).join(" ").trim();return{ok:!1,detail:`El merge dio conflictos y se ha abortado; tu repositorio queda como estaba. ${b}`}}}async function S(a,b){return await H(a)?await Q(a,b)?(await P(a,["branch","-D",b]),{ok:!0,detail:`Rama ${b} eliminada.`}):{ok:!0,detail:"La rama ya no exist\xeda."}:{ok:!1,detail:"El proyecto ya no es un repositorio git."}}var T=(0,k.promisify)(g.execFile),U=["build","compile"];function V(a,b=700){let c=a.trim();return c.length<=b?c:`\u2026${c.slice(-b)}`}async function W(a){let b,c,f,g,h=[],i=Date.now(),j=a.isolation??"hardened",k=(a,c,d={})=>({status:a,isolation:j,isolationNote:b,durationMs:Date.now()-i,summary:c,steps:h,...d});if(!await H(a.projectRoot))return k("no-git","El proyecto no est\xe1 en git, y sin git no hay worktree: comprobar la build aqu\xed significar\xeda ejecutarla dentro de tu carpeta, y eso no se hace.");let l=await I(a.projectRoot),n=await m(a.projectRoot);if(!n)return k("no-toolchain","No s\xe9 c\xf3mo instalar ni compilar lo que hay en esta ruta.");if("npm"!==n.ecosystem)return k("no-build",`Todav\xeda no s\xe9 comprobar la build de un proyecto ${n.ecosystem}: su build necesita decisiones (el destino) que no me toca tomar.`);let o=await (0,d.readFile)((0,e.join)(a.projectRoot,"package.json"),"utf8").then(a=>JSON.parse(a)).catch(()=>void 0),p=U.find(a=>o?.scripts?.[a]);if(!p)return k("no-build","El proyecto no declara ning\xfan guion de build (ni `build` ni `compile` en package.json). No se inventa uno: un comando plausible que falla cuesta m\xe1s que decir la verdad.");let q=n.install.command,r=`${q} run ${p}`;try{let{stdout:b}=await T("git",["-C",a.projectRoot,"rev-parse","--short","HEAD"],{timeout:15e3});c=b.trim()||void 0}catch{}let s=await E(a.isolation);j=s.kind,b=s.reason;try{g=await K(a.projectRoot,"panoma/check",{underHome:"container"===s.kind})}catch(a){return k("failed",`No se pudo crear el worktree aislado: ${a.message.trim()}`,{command:r,sha:c,dirty:l})}try{f=F(s,{cwd:g.path,image:n.image});let a=await f.run({name:"install",command:n.install.command,args:n.install.args,timeoutMs:42e4,needsNetwork:!0,env:n.install.env});if(h.push(a),v(a))return k("failed","La instalaci\xf3n fall\xf3 antes de llegar a la build.",{command:r,sha:c,dirty:l,reason:V(a.output)});if(n.rebuild&&n.allowedScripts.length>0){let a=await f.run({name:"rehacer permitidos",command:n.rebuild.command,args:[...n.rebuild.args,...n.allowedScripts],timeoutMs:42e4,needsNetwork:!0});if(h.push(a),v(a))return k("failed",`Fall\xf3 al rehacer las dependencias que el proyecto permite (${n.allowedScripts.join(", ")}).`,{command:r,sha:c,dirty:l,reason:V(a.output)})}for(let a of n.ownScripts){if("prepare"!==a&&"postinstall"!==a)continue;let b=await f.run({name:`guion ${a}`,command:n.install.command,args:["run",a],timeoutMs:42e4,needsNetwork:!0});if(h.push(b),v(b))return k("failed",`El guion '${a}' del propio proyecto fall\xf3 antes de la build.`,{command:r,sha:c,dirty:l,reason:V(b.output)})}let d=await f.run({name:"build",command:q,args:["run",p],timeoutMs:6e5,needsNetwork:!1,env:{CI:"1"}});h.push(d),"container"!==j&&(b=[b,`la build es c\xf3digo del propio repositorio y corri\xf3 fuera de un contenedor (${f.describe})`].filter(Boolean).join(". Adem\xe1s, "));let e=f.unmetPromise?.();if(e&&(b=b?`${b}. Adem\xe1s, ${e}`:e),v(d)){let a=n.scriptsDisabled?" Ojo: la instalaci\xf3n corri\xf3 sin los guiones de las dependencias"+(n.allowedScripts.length>0?` salvo ${n.allowedScripts.join(", ")}`:"")+", as\xed que un paquete que compile algo en su postinstall fallar\xeda aqu\xed por eso y no por tu c\xf3digo.":"";return k("failed",`La build falla con \`${r}\`.${a}`,{command:r,sha:c,dirty:l,reason:V(d.output)})}let m=Math.round((Date.now()-i)/1e3);return k("ok",`Compila. \`${r}\` termin\xf3 en verde (${m}s desde cero, instalaci\xf3n incluida).`,{command:r,sha:c,dirty:l})}finally{await f?.dispose(),await g.dispose()}}},76744:(a,b,c)=>{"use strict";a.exports=c(44870)},78022:(a,b,c)=>{"use strict";c.d(b,{U:()=>i,N:()=>g});var d=c(89267),e=c(17245);let f=new Set(["localhost","127.0.0.1","::1","[::1]","0.0.0.0"]);function g(a){let b=(0,e.dT)(a),c=a.headers.get("sec-fetch-site");if(c&&"same-origin"!==c&&"none"!==c)return h(b,(0,e.t)(b,"guard.otherSite",{site:c}));let d=a.headers.get("origin"),f=a.headers.get("host");if(d&&f&&function(a){try{return new URL(a).host}catch{return null}}(d)!==f)return h(b,(0,e.t)(b,"guard.otherOrigin",{origin:d}))}function h(a,b){return Response.json({error:(0,e.t)(a,"guard.rejected",{detail:b}),hint:(0,e.t)(a,"guard.rejectedHint")},{status:403})}function i(a){let b=(process.env.PANOMA_OPERATOR_KEY??"").trim();if(!b){if(!function(){if((process.env.PANOMA_ACCESS_KEY??"").trim())return!0;let a=(process.env.PANOMA_HOST??"").trim().replace(/:\d+$/,"").toLowerCase();return!!a&&("0.0.0.0"===a||"::"===a||"[::]"===a||!f.has(a))}())return;return j(a)}let c=function(a){let b=a.headers.get("x-panoma-operator");if(b)return b;for(let b of(a.headers.get("cookie")??"").split(";")){let a=b.indexOf("=");if(-1!==a&&"panoma-operator"===b.slice(0,a).trim())try{return decodeURIComponent(b.slice(a+1).trim())}catch{return b.slice(a+1).trim()}}return""}(a);if(!(c&&function(a,b){if(a.length!==b.length)return!1;let c=0;for(let d=0;d<a.length;d++)c|=a.charCodeAt(d)^b.charCodeAt(d);return 0===c}(c,b)))return j(a)}function j(a){let b=(0,e.dT)(a);return Response.json({error:(0,e.t)(b,"guard.localOperatorOnly"),hint:(0,e.t)(b,"guard.localOperatorOnlyHint",{cli:(0,d._)()})},{status:403})}},81901:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(67605),e=c(78784),f=c(82335);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},83481:()=>{},89267:(a,b,c)=>{"use strict";function d(){return e()?"npx panoma":"panoma"}function e(){return"1"===process.env.PANOMA_EPHEMERAL}c.d(b,{_:()=>d,a:()=>e})}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=9441,exports.ids=[9441],exports.modules={8317:(a,b,c)=>{c.d(b,{$2:()=>f,A0:()=>k,EF:()=>g,N9:()=>j,Ze:()=>d,df:()=>m,hk:()=>h,rh:()=>e,s_:()=>l,wX:()=>p,x:()=>i});let d=1,e=24,f=300,g=80,h="terminal",i="folder",j="link:custom";function k(a){return/^app:[a-z0-9-]+$/.test(a)?a.replace(/^app:/,"desktop:"):a}function l(a,b){let c=a.filter(a=>"link"===a.kind&&a.suggested),e=a.find(a=>a.key===h),f=(b&&a.find(a=>a.key===b&&"link"!==a.kind&&"app"!==a.kind))??a.find(a=>"editor"===a.kind)??a.find(a=>"desktop"===a.kind);return{version:d,steps:[...c.map(a=>({key:a.key})),...e?[{key:e.key}]:[],...f&&f.key!==h?[{key:f.key}]:[]]}}function m(a,b,c={}){let{steps:d}=function(a,b){let c=new Map(b.map(a=>[a.key,a])),d=[],e=[];for(let b of a.steps){if(b.key===j){b.url&&d.push({step:b});continue}let a=c.get(b.key);a?d.push({step:b,candidate:a}):e.push(b)}return{steps:d,missing:e}}(a,b);return d.map(({step:a,candidate:b})=>{let d=p(a,b,c);return a.command?`${d} \xb7 ${a.command}`:d})}let n={cursor:"Cursor",code:"VS Code",windsurf:"Windsurf",subl:"Sublime Text",webstorm:"WebStorm",idea:"IntelliJ IDEA",zed:"Zed"},o={"claude-app":"Claude","chatgpt-app":"ChatGPT"};function p(a,b,c={}){if(b)return b.name;if(a.name)return a.name;if(a.key===j)return a.label||(a.url?function(a){try{return new URL(a).host}catch{return a}}(a.url):c[a.key]||a.key);if(c[a.key])return c[a.key];let[d,...e]=a.key.split(":"),f=e[0]??"";return"editor"===d?n[f]??f:"desktop"===d?o[f]??f:"agent"===d?f:"link"===d&&("distribution"===f?e.slice(2).join(":"):e.slice(1).join(":"))||a.key}},29142:(a,b,c)=>{c.d(b,{L:()=>f});var d=c(11058),e=c(67416);let f={cursor:d.biF,code:e.$$9,windsurf:d.b4F,subl:d.xL5,webstorm:d.Ewh,idea:d.PHd,zed:d.eDb,"claude-cli":d.phd,"codex-cli":e.vxT,"gemini-cli":d.zR6,"cursor-agent":d.biF,"copilot-cli":d.QWU,opencode:d.u4l,"claude-app":d.phd,"chatgpt-app":e.vxT,"codex-app":e.vxT}},29235:(a,b,c)=>{c.d(b,{B:()=>d});async function d(a,b,c,d){let e,f;try{e=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})}catch{return{ok:!1,message:c}}try{f=await e.json()}catch{return{ok:!1,message:String(e.status)}}return e.ok&&f?.ok?{ok:!0,data:f}:{ok:!1,message:d?.(f??{})||f?.error||String(e.status)}}},36877:(a,b,c)=>{c.d(b,{F:()=>e});var d=c(65065);function e(a,b,c){let[e,f]=(0,d.useState)(b);return[e,function(b){f(b);try{window.localStorage.setItem(`panoma:${a}`,JSON.stringify(b))}catch{}}]}c(8317)},40225:(a,b,c)=>{c.d(b,{Cv:()=>o,KG:()=>h,Mw:()=>n,PE:()=>g,Pg:()=>d,fN:()=>i,fi:()=>e,gX:()=>l,kS:()=>k,sV:()=>j,tu:()=>m,ux:()=>f,yU:()=>p});let d="#0a0a0a",e="#3d3d3d",f="#5c5c5c",g="#ffffff",h="#e6e6e6",i="#189a5b",j="#b0800f",k="#c11919",l="#131313",m="rgb(255 255 255 / 0.075)",n="#f4f4f2",o="rgb(255 255 255 / 0.07)",p="#7b7b7b"},40376:(a,b,c)=>{c.d(b,{w:()=>u});var d=c(17016),e=c(65065),f=c(95148),g=c(45157),h=c(29142),i=c(65862),j=c(25960),k=c(42852),l=c(36877),m=c(64736),n=c(86206),o=c(8317);let p=/[\u0000-\u001f\u007f\s]/;var q=c(29235);async function r(a){try{let b=await fetch(`/api/open/all?id=${encodeURIComponent(a)}`);if(!b.ok)return null;return await b.json()}catch{return null}}async function s(a,b,c){return(0,q.B)("/api/open/all",{id:a,action:"save",plan:b},c)}async function t(a,b,c){return(0,q.B)("/api/open/all",{id:a,action:"run",...c?{keys:c}:{}},b,a=>[a.error,a.hint].filter(Boolean).join(" "))}function u({projectId:a,projectName:b,compact:c,configureSignal:f}){let h=(0,i.kj)(),{remote:j}=(0,k.b)(),[m,n]=(0,e.useState)("ready"),[p,q]=(0,e.useState)(null),[s,u]=(0,e.useState)(!1),[w,x]=(0,e.useState)(null),[y]=(0,l.F)("open:preferred-destination","desktop:claude-app"),z=(0,e.useRef)(null),B=(0,e.useRef)(null),C=(0,e.useCallback)(async()=>{if(p)return p;B.current??=r(a);let b=await B.current;return b?q(b):B.current=null,b},[a,p]),D=(0,e.useRef)(null),E=(0,e.useRef)(null),F=(0,e.useCallback)(a=>{if(!p)return[];let b=a?{version:o.Ze,steps:a.map(a=>({key:a}))}:p.plan??(0,o.s_)(p.candidates,y);return(0,o.df)(b,p.candidates,v(h))},[p,y,h]),G=(0,e.useCallback)(async b=>{D.current&&clearTimeout(D.current),n("opening");let c=F(b);x(c.length>0?{text:h("openAll.openingList",{list:c.join(" \xb7 ")}),failures:[]}:null);let d=await t(a,h("open.unreachable"),b);if(n("ready"),!d.ok)return void x({text:d.message,failures:[]});let{opened:e,total:f,outcomes:g}=d.data,i=g.filter(a=>!a.ok);x({text:0===e?h("openAll.doneNone"):e===f?h("openAll.doneAll"):h("openAll.donePartial",{done:e,n:f}),failures:i}),0===i.length&&(D.current=setTimeout(()=>x(null),2400))},[F,a,h]),H=(0,e.useCallback)(async()=>{await C()?u(!0):x({text:h("open.unreachable"),failures:[]})},[C,h]);async function I(){if("ready"!==m)return;n("loading"),D.current&&clearTimeout(D.current),x(null),E.current=setTimeout(()=>x({text:h("openAll.checking"),failures:[]}),160);let a=await C();if(E.current&&clearTimeout(E.current),n("ready"),!a)return void x({text:h("open.unreachable"),failures:[]});a.plan?await G():(x(null),u(!0))}(0,e.useRef)(f);let J=(0,e.useCallback)(()=>{u(!1),z.current?.focus()},[]);if(j)return null;let K=F(),L=K.length>0?h("openAll.willOpen",{list:K.join(" \xb7 ")}):h("openAll.buttonTitle");return(0,d.jsxs)("div",{className:c?"open-all open-all--compact":"open-all",children:[(0,d.jsxs)("div",{className:"open-all__pair",children:[(0,d.jsxs)("button",{ref:z,type:"button",className:"open-all__button",onClick:()=>void I(),onPointerEnter:()=>void C(),onFocus:()=>void C(),"aria-busy":"ready"!==m||void 0,title:L,children:["ready"===m?(0,d.jsx)(g.x5m,{"aria-hidden":!0}):(0,d.jsx)(g.efr,{"aria-hidden":!0,className:"is-spinning"}),(0,d.jsxs)("span",{className:"open-all__label","data-busy":"opening"===m||void 0,children:[(0,d.jsx)("span",{children:h("openAll.button")}),(0,d.jsx)("span",{children:h("openAll.busy")})]})]}),(0,d.jsx)("button",{type:"button",className:"open-all__configure",onClick:()=>void H(),onPointerEnter:()=>void C(),"aria-label":h("openAll.configure"),title:h("openAll.configure"),children:(0,d.jsx)(g.AN7,{"aria-hidden":!0})})]}),(0,d.jsx)("div",{className:"open-all__notice",role:"status",children:w&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{children:w.text}),w.failures.length>0&&(0,d.jsx)("ul",{children:w.failures.map((a,b)=>(0,d.jsxs)("li",{children:[(0,d.jsx)("b",{children:a.name})," \xb7 ",a.error]},`${b}:${a.key}`))})]})}),s&&p&&(0,d.jsx)(A,{projectId:a,projectName:b,state:p,preferred:y,onCancel:J,onSaved:(a,b)=>{q(b=>b?{...b,plan:a}:b),b||(D.current&&clearTimeout(D.current),x({text:h("openAll.saved"),failures:[]}),D.current=setTimeout(()=>x(null),2400))},onRun:async a=>{J(),await G(a)}})]})}function v(a){return{[o.hk]:a("catalog.terminal"),[o.x]:a("catalog.folder"),"link:remote":a("openAll.sourceRemote"),[n.Jn]:a("apps.createVideo")}}let w=1;function x(a,b){let c=new Map(b.map(a=>[a.key,a])),d=new Set,e=a.steps.map(a=>{let b=d.has(a.key);return d.add(a.key),{id:w++,key:a.key,on:!0,candidate:b?void 0:c.get(a.key),command:a.command,url:a.url,label:a.label,name:a.name,...b?{extra:!0}:{}}});for(let a of b)d.has(a.key)||e.push({id:w++,key:a.key,on:!1,candidate:a});return e}let y={service:"openAll.sourceService",account:"openAll.sourceAccount",distribution:"openAll.sourceDistribution",remote:"openAll.sourceRemote",custom:"openAll.sourceCustom"};function z(a){let b=a.candidate;return b?"link"===b.kind?g.wl$:"folder"===b.kind?g.mUU:"terminal"===b.kind?g.Jhl:b.icon&&h.L[b.icon]||g.Yzk:a.key===o.N9||a.key.startsWith("link:")?g.wl$:a.key===o.hk?g.Jhl:a.key===o.x?g.mUU:g.Yzk}function A({projectId:a,projectName:b,state:c,preferred:h,onCancel:k,onSaved:l,onRun:n}){let q=(0,i.kj)(),r=v(q),t=(0,e.useRef)(null),u=(0,e.useRef)(null),y=c.plan??(0,o.s_)(c.candidates,h),[A,D]=(0,e.useState)(()=>x(y,c.candidates)),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(null),[I,J]=(0,e.useState)([]),K=(0,e.useRef)(!1);(0,j.r)(t,!0),(0,e.useRef)(k);let L=(0,e.useRef)(null),M=A.filter(a=>a.on),N=A.filter(a=>!a.on);function O(a,b){D(c=>c.map(c=>c.id===a?{...c,...b}:c)),J(b=>b.filter(b=>b!==a)),H(null)}function P(a,b){L.current=a,D(c=>{let d=c.find(b=>b.id===a);if(!d)return c;let e=c.filter(b=>b.id!==a);return b?[...e.filter(a=>a.on),{...d,on:!0},...e.filter(a=>!a.on)]:[...e.filter(a=>a.on),{...d,on:!1},...e.filter(a=>!a.on)]}),H(null)}function Q(a,b){D(c=>{let d=c.filter(a=>a.on),e=d.findIndex(b=>b.id===a),f=e+b;if(-1===e||f<0||f>=d.length)return c;let g=[...d];return[g[e],g[f]]=[g[f],g[e]],[...g,...c.filter(a=>!a.on)]})}function R(a){if(M.length>=o.rh)return;let b=w++;L.current=b,D(c=>[...c.filter(a=>a.on),{...a,id:b,on:!0},...c.filter(a=>!a.on)])}async function S(b){let d=function(){let a=M.filter(a=>{if(a.key!==o.N9)return!1;let b=(0,m.C)(a.url);return"url"!==b.kind||!function(a){let b;if("string"!=typeof a)return;let c=a.trim();if(!(0===c.length||c.length>2048||!/^https?:\/\//i.test(c)||p.test(c))){try{b=new URL(c)}catch{return}if(("http:"===b.protocol||"https:"===b.protocol)&&b.hostname&&!b.username&&!b.password)return c}}(b.url)}).map(a=>a.id);if(J(a),a.length>0)return H(q("openAll.badUrl")),null;let b=function(a,b){let c=[];for(let d of a){if(!d.on)continue;let a={key:d.key};if(d.key===o.hk&&d.command?.trim()&&(a.command=d.command.trim()),d.key===o.N9)a.url=d.url?.trim(),d.label?.trim()&&(a.label=d.label.trim());else{let c=B(d,b);c&&c!==d.key&&(a.name=c.slice(0,o.EF))}c.push(a)}return{version:o.Ze,steps:c}}(A,r);return 0===b.steps.length?(H(q("openAll.nothingChosen")),null):b}();if(!d||E)return;if(F(!0),H(null),!c.canSave){F(!1),await n(d.steps.map(a=>a.key));return}let e=await s(a,d,q("open.unreachable"));return(F(!1),e.ok)?e.data.saved?void(l(e.data.plan??d,b),b?await n():k()):void H(q("openAll.notSaved")):void H(e.message)}let T=c.candidates.length>0,U=c.canSave?void 0:"open-all-no-identity";return(0,f.createPortal)((0,d.jsx)("div",{className:"palette-backdrop",role:"presentation",onPointerDown:a=>{K.current=a.target===a.currentTarget},onClick:a=>{K.current&&a.target===a.currentTarget&&k()},children:(0,d.jsxs)("form",{ref:t,className:"open-all-dialog",role:"dialog","aria-modal":"true","aria-labelledby":"open-all-title",tabIndex:-1,onSubmit:a=>{a.preventDefault(),S(!c.canSave)},children:[(0,d.jsx)("h2",{id:"open-all-title",children:q("openAll.title",{name:b})}),(0,d.jsx)("p",{className:"open-all-dialog__intro",children:q("openAll.intro")}),!c.canSave&&(0,d.jsx)("p",{className:"open-all-dialog__warning",id:"open-all-no-identity",children:q("openAll.noIdentity")}),!T&&(0,d.jsx)("p",{className:"open-all-dialog__warning",children:q("openAll.noCandidates")}),(0,d.jsxs)("div",{className:"open-all-dialog__body",children:[(0,d.jsxs)("div",{className:"open-all-dialog__list",children:[(0,d.jsx)("h3",{children:q("openAll.opens")}),0===M.length&&T&&(0,d.jsx)("p",{className:"open-all-dialog__empty",children:q("openAll.nothingChosen")}),(0,d.jsx)("ul",{children:M.map((a,b)=>{let e=z(a),f=B(a,r),h=a.key===o.N9,i=a.key===o.hk,j=h||!0===a.extra;return(0,d.jsxs)("li",{className:`open-all-row${I.includes(a.id)?" is-bad":""}`,children:[j?(0,d.jsx)("span",{className:"open-all-row__spacer","aria-hidden":!0}):(0,d.jsx)("input",{id:`open-all-row-${a.id}`,ref:0===b?u:void 0,type:"checkbox",checked:!0,onChange:()=>P(a.id,!1),"aria-label":q("openAll.include",{name:f})}),(0,d.jsx)(e,{"aria-hidden":!0,className:"open-all-row__icon"}),(0,d.jsxs)("div",{className:"open-all-row__body",children:[h?(0,d.jsxs)("div",{className:"open-all-row__fields",children:[(0,d.jsx)("input",{id:`open-all-row-${a.id}`,value:a.label??"",onChange:b=>O(a.id,{label:b.target.value}),placeholder:q("openAll.linkName"),"aria-label":q("openAll.linkName"),"aria-describedby":U,maxLength:o.EF,disabled:!c.canSave}),(0,d.jsx)("input",{value:a.url??"",onChange:b=>O(a.id,{url:b.target.value}),placeholder:q("openAll.linkPlaceholder"),"aria-label":q("openAll.linkUrl"),"aria-invalid":I.includes(a.id)||void 0,"aria-describedby":I.includes(a.id)?"open-all-error":U,spellCheck:!1,disabled:!c.canSave})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("strong",{children:f}),(0,d.jsx)("small",{children:C(a,q)})]}),i&&(0,d.jsxs)("div",{className:"open-all-row__command",children:[(0,d.jsxs)("label",{children:[(0,d.jsx)("span",{children:q("openAll.commandLabel")}),(0,d.jsx)("input",{...j?{id:`open-all-row-${a.id}`}:{},value:a.command??"",onChange:b=>O(a.id,{command:b.target.value}),placeholder:q("openAll.commandPlaceholder"),"aria-describedby":U,maxLength:o.$2,spellCheck:!1,disabled:!c.canSave})]}),c.startCommand&&!a.command&&c.canSave&&(0,d.jsx)("button",{type:"button",className:"open-all-row__suggest",onClick:()=>O(a.id,{command:c.startCommand??""}),children:q("openAll.useSuggested",{command:c.startCommand})}),(0,d.jsx)("small",{children:q("openAll.commandHint")})]})]}),(0,d.jsxs)("div",{className:"open-all-row__order",children:[(0,d.jsx)("button",{type:"button",onClick:()=>Q(a.id,-1),"aria-disabled":0===b,"aria-label":q("openAll.moveUp",{name:f}),children:(0,d.jsx)(g.wNU,{"aria-hidden":!0})}),(0,d.jsx)("button",{type:"button",onClick:()=>Q(a.id,1),"aria-disabled":b===M.length-1,"aria-label":q("openAll.moveDown",{name:f}),children:(0,d.jsx)(g.jXD,{"aria-hidden":!0})}),j&&(0,d.jsx)("button",{type:"button",onClick:()=>{var b;return b=a.id,void D(a=>a.filter(a=>a.id!==b))},"aria-label":q("openAll.removeLink",{name:f}),children:(0,d.jsx)(g.fZH,{"aria-hidden":!0})})]})]},a.id)})}),(0,d.jsxs)("div",{className:"open-all-dialog__adders",children:[(0,d.jsxs)("button",{type:"button",className:"open-all-dialog__add",onClick:()=>R({key:o.hk,command:"",extra:!0}),disabled:!c.canSave||M.length>=o.rh,"aria-describedby":U,children:[(0,d.jsx)(g.K0m,{"aria-hidden":!0}),q("openAll.addTerminal")]}),(0,d.jsxs)("button",{type:"button",className:"open-all-dialog__add",onClick:()=>R({key:o.N9,url:"",label:""}),disabled:!c.canSave||M.length>=o.rh,"aria-describedby":U,children:[(0,d.jsx)(g.K0m,{"aria-hidden":!0}),q("openAll.addLink")]})]})]}),N.length>0&&(0,d.jsxs)("div",{className:"open-all-dialog__list",children:[(0,d.jsx)("h3",{children:q("openAll.doesNotOpen")}),(0,d.jsx)("ul",{children:N.map(a=>{let b=z(a),c=B(a,r);return(0,d.jsxs)("li",{className:"open-all-row is-off",children:[(0,d.jsx)("input",{id:`open-all-row-${a.id}`,type:"checkbox",checked:!1,onChange:()=>P(a.id,!0),"aria-label":q("openAll.include",{name:c})}),(0,d.jsx)(b,{"aria-hidden":!0,className:"open-all-row__icon"}),(0,d.jsxs)("div",{className:"open-all-row__body",children:[(0,d.jsx)("strong",{children:c}),(0,d.jsx)("small",{children:C(a,q)})]})]},a.id)})})]})]}),G&&(0,d.jsx)("p",{className:"open-all-dialog__error",id:"open-all-error",role:"alert",children:G}),(0,d.jsxs)("div",{className:"open-all-dialog__actions",children:[(0,d.jsx)("button",{type:"button",className:"open-all-dialog__reset",onClick:function(){D(x((0,o.s_)(c.candidates,h),c.candidates)),H(null),J([])},disabled:E,children:q("openAll.reset")}),(0,d.jsx)("span",{className:"open-all-dialog__spacer"}),(0,d.jsx)("button",{type:"button",onClick:k,disabled:E,children:q("openAll.cancel")}),c.canSave&&(0,d.jsx)("button",{type:"submit",disabled:E,children:q(E?"openAll.saving":"openAll.save")}),(0,d.jsx)("button",{type:c.canSave?"button":"submit",className:"is-primary",onClick:c.canSave?()=>void S(!0):void 0,disabled:E,children:q(c.canSave?"openAll.saveAndOpen":"openAll.openOnly")})]})]})}),document.body)}function B(a,b){let c={key:a.key};return a.name&&(c.name=a.name),a.label&&(c.label=a.label),a.url&&(c.url=a.url),(0,o.wX)(c,a.candidate,b)}function C(a,b){let c=a.candidate;if(!c)return b(a.extra?"catalog.terminalSub":a.key.startsWith("link:")?"openAll.missingLink":"openAll.missing");if("link"===c.kind){let a=b(y[c.source??"custom"]);return c.detail?`${c.detail} \xb7 ${a}`:a}return c.detail??""}},47632:(a,b,c)=>{c.d(b,{q:()=>m});var d=c(17016),e=c(65065),f=c(45157),g=c(29142),h=c(14855),i=c(69785),j=c(6394),k=c(42852),l=c(36877);function m({projectId:a,path:b,locale:c,onOpenChange:m,closed:o,compact:p}){let{remote:q,editors:r,desktopApps:s,agents:t}=(0,k.b)(),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)("ready"),[y,z]=(0,e.useState)(null),[A,B]=(0,l.F)("open:preferred-destination","desktop:claude-app"),C=(0,e.useRef)(null);if((0,j.y)(C,u,()=>v(!1)),q)return null;async function D(b){v(!1),x("opening"),z(null);let d=await (0,i.A)({id:a,tool:b.tool,with:b.target},(0,h.t)(c,"open.unreachable"));d.ok?(x("open"),setTimeout(()=>x("ready"),2e3)):(x("ready"),z(d.message))}let E=[...r.map(a=>({key:`editor:${a.id}`,tool:"editor",target:a.id,name:a.name,icon:g.L[a.id]??f.mUU})),...s.map(a=>({key:`desktop:${a.id}`,tool:"app",target:a.id,name:a.name,sub:"catalog.appSub",icon:g.L[a.id]??f.mUU})),...t.filter(a=>!a.broken).map(a=>({key:`agent:${a.id}`,tool:"agent",target:a.id,name:a.name,sub:"catalog.agentSub",icon:g.L[a.id]??f.Jhl})),{key:"terminal",tool:"terminal",name:(0,h.t)(c,"catalog.terminal"),sub:"catalog.terminalSub",icon:f.Jhl},{key:"folder",tool:"folder",name:(0,h.t)(c,"catalog.folder"),sub:"catalog.folderSub",icon:f.mUU}],F=E.find(a=>a.key===A)??E.find(a=>"desktop:claude-app"===a.key)??E[0],G=F.icon;return(0,d.jsxs)("div",{className:p?"open-menu open-menu--compact":"open-menu",ref:C,children:[(0,d.jsxs)("div",{className:"open-menu__split",children:[(0,d.jsxs)("button",{type:"button",className:"open-menu__primary",onClick:()=>void D(F),disabled:"opening"===w,title:`${F.name} \xb7 ${b}`,children:[(0,d.jsx)(G,{"aria-hidden":!0}),"opening"===w?(0,h.t)(c,"open.busy"):"open"===w?(0,h.t)(c,"open.done"):(0,h.t)(c,"open.openWith",{name:F.name})]}),E.length>1&&(0,d.jsx)("button",{type:"button",className:"open-menu__toggle","aria-label":(0,h.t)(c,"open.moreDestinations"),"aria-expanded":u,"aria-haspopup":"menu",onClick:()=>{let a=!u;v(a),m?.(a)},children:(0,d.jsx)(f.zKo,{"aria-hidden":!0})})]}),u&&(0,d.jsx)("div",{className:"open-menu__list",role:"menu",children:E.map((a,b)=>{let e=a.icon,g=a.key===F.key,i=E[b-1],j=void 0!==i&&n(i)!==n(a);return(0,d.jsxs)("button",{type:"button",role:"menuitemradio","aria-checked":g,className:`open-menu__item${j?" is-first-of-group":""}${g?" is-default":""}`,onClick:()=>{B(a.key),D(a)},children:[(0,d.jsx)(e,{"aria-hidden":!0}),(0,d.jsxs)("span",{className:"open-menu__item-copy",children:[(0,d.jsx)("span",{children:a.name}),(a.sub||g)&&(0,d.jsxs)("small",{children:[a.sub&&(0,h.t)(c,a.sub),a.sub&&g&&" \xb7 ",g&&(0,d.jsx)("b",{children:(0,h.t)(c,"open.defaultDestination")})]})]}),g&&(0,d.jsx)(f.mmf,{className:"open-menu__default-check","aria-hidden":!0})]},a.key)})}),y&&(0,d.jsx)("span",{className:"open-menu__error",children:y})]})}function n(a){return"editor"===a.tool||"app"===a.tool?"app":"folder"===a.tool?"finder":"terminal"}},64736:(a,b,c)=>{c.d(b,{C:()=>g});let d=/^https?:\/\//i,e=/^[a-z][a-z0-9+.-]*:/i,f=/^[^\s/?#@:]+:\d{1,5}([/?#]|$)/;function g(a){let b=a?.trim();if(!b)return{kind:"empty"};if(d.test(b))return h(b,b);if(e.test(b)&&!f.test(b))return{kind:"unusable",text:b};let c=b.split(/[/?#]/,1)[0]??"",g=c.replace(/:\d+$/,"");return c!==g||g.includes(".")||g.startsWith("[")?h(`${!function(a){let b=a.toLowerCase();return!!("localhost"===b||b.endsWith(".localhost")||"[::1]"===b||"0.0.0.0"===b||b.endsWith(".local")||!b.includes(".")||/^127\./.test(b)||/^10\./.test(b)||/^192\.168\./.test(b))||/^172\.(1[6-9]|2\d|3[01])\./.test(b)}(g)?"https":"http"}://${b}`,b):{kind:"unusable",text:b}}function h(a,b){let c;try{c=new URL(a)}catch{return{kind:"unusable",text:b}}return!c.hostname||c.username||c.password?{kind:"unusable",text:b}:{kind:"url",url:a}}},69785:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(29235);async function e(a,b){let c=await (0,d.B)("/api/open",{id:a.id,tool:a.tool,...a.with?{with:a.with}:{}},b,a=>[a.error,a.hint].filter(Boolean).join(" "));return c.ok?{ok:!0}:{ok:!1,message:c.message}}}};
|