@ai-development-environment/server 0.0.43 → 0.0.44
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/package.json +1 -1
- package/standalone/.next/BUILD_ID +1 -1
- package/standalone/.next/build-manifest.json +3 -3
- package/standalone/.next/prerender-manifest.json +3 -3
- package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
- package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
- package/standalone/.next/server/app/_global-error.html +1 -1
- package/standalone/.next/server/app/_global-error.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.html +1 -1
- package/standalone/.next/server/app/_not-found.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
- package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
- package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/codebases/route.js +1 -1
- package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/graphql/route.js +1 -1
- package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
- package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
- package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/enrollment-profile/route.js +1 -1
- package/standalone/.next/server/app/api/ios/enrollment-profile/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/ios/profile-response/route.js +1 -1
- package/standalone/.next/server/app/api/ios/profile-response/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/mcp/route.js +1 -1
- package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/openapi.json/route.js +1 -1
- package/standalone/.next/server/app/api/openapi.json/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
- package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js +1 -1
- package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
- package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
- package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__00h1t-5._.js → [root-of-the-server]__0-ptbns._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0lrv7jk._.js → [root-of-the-server]__0-rk-gw._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0783dgt._.js → [root-of-the-server]__0-siu15._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0fbv1bw._.js → [root-of-the-server]__00l1ur7._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__09--bpf._.js → [root-of-the-server]__00pz9u-._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__00pg8ki._.js → [root-of-the-server]__00q730m._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__2195vvu._.js → [root-of-the-server]__03l7uod._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__09n1yz-._.js → [root-of-the-server]__04ytt8c._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1t1-x5a._.js → [root-of-the-server]__05l-vh9._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gyqdmk._.js → [root-of-the-server]__05o3hc7._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0kmxj4m._.js → [root-of-the-server]__0661gy0._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__03i41aw._.js → [root-of-the-server]__06v-y44._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__027a5vb._.js → [root-of-the-server]__0730ihs._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1yxu--t._.js → [root-of-the-server]__076321a._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0o-m0xx._.js → [root-of-the-server]__076y818._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0_d9q6w._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__16u_xzt._.js → [root-of-the-server]__0_smoou._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__1pan46j._.js → [root-of-the-server]__0a61u23._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gm8rnl._.js → [root-of-the-server]__0a8ssv2._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__04ws4jm._.js → [root-of-the-server]__0cusg9h._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0dfk0up._.js → [root-of-the-server]__0czmmn3._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0gvldsm._.js → [root-of-the-server]__0d157q5._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0dq1b6t._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0duw2z9._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0i8jv9o._.js → [root-of-the-server]__0f4mi_7._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0gwt8xn._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1mofk4t._.js → [root-of-the-server]__0jc7f-h._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__01k_3ze._.js → [root-of-the-server]__0ji4_aa._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0kffrvp._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1mlcdp1._.js → [root-of-the-server]__0lqruq_._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__0_yro61._.js → [root-of-the-server]__0m-o7gg._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__0ny_w4c._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0qay7yq._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0ksul8g._.js → [root-of-the-server]__0qpwbwq._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0r73w_w._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0srh8bm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__0syu0s0._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__154lh-5._.js → [root-of-the-server]__0t0z79p._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0olwy-c._.js → [root-of-the-server]__0tt2s67._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1ric9t-._.js → [root-of-the-server]__0uz7ud6._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0s5dxd3._.js → [root-of-the-server]__0x7nzft._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__0xro-tn._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__01lu84h._.js → [root-of-the-server]__10784d-._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__123on-v._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1wn2s2e._.js → [root-of-the-server]__12i2_e-._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__133en1z._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__13njn4x._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__145nk5b._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__14p-wic._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__14v5hwd._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1549etm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__15zod2l._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0xc-tua._.js → [root-of-the-server]__16lxm7i._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__176ofx1._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1z2wsgn._.js → [root-of-the-server]__17yxr8i._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1sfzs44._.js → [root-of-the-server]__18_g5so._.js} +2 -2
- package/standalone/.next/server/chunks/{[root-of-the-server]__0iayrsu._.js → [root-of-the-server]__198g-0l._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__19n37bl._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1_z0-o0._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1c91-d3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1cmajoo._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1cpfh84._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1dn92tm._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1elf__p._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0ynkv_7._.js → [root-of-the-server]__1f2c4fv._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__1fnqwa3._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1fumbd9._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0eaabcp._.js → [root-of-the-server]__1fwcg2w._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1gl82vr._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1f9ug94._.js → [root-of-the-server]__1j88891._.js} +1 -1
- package/standalone/.next/server/chunks/[root-of-the-server]__1j89nx9._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1ke6fy2._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0bl-go3._.js → [root-of-the-server]__1kr6xrb._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1kvooj6._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1m7y79-._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1md2i2u._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1mnaj5t._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1bfswt2._.js → [root-of-the-server]__1ohhyet._.js} +1 -1
- package/standalone/.next/server/chunks/{[root-of-the-server]__1v2l-cb._.js → [root-of-the-server]__1pf55w3._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1q247bc._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1qaicnm._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__15zmuuw._.js → [root-of-the-server]__1qpos_f._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1qr-aka._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__0i2ljnx._.js → [root-of-the-server]__1syo7nr._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1v9n3yu._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__1xi2k6g._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__1j0txpm._.js → [root-of-the-server]__1yta_xv._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1zadv3h._.js +3 -0
- package/standalone/.next/server/chunks/{[root-of-the-server]__13l3v-v._.js → [root-of-the-server]__1zdk-iw._.js} +2 -2
- package/standalone/.next/server/chunks/[root-of-the-server]__1zwqj_g._.js +3 -0
- package/standalone/.next/server/chunks/[root-of-the-server]__20rr3br._.js +3 -0
- package/standalone/.next/server/chunks/_00pgex-._.js +68 -66
- package/standalone/.next/server/chunks/_03k34hm._.js +4 -4
- package/standalone/.next/server/chunks/_04tltxp._.js +4 -4
- package/standalone/.next/server/chunks/_05ieldc._.js +4 -4
- package/standalone/.next/server/chunks/_0_3-lke._.js +2 -0
- package/standalone/.next/server/chunks/_1bpbnrs._.js +4 -4
- package/standalone/.next/server/chunks/_1hcmg6g._.js +4 -4
- package/standalone/.next/server/chunks/_1javz-p._.js +4 -4
- package/standalone/.next/server/chunks/_1qvlhr_._.js +4 -4
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e80fhr._.js +3 -3
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03nc3bp._.js → [root-of-the-server]__0k74961._.js} +4 -4
- package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__04fj378._.js → [root-of-the-server]__0tz354o._.js} +3 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1i04gpy._.js +27 -0
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wpef1o._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0-_e-ox._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0-ih50c._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_08lb8p6._.js → _00_gb4o._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_012q7w6._.js +10 -10
- package/standalone/.next/server/chunks/ssr/_03kzeos._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_05ohevo._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_0jum_1m._.js → _0759zq8._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_07a5zv1._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_117jkyy._.js → _09wh5xv._.js} +8 -3
- package/standalone/.next/server/chunks/ssr/_0c7yfj8._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_01cun29._.js → _0cynmyr._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0dir-eb._.js +34 -0
- package/standalone/.next/server/chunks/ssr/_0dvnys0._.js +5 -5
- package/standalone/.next/server/chunks/ssr/_0fha4pb._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0fk_1t_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0k5jx04._.js +5 -5
- package/standalone/.next/server/chunks/ssr/_0n98rd4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0nnwpvt._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_1c_ojfs._.js → _0pk2e_s._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0pm3j9j._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0rcby6e._.js +5 -5
- package/standalone/.next/server/chunks/ssr/{_170xw1h._.js → _0rx-o1y._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0ry7kff._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_0t2jwg3._.js +31 -31
- package/standalone/.next/server/chunks/ssr/_0t5lgno._.js +1 -1
- package/standalone/.next/server/chunks/ssr/_0tc_1s_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_0m5obko._.js → _0w9r25f._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_0ysjbys._.js +11 -0
- package/standalone/.next/server/chunks/ssr/_17q5b-5._.js +9 -0
- package/standalone/.next/server/chunks/ssr/{_1q79umx._.js → _196iuum._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1bga6ml._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1biqcz_._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1bzibio._.js +31 -31
- package/standalone/.next/server/chunks/ssr/_1c34qp8._.js +2 -2
- package/standalone/.next/server/chunks/ssr/_1d-qtbz._.js +1 -1
- package/standalone/.next/server/chunks/ssr/{_04jk-xk._.js → _1ecln95._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1eoq6hs._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_1zqt7an._.js → _1h2b2b5._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1kwnjml._.js +34 -0
- package/standalone/.next/server/chunks/ssr/_1o8-fvv._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1pqjzks._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{_1u7742_._.js → _1r1e3_z._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_1rqnk8t._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1sjzp8l._.js +3 -0
- package/standalone/.next/server/chunks/ssr/_1tmllxv._.js +24 -0
- package/standalone/.next/server/chunks/ssr/_1uoc7zb._.js +6 -0
- package/standalone/.next/server/chunks/ssr/_1xs2spu._.js +3 -3
- package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +7 -7
- package/standalone/.next/server/chunks/ssr/{_0y9d64c._.js → _1zsu_6o._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/_20pbep2._.js +2 -2
- package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
- package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
- package/standalone/.next/server/chunks/ssr/node_modules_1fko13n._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_1qembts._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1nipfj2._.js +3 -0
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-popper_dist_index_mjs_0428afp._.js +3 -0
- package/standalone/.next/server/chunks/ssr/{node_modules_lucide-react_dist_esm_icons_1b76nr4._.js → node_modules_lucide-react_dist_esm_icons_15-ly7n._.js} +2 -2
- package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1ye04e4._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +16 -16
- package/standalone/.next/server/chunks/ssr/src_components_build-data_build-data-page_tsx_1t2rrh0._.js +11 -11
- package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +10 -10
- package/standalone/.next/server/chunks/ssr/src_components_builds_builds-page_tsx_17qzmsl._.js +8 -8
- package/standalone/.next/server/chunks/ssr/src_components_builds_configuration-icon_tsx_1v42ztc._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_cache-server_cache-page_tsx_0_-eo_e._.js +5 -5
- package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +11 -11
- package/standalone/.next/server/chunks/ssr/src_components_codebases_codebases-page_tsx_0wcj3k1._.js +10 -10
- package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +17 -17
- package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +7 -7
- package/standalone/.next/server/chunks/ssr/src_components_devices_devices-page_tsx_1y45lv2._.js +8 -8
- package/standalone/.next/server/chunks/ssr/src_components_github_actions-page_tsx_18434xt._.js +4 -4
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_github_pull-requests-page_tsx_1il3ga-._.js +12 -12
- package/standalone/.next/server/chunks/ssr/src_components_jira_cache-page_tsx_1znt1yl._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +15 -15
- package/standalone/.next/server/chunks/ssr/src_components_jira_tickets-page_tsx_0_ocldp._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_notifications_notifications-page_tsx_19f4ztg._.js +18 -18
- package/standalone/.next/server/chunks/ssr/src_components_push-notifications_push-notifications-page_tsx_1c_b-t4._.js +2 -2
- package/standalone/.next/server/chunks/ssr/src_components_settings-page_tsx_06dxqc7._.js +31 -31
- package/standalone/.next/server/chunks/ssr/src_components_signing-assets_provisioning-profiles-page_tsx_1zr20o7._.js +9 -9
- package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +3 -3
- package/standalone/.next/server/chunks/ssr/src_components_telemetry_telemetry-page_tsx_0yzdpy6._.js +14 -14
- package/standalone/.next/server/chunks/ssr/src_components_ui_date-time_tsx_0zuage9._.js +3 -0
- package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +4 -4
- package/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/standalone/.next/server/pages/404.html +1 -1
- package/standalone/.next/server/pages/500.html +1 -1
- package/standalone/.next/server/server-reference-manifest.js +1 -1
- package/standalone/.next/server/server-reference-manifest.json +1 -1
- package/standalone/.next/static/chunks/000lif3c0zhvu.js +80 -0
- package/standalone/.next/static/chunks/02wsz0adffqp8.js +28 -0
- package/standalone/.next/static/chunks/{2mth_pn5d54qo.js → 02zr1fj6sg9gn.js} +33 -33
- package/standalone/.next/static/chunks/{1k02pmb5ikjwl.js → 03cte61olt23o.js} +3 -3
- package/standalone/.next/static/chunks/{1ezpx5-kghuo6.js → 04inif3zp27ql.js} +11 -11
- package/standalone/.next/static/chunks/{2qe7etuh1bwv3.js → 04twsuitu09qc.js} +1 -1
- package/standalone/.next/static/chunks/{1g0hwagd4q811.js → 0ejnphkok3cbc.js} +1 -1
- package/standalone/.next/static/chunks/0f822nit06dft.js +9 -0
- package/standalone/.next/static/chunks/0fovjx-g7eta0.js +65 -0
- package/standalone/.next/static/chunks/{0b0w_wac5cqbn.js → 0fw1be4ry6k_r.js} +2 -2
- package/standalone/.next/static/chunks/{1ywyjstd4f1px.js → 0ikbwsq-7rewz.js} +1 -1
- package/standalone/.next/static/chunks/0ir2jvw5qtwnj.js +1 -0
- package/standalone/.next/static/chunks/0iwqaqr66hgne.js +1 -0
- package/standalone/.next/static/chunks/0k8int7jsgtz3.js +30 -0
- package/standalone/.next/static/chunks/{2a6rrto2ktoc_.js → 0nutq5ctjfc37.js} +5 -5
- package/standalone/.next/static/chunks/0u2tsyv0tassx.js +12 -0
- package/standalone/.next/static/chunks/0xaamcimitizu.js +1 -0
- package/standalone/.next/static/chunks/1-_hzodjvgft7.js +1 -0
- package/standalone/.next/static/chunks/10xbozbf30cv-.js +1 -0
- package/standalone/.next/static/chunks/{0579din_nqxhf.js → 14jtogt0f0nsh.js} +3 -3
- package/standalone/.next/static/chunks/169-gif_99pjd.js +41 -0
- package/standalone/.next/static/chunks/{349ls84c4dbp9.js → 18zmneu2dpo8s.js} +3 -3
- package/standalone/.next/static/chunks/{3bnkoq89szbzx.js → 1a4de2uh02g6b.js} +2 -2
- package/standalone/.next/static/chunks/1ch1iiugfh7pr.js +1 -0
- package/standalone/.next/static/chunks/1edawd0o38cx6.js +28 -0
- package/standalone/.next/static/chunks/1gz-q30e1qzuf.js +35 -0
- package/standalone/.next/static/chunks/{37kyqfr93cgmv.js → 1h5cc0dmoomfs.js} +33 -33
- package/standalone/.next/static/chunks/1hzt4mwdfnmv2.js +33 -0
- package/standalone/.next/static/chunks/{2b6qj3i_of-b7.js → 1k2n9o4o5p8s6.js} +1 -1
- package/standalone/.next/static/chunks/1ufkqj87rj6-i.js +1 -0
- package/standalone/.next/static/chunks/1z77ayhor3gtg.js +36 -0
- package/standalone/.next/static/chunks/2-1-vmcvalx28.js +1 -0
- package/standalone/.next/static/chunks/{1zqoc_5v6sshl.js → 28-e9fkcgfk62.js} +11 -11
- package/standalone/.next/static/chunks/{3rolhb6l918f3.js → 28jwnowa-b2u5.js} +5 -5
- package/standalone/.next/static/chunks/2ar0jmg8yo3_q.js +13 -0
- package/standalone/.next/static/chunks/{0duto9u8a-gcp.js → 2f9kasslyd1ss.js} +16 -16
- package/standalone/.next/static/chunks/{1jtaoae30sltr.js → 2ly2npblvc-_j.js} +17 -17
- package/standalone/.next/static/chunks/2vv30t-8y66id.js +1 -0
- package/standalone/.next/static/chunks/2x3_xry-6de68.css +1 -0
- package/standalone/.next/static/chunks/{1nc0w3yg2nwys.js → 2y3w6cb0dlmzd.js} +5 -5
- package/standalone/.next/static/chunks/2yayf07873iy6.js +1 -0
- package/standalone/.next/static/chunks/2yfhr6so_34cy.js +33 -0
- package/standalone/.next/static/chunks/{1jp3oxzet05xp.js → 2zftfpd-e3i12.js} +1 -1
- package/standalone/.next/static/chunks/{16n8heazfxgkp.js → 2zho87usah-sc.js} +1 -1
- package/standalone/.next/static/chunks/2zypdpeeqzci1.js +10 -0
- package/standalone/.next/static/chunks/{30xpb_0lt8jpx.js → 347ov6pk6gcg2.js} +11 -11
- package/standalone/.next/static/chunks/36h9gn_o83hax.js +4 -0
- package/standalone/.next/static/chunks/{0az2qcfmxe26_.js → 377e8qofcd6up.js} +9 -9
- package/standalone/.next/static/chunks/388484eodm15m.js +8 -0
- package/standalone/.next/static/chunks/3_as3_z1u3nnb.js +1 -0
- package/standalone/.next/static/chunks/3_g7zsn_y38wy.js +1 -0
- package/standalone/.next/static/chunks/{31pn-_jxgdd7h.js → 3ajafpxyeycth.js} +5 -5
- package/standalone/.next/static/chunks/3bqm7ynezy7eb.js +7 -0
- package/standalone/.next/static/chunks/3c4-hisg3lm8z.js +9 -0
- package/standalone/.next/static/chunks/{1h5y3qq56veer.js → 3f6axekan26k2.js} +3 -3
- package/standalone/.next/static/chunks/3gx3ywvr2ggbb.js +1 -0
- package/standalone/.next/static/chunks/3jqmoapzyq5tx.js +8 -0
- package/standalone/.next/static/chunks/3llcyep7mkp-i.js +155 -0
- package/standalone/.next/static/chunks/{1n1t0xlcfflb5.js → 3nmfnes9vz7cm.js} +8 -8
- package/standalone/.next/static/chunks/{2vu5ny7yd8uz6.js → 3o31isuqgjdgf.js} +17 -17
- package/standalone/.next/static/chunks/3u04m_dram50f.js +1 -0
- package/standalone/.next/static/chunks/3y3ginr-kriqa.js +39 -0
- package/standalone/.next/static/chunks/{1pmegdso5i73a.js → 40f0gc3x_52ei.js} +1 -1
- package/standalone/.next/static/chunks/40j-6wiq8b9d7.js +1 -0
- package/standalone/.next/static/chunks/{3tmt2fscg4x0a.js → 44pprg5jd-0j8.js} +13 -13
- package/standalone/.next/server/chunks/[root-of-the-server]__0hmxoy-._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0na0kf5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0o2r2g3._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0qn2s4y._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0s36z37._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0sl88nm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0tx5g5o._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0uyjad8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0vwq0xl._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0wtla_4._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__0z-lmzl._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__11bmvex._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__11zhw_f._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__12yyk-v._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__152ip4m._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1a28vw2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1bo7dgt._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1bzm9rj._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dc6__1._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1duupjc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1dyeloz._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1e5dea0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1f4gxqa._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1gejcnd._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1l-0_di._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1l33gc2._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1nm1v2v._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1nzw_pg._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1o02rgu._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1ofzum5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1qf_jx0._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1rz3t-8._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1rzexif._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1s_2-hp._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1tl4gde._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1u283f9._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1uek0dm._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1v1kr7z._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1vhxr5_._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1w36m17._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1xws3pt._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__1z15fu5._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__20gqolc._.js +0 -3
- package/standalone/.next/server/chunks/[root-of-the-server]__20no38f._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04beow0._.js +0 -3
- package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b4pivw._.js +0 -6
- package/standalone/.next/server/chunks/ssr/_00pb_-u._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_08ux-xx._.js +0 -35
- package/standalone/.next/server/chunks/ssr/_0_c2ksk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0_nha02._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0bpm26t._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0e64d91._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0ho0wc7._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0jxepjk._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0l6y7z2._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_0sdizo4._.js +0 -34
- package/standalone/.next/server/chunks/ssr/_0zg79hi._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_11oshuh._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_11z-hcq._.js +0 -34
- package/standalone/.next/server/chunks/ssr/_123h643._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1cc_dsb._.js +0 -34
- package/standalone/.next/server/chunks/ssr/_1mke0us._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1qy-wes._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1r4w1io._.js +0 -24
- package/standalone/.next/server/chunks/ssr/_1upie3e._.js +0 -3
- package/standalone/.next/server/chunks/ssr/_1vx9bqg._.js +0 -14
- package/standalone/.next/server/chunks/ssr/_1wmzpjb._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0blr8x6._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_0ylkf4l._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1n5j09z._.js +0 -3
- package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1_ugphm._.js +0 -3
- package/standalone/.next/server/chunks/ssr/src_components_ui_select_tsx_0m__-6s._.js +0 -3
- package/standalone/.next/static/chunks/06711eeflvyu7.js +0 -1
- package/standalone/.next/static/chunks/0c9r1f3che9mf.css +0 -1
- package/standalone/.next/static/chunks/0ddp859-x81j2.js +0 -1
- package/standalone/.next/static/chunks/0evao2rpxqreq.js +0 -80
- package/standalone/.next/static/chunks/0nt5uq75yrfm2.js +0 -13
- package/standalone/.next/static/chunks/0okpg2ejyn95o.js +0 -9
- package/standalone/.next/static/chunks/0udza_i0n8xhm.js +0 -36
- package/standalone/.next/static/chunks/0vtavvo7gx3rr.js +0 -33
- package/standalone/.next/static/chunks/0xybrwnbju35k.js +0 -41
- package/standalone/.next/static/chunks/0y-5_7jbnsr0m.js +0 -1
- package/standalone/.next/static/chunks/12qdfeyqgqh62.js +0 -1
- package/standalone/.next/static/chunks/193m8crej9xrt.js +0 -7
- package/standalone/.next/static/chunks/1nkkb5gu3-rhf.js +0 -28
- package/standalone/.next/static/chunks/1ny7skwqcfglg.js +0 -39
- package/standalone/.next/static/chunks/1qebx-2i3ao34.js +0 -28
- package/standalone/.next/static/chunks/1zt6tg-4jpdru.js +0 -1
- package/standalone/.next/static/chunks/2-5c1n7c9ncu0.js +0 -12
- package/standalone/.next/static/chunks/29axmq_boxoc_.js +0 -1
- package/standalone/.next/static/chunks/2giql1u6bn9gi.js +0 -33
- package/standalone/.next/static/chunks/2nco50dwradd6.js +0 -8
- package/standalone/.next/static/chunks/2nr9sxr9bqwin.js +0 -8
- package/standalone/.next/static/chunks/31_9e-uzmy7vp.js +0 -35
- package/standalone/.next/static/chunks/31t_wgps20fl1.js +0 -4
- package/standalone/.next/static/chunks/331lb29dcb1ta.js +0 -1
- package/standalone/.next/static/chunks/369biqq4fd0sk.js +0 -1
- package/standalone/.next/static/chunks/37dd1jthysw7j.js +0 -10
- package/standalone/.next/static/chunks/3apliool1acey.js +0 -155
- package/standalone/.next/static/chunks/3d95bb1fej1i5.js +0 -1
- package/standalone/.next/static/chunks/3eumqpi7f1fek.js +0 -30
- package/standalone/.next/static/chunks/3f1yh13gawn34.js +0 -1
- package/standalone/.next/static/chunks/3mtxpg0cke1s1.js +0 -9
- package/standalone/.next/static/chunks/3qovaml41zb61.js +0 -1
- package/standalone/.next/static/chunks/3vuv-wz2jb38o.js +0 -65
- package/standalone/.next/static/chunks/44sbqm3y2mvct.js +0 -1
- /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_buildManifest.js +0 -0
- /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_clientMiddlewareManifest.js +0 -0
- /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return a.useCallback(function(...e){return t=>{let a=!1,r=e.map(e=>{let r=i(e,t);return a||"function"!=typeof r||(a=!0),r});if(a)return()=>{for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof a?a():i(e[t],null)}}}}(...e),e)}var n=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,r.createContextScope)(l,[n.createDialogScope]),c=(0,n.createDialogScope)(),u=e=>{let{__scopeAlertDialog:a,...r}=e,i=c(a);return(0,t.jsx)(n.Root,{...i,...r,modal:!0})};u.displayName=l;var m=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Trigger,{...s,...i,ref:a})});m.displayName="AlertDialogTrigger";var p=e=>{let{__scopeAlertDialog:a,...r}=e,i=c(a);return(0,t.jsx)(n.Portal,{...i,...r})};p.displayName="AlertDialogPortal";var x=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Overlay,{...s,...i,ref:a})});x.displayName="AlertDialogOverlay";var f="AlertDialogContent",[g,h]=o(f),v=a.forwardRef((e,r)=>{let{__scopeAlertDialog:i,children:l,...o}=e,d=c(i),u=s(r,a.useRef(null)),m=a.useRef(null);return(0,t.jsx)(g,{scope:i,cancelRef:m,children:(0,t.jsx)(n.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:a=!0}={}){return function(r){if(e?.(r),!1===a||!r||!r.defaultPrevented)return t?.(r)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});v.displayName=f;var j=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Title,{...s,...i,ref:a})});j.displayName="AlertDialogTitle";var b=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Description,{...s,...i,ref:a})});b.displayName="AlertDialogDescription";var y=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Close,{...s,...i,ref:a})});y.displayName="AlertDialogAction";var w="AlertDialogCancel",C=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=h(w,r),o=c(r),d=s(a,l);return(0,t.jsx)(n.Close,{...o,...i,ref:d})});C.displayName=w,e.s(["Action",0,y,"AlertDialog",0,u,"AlertDialogAction",0,y,"AlertDialogCancel",0,C,"AlertDialogContent",0,v,"AlertDialogDescription",0,b,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,p,"AlertDialogTitle",0,j,"AlertDialogTrigger",0,m,"Cancel",0,C,"Content",0,v,"Description",0,b,"Overlay",0,x,"Portal",0,p,"Root",0,u,"Title",0,j,"Trigger",0,m,"createAlertDialogScope",0,d],691162);var D=e.i(691162),D=D,N=e.i(975157),T=e.i(519455);function S({...e}){return(0,t.jsx)(D.Root,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(D.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function A({...e}){return(0,t.jsx)(D.Portal,{"data-slot":"alert-dialog-portal",...e})}function E({className:e,...a}){return(0,t.jsx)(D.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function R({className:e,size:a="default",...r}){return(0,t.jsxs)(A,{children:[(0,t.jsx)(E,{}),(0,t.jsx)(D.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,N.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...r})]})}function k({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function _({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function z({className:e,...a}){return(0,t.jsx)(D.Title,{"data-slot":"alert-dialog-title",className:(0,N.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function $({className:e,...a}){return(0,t.jsx)(D.Description,{"data-slot":"alert-dialog-description",className:(0,N.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function L({className:e,variant:a="default",size:r="default",...i}){return(0,t.jsx)(T.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(D.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...i})})}function F({className:e,variant:a="outline",size:r="default",...i}){return(0,t.jsx)(T.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(D.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:i,onOpenChange:s,open:n,title:l,trigger:o}){return(0,t.jsxs)(S,{onOpenChange:s,open:n,children:[o&&(0,t.jsx)(I,{asChild:!0,children:o}),(0,t.jsxs)(R,{children:[(0,t.jsxs)(k,{children:[(0,t.jsx)(z,{children:l}),(0,t.jsx)($,{children:r})]}),(0,t.jsxs)(_,{children:[(0,t.jsx)(F,{children:a}),(0,t.jsx)(L,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},110204,e=>{"use strict";var t=e.i(843476),a=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),s=Symbol.for("react.lazy");function n(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=a[" use ".trim().toString()],o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,s)=>{var o;let d,c=(o=`Primitive.${s}`,(d=a.forwardRef((e,t)=>{var s;let d,c,{children:u,...m}=e,p=null,x=!1,f=[];n(u)&&"function"==typeof l&&(u=l(u._payload)),a.Children.forEach(u,e=>{var t;if(t=e,a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){x=!0;let t="child"in e.props?e.props.child:e.props.children;n(t)&&"function"==typeof l&&(t=l(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null})(e,t),f.push(p?.props?.children)}else f.push(e)}),p?p=a.cloneElement(p,void 0,f):!x&&1===a.Children.count(u)&&a.isValidElement(u)&&(p=u);let g=p?(s=p,(c=(d=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?s.ref:(c=(d=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?s.props.ref:s.props.ref||s.ref):void 0,h=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t<i.length;t++){let a=i[t];"function"==typeof a?a():r(e[t],null)}}}}(...e),e)}(t,g);if(!p){if(u||0===u){let e,t;throw Error(x?(e=o,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=o,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let v=function(e,t){let a={...t};for(let r in t){let i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?a[r]=(...e)=>{let t=s(...e);return i(...e),t}:i&&(a[r]=i):"style"===r?a[r]={...i,...s}:"className"===r&&(a[r]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}(m,p.props??{});return p.type!==a.Fragment&&(v.ref=t?h:g),a.cloneElement(p,v)})).displayName=`${o}.Slot`,d),u=a.forwardRef((e,a)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?c:s,{...i,ref:a})});return u.displayName=`Primitive.${s}`,{...e,[s]:u}},{}),d=a.forwardRef((e,a)=>(0,t.jsx)(o.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...a}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...a})}],110204)},929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(0,a.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:a,...s}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,r.cn)(i({variant:a}),e),...s})},"AlertDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,r.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...a})},"AlertTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,r.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...a})}])},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...i})},"CardAction",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,a.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...r})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),a=e.i(975157),r=e.i(758379),r=r;e.s(["Spinner",0,function({className:e,...i}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...i})}],987968)},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(709840),i=e.i(975157);let s=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:a="default",asChild:n=!1,...l}){let o=n?r.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,i.cn)(s({variant:a}),e),"data-slot":"badge","data-variant":a,...l})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...i}){return(0,t.jsx)("div",{className:(0,a.cn)("w-full overflow-x-auto",r),children:(0,t.jsx)("table",{className:(0,a.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{className:(0,a.cn)("divide-y",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{className:(0,a.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{className:(0,a.cn)("border-t bg-muted/50 font-medium",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{className:(0,a.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{className:(0,a.cn)("border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{className:(0,a.cn)("transition-colors hover:bg-muted/40",e),...r})}])},762368,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],762368)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(i({variant:a,className:e})),...s})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let a=document.execCommand("copy");if(t.remove(),!a)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},938882,e=>{"use strict";let t=`
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return a.useCallback(function(...e){return t=>{let a=!1,r=e.map(e=>{let r=i(e,t);return a||"function"!=typeof r||(a=!0),r});if(a)return()=>{for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof a?a():i(e[t],null)}}}}(...e),e)}var n=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,r.createContextScope)(l,[n.createDialogScope]),c=(0,n.createDialogScope)(),u=e=>{let{__scopeAlertDialog:a,...r}=e,i=c(a);return(0,t.jsx)(n.Root,{...i,...r,modal:!0})};u.displayName=l;var m=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Trigger,{...s,...i,ref:a})});m.displayName="AlertDialogTrigger";var x=e=>{let{__scopeAlertDialog:a,...r}=e,i=c(a);return(0,t.jsx)(n.Portal,{...i,...r})};x.displayName="AlertDialogPortal";var p=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Overlay,{...s,...i,ref:a})});p.displayName="AlertDialogOverlay";var f="AlertDialogContent",[g,h]=o(f),v=a.forwardRef((e,r)=>{let{__scopeAlertDialog:i,children:l,...o}=e,d=c(i),u=s(r,a.useRef(null)),m=a.useRef(null);return(0,t.jsx)(g,{scope:i,cancelRef:m,children:(0,t.jsx)(n.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:a=!0}={}){return function(r){if(e?.(r),!1===a||!r||!r.defaultPrevented)return t?.(r)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),m.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});v.displayName=f;var j=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Title,{...s,...i,ref:a})});j.displayName="AlertDialogTitle";var b=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Description,{...s,...i,ref:a})});b.displayName="AlertDialogDescription";var y=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,s=c(r);return(0,t.jsx)(n.Close,{...s,...i,ref:a})});y.displayName="AlertDialogAction";var w="AlertDialogCancel",C=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=h(w,r),o=c(r),d=s(a,l);return(0,t.jsx)(n.Close,{...o,...i,ref:d})});C.displayName=w,e.s(["Action",0,y,"AlertDialog",0,u,"AlertDialogAction",0,y,"AlertDialogCancel",0,C,"AlertDialogContent",0,v,"AlertDialogDescription",0,b,"AlertDialogOverlay",0,p,"AlertDialogPortal",0,x,"AlertDialogTitle",0,j,"AlertDialogTrigger",0,m,"Cancel",0,C,"Content",0,v,"Description",0,b,"Overlay",0,p,"Portal",0,x,"Root",0,u,"Title",0,j,"Trigger",0,m,"createAlertDialogScope",0,d],691162);var D=e.i(691162),D=D,N=e.i(975157),T=e.i(519455);function S({...e}){return(0,t.jsx)(D.Root,{"data-slot":"alert-dialog",...e})}function I({...e}){return(0,t.jsx)(D.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function A({...e}){return(0,t.jsx)(D.Portal,{"data-slot":"alert-dialog-portal",...e})}function E({className:e,...a}){return(0,t.jsx)(D.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function R({className:e,size:a="default",...r}){return(0,t.jsxs)(A,{children:[(0,t.jsx)(E,{}),(0,t.jsx)(D.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,N.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...r})]})}function k({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function _({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function z({className:e,...a}){return(0,t.jsx)(D.Title,{"data-slot":"alert-dialog-title",className:(0,N.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function $({className:e,...a}){return(0,t.jsx)(D.Description,{"data-slot":"alert-dialog-description",className:(0,N.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function L({className:e,variant:a="default",size:r="default",...i}){return(0,t.jsx)(T.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(D.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...i})})}function H({className:e,variant:a="outline",size:r="default",...i}){return(0,t.jsx)(T.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(D.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:i,onOpenChange:s,open:n,title:l,trigger:o}){return(0,t.jsxs)(S,{onOpenChange:s,open:n,children:[o&&(0,t.jsx)(I,{asChild:!0,children:o}),(0,t.jsxs)(R,{children:[(0,t.jsxs)(k,{children:[(0,t.jsx)(z,{children:l}),(0,t.jsx)($,{children:r})]}),(0,t.jsxs)(_,{children:[(0,t.jsx)(H,{children:a}),(0,t.jsx)(L,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},110204,e=>{"use strict";var t=e.i(843476),a=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),s=Symbol.for("react.lazy");function n(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=a[" use ".trim().toString()],o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,s)=>{var o;let d,c=(o=`Primitive.${s}`,(d=a.forwardRef((e,t)=>{var s;let d,c,{children:u,...m}=e,x=null,p=!1,f=[];n(u)&&"function"==typeof l&&(u=l(u._payload)),a.Children.forEach(u,e=>{var t;if(t=e,a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){p=!0;let t="child"in e.props?e.props.child:e.props.children;n(t)&&"function"==typeof l&&(t=l(t._payload)),x=((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null})(e,t),f.push(x?.props?.children)}else f.push(e)}),x?x=a.cloneElement(x,void 0,f):!p&&1===a.Children.count(u)&&a.isValidElement(u)&&(x=u);let g=x?(s=x,(c=(d=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?s.ref:(c=(d=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?s.props.ref:s.props.ref||s.ref):void 0,h=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t<i.length;t++){let a=i[t];"function"==typeof a?a():r(e[t],null)}}}}(...e),e)}(t,g);if(!x){if(u||0===u){let e,t;throw Error(p?(e=o,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=o,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let v=function(e,t){let a={...t};for(let r in t){let i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?a[r]=(...e)=>{let t=s(...e);return i(...e),t}:i&&(a[r]=i):"style"===r?a[r]={...i,...s}:"className"===r&&(a[r]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}(m,x.props??{});return x.type!==a.Fragment&&(v.ref=t?h:g),a.cloneElement(x,v)})).displayName=`${o}.Slot`,d),u=a.forwardRef((e,a)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?c:s,{...i,ref:a})});return u.displayName=`Primitive.${s}`,{...e,[s]:u}},{}),d=a.forwardRef((e,a)=>(0,t.jsx)(o.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...a}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...a})}],110204)},929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(0,a.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:a,...s}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,r.cn)(i({variant:a}),e),...s})},"AlertDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,r.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...a})},"AlertTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,r.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...a})}])},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...i})},"CardAction",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,a.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...r})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),a=e.i(975157),r=e.i(758379),r=r;e.s(["Spinner",0,function({className:e,...i}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...i})}],987968)},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(709840),i=e.i(975157);let s=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:a="default",asChild:n=!1,...l}){let o=n?r.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,i.cn)(s({variant:a}),e),"data-slot":"badge","data-variant":a,...l})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...i}){return(0,t.jsx)("div",{className:(0,a.cn)("w-full overflow-x-auto",r),children:(0,t.jsx)("table",{className:(0,a.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{className:(0,a.cn)("divide-y",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{className:(0,a.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{className:(0,a.cn)("border-t bg-muted/50 font-medium",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{className:(0,a.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{className:(0,a.cn)("border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{className:(0,a.cn)("transition-colors hover:bg-muted/40",e),...r})}])},762368,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["Download",0,t],762368)},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(i({variant:a,className:e})),...s})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let a=document.execCommand("copy");if(t.remove(),!a)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},856522,e=>{"use strict";let t=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["Save",0,t],856522)},636162,e=>{"use strict";let t=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);e.s(["Apple",0,t],636162)},938882,e=>{"use strict";let t=`
|
|
2
2
|
id maskedUdid displayName product osVersion platform status appleStatus
|
|
3
3
|
registeredAt lastSeenAt lastIpAddress createdAt updatedAt
|
|
4
4
|
`,a=`
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
appStoreConnectPrivateKeyConfigured appStoreConnectPrivateKeyFingerprint
|
|
20
20
|
appStoreConnectVerifiedAt appStoreConnectLastTestedAt
|
|
21
21
|
appStoreConnectVerificationError updatedAt
|
|
22
|
-
`;e.s(["IOS_DEVICE_FIELDS",0,a,"IOS_DEVICE_FIRMWARE_FIELDS",0,r,"IOS_DEVICE_LIST_FIELDS",0,t,"IOS_DEVICE_SETTINGS_FIELDS",0,i])},265373,e=>{"use strict";var t=e.i(843476),a=e.i(487486);e.s(["IosDeviceStatusBadge",0,function({label:e,status:r}){return(0,t.jsx)(a.Badge,{className:{PENDING:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",REGISTERING:"border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300",REGISTERED:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",REGISTRATION_FAILED:"border-destructive/30 bg-destructive/10 text-destructive",REJECTED:"border-muted-foreground/30 bg-muted text-muted-foreground"}[r],children:e})}])},835441,e=>{"use strict";var t=e.i(843476),a=e.i(636162),r=e.i(711241),i=e.i(689664),s=e.i(508734),n=e.i(762368),l=e.i(772382),o=e.i(456420);let d=(0,o.default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);var c=e.i(856522),u=e.i(166794),m=e.i(573474);let
|
|
23
|
-
iosDevice(id: $id) { ${
|
|
24
|
-
iosDeviceSettings { ${
|
|
25
|
-
}`,{id:e});
|
|
26
|
-
iosDeviceFirmware(id: $id) { ${
|
|
27
|
-
}`,{id:
|
|
22
|
+
`;e.s(["IOS_DEVICE_FIELDS",0,a,"IOS_DEVICE_FIRMWARE_FIELDS",0,r,"IOS_DEVICE_LIST_FIELDS",0,t,"IOS_DEVICE_SETTINGS_FIELDS",0,i])},265373,e=>{"use strict";var t=e.i(843476),a=e.i(487486);e.s(["IosDeviceStatusBadge",0,function({label:e,status:r}){return(0,t.jsx)(a.Badge,{className:{PENDING:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300",REGISTERING:"border-blue-500/30 bg-blue-500/10 text-blue-700 dark:text-blue-300",REGISTERED:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",REGISTRATION_FAILED:"border-destructive/30 bg-destructive/10 text-destructive",REJECTED:"border-muted-foreground/30 bg-muted text-muted-foreground"}[r],children:e})}])},835441,e=>{"use strict";var t=e.i(843476),a=e.i(636162),r=e.i(711241),i=e.i(689664),s=e.i(508734),n=e.i(762368),l=e.i(772382),o=e.i(456420);let d=(0,o.default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);var c=e.i(856522),u=e.i(166794),m=e.i(573474);let x=(0,o.default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var p=e.i(861745),f=e.i(948148),g=e.i(271645),h=e.i(340953),v=e.i(929592),j=e.i(487486),b=e.i(519455),y=e.i(515288),w=e.i(24265),C=e.i(793479),D=e.i(110204),N=e.i(82612),T=e.i(987968),S=e.i(784774),I=e.i(520133),A=e.i(462777),E=e.i(637611),R=e.i(265373),k=e.i(938882);e.s(["DeviceDetailPage",0,function({id:e}){let o=(0,f.useTranslations)("devices"),_=(0,f.useTranslations)("common"),z=(0,p.useLocale)(),$=(0,I.useRouter)(),[L,H]=(0,g.useState)(null),[B,F]=(0,g.useState)(null),[O,V]=(0,g.useState)(null),[M,P]=(0,g.useState)(!1),[G,U]=(0,g.useState)(null),[q,W]=(0,g.useState)(""),[K,J]=(0,g.useState)(!1),[Z,Q]=(0,g.useState)(!1),[X,Y]=(0,g.useState)(null),[ee,et]=(0,g.useState)(!0),[ea,er]=(0,g.useState)(!1),[ei,es]=(0,g.useState)(null),[en,el]=(0,g.useState)(!1),[eo,ed]=(0,g.useState)(!1),[ec,eu]=(0,g.useState)(!1),em=(0,g.useCallback)(async()=>{try{let t=await (0,E.controlPlaneRequest)(`query IosDeviceDetail($id: ID!) {
|
|
23
|
+
iosDevice(id: $id) { ${k.IOS_DEVICE_FIELDS} }
|
|
24
|
+
iosDeviceSettings { ${k.IOS_DEVICE_SETTINGS_FIELDS} }
|
|
25
|
+
}`,{id:e});H(t.iosDevice),F(t.iosDeviceSettings),W(t.iosDevice?.displayName??""),es(null)}catch(e){es(e instanceof Error?e.message:String(e))}finally{et(!1)}},[e]);(0,g.useEffect)(()=>{let e=window.setTimeout(()=>void em(),0);return()=>window.clearTimeout(e)},[em]),(0,g.useEffect)(()=>(0,E.controlPlaneSubscriptions)().subscribe({query:"subscription IosDeviceChanged { iosDevicesChanged { id } }"},{next:({data:t})=>{t?.iosDevicesChanged.id&&t.iosDevicesChanged.id!==e||em()},error:()=>void 0,complete:()=>void 0}),[e,em]);let ex=L?.id??null,ep=L?.product??null;(0,g.useEffect)(()=>{let e=!1,t=window.setTimeout(()=>{if(!ex||!ep){V(null),U(null),P(!1);return}V(null),U(null),P(!0),(0,E.controlPlaneRequest)(`query IosDeviceFirmware($id: ID!) {
|
|
26
|
+
iosDeviceFirmware(id: $id) { ${k.IOS_DEVICE_FIRMWARE_FIELDS} }
|
|
27
|
+
}`,{id:ex}).then(t=>{e||V(t.iosDeviceFirmware)}).catch(t=>{e||U(t instanceof Error?t.message:String(t))}).finally(()=>{e||P(!1)})},0);return()=>{e=!0,window.clearTimeout(t)}},[ex,ep]);let ef=async t=>{t.preventDefault(),er(!0);try{await (0,E.controlPlaneRequest)(`mutation RenameIosDevice($id: ID!, $displayName: String!) {
|
|
28
28
|
renameIosDevice(id: $id, displayName: $displayName) { id }
|
|
29
|
-
}`,{id:e,displayName:U}),await eu()}catch(e){ei(e instanceof Error?e.message:String(e))}finally{ea(!1)}},eg=async()=>{ea(!0);try{await (0,A.controlPlaneRequest)("mutation RegisterIosDevice($id: ID!) { registerIosDevice(id: $id) { id } }",{id:e}),en(!1),await eu()}catch(e){ei(e instanceof Error?e.message:String(e)),en(!1),await eu()}finally{ea(!1)}},eh=async()=>{ea(!0);try{await (0,A.controlPlaneRequest)("mutation RejectIosDevice($id: ID!) { rejectIosDevice(id: $id) { id } }",{id:e}),eo(!1),await eu()}catch(e){ei(e instanceof Error?e.message:String(e))}finally{ea(!1)}},ev=async()=>{ea(!0);try{await (0,A.controlPlaneRequest)("mutation DeleteIosDevice($id: ID!) { deleteIosDevice(id: $id) }",{id:e}),z.push("/devices")}catch(e){ei(e instanceof Error?e.message:String(e)),ea(!1)}},ej=async()=>{$&&(await (0,I.copyText)($.udid),Z(!0),window.setTimeout(()=>Z(!1),2e3))},eb=async e=>{await (0,I.copyText)(e),X(e),window.setTimeout(()=>X(null),2e3)};if(Y)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",o("loading")]});if(!$)return(0,t.jsxs)(D.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(D.EmptyHeader,{children:[(0,t.jsx)(D.EmptyTitle,{children:o("notFound")}),er&&(0,t.jsx)(D.EmptyDescription,{children:er})]}),(0,t.jsx)(b.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(S.Link,{href:"/devices",children:[(0,t.jsx)(r.ArrowLeft,{})," ",o("back")]})})]});let ey=F?.appStoreConnectConfigured&&["PENDING","REGISTRATION_FAILED"].includes($.status),ew=$.osVersion?B?.firmwares.filter(e=>e.version===$.osVersion||e.buildId.toUpperCase()===$.osVersion?.toUpperCase()):null,eC=ew?.find(e=>e.signed)??ew?.[0]??null,eD=$.osVersion?eC?`${eC.version} (${eC.buildId})`:$.osVersion:o("unavailable");return(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(b.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(S.Link,{href:"/devices",children:[(0,t.jsx)(r.ArrowLeft,{})," ",o("back")]})})}),er&&(0,t.jsx)(v.Alert,{variant:"destructive",children:(0,t.jsx)(v.AlertDescription,{children:er})}),$.registrationError&&(0,t.jsx)(v.Alert,{variant:"destructive",children:(0,t.jsx)(v.AlertDescription,{children:$.registrationError})}),"REGISTERED"===$.status&&(0,t.jsxs)(v.Alert,{children:[(0,t.jsx)(i.Check,{}),(0,t.jsxs)(v.AlertDescription,{children:[o("rebuildWarning")," ",(0,t.jsx)(S.Link,{className:"text-primary hover:underline",href:"/builds",children:o("openBuilds")})]})]}),!F?.appStoreConnectConfigured&&(0,t.jsxs)(v.Alert,{children:[(0,t.jsx)(u.Settings,{}),(0,t.jsxs)(v.AlertDescription,{children:[o("configureAppleFirst")," ",(0,t.jsx)(S.Link,{className:"text-primary hover:underline",href:"/settings",children:o("openSettings")})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:B?.name??$.product??o("unavailable")}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:$.displayName}),(0,t.jsx)(E.IosDeviceStatusBadge,{label:o(`status.${$.status}`),status:$.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:$.maskedUdid})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(b.Button,{disabled:!ey||et,onClick:()=>en(!0),children:[et&&"REGISTERING"===$.status?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(a.Apple,{})," ","REGISTRATION_FAILED"===$.status?o("retryRegistration"):o("registerWithApple")]}),(0,t.jsxs)(b.Button,{disabled:et||!["PENDING","REGISTRATION_FAILED"].includes($.status),onClick:()=>eo(!0),variant:"outline",children:[(0,t.jsx)(p,{})," ",o("reject")]}),(0,t.jsxs)(b.Button,{disabled:et||"REGISTERING"===$.status,onClick:()=>ec(!0),variant:"destructive",children:[(0,t.jsx)(m.Trash2,{})," ",o("delete")]})]})]}),(0,t.jsxs)(y.Card,{children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsx)(y.CardTitle,{children:o("generalInformation")})}),(0,t.jsxs)(y.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("form",{className:"flex flex-col gap-2 sm:flex-row sm:items-end",onSubmit:ef,children:[(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"device-display-name",children:o("deviceLabel")}),(0,t.jsx)(w.Input,{id:"device-display-name",maxLength:100,onChange:e=>q(e.target.value),required:!0,value:U})]}),(0,t.jsxs)(b.Button,{disabled:et||U.trim()===$.displayName,type:"submit",variant:"outline",children:[et?(0,t.jsx)(N.Spinner,{}):(0,t.jsx)(c.Save,{})," ",o("saveName")]})]}),(0,t.jsxs)("dl",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("udid")}),(0,t.jsxs)("dd",{className:"mt-1 flex items-center gap-2 font-mono text-sm",children:[(0,t.jsx)("span",{className:"break-all",children:W?$.udid:$.maskedUdid}),(0,t.jsx)(b.Button,{"aria-label":W?o("hideUdid"):o("revealUdid"),onClick:()=>K(e=>!e),size:"icon-sm",variant:"ghost",children:W?(0,t.jsx)(d,{}):(0,t.jsx)(l.Eye,{})}),(0,t.jsx)(b.Button,{"aria-label":o("copyUdid"),onClick:()=>void ej(),size:"icon-sm",variant:"ghost",children:J?(0,t.jsx)(i.Check,{}):(0,t.jsx)(s.Copy,{})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("deviceModel")}),(0,t.jsxs)("dd",{className:"mt-1",children:[B?.name??$.product??o("unavailable"),B&&(0,t.jsx)("span",{className:"ml-2 font-mono text-xs text-muted-foreground",children:B.identifier})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("osVersion")}),(0,t.jsx)("dd",{className:"mt-1",children:eD})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("lastIp")}),(0,t.jsx)("dd",{className:"mt-1 font-mono text-sm",children:$.lastIpAddress??o("unavailable")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("lastSeen")}),(0,t.jsx)("dd",{className:"mt-1",children:ex($.lastSeenAt)})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("appleDeviceId")}),(0,t.jsx)("dd",{className:"mt-1 font-mono text-sm",children:$.appleDeviceId??o("unavailable")})]})]})]})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsx)(y.CardTitle,{children:o("ipHistory")})}),$.ipObservations.length?(0,t.jsxs)(T.Table,{children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(T.TableHead,{children:o("ipAddress")}),(0,t.jsx)(T.TableHead,{children:o("source")}),(0,t.jsx)(T.TableHead,{children:o("forwardedBy")}),(0,t.jsx)(T.TableHead,{children:o("observed")})]})}),(0,t.jsx)(T.TableBody,{children:$.ipObservations.map(e=>(0,t.jsxs)(T.TableRow,{children:[(0,t.jsx)(T.TableCell,{className:"font-mono text-xs",children:e.ipAddress}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(j.Badge,{variant:"outline",children:o(`ipSource.${e.source}`)})}),(0,t.jsx)(T.TableCell,{children:o(`ipHeaderSource.${e.headerSource}`)}),(0,t.jsx)(T.TableCell,{className:"text-muted-foreground",children:ex(e.observedAt)})]},e.id))})]}):(0,t.jsx)(y.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noIpHistory")})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsx)(y.CardTitle,{children:o("enrollmentHistory")})}),$.enrollments.length?(0,t.jsxs)(T.Table,{children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(T.TableHead,{children:o("statusLabel")}),(0,t.jsx)(T.TableHead,{children:o("created")}),(0,t.jsx)(T.TableHead,{children:o("completed")}),(0,t.jsx)(T.TableHead,{children:o("failure")})]})}),(0,t.jsx)(T.TableBody,{children:$.enrollments.map(e=>(0,t.jsxs)(T.TableRow,{children:[(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(j.Badge,{variant:"outline",children:o(`enrollmentStatus.${e.status}`)})}),(0,t.jsx)(T.TableCell,{className:"text-muted-foreground",children:ex(e.createdAt)}),(0,t.jsx)(T.TableCell,{className:"text-muted-foreground",children:ex(e.consumedAt)}),(0,t.jsx)(T.TableCell,{children:e.failureCode??o("unavailable")})]},e.id))})]}):(0,t.jsx)(y.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noEnrollmentHistory")})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:o("firmwareTitle")}),(0,t.jsx)(y.CardDescription,{children:o("firmwareDescription")})]}),V?(0,t.jsxs)(y.CardContent,{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(N.Spinner,{})," ",o("firmwareLoading")]}):P?(0,t.jsx)(y.CardContent,{className:"py-4",children:(0,t.jsx)(v.Alert,{variant:"destructive",children:(0,t.jsx)(v.AlertDescription,{children:o("firmwareLoadFailed",{error:P})})})}):B?.firmwares.length?(0,t.jsxs)(T.Table,{className:"min-w-[52rem]",children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(T.TableHead,{children:o("signingStatus")}),(0,t.jsx)(T.TableHead,{children:o("firmwareVersion")}),(0,t.jsx)(T.TableHead,{children:o("releaseDate")}),(0,t.jsx)(T.TableHead,{children:o("fileSize")}),(0,t.jsx)(T.TableHead,{className:"text-right",children:o("firmwareDownload")})]})}),(0,t.jsx)(T.TableBody,{children:B.firmwares.map(e=>{var a;let r,l,d,c=`${e.version} (${e.buildId})`;return(0,t.jsxs)(T.TableRow,{children:[(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(j.Badge,{variant:e.signed?"success":"destructive",children:o(e.signed?"signed":"unsigned")})}),(0,t.jsx)(T.TableCell,{className:"font-medium",children:c}),(0,t.jsx)(T.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)("time",{dateTime:e.releaseDate,children:(r=e.releaseDate,new Intl.DateTimeFormat(_,{dateStyle:"medium"}).format(new Date(r)))})}),(0,t.jsx)(T.TableCell,{className:"text-muted-foreground tabular-nums",children:(a=e.fileSize,d=Math.min(Math.floor(Math.log(Math.max(a,1))/Math.log(1024)),(l=["B","KiB","MiB","GiB","TiB"]).length-1),`${new Intl.NumberFormat(_,{maximumFractionDigits:1}).format(a/1024**d)} ${l[d]}`)}),(0,t.jsx)(T.TableCell,{children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,t.jsx)(b.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.Download,{})," ",o("downloadFirmware")]})}),(0,t.jsx)(b.Button,{"aria-label":o("copyFirmwareUrl",{version:c}),onClick:()=>void eb(e.url),size:"icon-sm",title:o("copyFirmwareUrl",{version:c}),variant:"ghost",children:Q===e.url?(0,t.jsx)(i.Check,{}):(0,t.jsx)(s.Copy,{})})]})})]},`${e.buildId}:${e.url}`)})})]}):(0,t.jsx)(y.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noFirmware")})]}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:o("confirmRegister"),cancelLabel:k("cancel"),description:o("registerDescription"),onConfirm:eg,onOpenChange:en,open:es,title:o("registerTitle")}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:o("confirmReject"),cancelLabel:k("cancel"),description:o("rejectDescription"),onConfirm:eh,onOpenChange:eo,open:el,title:o("rejectTitle")}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:o("confirmDelete"),cancelLabel:k("cancel"),description:o("deleteDescription"),onConfirm:ev,onOpenChange:ec,open:ed,title:o("deleteTitle")})]})}],835441)}]);
|
|
29
|
+
}`,{id:e,displayName:q}),await em()}catch(e){es(e instanceof Error?e.message:String(e))}finally{er(!1)}},eg=async()=>{er(!0);try{await (0,E.controlPlaneRequest)("mutation RegisterIosDevice($id: ID!) { registerIosDevice(id: $id) { id } }",{id:e}),el(!1),await em()}catch(e){es(e instanceof Error?e.message:String(e)),el(!1),await em()}finally{er(!1)}},eh=async()=>{er(!0);try{await (0,E.controlPlaneRequest)("mutation RejectIosDevice($id: ID!) { rejectIosDevice(id: $id) { id } }",{id:e}),ed(!1),await em()}catch(e){es(e instanceof Error?e.message:String(e))}finally{er(!1)}},ev=async()=>{er(!0);try{await (0,E.controlPlaneRequest)("mutation DeleteIosDevice($id: ID!) { deleteIosDevice(id: $id) }",{id:e}),$.push("/devices")}catch(e){es(e instanceof Error?e.message:String(e)),er(!1)}},ej=async()=>{L&&(await (0,A.copyText)(L.udid),Q(!0),window.setTimeout(()=>Q(!1),2e3))},eb=async e=>{await (0,A.copyText)(e),Y(e),window.setTimeout(()=>Y(null),2e3)};if(ee)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(T.Spinner,{})," ",o("loading")]});if(!L)return(0,t.jsxs)(N.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(N.EmptyHeader,{children:[(0,t.jsx)(N.EmptyTitle,{children:o("notFound")}),ei&&(0,t.jsx)(N.EmptyDescription,{children:ei})]}),(0,t.jsx)(b.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(I.Link,{href:"/devices",children:[(0,t.jsx)(r.ArrowLeft,{})," ",o("back")]})})]});let ey=B?.appStoreConnectConfigured&&["PENDING","REGISTRATION_FAILED"].includes(L.status),ew=L.osVersion?O?.firmwares.filter(e=>e.version===L.osVersion||e.buildId.toUpperCase()===L.osVersion?.toUpperCase()):null,eC=ew?.find(e=>e.signed)??ew?.[0]??null,eD=L.osVersion?eC?`${eC.version} (${eC.buildId})`:L.osVersion:o("unavailable");return(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-6xl flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(b.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(I.Link,{href:"/devices",children:[(0,t.jsx)(r.ArrowLeft,{})," ",o("back")]})})}),ei&&(0,t.jsx)(v.Alert,{variant:"destructive",children:(0,t.jsx)(v.AlertDescription,{children:ei})}),L.registrationError&&(0,t.jsx)(v.Alert,{variant:"destructive",children:(0,t.jsx)(v.AlertDescription,{children:L.registrationError})}),"REGISTERED"===L.status&&(0,t.jsxs)(v.Alert,{children:[(0,t.jsx)(i.Check,{}),(0,t.jsxs)(v.AlertDescription,{children:[o("rebuildWarning")," ",(0,t.jsx)(I.Link,{className:"text-primary hover:underline",href:"/builds",children:o("openBuilds")})]})]}),!B?.appStoreConnectConfigured&&(0,t.jsxs)(v.Alert,{children:[(0,t.jsx)(u.Settings,{}),(0,t.jsxs)(v.AlertDescription,{children:[o("configureAppleFirst")," ",(0,t.jsx)(I.Link,{className:"text-primary hover:underline",href:"/settings",children:o("openSettings")})]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:O?.name??L.product??o("unavailable")}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:L.displayName}),(0,t.jsx)(R.IosDeviceStatusBadge,{label:o(`status.${L.status}`),status:L.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:L.maskedUdid})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(b.Button,{disabled:!ey||ea,onClick:()=>el(!0),children:[ea&&"REGISTERING"===L.status?(0,t.jsx)(T.Spinner,{}):(0,t.jsx)(a.Apple,{})," ","REGISTRATION_FAILED"===L.status?o("retryRegistration"):o("registerWithApple")]}),(0,t.jsxs)(b.Button,{disabled:ea||!["PENDING","REGISTRATION_FAILED"].includes(L.status),onClick:()=>ed(!0),variant:"outline",children:[(0,t.jsx)(x,{})," ",o("reject")]}),(0,t.jsxs)(b.Button,{disabled:ea||"REGISTERING"===L.status,onClick:()=>eu(!0),variant:"destructive",children:[(0,t.jsx)(m.Trash2,{})," ",o("delete")]})]})]}),(0,t.jsxs)(y.Card,{children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsx)(y.CardTitle,{children:o("generalInformation")})}),(0,t.jsxs)(y.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("form",{className:"flex flex-col gap-2 sm:flex-row sm:items-end",onSubmit:ef,children:[(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)(D.Label,{htmlFor:"device-display-name",children:o("deviceLabel")}),(0,t.jsx)(C.Input,{id:"device-display-name",maxLength:100,onChange:e=>W(e.target.value),required:!0,value:q})]}),(0,t.jsxs)(b.Button,{disabled:ea||q.trim()===L.displayName,type:"submit",variant:"outline",children:[ea?(0,t.jsx)(T.Spinner,{}):(0,t.jsx)(c.Save,{})," ",o("saveName")]})]}),(0,t.jsxs)("dl",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("udid")}),(0,t.jsxs)("dd",{className:"mt-1 flex items-center gap-2 font-mono text-sm",children:[(0,t.jsx)("span",{className:"break-all",children:K?L.udid:L.maskedUdid}),(0,t.jsx)(b.Button,{"aria-label":K?o("hideUdid"):o("revealUdid"),onClick:()=>J(e=>!e),size:"icon-sm",variant:"ghost",children:K?(0,t.jsx)(d,{}):(0,t.jsx)(l.Eye,{})}),(0,t.jsx)(b.Button,{"aria-label":o("copyUdid"),onClick:()=>void ej(),size:"icon-sm",variant:"ghost",children:Z?(0,t.jsx)(i.Check,{}):(0,t.jsx)(s.Copy,{})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("deviceModel")}),(0,t.jsxs)("dd",{className:"mt-1",children:[O?.name??L.product??o("unavailable"),O&&(0,t.jsx)("span",{className:"ml-2 font-mono text-xs text-muted-foreground",children:O.identifier})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("osVersion")}),(0,t.jsx)("dd",{className:"mt-1",children:eD})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("lastIp")}),(0,t.jsx)("dd",{className:"mt-1 font-mono text-sm",children:L.lastIpAddress??o("unavailable")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("lastSeen")}),(0,t.jsx)("dd",{className:"mt-1",children:(0,t.jsx)(w.DateTime,{value:L.lastSeenAt})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:o("appleDeviceId")}),(0,t.jsx)("dd",{className:"mt-1 font-mono text-sm",children:L.appleDeviceId??o("unavailable")})]})]})]})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsx)(y.CardTitle,{children:o("ipHistory")})}),L.ipObservations.length?(0,t.jsxs)(S.Table,{children:[(0,t.jsx)(S.TableHeader,{children:(0,t.jsxs)(S.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(S.TableHead,{children:o("ipAddress")}),(0,t.jsx)(S.TableHead,{children:o("source")}),(0,t.jsx)(S.TableHead,{children:o("forwardedBy")}),(0,t.jsx)(S.TableHead,{children:o("observed")})]})}),(0,t.jsx)(S.TableBody,{children:L.ipObservations.map(e=>(0,t.jsxs)(S.TableRow,{children:[(0,t.jsx)(S.TableCell,{className:"font-mono text-xs",children:e.ipAddress}),(0,t.jsx)(S.TableCell,{children:(0,t.jsx)(j.Badge,{variant:"outline",children:o(`ipSource.${e.source}`)})}),(0,t.jsx)(S.TableCell,{children:o(`ipHeaderSource.${e.headerSource}`)}),(0,t.jsx)(S.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{value:e.observedAt})})]},e.id))})]}):(0,t.jsx)(y.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noIpHistory")})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsx)(y.CardTitle,{children:o("enrollmentHistory")})}),L.enrollments.length?(0,t.jsxs)(S.Table,{children:[(0,t.jsx)(S.TableHeader,{children:(0,t.jsxs)(S.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(S.TableHead,{children:o("statusLabel")}),(0,t.jsx)(S.TableHead,{children:o("created")}),(0,t.jsx)(S.TableHead,{children:o("completed")}),(0,t.jsx)(S.TableHead,{children:o("failure")})]})}),(0,t.jsx)(S.TableBody,{children:L.enrollments.map(e=>(0,t.jsxs)(S.TableRow,{children:[(0,t.jsx)(S.TableCell,{children:(0,t.jsx)(j.Badge,{variant:"outline",children:o(`enrollmentStatus.${e.status}`)})}),(0,t.jsx)(S.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{value:e.createdAt})}),(0,t.jsx)(S.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{value:e.consumedAt})}),(0,t.jsx)(S.TableCell,{children:e.failureCode??o("unavailable")})]},e.id))})]}):(0,t.jsx)(y.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noEnrollmentHistory")})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:o("firmwareTitle")}),(0,t.jsx)(y.CardDescription,{children:o("firmwareDescription")})]}),M?(0,t.jsxs)(y.CardContent,{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(T.Spinner,{})," ",o("firmwareLoading")]}):G?(0,t.jsx)(y.CardContent,{className:"py-4",children:(0,t.jsx)(v.Alert,{variant:"destructive",children:(0,t.jsx)(v.AlertDescription,{children:o("firmwareLoadFailed",{error:G})})})}):O?.firmwares.length?(0,t.jsxs)(S.Table,{className:"min-w-[52rem]",children:[(0,t.jsx)(S.TableHeader,{children:(0,t.jsxs)(S.TableRow,{className:"hover:bg-transparent",children:[(0,t.jsx)(S.TableHead,{children:o("signingStatus")}),(0,t.jsx)(S.TableHead,{children:o("firmwareVersion")}),(0,t.jsx)(S.TableHead,{children:o("releaseDate")}),(0,t.jsx)(S.TableHead,{children:o("fileSize")}),(0,t.jsx)(S.TableHead,{className:"text-right",children:o("firmwareDownload")})]})}),(0,t.jsx)(S.TableBody,{children:O.firmwares.map(e=>{var a;let r,l,d=`${e.version} (${e.buildId})`;return(0,t.jsxs)(S.TableRow,{children:[(0,t.jsx)(S.TableCell,{children:(0,t.jsx)(j.Badge,{variant:e.signed?"success":"destructive",children:o(e.signed?"signed":"unsigned")})}),(0,t.jsx)(S.TableCell,{className:"font-medium",children:d}),(0,t.jsx)(S.TableCell,{className:"text-muted-foreground",children:(0,t.jsx)(w.DateTime,{showTime:!1,value:e.releaseDate})}),(0,t.jsx)(S.TableCell,{className:"text-muted-foreground tabular-nums",children:(a=e.fileSize,l=Math.min(Math.floor(Math.log(Math.max(a,1))/Math.log(1024)),(r=["B","KiB","MiB","GiB","TiB"]).length-1),`${new Intl.NumberFormat(z,{maximumFractionDigits:1}).format(a/1024**l)} ${r[l]}`)}),(0,t.jsx)(S.TableCell,{children:(0,t.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,t.jsx)(b.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{href:e.url,rel:"noreferrer",target:"_blank",children:[(0,t.jsx)(n.Download,{})," ",o("downloadFirmware")]})}),(0,t.jsx)(b.Button,{"aria-label":o("copyFirmwareUrl",{version:d}),onClick:()=>void eb(e.url),size:"icon-sm",title:o("copyFirmwareUrl",{version:d}),variant:"ghost",children:X===e.url?(0,t.jsx)(i.Check,{}):(0,t.jsx)(s.Copy,{})})]})})]},`${e.buildId}:${e.url}`)})})]}):(0,t.jsx)(y.CardContent,{className:"py-6 text-sm text-muted-foreground",children:o("noFirmware")})]}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:o("confirmRegister"),cancelLabel:_("cancel"),description:o("registerDescription"),onConfirm:eg,onOpenChange:el,open:en,title:o("registerTitle")}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:o("confirmReject"),cancelLabel:_("cancel"),description:o("rejectDescription"),onConfirm:eh,onOpenChange:ed,open:eo,title:o("rejectTitle")}),(0,t.jsx)(h.ConfirmationDialog,{actionLabel:o("confirmDelete"),cancelLabel:_("cancel"),description:o("deleteDescription"),onConfirm:ev,onOpenChange:eu,open:ec,title:o("deleteTitle")})]})}],835441)}]);
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
saveGitHubAutoRetryRule(input: $input) { ${y} }
|
|
21
21
|
}`,{input:{id:U,scope:a,codebaseRepositoryId:e,repositoryGithubId:S??null,worktreeId:z?C??null:null,branch:z?R??null:null,pullRequestNumber:z?k??null:null,allWorkflows:z&&Q,mode:et,retryLimit:t,failureStrategy:el,targets:s}}),q(null),H(null),await eu()}catch(e){q(e instanceof Error?e.message:String(e))}finally{L(!1)}},ej=async e=>{try{await (0,v.controlPlaneRequest)(`mutation SetGitHubAutoRetryRuleEnabled($id: ID!, $enabled: Boolean!) {
|
|
22
22
|
setGitHubAutoRetryRuleEnabled(id: $id, enabled: $enabled) { id enabled status }
|
|
23
|
-
}`,{id:e.id,enabled:!e.enabled}),await eu()}catch(e){q(e instanceof Error?e.message:String(e))}},ef=async e=>{try{await (0,v.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await eu()}catch(e){q(e instanceof Error?e.message:String(e))}},eb=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===M.length){$(!0),q(null);try{await eh()}catch(e){q(e instanceof Error?e.message:String(e));return}finally{$(!1)}}H(e.id),Y(t),X(e.allWorkflows),es(e.mode),ei(String(e.retryLimit??3)),en("FAILURE"===e.mode&&null===e.retryLimit),eo(e.failureStrategy),ee(new Set(e.targets.map(e=>{let s=t?e.workflowId:e.workflowRunId;return e.jobName?`job:${s}:${e.jobName}`:`workflow:${s}`})))};return(0,t.jsxs)(m.Dialog,{onOpenChange:T,open:E,children:[(0,t.jsx)(m.DialogTrigger,{asChild:!0,children:A??(0,t.jsxs)(h.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(r.RotateCcw,{})," ",D("autoRetry")]})}),(0,t.jsxs)(m.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(m.DialogHeader,{children:[(0,t.jsx)(m.DialogTitle,{children:D("title")}),(0,t.jsx)(m.DialogDescription,{children:D("description")})]}),O?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:O})}):null,B?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(f.Spinner,{})," ",D("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[V?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:D("credentialsRequired")})}),w&&!N?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("scope")}),(0,t.jsxs)(b.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;Y(t),X(t),t&&0===M.length&&eh().catch(e=>q(e instanceof Error?e.message:String(e))),ee(t?new Set:new Set(K.map(e=>`workflow:${e.id}`)))},type:"single",value:z?"future":"current",variant:"outline",children:[(0,t.jsx)(b.ToggleGroupItem,{value:"current",children:D("currentRuns")}),(0,t.jsx)(b.ToggleGroupItem,{value:"future",children:D("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("targets")}),z?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(x.Checkbox,{checked:Q,onCheckedChange:e=>X(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:D("allWorkflows")})]}):null,Q?null:(0,t.jsxs)("div",{className:"max-h-64 space-y-2 overflow-y-auto rounded-md border p-2",children:[em.map(e=>(0,t.jsxs)("div",{className:"rounded-md border p-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(x.Checkbox,{checked:Z.has(`workflow:${e.id}`),onCheckedChange:t=>{var s,a;return s=e.id,a=!0===t,void ee(e=>{let t=new Set(e),i=`workflow:${s}`;if(a)for(let e of(t.add(i),t))e.startsWith(`job:${s}:`)&&t.delete(e);else t.delete(i);return t})}}),e.name]}),e.jobNames.length?(0,t.jsx)("div",{className:"ml-6 mt-2 space-y-1",children:e.jobNames.map(s=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(x.Checkbox,{checked:Z.has(`job:${e.id}:${s}`),onCheckedChange:t=>{var a,i;return a=e.id,i=!0===t,void ee(e=>{let t=new Set(e);t.delete(`workflow:${a}`);let r=`job:${a}:${s}`;return i?t.add(r):t.delete(r),t})}}),s]},s))}):null]},e.id)),em.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:D("noWorkflows")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("mode")}),(0,t.jsxs)(j.Select,{value:et,onValueChange:e=>es(e),children:[(0,t.jsx)(j.SelectTrigger,{children:(0,t.jsx)(j.SelectValue,{})}),(0,t.jsxs)(j.SelectContent,{children:[(0,t.jsx)(j.SelectItem,{value:"FAILURE",children:D("failureMode")}),(0,t.jsx)(j.SelectItem,{value:"COUNT",children:D("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{htmlFor:"auto-retry-limit",children:D("retryLimit")}),(0,t.jsx)(p.Input,{disabled:"FAILURE"===et&&er,id:"auto-retry-limit",max:100,min:1,onChange:e=>ei(e.target.value),type:"number",value:ea}),"FAILURE"===et?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(x.Checkbox,{checked:er,onCheckedChange:e=>en(!0===e)}),D("unlimited")]}):null]})]}),"FAILURE"===et?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("failureStrategy")}),(0,t.jsxs)(j.Select,{value:el,onValueChange:e=>eo(e),children:[(0,t.jsx)(j.SelectTrigger,{children:(0,t.jsx)(j.SelectValue,{})}),(0,t.jsxs)(j.SelectContent,{children:[(0,t.jsx)(j.SelectItem,{value:"FAILED_JOBS",children:D("failedJobs")}),(0,t.jsx)(j.SelectItem,{value:"ALL_JOBS",children:D("allJobs")})]})]})]}):null,ep.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(g.Label,{children:D("savedRules")}),ep.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(u.Badge,{variant:e.enabled?"default":"secondary",children:D(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:D(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:D("ruleProgress",{retries:e.executions.reduce((e,t)=>e+t.automaticRetries,0),executions:e.executions.length})}),e.lastError?(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.lastError}):null]}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(h.Button,{"aria-label":D("edit"),onClick:()=>void eb(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(a.Pencil,{})}),(0,t.jsx)(h.Button,{"aria-label":e.enabled?D("pause"):D("resume"),onClick:()=>void ej(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(s,{}):(0,t.jsx)(i.Play,{})}),(0,t.jsx)(h.Button,{"aria-label":D("delete"),onClick:()=>void ef(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(l.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(m.DialogFooter,{children:[(0,t.jsx)(h.Button,{onClick:()=>T(!1),variant:"outline",children:D("close")}),(0,t.jsxs)(h.Button,{disabled:B||P||!V,onClick:()=>void eg(),children:[P?(0,t.jsx)(f.Spinner,{}):(0,t.jsx)(n.Save,{})," ",D("save")]})]})]})]})}],9197)},390615,e=>{"use strict";var t=e.i(843476),s=e.i(711241),a=e.i(835079),i=e.i(856522),r=e.i(948148),n=e.i(271645),l=e.i(778434);let o=(0,e.i(456420).default)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);var d=e.i(716327),c=e.i(93384),u=e.i(77071),h=e.i(741120),x=e.i(250832),m=e.i(573474),p=e.i(
|
|
23
|
+
}`,{id:e.id,enabled:!e.enabled}),await eu()}catch(e){q(e instanceof Error?e.message:String(e))}},ef=async e=>{try{await (0,v.controlPlaneRequest)("mutation DeleteGitHubAutoRetryRule($id: ID!) { deleteGitHubAutoRetryRule(id: $id) }",{id:e}),await eu()}catch(e){q(e instanceof Error?e.message:String(e))}},eb=async e=>{let t="WORKFLOW_RUN"!==e.scope;if(t&&0===M.length){$(!0),q(null);try{await eh()}catch(e){q(e instanceof Error?e.message:String(e));return}finally{$(!1)}}H(e.id),Y(t),X(e.allWorkflows),es(e.mode),ei(String(e.retryLimit??3)),en("FAILURE"===e.mode&&null===e.retryLimit),eo(e.failureStrategy),ee(new Set(e.targets.map(e=>{let s=t?e.workflowId:e.workflowRunId;return e.jobName?`job:${s}:${e.jobName}`:`workflow:${s}`})))};return(0,t.jsxs)(m.Dialog,{onOpenChange:T,open:E,children:[(0,t.jsx)(m.DialogTrigger,{asChild:!0,children:A??(0,t.jsxs)(h.Button,{size:"sm",variant:"outline",children:[(0,t.jsx)(r.RotateCcw,{})," ",D("autoRetry")]})}),(0,t.jsxs)(m.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)(m.DialogHeader,{children:[(0,t.jsx)(m.DialogTitle,{children:D("title")}),(0,t.jsx)(m.DialogDescription,{children:D("description")})]}),O?(0,t.jsx)(c.Alert,{variant:"destructive",children:(0,t.jsx)(c.AlertDescription,{children:O})}):null,B?(0,t.jsxs)("div",{className:"flex items-center gap-2 py-6 text-sm text-muted-foreground",children:[(0,t.jsx)(f.Spinner,{})," ",D("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[V?null:(0,t.jsx)(c.Alert,{children:(0,t.jsx)(c.AlertDescription,{children:D("credentialsRequired")})}),w&&!N?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("scope")}),(0,t.jsxs)(b.ToggleGroup,{onValueChange:e=>{if(!e)return;let t="future"===e;Y(t),X(t),t&&0===M.length&&eh().catch(e=>q(e instanceof Error?e.message:String(e))),ee(t?new Set:new Set(K.map(e=>`workflow:${e.id}`)))},type:"single",value:z?"future":"current",variant:"outline",children:[(0,t.jsx)(b.ToggleGroupItem,{value:"current",children:D("currentRuns")}),(0,t.jsx)(b.ToggleGroupItem,{value:"future",children:D("futureRuns")})]})]}):null,(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("targets")}),z?(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md border p-3",children:[(0,t.jsx)(x.Checkbox,{checked:Q,onCheckedChange:e=>X(!0===e)}),(0,t.jsx)("span",{className:"font-medium",children:D("allWorkflows")})]}):null,Q?null:(0,t.jsxs)("div",{className:"max-h-64 space-y-2 overflow-y-auto rounded-md border p-2",children:[em.map(e=>(0,t.jsxs)("div",{className:"rounded-md border p-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(x.Checkbox,{checked:Z.has(`workflow:${e.id}`),onCheckedChange:t=>{var s,a;return s=e.id,a=!0===t,void ee(e=>{let t=new Set(e),i=`workflow:${s}`;if(a)for(let e of(t.add(i),t))e.startsWith(`job:${s}:`)&&t.delete(e);else t.delete(i);return t})}}),e.name]}),e.jobNames.length?(0,t.jsx)("div",{className:"ml-6 mt-2 space-y-1",children:e.jobNames.map(s=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(x.Checkbox,{checked:Z.has(`job:${e.id}:${s}`),onCheckedChange:t=>{var a,i;return a=e.id,i=!0===t,void ee(e=>{let t=new Set(e);t.delete(`workflow:${a}`);let r=`job:${a}:${s}`;return i?t.add(r):t.delete(r),t})}}),s]},s))}):null]},e.id)),em.length?null:(0,t.jsx)("p",{className:"p-2 text-sm text-muted-foreground",children:D("noWorkflows")})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("mode")}),(0,t.jsxs)(j.Select,{value:et,onValueChange:e=>es(e),children:[(0,t.jsx)(j.SelectTrigger,{children:(0,t.jsx)(j.SelectValue,{})}),(0,t.jsxs)(j.SelectContent,{children:[(0,t.jsx)(j.SelectItem,{value:"FAILURE",children:D("failureMode")}),(0,t.jsx)(j.SelectItem,{value:"COUNT",children:D("countMode")})]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{htmlFor:"auto-retry-limit",children:D("retryLimit")}),(0,t.jsx)(p.Input,{disabled:"FAILURE"===et&&er,id:"auto-retry-limit",max:100,min:1,onChange:e=>ei(e.target.value),type:"number",value:ea}),"FAILURE"===et?(0,t.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,t.jsx)(x.Checkbox,{checked:er,onCheckedChange:e=>en(!0===e)}),D("unlimited")]}):null]})]}),"FAILURE"===et?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(g.Label,{children:D("failureStrategy")}),(0,t.jsxs)(j.Select,{value:el,onValueChange:e=>eo(e),children:[(0,t.jsx)(j.SelectTrigger,{children:(0,t.jsx)(j.SelectValue,{})}),(0,t.jsxs)(j.SelectContent,{children:[(0,t.jsx)(j.SelectItem,{value:"FAILED_JOBS",children:D("failedJobs")}),(0,t.jsx)(j.SelectItem,{value:"ALL_JOBS",children:D("allJobs")})]})]})]}):null,ep.length?(0,t.jsxs)("div",{className:"space-y-2 border-t pt-4",children:[(0,t.jsx)(g.Label,{children:D("savedRules")}),ep.map(e=>(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(u.Badge,{variant:e.enabled?"default":"secondary",children:D(`statuses.${e.status}`)}),(0,t.jsx)("span",{className:"text-sm font-medium",children:D(`scopes.${e.scope}`)})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:D("ruleProgress",{retries:e.executions.reduce((e,t)=>e+t.automaticRetries,0),executions:e.executions.length})}),e.lastError?(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.lastError}):null]}),(0,t.jsxs)("div",{className:"flex gap-1",children:[(0,t.jsx)(h.Button,{"aria-label":D("edit"),onClick:()=>void eb(e),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(a.Pencil,{})}),(0,t.jsx)(h.Button,{"aria-label":e.enabled?D("pause"):D("resume"),onClick:()=>void ej(e),size:"icon-sm",variant:"ghost",children:e.enabled?(0,t.jsx)(s,{}):(0,t.jsx)(i.Play,{})}),(0,t.jsx)(h.Button,{"aria-label":D("delete"),onClick:()=>void ef(e.id),size:"icon-sm",variant:"ghost",children:(0,t.jsx)(l.Trash2,{})})]})]},e.id))]}):null]}),(0,t.jsxs)(m.DialogFooter,{children:[(0,t.jsx)(h.Button,{onClick:()=>T(!1),variant:"outline",children:D("close")}),(0,t.jsxs)(h.Button,{disabled:B||P||!V,onClick:()=>void eg(),children:[P?(0,t.jsx)(f.Spinner,{}):(0,t.jsx)(n.Save,{})," ",D("save")]})]})]})]})}],9197)},390615,e=>{"use strict";var t=e.i(843476),s=e.i(711241),a=e.i(835079),i=e.i(856522),r=e.i(948148),n=e.i(271645),l=e.i(778434);let o=(0,e.i(456420).default)("circle-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",key:"1pfsoa"}],["path",{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",key:"1ablyi"}]]);var d=e.i(716327),c=e.i(93384),u=e.i(77071),h=e.i(741120),x=e.i(250832),m=e.i(573474),p=e.i(861745),g=e.i(929592),j=e.i(487486),f=e.i(519455),b=e.i(515288),v=e.i(59497),y=e.i(755146),S=e.i(776639),I=e.i(82612),w=e.i(793479),C=e.i(110204),R=e.i(967489),k=e.i(987968),N=e.i(624687),A=e.i(462777),D=e.i(637611),E=e.i(360583),T=e.i(687862),B=e.i(688194),$=e.i(52253);let P=`
|
|
24
24
|
id type
|
|
25
25
|
configurations {
|
|
26
26
|
id name iconKey scheme buildConfiguration defaultAction advancedSettings autoExport exportSettings createdAt updatedAt
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
position
|
|
32
32
|
script { id name preBuildScript postBuildScript enabledByDefault timeoutSeconds failureBehavior }
|
|
33
33
|
}
|
|
34
|
-
`;function
|
|
35
|
-
iosAppProject(codebaseId: $codebaseId) { ${
|
|
34
|
+
`;function L({codebaseId:e,checkouts:s}){let a=(0,r.useTranslations)("builds"),i=(0,p.useLocale)(),[l,o]=(0,n.useState)(s?.find(e=>e.available)?.codebaseId??e),[d,y]=(0,n.useState)(null),[S,w]=(0,n.useState)([]),[C,N]=(0,n.useState)(null),[B,$]=(0,n.useState)(!0),[q,_]=(0,n.useState)(!1),[F,U]=(0,n.useState)(null),[H,V]=(0,n.useState)(null),[G,M]=(0,n.useState)(!1),W=(0,n.useCallback)(async()=>{try{let e=await (0,D.controlPlaneRequest)(`query IosProjectSection($codebaseId: ID!) {
|
|
35
|
+
iosAppProject(codebaseId: $codebaseId) { ${P} }
|
|
36
36
|
buildScripts { id name preBuildScript postBuildScript enabledByDefault timeoutSeconds failureBehavior }
|
|
37
37
|
worktreeOverview {
|
|
38
38
|
agents { codebases { codebase { id } worktrees { id primary } } }
|
|
39
39
|
}
|
|
40
|
-
}`,{codebaseId:
|
|
40
|
+
}`,{codebaseId:l});y(e.iosAppProject),w(e.buildScripts);let t=e.worktreeOverview.agents.flatMap(e=>e.codebases).find(e=>e.codebase.id===l);N(t?.worktrees.find(e=>e.primary)?.id??t?.worktrees[0]?.id??null),U(null)}catch(e){U(e instanceof Error?e.message:String(e))}finally{$(!1)}},[l]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void W(),0);return()=>window.clearTimeout(e)},[W]);let K=async()=>{_(!0);try{await (0,D.controlPlaneRequest)(`mutation CreateIosProject($codebaseId: ID!) {
|
|
41
41
|
createIosAppProject(codebaseId: $codebaseId) { id }
|
|
42
|
-
}`,{codebaseId:
|
|
42
|
+
}`,{codebaseId:l}),await W()}catch(e){U(e instanceof Error?e.message:String(e))}finally{_(!1)}},J=async e=>{if(C){_(!0);try{await (0,D.controlPlaneRequest)(`mutation ReparseProjectConfiguration($configurationId: ID!, $worktreeId: ID!, $requestId: ID!) {
|
|
43
43
|
reparseBuildConfiguration(configurationId: $configurationId, worktreeId: $worktreeId, requestId: $requestId) { id status }
|
|
44
|
-
}`,{configurationId:e.id,worktreeId:
|
|
44
|
+
}`,{configurationId:e.id,worktreeId:C,requestId:(0,A.createClientId)()}),await W()}catch(e){U(e instanceof Error?e.message:String(e))}finally{_(!1)}}},z=async e=>{_(!0);try{await (0,D.controlPlaneRequest)("mutation DeleteBuildConfiguration($id: ID!) { deleteBuildConfiguration(id: $id) }",{id:e}),await W()}catch(e){U(e instanceof Error?e.message:String(e))}finally{_(!1)}},Y=async(e,t)=>{let s=d?.allowedScripts.map(e=>e.script.id)??[],a=t?[...s,e]:s.filter(t=>t!==e);try{await (0,D.controlPlaneRequest)(`mutation SetAllowedBuildScripts($codebaseId: ID!, $scriptIds: [ID!]!) {
|
|
45
45
|
setCodebaseBuildScripts(codebaseId: $codebaseId, scriptIds: $scriptIds) { id }
|
|
46
|
-
}`,{codebaseId:
|
|
46
|
+
}`,{codebaseId:l,scriptIds:a}),await W()}catch(e){U(e instanceof Error?e.message:String(e))}};return B?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(k.Spinner,{})," ",a("loading")]}):(0,t.jsxs)("div",{className:"space-y-5",children:[F&&(0,t.jsx)(g.Alert,{variant:"destructive",children:(0,t.jsx)(g.AlertDescription,{children:F})}),s&&s.length>0&&(0,t.jsxs)(b.Card,{children:[(0,t.jsx)(b.CardHeader,{children:(0,t.jsx)(b.CardTitle,{children:a("parseCheckout")})}),(0,t.jsxs)(b.CardContent,{className:"space-y-2",children:[(0,t.jsxs)(R.Select,{disabled:q,onValueChange:e=>{$(!0),o(e)},value:l,children:[(0,t.jsx)(R.SelectTrigger,{"aria-label":a("parseCheckout"),className:"w-full min-w-0",children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsx)(R.SelectContent,{children:s.map(e=>(0,t.jsxs)(R.SelectItem,{disabled:!e.available,value:e.codebaseId,children:[e.label,e.available?"":` \xb7 ${a("checkoutUnavailable")}`]},e.codebaseId))})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:a("parseCheckoutDescription")})]})]}),d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Alert,{children:(0,t.jsx)(g.AlertDescription,{children:a("sharedProjectDescription")})}),(0,t.jsxs)(b.Card,{children:[(0,t.jsxs)(b.CardHeader,{className:"flex-row items-center justify-between",children:[(0,t.jsx)(b.CardTitle,{children:a("buildConfigurations")}),(0,t.jsxs)(f.Button,{disabled:!C,onClick:()=>{V(null),M(!0)},size:"sm",children:[(0,t.jsx)(u.Plus,{})," ",a("newConfiguration")]})]}),(0,t.jsx)(b.CardContent,{children:d.configurations.length?(0,t.jsx)("div",{className:"grid gap-3 lg:grid-cols-2",children:d.configurations.map(e=>(0,t.jsx)(b.Card,{children:(0,t.jsxs)(b.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(T.ConfigurationIcon,{iconKey:e.iconKey}),e.name]}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:e.source.relativePath})]}),(0,t.jsx)(j.Badge,{variant:e.observation?.status==="ERROR"||e.observation?.status==="INVALID"?"destructive":"outline",children:a(`parseStatuses.${e.observation?.status??"UNPARSED"}`)})]}),(0,t.jsxs)("div",{className:"rounded-lg border bg-muted/20 p-3 text-sm",children:[(0,t.jsxs)("p",{children:[e.scheme," ·"," ",e.buildConfiguration]}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:[e.observation?.lastParsedAt?a("lastParsed",{value:(0,E.formatDateValue)(e.observation.lastParsedAt,"short",{locale:i})}):a("neverParsed"),e.observation?.stale?` \xb7 ${a("stale")}`:""]}),e.observation?.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.observation.error})]}),(0,t.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,t.jsxs)(f.Button,{disabled:q||!C,onClick:()=>void J(e),size:"sm",variant:"outline",children:[(0,t.jsx)(h.RefreshCw,{})," ",a("reparse")]}),(0,t.jsxs)(f.Button,{onClick:()=>{V(e),M(!0)},size:"sm",variant:"outline",children:[(0,t.jsx)(x.Settings2,{})," ",a("edit")]}),(0,t.jsx)(f.Button,{"aria-label":a("deleteConfiguration"),disabled:q,onClick:()=>void z(e.id),size:"icon-sm",variant:"destructive",children:(0,t.jsx)(m.Trash2,{})})]})]})},e.id))}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:a("noConfigurations")})})]}),(0,t.jsxs)(b.Card,{children:[(0,t.jsx)(b.CardHeader,{children:(0,t.jsx)(b.CardTitle,{children:a("allowedScripts")})}),(0,t.jsx)(b.CardContent,{className:"space-y-2",children:S.length?S.map(e=>{let s=d.allowedScripts.some(t=>t.script.id===e.id);return(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-lg border p-2",children:[(0,t.jsx)(v.Checkbox,{checked:s,onCheckedChange:t=>void Y(e.id,!!t)}),(0,t.jsx)("span",{className:"text-sm",children:e.name}),e.enabledByDefault&&(0,t.jsx)(j.Badge,{variant:"outline",children:a("defaultEnabled")})]},e.id)}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:a("createScriptsOnBuildsPage")})})]})]}):(0,t.jsxs)(I.Empty,{className:"border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(c.Hammer,{})}),(0,t.jsx)(I.EmptyTitle,{children:a("addIosProject")}),(0,t.jsx)(I.EmptyDescription,{children:a("addIosProjectDescription")})]}),(0,t.jsxs)(f.Button,{disabled:q,onClick:()=>void K(),children:[q?(0,t.jsx)(k.Spinner,{}):(0,t.jsx)(u.Plus,{})," ",a("addIosProject")]})]}),G&&C&&(0,t.jsx)(O,{codebaseId:l,configuration:H,onOpenChange:M,onSaved:W,open:G,worktreeId:C})]})}function O({codebaseId:e,worktreeId:s,configuration:a,open:i,onOpenChange:l,onSaved:c}){let u=(0,r.useTranslations)("builds"),[x,m]=(0,n.useState)(a?.name??""),[p,I]=(0,n.useState)(a?.iconKey??"none"),[E,P]=(0,n.useState)([]),[L,q]=(0,n.useState)(a?.source.relativePath??""),[_,F]=(0,n.useState)(a?.source.kind??"PROJECT"),[U,H]=(0,n.useState)(a?.observation?{source:a.source,schemes:a.observation.schemes,configurations:a.observation.configurations,testPlans:a.observation.testPlans,signingRequirements:[],headSha:a.observation.headSha,xcodeVersion:a.observation.xcodeVersion}:null),[V,G]=(0,n.useState)(a?.observation?.status??"UNPARSED"),[M,W]=(0,n.useState)(a?.observation?.stale??!1),[K,J]=(0,n.useState)(a?.scheme??""),[z,Y]=(0,n.useState)(a?.buildConfiguration??""),[Q,X]=(0,n.useState)(a?.defaultAction??"BUILD"),[Z,ee]=(0,n.useState)(a?.defaultAction==="ARCHIVE"&&a.autoExport),[et,es]=(0,n.useState)({...$.DEFAULT_EXPORT_SETTINGS,...a?.exportSettings??{}}),[ea,ei]=(0,n.useState)(JSON.stringify(a?.advancedSettings??{},null,2)),[er,en]=(0,n.useState)(a?.advancedSettings?.parseTestResults!==!1),[el,eo]=(0,n.useState)("string"==typeof a?.advancedSettings?.testPlan?a.advancedSettings.testPlan:"__SCHEME_DEFAULT__"),[ed,ec]=(0,n.useState)(!1),[eu,eh]=(0,n.useState)(!1),[ex,em]=(0,n.useState)(!1),[ep,eg]=(0,n.useState)(null),ej=(0,n.useCallback)(async()=>{ec(!0);try{let e=await (0,D.controlPlaneRequest)(`mutation DiscoverBuildSources($worktreeId: ID!, $requestId: ID!) {
|
|
47
47
|
discoverBuildSources(worktreeId: $worktreeId, requestId: $requestId) { kind relativePath }
|
|
48
|
-
}`,{worktreeId:s,requestId:(0,
|
|
48
|
+
}`,{worktreeId:s,requestId:(0,A.createClientId)()});P(e.discoverBuildSources)}catch(e){eg(e instanceof Error?e.message:String(e))}finally{ec(!1)}},[s]);(0,n.useEffect)(()=>{let e=window.setTimeout(()=>void ej(),0);return()=>window.clearTimeout(e)},[ej]);let ef=async(e,t)=>{eh(!0),eg(null);try{let a=await (0,D.controlPlaneRequest)(`mutation InspectBuildSource($input: InspectBuildSourceInput!) {
|
|
49
49
|
inspectBuildSource(input: $input) {
|
|
50
50
|
source { kind relativePath }
|
|
51
51
|
schemes configurations testPlans headSha xcodeVersion
|
|
@@ -53,17 +53,17 @@
|
|
|
53
53
|
bundleId name target platform teamId provisioningProfileSpecifier
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
}`,{input:{worktreeId:s,sourceKind:e.kind,sourcePath:e.relativePath,scheme:t||null,configuration:null,requestId:(0,
|
|
56
|
+
}`,{input:{worktreeId:s,sourceKind:e.kind,sourcePath:e.relativePath,scheme:t||null,configuration:null,requestId:(0,A.createClientId)()}});H(a.inspectBuildSource),G("VALID"),W(!1),q(e.relativePath),F(e.kind),t||(J(a.inspectBuildSource.schemes[0]??K),Y(a.inspectBuildSource.configurations[0]??z))}catch(e){G("ERROR"),W(!!U),eg(e instanceof Error?e.message:String(e))}finally{eh(!1)}},eb=async()=>{if(!L||!K||!z)throw Error(u("selectSigningSourceFirst"));return(await (0,D.controlPlaneRequest)(`mutation InspectBuildSigningRequirements($input: InspectBuildSourceInput!) {
|
|
57
57
|
inspectBuildSource(input: $input) {
|
|
58
58
|
signingRequirements {
|
|
59
59
|
bundleId name target platform teamId provisioningProfileSpecifier
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
}`,{input:{worktreeId:s,sourceKind:_,sourcePath:
|
|
62
|
+
}`,{input:{worktreeId:s,sourceKind:_,sourcePath:L,scheme:K,configuration:z,requestId:(0,A.createClientId)()}})).inspectBuildSource.signingRequirements},ev=async()=>{em(!0),eg(null);try{let t;try{if(!(t=JSON.parse(ea))||"object"!=typeof t||Array.isArray(t))throw Error()}catch{throw Error(u("advancedJsonInvalid"))}t={...t,testPlan:"__SCHEME_DEFAULT__"===el?null:el,parseTestResults:er};let i=await (0,D.controlPlaneRequest)(`mutation SaveBuildConfiguration($input: SaveBuildConfigurationInput!) {
|
|
63
63
|
saveBuildConfiguration(input: $input) { id }
|
|
64
|
-
}`,{input:{id:a?.id??null,codebaseId:e,name:x,iconKey:"none"===
|
|
64
|
+
}`,{input:{id:a?.id??null,codebaseId:e,name:x,iconKey:"none"===p?null:p,sourceKind:_,sourcePath:L,scheme:K,buildConfiguration:z,defaultAction:Q,advancedSettings:t,autoExport:"ARCHIVE"===Q&&Z,exportSettings:et}});await (0,D.controlPlaneRequest)(`mutation ReparseSavedBuildConfiguration($configurationId: ID!, $worktreeId: ID!, $requestId: ID!) {
|
|
65
65
|
reparseBuildConfiguration(configurationId: $configurationId, worktreeId: $worktreeId, requestId: $requestId) { id status }
|
|
66
|
-
}`,{configurationId:i.saveBuildConfiguration.id,worktreeId:s,requestId:(0,
|
|
66
|
+
}`,{configurationId:i.saveBuildConfiguration.id,worktreeId:s,requestId:(0,A.createClientId)()}),await c(),l(!1)}catch(e){eg(e instanceof Error?e.message:String(e))}finally{em(!1)}};return(0,t.jsx)(S.Dialog,{onOpenChange:l,open:i,children:(0,t.jsxs)(S.DialogContent,{className:"max-h-[90vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-5xl",children:[(0,t.jsxs)(S.DialogHeader,{children:[(0,t.jsx)(S.DialogTitle,{children:a?u("editConfiguration"):u("newConfiguration")}),(0,t.jsx)(S.DialogDescription,{children:u("configurationDescription")})]}),ep&&(0,t.jsx)(g.Alert,{variant:"destructive",children:(0,t.jsx)(g.AlertDescription,{children:ep})}),(0,t.jsxs)("div",{className:"space-y-5",children:[(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"configuration-name",children:u("name")}),(0,t.jsx)(w.Input,{id:"configuration-name",onChange:e=>m(e.target.value),value:x})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"configuration-icon",children:u("icon")}),(0,t.jsxs)(y.DropdownMenu,{children:[(0,t.jsx)(y.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(f.Button,{"aria-label":`${u("icon")}: ${u(`configurationIcons.${p}`)}`,className:"justify-between",id:"configuration-icon",type:"button",variant:"outline",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:["none"===p?(0,t.jsx)(o,{className:"size-4 shrink-0"}):(0,t.jsx)(T.ConfigurationIcon,{iconKey:p}),(0,t.jsx)("span",{className:"truncate",children:u(`configurationIcons.${p}`)})]}),(0,t.jsx)(d.ChevronDown,{className:"text-muted-foreground"})]})}),(0,t.jsx)(y.DropdownMenuContent,{align:"start",className:"min-w-56",children:(0,t.jsx)(y.DropdownMenuRadioGroup,{onValueChange:I,value:p,children:["none",...B.BUILD_CONFIGURATION_ICON_KEYS].map(e=>(0,t.jsxs)(y.DropdownMenuRadioItem,{value:e,children:["none"===e?(0,t.jsx)(o,{className:"size-4"}):(0,t.jsx)(T.ConfigurationIcon,{iconKey:e}),u(`configurationIcons.${e}`)]},e))})})]})]})]}),(0,t.jsx)(b.Card,{children:(0,t.jsxs)(b.CardContent,{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium",children:u("source")}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:L||u("selectSource")})]}),U&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[M&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:u("stale")}),(0,t.jsx)(j.Badge,{variant:"VALID"===V?"outline":"destructive",children:u(`parseStatuses.${V}`)})]})]}),(0,t.jsxs)(R.Select,{disabled:ed||eu,onValueChange:e=>{let t=E.find(t=>t.relativePath===e);t&&ef(t)},value:E.some(e=>e.relativePath===L)?L:"",children:[(0,t.jsx)(R.SelectTrigger,{children:(0,t.jsx)(R.SelectValue,{placeholder:ed?u("loadingSources"):u("selectSource")})}),(0,t.jsx)(R.SelectContent,{children:E.map(e=>(0,t.jsx)(R.SelectItem,{value:e.relativePath,children:e.relativePath},e.relativePath))})]}),U&&(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{children:u("scheme")}),(0,t.jsxs)(R.Select,{onValueChange:e=>{J(e),ef(U.source,e)},value:K,children:[(0,t.jsx)(R.SelectTrigger,{children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsxs)(R.SelectContent,{children:[K&&!U.schemes.includes(K)&&(0,t.jsxs)(R.SelectItem,{value:K,children:[K," · ",u("savedValueUnavailable")]}),U.schemes.map(e=>(0,t.jsx)(R.SelectItem,{value:e,children:e},e))]})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{children:u("configuration")}),(0,t.jsxs)(R.Select,{onValueChange:Y,value:z,children:[(0,t.jsx)(R.SelectTrigger,{children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsxs)(R.SelectContent,{children:[z&&!U.configurations.includes(z)&&(0,t.jsxs)(R.SelectItem,{value:z,children:[z," ·"," ",u("savedValueUnavailable")]}),U.configurations.map(e=>(0,t.jsx)(R.SelectItem,{value:e,children:e},e))]})]})]})]}),(0,t.jsxs)(f.Button,{disabled:!L||eu,onClick:()=>void ef({kind:_,relativePath:L},K),size:"sm",variant:"outline",children:[eu?(0,t.jsx)(k.Spinner,{}):(0,t.jsx)(h.RefreshCw,{})," ",u("reparse")]})]})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{children:u("defaultAction")}),(0,t.jsxs)(R.Select,{onValueChange:e=>{X(e),"ARCHIVE"!==e&&ee(!1)},value:Q,children:[(0,t.jsx)(R.SelectTrigger,{children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsx)(R.SelectContent,{children:["BUILD","TEST","ANALYZE","ARCHIVE","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"].map(e=>(0,t.jsx)(R.SelectItem,{value:e,children:u(`actions.${e}`)},e))})]})]}),"ARCHIVE"===Q&&(0,t.jsxs)("section",{className:"space-y-3",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 font-medium",children:[(0,t.jsx)(v.Checkbox,{checked:Z,onCheckedChange:e=>ee(!!e)}),u("autoExport")]}),Z&&(0,t.jsx)($.ExportSettingsForm,{onChange:es,onParseSigningRequirements:eb,value:et},`${_}:${L}:${K}:${z}`)]}),["TEST","BUILD_FOR_TESTING","TEST_WITHOUT_BUILDING"].includes(Q)&&(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{children:u("testPlan")}),(0,t.jsxs)(R.Select,{onValueChange:eo,value:el,children:[(0,t.jsx)(R.SelectTrigger,{children:(0,t.jsx)(R.SelectValue,{})}),(0,t.jsxs)(R.SelectContent,{children:[(0,t.jsx)(R.SelectItem,{value:"__SCHEME_DEFAULT__",children:u("schemeDefaultTestPlan")}),"__SCHEME_DEFAULT__"!==el&&!U?.testPlans.includes(el)&&(0,t.jsxs)(R.SelectItem,{value:el,children:[el," · ",u("savedValueUnavailable")]}),U?.testPlans.map(e=>(0,t.jsx)(R.SelectItem,{value:e,children:e},e))]})]})]}),(0,t.jsxs)("details",{className:"rounded-xl border p-3",children:[(0,t.jsx)("summary",{className:"cursor-pointer font-medium",children:u("advancedSettings")}),(0,t.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,t.jsxs)("label",{className:"flex items-center gap-2 pb-2",children:[(0,t.jsx)(v.Checkbox,{checked:er,onCheckedChange:e=>en(!!e)}),u("parseTestResults")]}),(0,t.jsx)(C.Label,{htmlFor:"configuration-advanced-json",children:u("advancedJson")}),(0,t.jsx)(N.Textarea,{className:"font-mono text-xs",id:"configuration-advanced-json",onChange:e=>ei(e.target.value),rows:10,value:ea})]})]})]}),(0,t.jsxs)(S.DialogFooter,{children:[(0,t.jsx)(f.Button,{onClick:()=>l(!1),variant:"outline",children:u("cancel")}),(0,t.jsxs)(f.Button,{disabled:ex||eu||!x.trim()||!L||!K||!z,onClick:()=>void ev(),children:[ex&&(0,t.jsx)(k.Spinner,{})," ",u("save")]})]})]})})}var q=e.i(9197),_=e.i(677572),F=e.i(520133);let U=`
|
|
67
67
|
id canonicalOrigin displayOrigin name description jiraBranchRegex keepBaseBranchUpToDate createdAt updatedAt
|
|
68
68
|
skillGroups { id name }
|
|
69
69
|
codebases {
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
agent { ${l.AGENT_FIELDS} }
|
|
73
73
|
activeJob { ${l.JOB_FIELDS} }
|
|
74
74
|
}
|
|
75
|
-
`;e.s(["RepositoryDetailPage",0,function({repositoryId:e}){let l=(0,r.useTranslations)("codebases"),o=(0,r.useTranslations)("builds"),[d,c]=(0,n.useState)(null),[u,h]=(0,n.useState)([]),[x,m]=(0,n.useState)(!0),[
|
|
76
|
-
codebaseRepository(id: $id) { ${
|
|
75
|
+
`;e.s(["RepositoryDetailPage",0,function({repositoryId:e}){let l=(0,r.useTranslations)("codebases"),o=(0,r.useTranslations)("builds"),[d,c]=(0,n.useState)(null),[u,h]=(0,n.useState)([]),[x,m]=(0,n.useState)(!0),[p,j]=(0,n.useState)(!1),[y,S]=(0,n.useState)(null),[R,A]=(0,n.useState)(null),[E,T]=(0,n.useState)(""),[B,$]=(0,n.useState)(""),[P,O]=(0,n.useState)(""),[H,V]=(0,n.useState)(!0),[G,M]=(0,n.useState)([]),W=(0,n.useCallback)(e=>{c(e),T(e.name),$(e.description),O(e.jiraBranchRegex??""),V(e.keepBaseBranchUpToDate),M(e.skillGroups?.map(e=>e.id)??[])},[]),K=(0,n.useCallback)(async()=>{try{let t=await (0,D.controlPlaneRequest)(`query RepositoryDetail($id: ID!) {
|
|
76
|
+
codebaseRepository(id: $id) { ${U} }
|
|
77
77
|
skillsOverview { groups { id name } }
|
|
78
|
-
}`,{id:e});t.codebaseRepository?W(t.codebaseRepository):c(null),h(t.skillsOverview?.groups??[]),
|
|
78
|
+
}`,{id:e});t.codebaseRepository?W(t.codebaseRepository):c(null),h(t.skillsOverview?.groups??[]),S(null)}catch(e){S(e instanceof Error?e.message:String(e))}finally{m(!1)}},[W,e]);(0,n.useEffect)(()=>{let t=window.setTimeout(()=>void K(),0),s=(0,D.controlPlaneSubscriptions)().subscribe({query:`subscription RepositoryDetailChanged {
|
|
79
79
|
codebaseOverviewChanged { repositoryId }
|
|
80
|
-
}`},{next:t=>{let s=t.data?.codebaseOverviewChanged;s&&s.repositoryId!==e||K()},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),s()}},[K,e]);let J=async e=>{if(e.preventDefault(),d){
|
|
80
|
+
}`},{next:t=>{let s=t.data?.codebaseOverviewChanged;s&&s.repositoryId!==e||K()},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),s()}},[K,e]);let J=async e=>{if(e.preventDefault(),d){j(!0),S(null),A(null);try{await (0,D.controlPlaneRequest)(`mutation UpdateCodebaseRepository($input: UpdateCodebaseRepositoryInput!) {
|
|
81
81
|
updateCodebaseRepository(input: $input) { id }
|
|
82
|
-
}`,{input:{id:d.id,name:E,description:B,jiraBranchRegex:
|
|
82
|
+
}`,{input:{id:d.id,name:E,description:B,jiraBranchRegex:P||null,keepBaseBranchUpToDate:H,skillGroupIds:G}}),await K(),A(l("repositorySaved"))}catch(e){S(e instanceof Error?e.message:String(e))}finally{j(!1)}}};if(x)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(k.Spinner,{})," ",l("loadingRepository")]});if(!d)return(0,t.jsxs)(I.Empty,{className:"mx-auto max-w-6xl border py-12",children:[(0,t.jsxs)(I.EmptyHeader,{children:[(0,t.jsx)(I.EmptyMedia,{variant:"icon",children:(0,t.jsx)(a.FolderGit2,{})}),(0,t.jsx)(I.EmptyTitle,{children:l("repositoryNotFound")}),(0,t.jsx)(I.EmptyDescription,{children:l("repositoryNotFoundDescription")})]}),(0,t.jsx)(f.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(F.Link,{href:"/codebases",children:[(0,t.jsx)(s.ArrowLeft,{})," ",l("backToCodebases")]})})]});let z=d.codebases.map(e=>({codebaseId:e.id,label:`${e.agent.name} \xb7 ${e.folder}`,available:"ONLINE"===e.agent.connectionStatus&&"AVAILABLE"===e.availability}));return(0,t.jsxs)("section",{className:"mx-auto flex w-full max-w-6xl flex-col gap-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)(f.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(F.Link,{href:"/codebases",children:[(0,t.jsx)(s.ArrowLeft,{})," ",l("backToCodebases")]})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:l("editTitle")}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:d.displayOrigin}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:l("repositorySharedDescription")})]}),y&&(0,t.jsx)(g.Alert,{variant:"destructive",children:(0,t.jsx)(g.AlertDescription,{children:y})}),R&&(0,t.jsx)(g.Alert,{children:(0,t.jsx)(g.AlertDescription,{children:R})}),(0,t.jsxs)(_.Tabs,{defaultValue:"details",children:[(0,t.jsxs)(_.TabsList,{children:[(0,t.jsx)(_.TabsTrigger,{value:"details",children:l("repositoryDetails")}),(0,t.jsx)(_.TabsTrigger,{value:"ios-app",children:o("iosApp")}),(0,t.jsx)(_.TabsTrigger,{value:"auto-retry",children:l("autoRetry")})]}),(0,t.jsx)(_.TabsContent,{value:"details",children:(0,t.jsx)("form",{className:"space-y-5",onSubmit:J,children:(0,t.jsxs)(b.Card,{children:[(0,t.jsxs)(b.CardHeader,{children:[(0,t.jsx)(b.CardTitle,{children:l("repositoryDetails")}),(0,t.jsx)(b.CardDescription,{children:l("repositoryDetailsDescription")})]}),(0,t.jsxs)(b.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"repository-name",children:l("name")}),(0,t.jsx)(w.Input,{id:"repository-name",maxLength:120,onChange:e=>T(e.target.value),required:!0,value:E})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"repository-jira-regex",children:l("jiraBranchRegex")}),(0,t.jsx)(w.Input,{id:"repository-jira-regex",onChange:e=>O(e.target.value),placeholder:l("inheritDefaultRegex"),value:P}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("jiraBranchRegexHelp")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{htmlFor:"repository-description",children:l("repositoryDescription")}),(0,t.jsx)(N.Textarea,{id:"repository-description",maxLength:2e3,onChange:e=>$(e.target.value),value:B})]}),(0,t.jsxs)("div",{className:"flex items-start gap-3 rounded-lg border p-3",children:[(0,t.jsx)(v.Checkbox,{checked:H,className:"mt-0.5",id:"repository-keep-base-branch-up-to-date",onCheckedChange:e=>V(!0===e)}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)(C.Label,{htmlFor:"repository-keep-base-branch-up-to-date",children:l("keepBaseBranchUpToDate")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("keepBaseBranchUpToDateHelp")})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(C.Label,{children:l("skillGroups")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:l("skillGroupsHelp")}),(0,t.jsxs)("div",{className:"max-h-56 space-y-1 overflow-auto rounded-lg border p-2",children:[u.map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 rounded-md px-2 py-1.5 hover:bg-muted",children:[(0,t.jsx)(v.Checkbox,{checked:G.includes(e.id),onCheckedChange:t=>M(s=>!0===t?[...new Set([...s,e.id])]:s.filter(t=>t!==e.id))}),e.name]},e.id)),!u.length&&(0,t.jsx)("p",{className:"px-2 py-1 text-sm text-muted-foreground",children:l("noSkillGroups")})]})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)(f.Button,{disabled:p||!E.trim(),type:"submit",children:[p?(0,t.jsx)(k.Spinner,{}):(0,t.jsx)(i.Save,{})," ",l("save")]})})]})]})})}),(0,t.jsx)(_.TabsContent,{value:"ios-app",children:(0,t.jsx)(L,{checkouts:z,codebaseId:z[0]?.codebaseId??""})}),(0,t.jsx)(_.TabsContent,{value:"auto-retry",children:(0,t.jsxs)(b.Card,{children:[(0,t.jsxs)(b.CardHeader,{children:[(0,t.jsx)(b.CardTitle,{children:l("autoRetry")}),(0,t.jsx)(b.CardDescription,{children:l("autoRetryDescription")})]}),(0,t.jsx)(b.CardContent,{children:d.canonicalOrigin.startsWith("github.com/")?(0,t.jsx)(q.AutoRetryDialog,{codebaseRepositoryId:d.id,repositoryMode:!0}):(0,t.jsx)(g.Alert,{children:(0,t.jsx)(g.AlertDescription,{children:l("autoRetryGitHubOnly")})})})]})})]})]})}],390615)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...o}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...o})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...n}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...n})}],987968)},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),n=e.i(975157);let o=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:i=!1,...l}){let s=i?a.Slot.Root:"span";return(0,t.jsx)(s,{className:(0,n.cn)(o({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}var o=e.i(30030);function i(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var s=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var f=Symbol.for("radix.slottable"),p=Symbol.for("react.lazy");function g(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===p&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var m=r[" use ".trim().toString()],v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var o;let i,l=(o=`Primitive.${a}`,(i=r.forwardRef((e,t)=>{var a;let i,l,{children:s,...d}=e,c=null,u=!1,p=[];g(s)&&"function"==typeof m&&(s=m(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===f){u=!0;let t="child"in e.props?e.props.child:e.props.children;g(t)&&"function"==typeof m&&(t=m(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),p.push(c?.props?.children)}else p.push(e)}),c?c=r.cloneElement(c,void 0,p):!u&&1===r.Children.count(s)&&r.isValidElement(s)&&(c=s);let v=c?(a=c,(l=(i=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.ref:(l=(i=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,h=n(t,v);if(!c){if(s||0===s){let e,t;throw Error(u?(e=o,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=o,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return s}let b=function(e,t){let r={...t};for(let a in t){let n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(c,b)})).displayName=`${o}.Slot`,i),s=r.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:a,{...o,ref:r})});return s.displayName=`Primitive.${a}`,{...e,[a]:s}},{}),h="Checkbox",[b,x]=(0,o.createContextScope)(h),[y,w]=b(h);function j(e){let{__scopeCheckbox:a,checked:n,children:o,defaultChecked:i,disabled:l,form:d,name:c,onCheckedChange:u,required:f,value:p="on",internal_do_not_use_render:g}=e,[m,v]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[o,i,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),o=r.useRef(a),i=r.useRef(t);return s(()=>{i.current=t},[t]),r.useEffect(()=>{o.current!==a&&(i.current?.(a),o.current=a)},[a,o]),[a,n,i]}({defaultProp:t,onChange:a}),d=void 0!==e,c=d?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else i(t)},[d,e,i,l])]}({prop:n,defaultProp:i??!1,onChange:u,caller:h}),[b,x]=r.useState(null),[w,j]=r.useState(null),C=r.useRef(!1),E=!b||!!d||!!b.closest("form"),R={checked:m,disabled:l,setChecked:v,control:b,setControl:x,name:c,form:d,value:p,hasConsumerStoppedPropagationRef:C,required:f,defaultChecked:!T(i)&&i,isFormControl:E,bubbleInput:w,setBubbleInput:j};return(0,t.jsx)(y,{scope:a,...R,children:"function"==typeof g?g(R):o})}var C="CheckboxTrigger",E=r.forwardRef(({__scopeCheckbox:e,onKeyDown:a,onClick:o,...l},s)=>{let{control:d,value:c,disabled:u,checked:f,required:p,setControl:g,setChecked:m,hasConsumerStoppedPropagationRef:h,isFormControl:b,bubbleInput:x}=w(C,e),y=n(s,g),j=r.useRef(f);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>m(j.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,m]),(0,t.jsx)(v.button,{type:"button",role:"checkbox","aria-checked":T(f)?"mixed":f,"aria-required":p,"data-state":D(f),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:y,onKeyDown:i(a,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:i(o,e=>{m(e=>!!T(e)||!e),x&&b&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})});E.displayName=C;var R=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:n,checked:o,defaultChecked:i,required:l,disabled:s,value:d,onCheckedChange:c,form:u,...f}=e;return(0,t.jsx)(j,{__scopeCheckbox:a,checked:o,defaultChecked:i,disabled:s,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(E,{...f,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(N,{__scopeCheckbox:a})]})})});R.displayName=h;var k="CheckboxIndicator",S=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...o}=e,i=w(k,a);return(0,t.jsx)(u.Presence,{present:n||T(i.checked)||!0===i.checked,children:(0,t.jsx)(v.span,{"data-state":D(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:r,style:{pointerEvents:"none",...e.style}})})});S.displayName=k;var _="CheckboxBubbleInput",N=r.forwardRef(({__scopeCheckbox:e,...a},o)=>{let{control:i,hasConsumerStoppedPropagationRef:l,checked:s,defaultChecked:u,required:f,disabled:p,name:g,value:m,form:h,bubbleInput:b,setBubbleInput:x}=w(_,e),y=n(o,x),j=(0,d.usePrevious)(s),C=(0,c.useSize)(i);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(j!==s&&e){let r=new Event("click",{bubbles:t});b.indeterminate=T(s),e.call(b,!T(s)&&s),b.dispatchEvent(r)}},[b,j,s,l]);let E=r.useRef(!T(s)&&s);return(0,t.jsx)(v.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??E.current,required:f,disabled:p,name:g,value:m,form:h,...a,tabIndex:-1,ref:y,style:{...a.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function T(e){return"indeterminate"===e}function D(e){return T(e)?"indeterminate":e?"checked":"unchecked"}N.displayName=_,e.s(["Checkbox",0,R,"CheckboxIndicator",0,S,"Indicator",0,S,"Root",0,R,"createCheckboxScope",0,x,"unstable_BubbleInput",0,N,"unstable_CheckboxBubbleInput",0,N,"unstable_CheckboxProvider",0,j,"unstable_CheckboxTrigger",0,E,"unstable_Provider",0,j,"unstable_Trigger",0,E],388474);var z=e.i(388474),z=z,I=e.i(975157),$=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(z.Root,{"data-slot":"checkbox",className:(0,I.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)(z.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)($.CheckIcon,{})})})}],59497)},630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},867927,e=>{"use strict";var t=e.i(986253);e.s(["ChevronRight",()=>t.default])},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var n=Symbol.for("radix.slottable"),o=Symbol.for("react.lazy");function i(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{var s;let d,c=(s=`Primitive.${o}`,(d=r.forwardRef((e,t)=>{var o;let d,c,{children:u,...f}=e,p=null,g=!1,m=[];i(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===n){g=!0;let t="child"in e.props?e.props.child:e.props.children;i(t)&&"function"==typeof l&&(t=l(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(p?.props?.children)}else m.push(e)}),p?p=r.cloneElement(p,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let v=p?(o=p,(c=(d=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.ref:(c=(d=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(t,v);if(!p){if(u||0===u){let e,t;throw Error(g?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let r={...t};for(let a in t){let n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(p,b)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?c:o,{...n,ref:r})});return u.displayName=`Primitive.${o}`,{...e,[o]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),a=e.i(964053),n=e.i(519455),o=e.i(975157);function i({...e}){return(0,t.jsx)(a.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(a.Dialog.Overlay,{className:(0,o.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(a.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(i,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(a.Dialog.Content,{className:(0,o.cn)("fixed top-1/2 left-1/2 z-50 grid max-h-[85dvh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),"data-slot":"dialog-content",...c,children:[s,d&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(r.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Description,{className:(0,o.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),"data-slot":"dialog-description",...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:i,...l}){return(0,t.jsxs)("div",{className:(0,o.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...l,children:[i,r&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,o.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Title,{className:(0,o.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(a.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let r=document.execCommand("copy");if(t.remove(),!r)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},808562,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var o=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function l(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var s=r[" use ".trim().toString()],d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var i;let d,c=(i=`Primitive.${a}`,(d=r.forwardRef((e,t)=>{var a;let d,c,{children:u,...f}=e,p=null,g=!1,m=[];l(u)&&"function"==typeof s&&(u=s(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===o){g=!0;let t="child"in e.props?e.props.child:e.props.children;l(t)&&"function"==typeof s&&(t=s(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(p?.props?.children)}else m.push(e)}),p?p=r.cloneElement(p,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let v=p?(a=p,(c=(d=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?a.ref:(c=(d=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=n(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}(t,v);if(!p){if(u||0===u){let e,t;throw Error(g?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let r={...t};for(let a in t){let n=e[a],o=t[a];/^on[A-Z]/.test(a)?n&&o?r[a]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...o}:"className"===a&&(r[a]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(p,b)})).displayName=`${i}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?c:a,{...o,ref:r})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),c=e.i(842727);"u">typeof window&&window.document&&window.document.createElement;var u=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var f=r[" useInsertionEffect ".trim().toString()]||u;function p({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[o,i,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),o=r.useRef(a),i=r.useRef(t);return f(()=>{i.current=t},[t]),r.useEffect(()=>{o.current!==a&&(i.current?.(a),o.current=a)},[a,o]),[a,n,i]}({defaultProp:t,onChange:a}),s=void 0!==e,d=s?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[d,r.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else i(t)},[s,e,i,l])]}Symbol("RADIX:SYNC_STATE");var g="Toggle",m=r.forwardRef((e,r)=>{let{pressed:a,defaultPressed:n,onPressedChange:o,...i}=e,[l,s]=p({prop:a,onChange:o,defaultProp:n??!1,caller:g});return(0,t.jsx)(d.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:r,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(e.onClick,()=>{e.disabled||s(!l)})})});m.displayName=g;var v=e.i(586318),h="ToggleGroup",[b,x]=(0,a.createContextScope)(h,[c.createRovingFocusGroupScope]),y=(0,c.createRovingFocusGroupScope)(),w=r.forwardRef((e,r)=>{let{type:a,...n}=e;if("single"===a)return(0,t.jsx)(E,{role:"radiogroup",...n,ref:r});if("multiple"===a)return(0,t.jsx)(R,{role:"toolbar",...n,ref:r});throw Error(`Missing prop \`type\` expected on \`${h}\``)});w.displayName=h;var[j,C]=b(h),E=r.forwardRef((e,a)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},...l}=e,[s,d]=p({prop:n,defaultProp:o??"",onChange:i,caller:h});return(0,t.jsx)(j,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>s?[s]:[],[s]),onItemActivate:d,onItemDeactivate:r.useCallback(()=>d(""),[d]),children:(0,t.jsx)(_,{...l,ref:a})})}),R=r.forwardRef((e,a)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},...l}=e,[s,d]=p({prop:n,defaultProp:o??[],onChange:i,caller:h}),c=r.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=r.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(j,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:c,onItemDeactivate:u,children:(0,t.jsx)(_,{...l,ref:a})})});w.displayName=h;var[k,S]=b(h),_=r.forwardRef((e,r)=>{let{__scopeToggleGroup:a,disabled:n=!1,rovingFocus:o=!0,orientation:i,dir:l,loop:s=!0,...u}=e,f=y(a),p=(0,v.useDirection)(l),g={dir:p,...u};return(0,t.jsx)(k,{scope:a,rovingFocus:o,disabled:n,children:o?(0,t.jsx)(c.Root,{asChild:!0,...f,orientation:i,dir:p,loop:s,children:(0,t.jsx)(d.div,{...g,ref:r})}):(0,t.jsx)(d.div,{...g,ref:r})})}),N="ToggleGroupItem",T=r.forwardRef((e,a)=>{let n=C(N,e.__scopeToggleGroup),o=S(N,e.__scopeToggleGroup),i=y(e.__scopeToggleGroup),l=n.value.includes(e.value),s=o.disabled||e.disabled,d={...e,pressed:l,disabled:s},u=r.useRef(null);return o.rovingFocus?(0,t.jsx)(c.Item,{asChild:!0,...i,focusable:!s,active:l,ref:u,children:(0,t.jsx)(D,{...d,ref:a})}):(0,t.jsx)(D,{...d,ref:a})});T.displayName=N;var D=r.forwardRef((e,r)=>{let{__scopeToggleGroup:a,value:n,...o}=e,i=C(N,a),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===i.type?l:void 0;return(0,t.jsx)(m,{...s,...o,ref:r,onPressedChange:e=>{e?i.onItemActivate(n):i.onItemDeactivate(n)}})});e.s(["Item",0,T,"Root",0,w,"ToggleGroup",0,w,"ToggleGroupItem",0,T,"createToggleGroupScope",0,x],459881);var z=e.i(459881),z=z,I=e.i(975157),$=e.i(225913);"u">typeof window&&window.document&&window.document.createElement;var P=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var A=r[" useInsertionEffect ".trim().toString()]||P;Symbol("RADIX:SYNC_STATE");var O=e.i(743556),V=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let n=(0,O.createSlot)(`Primitive.${a}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(o?n:a,{...i,ref:r})});return o.displayName=`Primitive.${a}`,{...e,[a]:o}},{}),G="Toggle",B=r.forwardRef((e,a)=>{let{pressed:n,defaultPressed:o,onPressedChange:i,...l}=e,[s,d]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[o,i,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),o=r.useRef(a),i=r.useRef(t);return A(()=>{i.current=t},[t]),r.useEffect(()=>{o.current!==a&&(i.current?.(a),o.current=a)},[a,o]),[a,n,i]}({defaultProp:t,onChange:a}),s=void 0!==e,d=s?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[d,r.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else i(t)},[s,e,i,l])]}({prop:n,onChange:i,defaultProp:o??!1,caller:G});return(0,t.jsx)(V.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:a,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}(e.onClick,()=>{e.disabled||d(!s)})})});B.displayName=G,e.s(["Root",0,B,"Toggle",0,B],864225),e.i(864225);let W=(0,$.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),F=r.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:r,size:a,spacing:n=2,orientation:o="horizontal",children:i,...l}){return(0,t.jsx)(z.Root,{"data-slot":"toggle-group","data-variant":r,"data-size":a,"data-spacing":n,"data-orientation":o,style:{"--gap":n},className:(0,I.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,t.jsx)(F.Provider,{value:{variant:r,size:a,spacing:n,orientation:o},children:i})})},"ToggleGroupItem",0,function({className:e,children:a,variant:n="default",size:o="default",...i}){let l=r.useContext(F);return(0,t.jsx)(z.Item,{"data-slot":"toggle-group-item","data-variant":l.variant||n,"data-size":l.size||o,"data-spacing":l.spacing,className:(0,I.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",W({variant:l.variant||n,size:l.size||o}),e),...i,children:a})}],808562)}]);
|