@locusai/web 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-build-manifest.json +55 -0
  3. package/.next/app-path-routes-manifest.json +1 -0
  4. package/.next/build-manifest.json +33 -0
  5. package/.next/cache/.rscinfo +1 -0
  6. package/.next/cache/.tsbuildinfo +1 -0
  7. package/.next/cache/config.json +7 -0
  8. package/.next/cache/webpack/client-production/0.pack +0 -0
  9. package/.next/cache/webpack/client-production/index.pack +0 -0
  10. package/.next/cache/webpack/edge-server-production/0.pack +0 -0
  11. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  12. package/.next/cache/webpack/server-production/0.pack +0 -0
  13. package/.next/cache/webpack/server-production/index.pack +0 -0
  14. package/.next/diagnostics/build-diagnostics.json +6 -0
  15. package/.next/diagnostics/framework.json +1 -0
  16. package/.next/export-detail.json +1 -0
  17. package/.next/export-marker.json +1 -0
  18. package/.next/images-manifest.json +1 -0
  19. package/.next/next-minimal-server.js.nft.json +1 -0
  20. package/.next/next-server.js.nft.json +1 -0
  21. package/.next/package.json +1 -0
  22. package/.next/prerender-manifest.json +1 -0
  23. package/.next/react-loadable-manifest.json +32 -0
  24. package/.next/required-server-files.json +1 -0
  25. package/.next/routes-manifest.json +1 -0
  26. package/.next/server/app/_not-found/page.js +1 -0
  27. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  28. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  29. package/.next/server/app/_not-found.html +1 -0
  30. package/.next/server/app/_not-found.meta +8 -0
  31. package/.next/server/app/_not-found.rsc +17 -0
  32. package/.next/server/app/backlog/page.js +1 -0
  33. package/.next/server/app/backlog/page.js.nft.json +1 -0
  34. package/.next/server/app/backlog/page_client-reference-manifest.js +1 -0
  35. package/.next/server/app/backlog.html +1 -0
  36. package/.next/server/app/backlog.meta +7 -0
  37. package/.next/server/app/backlog.rsc +21 -0
  38. package/.next/server/app/docs/page.js +96 -0
  39. package/.next/server/app/docs/page.js.nft.json +1 -0
  40. package/.next/server/app/docs/page_client-reference-manifest.js +1 -0
  41. package/.next/server/app/docs.html +1 -0
  42. package/.next/server/app/docs.meta +7 -0
  43. package/.next/server/app/docs.rsc +22 -0
  44. package/.next/server/app/index.html +1 -0
  45. package/.next/server/app/index.meta +7 -0
  46. package/.next/server/app/index.rsc +21 -0
  47. package/.next/server/app/page.js +1 -0
  48. package/.next/server/app/page.js.nft.json +1 -0
  49. package/.next/server/app/page_client-reference-manifest.js +1 -0
  50. package/.next/server/app/settings/page.js +1 -0
  51. package/.next/server/app/settings/page.js.nft.json +1 -0
  52. package/.next/server/app/settings/page_client-reference-manifest.js +1 -0
  53. package/.next/server/app/settings.html +1 -0
  54. package/.next/server/app/settings.meta +7 -0
  55. package/.next/server/app/settings.rsc +21 -0
  56. package/.next/server/app-paths-manifest.json +7 -0
  57. package/.next/server/chunks/295.js +6 -0
  58. package/.next/server/chunks/467.js +1 -0
  59. package/.next/server/chunks/533.js +1 -0
  60. package/.next/server/chunks/639.js +15 -0
  61. package/.next/server/functions-config-manifest.json +1 -0
  62. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  63. package/.next/server/middleware-build-manifest.js +1 -0
  64. package/.next/server/middleware-manifest.json +6 -0
  65. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  66. package/.next/server/next-font-manifest.js +1 -0
  67. package/.next/server/next-font-manifest.json +1 -0
  68. package/.next/server/pages/404.html +1 -0
  69. package/.next/server/pages/500.html +1 -0
  70. package/.next/server/pages/_app.js +1 -0
  71. package/.next/server/pages/_app.js.nft.json +1 -0
  72. package/.next/server/pages/_document.js +1 -0
  73. package/.next/server/pages/_document.js.nft.json +1 -0
  74. package/.next/server/pages/_error.js +1 -0
  75. package/.next/server/pages/_error.js.nft.json +1 -0
  76. package/.next/server/pages-manifest.json +1 -0
  77. package/.next/server/server-reference-manifest.js +1 -0
  78. package/.next/server/server-reference-manifest.json +1 -0
  79. package/.next/server/webpack-runtime.js +1 -0
  80. package/.next/static/chunks/140.d5e67b269d70c096.js +1 -0
  81. package/.next/static/chunks/142.82cd6bec804102b9.js +1 -0
  82. package/.next/static/chunks/18.1e768729d24d723d.js +1 -0
  83. package/.next/static/chunks/188.27288b5094867f29.js +1 -0
  84. package/.next/static/chunks/273-95c2836f1a6dfb23.js +1 -0
  85. package/.next/static/chunks/855-a193e1d785e334cf.js +2 -0
  86. package/.next/static/chunks/87c73c54-18883d7ce69be0ce.js +1 -0
  87. package/.next/static/chunks/892-70ddfae0f8c9ee9f.js +1 -0
  88. package/.next/static/chunks/954-73b5906ca7819e42.js +1 -0
  89. package/.next/static/chunks/972-efb0c31aeb3e1619.js +1 -0
  90. package/.next/static/chunks/app/_not-found/page-3884acf5e0397003.js +1 -0
  91. package/.next/static/chunks/app/backlog/page-ade60a21a3597509.js +1 -0
  92. package/.next/static/chunks/app/docs/page-5f69fffac832d77c.js +1 -0
  93. package/.next/static/chunks/app/layout-a0acefd9b75ec3b8.js +1 -0
  94. package/.next/static/chunks/app/page-cb3aec9c8077eab1.js +1 -0
  95. package/.next/static/chunks/app/settings/page-82693b6134aafc85.js +1 -0
  96. package/.next/static/chunks/framework-fdd4ff226e9057cd.js +1 -0
  97. package/.next/static/chunks/main-39090d49dd3cd8c7.js +1 -0
  98. package/.next/static/chunks/main-app-bb0a6e7769aa4668.js +1 -0
  99. package/.next/static/chunks/pages/_app-3e3e3e64529ea027.js +1 -0
  100. package/.next/static/chunks/pages/_error-8cfbe37f68950a2b.js +1 -0
  101. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  102. package/.next/static/chunks/webpack-a21f388d2a000173.js +1 -0
  103. package/.next/static/css/8aea088cdc4338f0.css +1 -0
  104. package/.next/static/css/a979e4e0673642a5.css +1 -0
  105. package/.next/static/css/c2c06e0e7e056d3e.css +1 -0
  106. package/.next/static/media/24c15609eaa28576-s.woff2 +0 -0
  107. package/.next/static/media/2c07349e02a7b712-s.woff2 +0 -0
  108. package/.next/static/media/456105d6ea6d39e0-s.woff2 +0 -0
  109. package/.next/static/media/47cbc4e2adbc5db9-s.p.woff2 +0 -0
  110. package/.next/static/media/4f77bef990aad698-s.woff2 +0 -0
  111. package/.next/static/media/627d916fd739a539-s.woff2 +0 -0
  112. package/.next/static/media/63b255f18bea0ca9-s.woff2 +0 -0
  113. package/.next/static/media/70bd82ac89b4fa42-s.woff2 +0 -0
  114. package/.next/static/media/84602850c8fd81c3-s.woff2 +0 -0
  115. package/.next/static/mgA6xTBePiCXP1IVRWWME/_buildManifest.js +1 -0
  116. package/.next/static/mgA6xTBePiCXP1IVRWWME/_ssgManifest.js +1 -0
  117. package/.next/trace +44 -0
  118. package/.next/types/app/backlog/page.ts +84 -0
  119. package/.next/types/app/docs/page.ts +84 -0
  120. package/.next/types/app/layout.ts +84 -0
  121. package/.next/types/app/page.ts +84 -0
  122. package/.next/types/app/settings/page.ts +84 -0
  123. package/.next/types/cache-life.d.ts +141 -0
  124. package/.next/types/package.json +1 -0
  125. package/CHANGELOG.md +17 -0
  126. package/next-env.d.ts +5 -0
  127. package/out/404.html +1 -0
  128. package/out/_next/static/chunks/140.d5e67b269d70c096.js +1 -0
  129. package/out/_next/static/chunks/142.82cd6bec804102b9.js +1 -0
  130. package/out/_next/static/chunks/18.1e768729d24d723d.js +1 -0
  131. package/out/_next/static/chunks/188.27288b5094867f29.js +1 -0
  132. package/out/_next/static/chunks/273-95c2836f1a6dfb23.js +1 -0
  133. package/out/_next/static/chunks/855-a193e1d785e334cf.js +2 -0
  134. package/out/_next/static/chunks/87c73c54-18883d7ce69be0ce.js +1 -0
  135. package/out/_next/static/chunks/892-70ddfae0f8c9ee9f.js +1 -0
  136. package/out/_next/static/chunks/954-73b5906ca7819e42.js +1 -0
  137. package/out/_next/static/chunks/972-efb0c31aeb3e1619.js +1 -0
  138. package/out/_next/static/chunks/app/_not-found/page-3884acf5e0397003.js +1 -0
  139. package/out/_next/static/chunks/app/backlog/page-ade60a21a3597509.js +1 -0
  140. package/out/_next/static/chunks/app/docs/page-5f69fffac832d77c.js +1 -0
  141. package/out/_next/static/chunks/app/layout-a0acefd9b75ec3b8.js +1 -0
  142. package/out/_next/static/chunks/app/page-cb3aec9c8077eab1.js +1 -0
  143. package/out/_next/static/chunks/app/settings/page-82693b6134aafc85.js +1 -0
  144. package/out/_next/static/chunks/framework-fdd4ff226e9057cd.js +1 -0
  145. package/out/_next/static/chunks/main-39090d49dd3cd8c7.js +1 -0
  146. package/out/_next/static/chunks/main-app-bb0a6e7769aa4668.js +1 -0
  147. package/out/_next/static/chunks/pages/_app-3e3e3e64529ea027.js +1 -0
  148. package/out/_next/static/chunks/pages/_error-8cfbe37f68950a2b.js +1 -0
  149. package/out/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  150. package/out/_next/static/chunks/webpack-a21f388d2a000173.js +1 -0
  151. package/out/_next/static/css/8aea088cdc4338f0.css +1 -0
  152. package/out/_next/static/css/a979e4e0673642a5.css +1 -0
  153. package/out/_next/static/css/c2c06e0e7e056d3e.css +1 -0
  154. package/out/_next/static/media/24c15609eaa28576-s.woff2 +0 -0
  155. package/out/_next/static/media/2c07349e02a7b712-s.woff2 +0 -0
  156. package/out/_next/static/media/456105d6ea6d39e0-s.woff2 +0 -0
  157. package/out/_next/static/media/47cbc4e2adbc5db9-s.p.woff2 +0 -0
  158. package/out/_next/static/media/4f77bef990aad698-s.woff2 +0 -0
  159. package/out/_next/static/media/627d916fd739a539-s.woff2 +0 -0
  160. package/out/_next/static/media/63b255f18bea0ca9-s.woff2 +0 -0
  161. package/out/_next/static/media/70bd82ac89b4fa42-s.woff2 +0 -0
  162. package/out/_next/static/media/84602850c8fd81c3-s.woff2 +0 -0
  163. package/out/_next/static/mgA6xTBePiCXP1IVRWWME/_buildManifest.js +1 -0
  164. package/out/_next/static/mgA6xTBePiCXP1IVRWWME/_ssgManifest.js +1 -0
  165. package/out/backlog.html +1 -0
  166. package/out/backlog.txt +21 -0
  167. package/out/docs.html +1 -0
  168. package/out/docs.txt +22 -0
  169. package/out/index.html +1 -0
  170. package/out/index.txt +21 -0
  171. package/out/settings.html +1 -0
  172. package/out/settings.txt +21 -0
  173. package/package.json +1 -1
  174. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1 @@
1
+ {"version":1,"functions":{}}
@@ -0,0 +1 @@
1
+ self.__INTERCEPTION_ROUTE_REWRITE_MANIFEST="[]";
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],ampDevFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-a21f388d2a000173.js","static/chunks/87c73c54-18883d7ce69be0ce.js","static/chunks/855-a193e1d785e334cf.js","static/chunks/main-app-bb0a6e7769aa4668.js"],rootMainFilesTree:{},pages:{"/_app":["static/chunks/webpack-a21f388d2a000173.js","static/chunks/framework-fdd4ff226e9057cd.js","static/chunks/main-39090d49dd3cd8c7.js","static/chunks/pages/_app-3e3e3e64529ea027.js"],"/_error":["static/chunks/webpack-a21f388d2a000173.js","static/chunks/framework-fdd4ff226e9057cd.js","static/chunks/main-39090d49dd3cd8c7.js","static/chunks/pages/_error-8cfbe37f68950a2b.js"]},ampFirstPages:[]},self.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js",,"/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "middleware": {},
4
+ "functions": {},
5
+ "sortedMiddleware": []
6
+ }
@@ -0,0 +1 @@
1
+ self.__REACT_LOADABLE_MANIFEST='{"../../../node_modules/@tanstack/query-devtools/build/index.js -> ./DevtoolsComponent/WDYDFRGG.js":{"id":null,"files":[]},"../../../node_modules/@tanstack/query-devtools/build/index.js -> ./DevtoolsPanelComponent/2SSKDMRQ.js":{"id":null,"files":[]},"app/backlog/page.tsx -> @/views/Backlog":{"id":188,"files":["static/chunks/954-73b5906ca7819e42.js","static/chunks/972-efb0c31aeb3e1619.js","static/chunks/273-95c2836f1a6dfb23.js","static/chunks/18.1e768729d24d723d.js","static/chunks/142.82cd6bec804102b9.js","static/chunks/188.27288b5094867f29.js"]},"app/page.tsx -> @/views/Board":{"id":2140,"files":["static/chunks/954-73b5906ca7819e42.js","static/chunks/972-efb0c31aeb3e1619.js","static/chunks/273-95c2836f1a6dfb23.js","static/chunks/18.1e768729d24d723d.js","static/chunks/142.82cd6bec804102b9.js","static/chunks/140.d5e67b269d70c096.js"]}}';
@@ -0,0 +1 @@
1
+ self.__NEXT_FONT_MANIFEST='{"pages":{},"app":{"/home/runner/work/locusai/locusai/apps/web/src/app/layout":["static/media/47cbc4e2adbc5db9-s.p.woff2"]},"appUsingSizeAdjust":true,"pagesUsingSizeAdjust":false}';
@@ -0,0 +1 @@
1
+ {"pages":{},"app":{"/home/runner/work/locusai/locusai/apps/web/src/app/layout":["static/media/47cbc4e2adbc5db9-s.p.woff2"]},"appUsingSizeAdjust":true,"pagesUsingSizeAdjust":false}
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/47cbc4e2adbc5db9-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/8aea088cdc4338f0.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c2c06e0e7e056d3e.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-a21f388d2a000173.js"/><script src="/_next/static/chunks/87c73c54-18883d7ce69be0ce.js" async=""></script><script src="/_next/static/chunks/855-a193e1d785e334cf.js" async=""></script><script src="/_next/static/chunks/main-app-bb0a6e7769aa4668.js" async=""></script><script src="/_next/static/chunks/954-73b5906ca7819e42.js" async=""></script><script src="/_next/static/chunks/273-95c2836f1a6dfb23.js" async=""></script><script src="/_next/static/chunks/app/layout-a0acefd9b75ec3b8.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Locus | Engineering Workspace</title><meta name="description" content="Modernized task management and documentation for engineering teams."/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__className_6a21cc antialiased"><div class="flex h-screen overflow-hidden bg-background"><aside class="w-[260px] flex flex-col border-r border-border/50 bg-card/50 backdrop-blur-sm h-full"><div class="flex items-center gap-3 p-5 border-b border-border/50"><div class="bg-linear-to-br from-primary to-primary/70 text-primary-foreground p-2 rounded-xl shadow-lg shadow-primary/20"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-command"><path d="M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3"></path></svg></div><div><h2 class="text-lg font-bold tracking-tight text-foreground">Locus</h2><p class="text-[10px] text-muted-foreground font-medium">Engineering Workspace</p></div></div><div class="flex-1 p-4"><div class="text-[10px] uppercase font-bold tracking-widest text-muted-foreground/70 mb-3 px-3">Navigation</div><nav class="space-y-1"><a class="group flex items-center gap-3 px-3 py-2.5 text-sm font-medium rounded-xl transition-all text-muted-foreground hover:bg-secondary hover:text-foreground" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard group-hover:scale-110 transition-transform"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg><div class="flex-1"><span class="block">Board</span></div></a><a class="group flex items-center gap-3 px-3 py-2.5 text-sm font-medium rounded-xl transition-all text-muted-foreground hover:bg-secondary hover:text-foreground" href="/backlog"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list group-hover:scale-110 transition-transform"><path d="M3 12h.01"></path><path d="M3 18h.01"></path><path d="M3 6h.01"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M8 6h13"></path></svg><div class="flex-1"><span class="block">Backlog</span></div></a><a class="group flex items-center gap-3 px-3 py-2.5 text-sm font-medium rounded-xl transition-all text-muted-foreground hover:bg-secondary hover:text-foreground" href="/docs"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-text group-hover:scale-110 transition-transform"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"></path><path d="M14 2v4a2 2 0 0 0 2 2h4"></path><path d="M10 9H8"></path><path d="M16 13H8"></path><path d="M16 17H8"></path></svg><div class="flex-1"><span class="block">Library</span></div></a></nav></div><div class="p-4 border-t border-border/50"><a class="flex items-center gap-3 w-full px-3 py-2.5 text-sm font-medium rounded-xl transition-all text-muted-foreground hover:bg-secondary/60 hover:text-foreground" href="/settings"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg><span>Settings</span></a></div></aside><main class="flex-1 overflow-auto bg-background p-8"><div class="max-w-[1440px] mx-auto"><header class="flex items-center mb-6 py-3"><div class="relative flex-1 max-w-md group"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-search absolute left-3.5 top-1/2 -translate-y-1/2 text-muted-foreground group-focus-within:text-primary transition-colors"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg><input type="text" placeholder="Search tasks, docs... (⌘K)" class="w-full bg-secondary/40 border border-border/50 rounded-lg pl-10 pr-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/70 outline-none transition-all focus:border-primary/50 focus:ring-2 focus:ring-primary/20 focus:bg-background hover:bg-secondary/60"/></div></header><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div></div></main></div><script src="/_next/static/chunks/webpack-a21f388d2a000173.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[3619,[\"954\",\"static/chunks/954-73b5906ca7819e42.js\",\"273\",\"static/chunks/273-95c2836f1a6dfb23.js\",\"177\",\"static/chunks/app/layout-a0acefd9b75ec3b8.js\"],\"Providers\"]\n3:I[4211,[\"954\",\"static/chunks/954-73b5906ca7819e42.js\",\"273\",\"static/chunks/273-95c2836f1a6dfb23.js\",\"177\",\"static/chunks/app/layout-a0acefd9b75ec3b8.js\"],\"Sidebar\"]\n4:I[8714,[\"954\",\"static/chunks/954-73b5906ca7819e42.js\",\"273\",\"static/chunks/273-95c2836f1a6dfb23.js\",\"177\",\"static/chunks/app/layout-a0acefd9b75ec3b8.js\"],\"Header\"]\n5:I[9507,[],\"\"]\n6:I[2639,[],\"\"]\n7:I[1432,[],\"OutletBoundary\"]\n9:I[1432,[],\"MetadataBoundary\"]\nb:I[1432,[],\"ViewportBoundary\"]\nd:I[9398,[],\"\"]\n:HL[\"/_next/static/media/47cbc4e2adbc5db9-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/8aea088cdc4338f0.css\",\"style\"]\n:HL[\"/_next/static/css/c2c06e0e7e056d3e.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"mgA6xTBePiCXP1IVRWWME\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8aea088cdc4338f0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c2c06e0e7e056d3e.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_6a21cc antialiased\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-screen overflow-hidden bg-background\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"main\",null,{\"className\":\"flex-1 overflow-auto bg-background p-8\",\"children\":[\"$\",\"div\",null,{\"className\":\"max-w-[1440px] mx-auto\",\"children\":[[\"$\",\"$L4\",null,{}],[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[],[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:props:children:1:props:children:props:children:1:props:notFound:1:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:props:children:1:props:children:props:children:1:props:notFound:1:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:props:children:1:props:children:props:children:1:props:notFound:1:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:props:children:1:props:children:props:children:1:props:notFound:1:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$1\",\"8V3ZDiNmdnEshdpnhFeDT\",{\"children\":[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\na:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"1\",{\"children\":\"Locus | Engineering Workspace\"}],[\"$\",\"meta\",\"2\",{\"name\":\"description\",\"content\":\"Modernized task management and documentation for engineering teams.\"}]]\n"])</script><script>self.__next_f.push([1,"8:null\n"])</script></body></html>
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-a21f388d2a000173.js" defer=""></script><script src="/_next/static/chunks/framework-fdd4ff226e9057cd.js" defer=""></script><script src="/_next/static/chunks/main-39090d49dd3cd8c7.js" defer=""></script><script src="/_next/static/chunks/pages/_app-3e3e3e64529ea027.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8cfbe37f68950a2b.js" defer=""></script><script src="/_next/static/mgA6xTBePiCXP1IVRWWME/_buildManifest.js" defer=""></script><script src="/_next/static/mgA6xTBePiCXP1IVRWWME/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"mgA6xTBePiCXP1IVRWWME","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1 @@
1
+ "use strict";(()=>{var e={};e.id=636,e.ids=[636],e.modules={7519:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(8678),o=r(8732),i=n._(r(2015)),u=r(6781);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,u.loadGetInitialProps)(t,r)}}class a extends i.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}a.origGetInitialProps=s,a.getInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6781:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return P},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return a},getLocationOrigin:function(){return u},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return l},stringifyError:function(){return x}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=u();return e.substring(t.length)}function a(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function l(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n)throw Error('"'+a(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.');return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class P extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},2015:e=>{e.exports=require("react")},8732:e=>{e.exports=require("react/jsx-runtime")},8678:(e,t)=>{t._=function(e){return e&&e.__esModule?e:{default:e}}}};var t=require("../webpack-runtime.js");t.C(e);var r=t(t.s=7519);module.exports=r})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/pages/_app.js","../../package.json","../webpack-runtime.js"]}
@@ -0,0 +1 @@
1
+ "use strict";(()=>{var e={};e.id=220,e.ids=[220],e.modules={361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},2015:e=>{e.exports=require("react")},8732:e=>{e.exports=require("react/jsx-runtime")},3873:e=>{e.exports=require("path")}};var r=require("../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[295],()=>s(2295));module.exports=t})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/pages/_document.js","../../package.json","../chunks/295.js","../webpack-runtime.js"]}
@@ -0,0 +1 @@
1
+ "use strict";(()=>{var e={};e.id=731,e.ids=[220,731],e.modules={5070:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},6742:(e,t,r)=>{r.r(t),r.d(t,{config:()=>h,default:()=>p,getServerSideProps:()=>g,getStaticPaths:()=>f,getStaticProps:()=>c,reportWebVitals:()=>y,routeModule:()=>x,unstable_getServerProps:()=>P,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>m,unstable_getStaticPaths:()=>_,unstable_getStaticProps:()=>b});var n=r(1350),o=r(6422),a=r(5070),l=r(2295),i=r.n(l),u=r(7519),s=r.n(u),d=r(7590);let p=(0,a.M)(d,"default"),c=(0,a.M)(d,"getStaticProps"),f=(0,a.M)(d,"getStaticPaths"),g=(0,a.M)(d,"getServerSideProps"),h=(0,a.M)(d,"config"),y=(0,a.M)(d,"reportWebVitals"),b=(0,a.M)(d,"unstable_getStaticProps"),_=(0,a.M)(d,"unstable_getStaticPaths"),m=(0,a.M)(d,"unstable_getStaticParams"),P=(0,a.M)(d,"unstable_getServerProps"),v=(0,a.M)(d,"unstable_getServerSideProps"),x=new n.PagesRouteModule({definition:{kind:o.A.PAGES,page:"/_error",pathname:"/_error",bundlePath:"",filename:""},components:{App:s(),Document:i()},userland:d})},7519:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(8678),o=r(8732),a=n._(r(2015)),l=r(6781);async function i(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,l.loadGetInitialProps)(t,r)}}class u extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}u.origGetInitialProps=i,u.getInitialProps=i,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7590:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(8678),o=r(8732),a=n._(r(2015)),l=n._(r(3996)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function u(e){let{res:t,err:r}=e;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(l.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=u,d.origGetInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7120:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},3996:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return h},defaultHead:function(){return p}});let n=r(8678),o=r(9817),a=r(8732),l=o._(r(2015)),i=n._(r(7875)),u=r(3772),s=r(1103),d=r(7120);function p(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(5888);let f=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:r}=t;return e.reduce(c,[]).reverse().concat(p(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,l=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){l=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e<t;e++){let t=f[e];if(o.props.hasOwnProperty(t)){if("charSet"===t)r.has(t)?a=!1:r.add(t);else{let e=o.props[t],r=n[t]||new Set;("name"!==t||!l)&&r.has(e)?a=!1:(r.add(e),n[t]=r)}}}}return a}}()).reverse().map((e,t)=>{let n=e.key||t;if(process.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,r=(0,l.useContext)(u.AmpStateContext),n=(0,l.useContext)(s.HeadManagerContext);return(0,a.jsx)(i.default,{reduceComponentsToState:g,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7875:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(2015),o=()=>{},a=()=>{};function l(e){var t;let{headManager:r,reduceComponentsToState:l}=e;function i(){if(r&&r.mountedInstances){let t=n.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(l(t,e))}}return null==r||null==(t=r.mountedInstances)||t.add(e.children),i(),o(()=>{var t;return null==r||null==(t=r.mountedInstances)||t.add(e.children),()=>{var t;null==r||null==(t=r.mountedInstances)||t.delete(e.children)}}),o(()=>(r&&(r._pendingUpdate=i),()=>{r&&(r._pendingUpdate=i)})),a(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}},5888:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},6422:(e,t)=>{Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}});var r=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE",e}({})},3772:(e,t,r)=>{e.exports=r(1350).vendored.contexts.AmpContext},1103:(e,t,r)=>{e.exports=r(1350).vendored.contexts.HeadManagerContext},361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},2015:e=>{e.exports=require("react")},8732:e=>{e.exports=require("react/jsx-runtime")},3873:e=>{e.exports=require("path")},9817:(e,t)=>{function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}t._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=a?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(o,l,i):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o}}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[295],()=>r(6742));module.exports=n})();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../../package.json","../chunks/295.js","../webpack-runtime.js"]}
@@ -0,0 +1 @@
1
+ {"/_app":"pages/_app.js","/_error":"pages/_error.js","/_document":"pages/_document.js","/404":"pages/404.html"}
@@ -0,0 +1 @@
1
+ self.__RSC_SERVER_MANIFEST="{\"node\":{},\"edge\":{},\"encryptionKey\":\"process.env.NEXT_SERVER_ACTIONS_ENCRYPTION_KEY\"}"
@@ -0,0 +1 @@
1
+ {"node":{},"edge":{},"encryptionKey":"U3RQVFERoxH5h2qoMj7g40TD9Pc2tB/DdFKcjpYezXM="}
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}},u=!0;try{e[o].call(a.exports,a,a.exports,t),u=!1}finally{u&&delete r[o]}return a.exports}t.m=e,t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);t.r(a);var u={};e=e||[null,r({}),r([]),r(r)];for(var f=2&n&&o;"object"==typeof f&&!~e.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach(e=>u[e]=()=>o[e]);return u.default=()=>o,t.d(a,u),a}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".js",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.X=(e,r,o)=>{var n=r;o||(r=e,o=()=>t(t.s=n)),r.map(t.e,t);var a=o();return void 0===a?e:a},(()=>{var e={311:1},r=r=>{var o=r.modules,n=r.ids,a=r.runtime;for(var u in o)t.o(o,u)&&(t.m[u]=o[u]);a&&a(t);for(var f=0;f<n.length;f++)e[n[f]]=1};t.f.require=(o,n)=>{e[o]||(311!=o?r(require("./chunks/"+t.u(o))):e[o]=1)},module.exports=t,t.C=r})()})();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[140],{2140:(e,t,r)=>{r.r(t),r.d(t,{Board:()=>j});var s=r(4568),a=r(9766),n=r(9857),l=r(4028),o=r(9880),i=r(8151),d=r(3311),c=r(7620),u=r(9453),x=r(9456),m=r(1313),p=r(142),f=r(1706),g=r(8367),h=r(5595),b=r(1449),v=r(2393);let y=[a.e1.BACKLOG,a.e1.IN_PROGRESS,a.e1.REVIEW,a.e1.VERIFICATION,a.e1.DONE,a.e1.BLOCKED],k={[a.e1.BACKLOG]:{label:"Backlog",color:"var(--status-backlog)",indicator:"bg-slate-500"},[a.e1.IN_PROGRESS]:{label:"In Progress",color:"var(--status-progress)",indicator:"bg-amber-500"},[a.e1.REVIEW]:{label:"Review",color:"var(--status-review)",indicator:"bg-purple-500"},[a.e1.VERIFICATION]:{label:"Verification",color:"var(--accent)",indicator:"bg-cyan-500"},[a.e1.DONE]:{label:"Done",color:"var(--status-done)",indicator:"bg-emerald-500"},[a.e1.BLOCKED]:{label:"Blocked",color:"var(--status-blocked)",indicator:"bg-rose-500"}};function j(){let e=(0,d.useRouter)(),{searchQuery:t,setSearchQuery:r,priorityFilter:j,setPriorityFilter:N,assigneeFilter:L,setAssigneeFilter:C,hasActiveFilters:A,clearFilters:w,getTasksByStatus:E,updateTaskStatus:I,deleteTask:S,refreshTasks:D}=function(){let e=(0,g.jE)(),{data:t=[],isLoading:r,error:s,refetch:a}=(0,n.I)({queryKey:["tasks"],queryFn:()=>b.pv.getAll(),refetchInterval:15e3}),l=s?s.message:null,[o,i]=(0,c.useState)(""),[d,u]=(0,c.useState)("ALL"),[x,m]=(0,c.useState)("ALL"),p=(0,c.useMemo)(()=>""!==o||"ALL"!==d||"ALL"!==x,[o,d,x]),f=(0,h.n)({mutationFn:e=>{let{taskId:t,status:r}=e;return b.pv.update(t,{status:r})},onSuccess:()=>{e.invalidateQueries({queryKey:["tasks"]})}}),v=(0,h.n)({mutationFn:e=>b.pv.delete(e),onSuccess:()=>{e.invalidateQueries({queryKey:["tasks"]})}}),y=(0,c.useCallback)(()=>{i(""),u("ALL"),m("ALL")},[]),k=(0,c.useMemo)(()=>t.filter(e=>{if(o){let t=o.toLowerCase();if(!e.title.toLowerCase().includes(t))return!1}return("ALL"===d||e.priority===d)&&("ALL"===x||e.assigneeRole===x)}),[t,o,d,x]);return{tasks:t,loading:r,error:l,searchQuery:o,setSearchQuery:i,priorityFilter:d,setPriorityFilter:u,assigneeFilter:x,setAssigneeFilter:m,hasActiveFilters:p,clearFilters:y,getTasksByStatus:(0,c.useCallback)(e=>k.filter(t=>t.status===e),[k]),updateTaskStatus:(0,c.useCallback)(async(e,t)=>{await f.mutateAsync({taskId:e,status:t})},[f]),deleteTask:(0,c.useCallback)(async e=>{await v.mutateAsync(e)},[v]),refreshTasks:a}}(),{data:O=[]}=(0,n.I)({queryKey:["sprints"],queryFn:b.KS.getAll}),B=O.find(e=>e.status===a.J3.ACTIVE),[K,T]=(0,c.useState)(!1),[R,F]=(0,c.useState)(a.e1.BACKLOG),[V,G]=(0,c.useState)(null),[q,M]=(0,c.useState)(null),_=(0,c.useCallback)(e=>{F(e),T(!0)},[]);(0,c.useEffect)(()=>{let e=e=>{if(!(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)){if(("n"===e.key||"N"===e.key)&&(e.preventDefault(),_(a.e1.BACKLOG)),"/"===e.key&&!e.metaKey&&!e.ctrlKey){e.preventDefault();let t=document.querySelector(".search-input");null==t||t.focus()}"Escape"===e.key&&V&&G(null)}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[V,_]);let H=async(e,t)=>{t.preventDefault(),M(null);let r=t.dataTransfer.getData("taskId");r&&await I(Number(r),e)},P=(e,t)=>{t.preventDefault(),t.dataTransfer.dropEffect="move",M(e)},W=()=>{M(null)};return B?(0,s.jsxs)("div",{className:"flex-1 overflow-auto bg-background",children:[(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("h1",{className:"text-2xl font-bold tracking-tight text-foreground",children:B.name}),(0,s.jsx)("span",{className:"px-2 py-0.5 rounded-full bg-primary/10 text-primary text-[10px] font-black uppercase tracking-wider",children:"Active"})]}),(0,s.jsxs)("p",{className:"text-muted-foreground text-sm mt-1 flex items-center gap-3",children:["Track and manage engineering tasks",(0,s.jsxs)("span",{className:"hidden md:inline-flex items-center gap-1.5 px-2 py-0.5 rounded-md bg-secondary/60 text-[10px] font-semibold text-muted-foreground",children:[(0,s.jsx)("kbd",{className:"bg-background/80 px-1.5 py-0.5 rounded text-[9px] font-bold border",children:"N"}),"New task"]})]})]}),(0,s.jsxs)(f.$,{onClick:()=>_(a.e1.BACKLOG),className:"shadow-lg shadow-primary/20",children:[(0,s.jsx)(o.A,{size:16,className:"mr-1.5"}),"New Task"]})]})}),(0,s.jsx)(u.J,{searchQuery:t,onSearchChange:r,priorityFilter:j,onPriorityChange:N,assigneeFilter:L,onAssigneeChange:C,onClearFilters:w,hasActiveFilters:A}),(0,s.jsx)("div",{className:"flex gap-4 min-h-[600px] pb-4",children:y.map(e=>{let t=E(e).filter(e=>e.sprintId===B.id),r=q===e;return(0,s.jsxs)("div",{className:(0,v.cn)("flex flex-col w-[280px] shrink-0 rounded-xl transition-all border",r?"bg-primary/5 border-primary/40 ring-1 ring-primary/20":"bg-card/50 border-border/50"),onDrop:t=>H(e,t),onDragOver:t=>P(e,t),onDragLeave:W,children:[(0,s.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border/50",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:(0,v.cn)("h-2.5 w-2.5 rounded-full",k[e].indicator)}),(0,s.jsx)("span",{className:"text-xs font-semibold text-foreground",children:k[e].label}),(0,s.jsx)("span",{className:"flex items-center justify-center h-5 min-w-[20px] px-1.5 bg-secondary/80 text-[10px] font-bold rounded-md text-muted-foreground",children:t.length})]}),(0,s.jsx)("button",{className:"p-1.5 rounded-lg hover:bg-secondary text-muted-foreground transition-colors",children:(0,s.jsx)(i.A,{size:14})})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2.5 p-2.5 flex-1 overflow-y-auto",children:[t.map(e=>(0,s.jsx)(x.y,{task:e,onClick:()=>G(e.id),onDelete:S},e.id)),(0,s.jsxs)(f.$,{variant:"ghost",className:"w-full justify-center text-xs font-medium text-muted-foreground/60 hover:text-foreground hover:bg-secondary/40 h-8 border border-dashed border-border/50 hover:border-border rounded-lg",onClick:()=>_(e),children:[(0,s.jsx)(o.A,{size:14,className:"mr-1.5"}),"Add"]})]})]},e)})}),(0,s.jsx)(m.l,{isOpen:K,onClose:()=>T(!1),onCreated:D,initialStatus:R,sprintId:null==B?void 0:B.id}),(0,s.jsx)(l.N,{children:V&&(0,s.jsx)(p.W,{taskId:V,onClose:()=>G(null),onDeleted:D,onUpdated:D},"task-panel")})]}):(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center p-8 text-center space-y-4",children:[(0,s.jsx)("div",{className:"bg-primary/5 p-4 rounded-full",children:(0,s.jsxs)("svg",{className:"w-12 h-12 text-primary/40",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,s.jsx)("title",{children:"Icon"}),(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-xl font-bold",children:"No Active Sprint"}),(0,s.jsx)("p",{className:"text-muted-foreground mt-2 max-w-sm mx-auto",children:"You need to start a sprint from the Backlog to see tasks on the board."})]}),(0,s.jsx)(f.$,{onClick:()=>e.push("/backlog"),variant:"secondary",children:"Go to Backlog"})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[142],{9453:(e,t,a)=>{a.d(t,{J:()=>c});var r=a(4568),s=a(9766),n=a(1092),o=a(3312),l=a(6007);let i=[{value:"ALL",label:"All Priorities"},{value:s.W6.LOW,label:"Low"},{value:s.W6.MEDIUM,label:"Medium"},{value:s.W6.HIGH,label:"High"},{value:s.W6.CRITICAL,label:"Critical"}],d=[{value:"ALL",label:"All Assignees"},...Object.values(s._x).map(e=>({value:e,label:e.charAt(0)+e.slice(1).toLowerCase()}))];function c(e){let{searchQuery:t,onSearchChange:a,priorityFilter:s,onPriorityChange:c,assigneeFilter:u,onAssigneeChange:x,onClearFilters:m,hasActiveFilters:p}=e;return(0,r.jsxs)("div",{className:"flex flex-wrap items-end gap-4 mb-8 bg-card p-4 rounded-xl border shadow-sm",children:[(0,r.jsx)("div",{className:"flex-1 min-w-[300px]",children:(0,r.jsx)(l.pd,{value:t,onChange:e=>a(e.target.value),placeholder:"Filter by title or ID...",className:"search-input h-10",icon:(0,r.jsx)(n.A,{size:16}),rightElement:t?(0,r.jsx)("button",{className:"hover:text-destructive transition-colors",onClick:()=>a(""),children:(0,r.jsx)(o.A,{size:14})}):void 0})}),(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)("div",{className:"w-[180px]",children:(0,r.jsx)(l.ms,{label:"Priority Filter",value:s,onChange:c,options:i})}),(0,r.jsx)("div",{className:"w-[180px]",children:(0,r.jsx)(l.ms,{label:"Assignee Filter",value:u,onChange:x,options:d})})]}),p&&(0,r.jsxs)(l.$n,{variant:"ghost",size:"sm",className:"text-muted-foreground hover:text-destructive h-10 px-4",onClick:m,children:[(0,r.jsx)(o.A,{size:14,className:"mr-2"}),"Clear All"]})]})}},8714:(e,t,a)=>{a.d(t,{Header:()=>n});var r=a(4568),s=a(1092);function n(){return(0,r.jsx)("header",{className:"flex items-center mb-6 py-3",children:(0,r.jsxs)("div",{className:"relative flex-1 max-w-md group",children:[(0,r.jsx)(s.A,{size:16,className:"absolute left-3.5 top-1/2 -translate-y-1/2 text-muted-foreground group-focus-within:text-primary transition-colors"}),(0,r.jsx)("input",{type:"text",placeholder:"Search tasks, docs... (⌘K)",className:"w-full bg-secondary/40 border border-border/50 rounded-lg pl-10 pr-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground/70 outline-none transition-all focus:border-primary/50 focus:ring-2 focus:ring-primary/20 focus:bg-background hover:bg-secondary/60"})]})})}},4211:(e,t,a)=>{a.d(t,{Sidebar:()=>p});var r=a(4568),s=a(8660),n=a(1232),o=a(3978),l=a(7937),i=a(5004),d=a(2909),c=a(5770),u=a.n(c),x=a(3311),m=a(2393);function p(){let e=(0,x.usePathname)(),t=[{href:"/",label:"Board",icon:s.A,description:"Manage tasks"},{href:"/backlog",label:"Backlog",icon:n.A,description:"Manage backlog items"},{href:"/docs",label:"Library",icon:o.A,description:"Documents"}];return(0,r.jsxs)("aside",{className:"w-[260px] flex flex-col border-r border-border/50 bg-card/50 backdrop-blur-sm h-full",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 p-5 border-b border-border/50",children:[(0,r.jsx)("div",{className:"bg-linear-to-br from-primary to-primary/70 text-primary-foreground p-2 rounded-xl shadow-lg shadow-primary/20",children:(0,r.jsx)(l.A,{size:20})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-lg font-bold tracking-tight text-foreground",children:"Locus"}),(0,r.jsx)("p",{className:"text-[10px] text-muted-foreground font-medium",children:"Engineering Workspace"})]})]}),(0,r.jsxs)("div",{className:"flex-1 p-4",children:[(0,r.jsx)("div",{className:"text-[10px] uppercase font-bold tracking-widest text-muted-foreground/70 mb-3 px-3",children:"Navigation"}),(0,r.jsx)("nav",{className:"space-y-1",children:t.map(t=>{let a=t.icon,s=e===t.href;return(0,r.jsxs)(u(),{href:t.href,className:(0,m.cn)("group flex items-center gap-3 px-3 py-2.5 text-sm font-medium rounded-xl transition-all",s?"bg-primary text-primary-foreground shadow-md shadow-primary/20":"text-muted-foreground hover:bg-secondary hover:text-foreground"),children:[(0,r.jsx)(a,{size:18,className:s?"":"group-hover:scale-110 transition-transform"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("span",{className:"block",children:t.label})}),s&&(0,r.jsx)(i.A,{size:14,className:"opacity-70"})]},t.href)})})]}),(0,r.jsx)("div",{className:"p-4 border-t border-border/50",children:(0,r.jsxs)(u(),{href:"/settings",className:(0,m.cn)("flex items-center gap-3 w-full px-3 py-2.5 text-sm font-medium rounded-xl transition-all","/settings"===e?"bg-secondary text-foreground":"text-muted-foreground hover:bg-secondary/60 hover:text-foreground"),children:[(0,r.jsx)(d.A,{size:18}),(0,r.jsx)("span",{children:"Settings"})]})})]})}},9456:(e,t,a)=>{a.d(t,{y:()=>m});var r=a(4568),s=a(9766),n=a(8183),o=a(2148),l=a(1602),i=a(8151),d=a(5677),c=a(7620),u=a(2393);let x={[s.W6.LOW]:"var(--text-muted)",[s.W6.MEDIUM]:"#38bdf8",[s.W6.HIGH]:"#f59e0b",[s.W6.CRITICAL]:"#ef4444"};function m(e){let{task:t,onClick:a,onDelete:m,isDragging:p}=e,[h,b]=(0,c.useState)(!1),g=(0,c.useRef)(null);(0,c.useEffect)(()=>{let e=e=>{g.current&&!g.current.contains(e.target)&&b(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let f=t.lockedBy&&(!t.lockExpiresAt||t.lockExpiresAt>Date.now()),v=t.priority||s.W6.MEDIUM;return(0,r.jsxs)("div",{className:(0,u.cn)("group relative bg-card border rounded-xl overflow-hidden shadow-sm transition-all hover:shadow-md hover:border-muted-foreground/20 cursor-pointer",p&&"opacity-50 scale-95 rotate-1 shadow-lg"),draggable:!0,onDragStart:e=>{e.dataTransfer.setData("taskId",String(t.id)),e.dataTransfer.effectAllowed="move"},children:[(0,r.jsxs)("div",{className:"p-4",onClick:a,children:[(0,r.jsxs)("div",{className:"flex items-start gap-2 mb-3",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center gap-1.5 pt-1",children:[(0,r.jsx)("span",{className:"h-2 w-2 rounded-full shrink-0",style:{background:x[v]},title:"Priority: ".concat(v)}),f&&(0,r.jsx)("span",{title:"Locked by ".concat(t.lockedBy),children:(0,r.jsx)(n.A,{size:12,className:"text-muted-foreground"})})]}),(0,r.jsx)("h4",{className:"text-[14px] font-semibold leading-tight text-foreground flex-1",children:t.title})]}),t.labels.length>0&&(0,r.jsxs)("div",{className:"flex flex-wrap gap-1.5 mb-4",children:[t.labels.slice(0,3).map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 px-1.5 py-0.5 rounded-sm bg-secondary text-[10px] font-bold uppercase tracking-wider text-muted-foreground",children:[(0,r.jsx)(o.A,{size:10})," ",e]},e)),t.labels.length>3&&(0,r.jsxs)("span",{className:"px-1.5 py-0.5 rounded-sm bg-secondary text-[10px] font-bold text-muted-foreground",children:["+",t.labels.length-3]})]}),(0,r.jsxs)("div",{className:"flex justify-between items-center pt-2 border-t mt-auto",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 text-[11px] font-medium text-muted-foreground",children:[(0,r.jsx)(l.A,{size:12}),(0,r.jsx)("span",{children:new Date(t.createdAt).toLocaleDateString()})]}),t.assigneeRole&&(0,r.jsx)("div",{className:"h-6 w-6 rounded-full bg-primary text-primary-foreground text-[10px] font-bold flex items-center justify-center border shadow-sm",children:t.assigneeRole.charAt(0).toUpperCase()})]})]}),(0,r.jsxs)("div",{className:"absolute top-2 right-2",ref:g,children:[(0,r.jsx)("button",{className:"p-1 rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-secondary hover:text-foreground transition-all",onClick:e=>{e.stopPropagation(),b(!h)},children:(0,r.jsx)(i.A,{size:14})}),h&&(0,r.jsx)("div",{className:"absolute top-full right-0 mt-1 w-32 bg-popover border rounded-md p-1 shadow-lg z-50 animate-in fade-in slide-in-from-top-1 duration-200",children:(0,r.jsxs)("button",{className:"flex items-center gap-2 w-full px-2 py-1.5 text-xs font-medium text-destructive rounded-sm hover:bg-destructive/10 transition-colors",onClick:e=>{e.stopPropagation(),confirm("Are you sure you want to delete this task?")&&m(t.id),b(!1)},children:[(0,r.jsx)(d.A,{size:14}),"Delete"]})})]})]})}},1313:(e,t,a)=>{a.d(t,{l:()=>m});var r=a(4568),s=a(9766),n=a(3312),o=a(9880),l=a(7620),i=a(6007),d=a(1449);let c=Object.values(s.e1).map(e=>({value:e,label:e.replace(/_/g," "),color:({[s.e1.BACKLOG]:"#64748b",[s.e1.IN_PROGRESS]:"#f59e0b",[s.e1.REVIEW]:"#a855f7",[s.e1.VERIFICATION]:"#38bdf8",[s.e1.DONE]:"#10b981",[s.e1.BLOCKED]:"#ef4444"})[e]})),u=[{value:s.W6.LOW,label:"Low",color:"var(--text-muted)"},{value:s.W6.MEDIUM,label:"Medium",color:"#38bdf8"},{value:s.W6.HIGH,label:"High",color:"#f59e0b"},{value:s.W6.CRITICAL,label:"Critical",color:"#ef4444"}],x=Object.values(s._x).map(e=>({value:e,label:e.charAt(0)+e.slice(1).toLowerCase()}));function m(e){let{isOpen:t,onClose:a,onCreated:m,initialStatus:p=s.e1.BACKLOG,sprintId:h=null}=e,[b,g]=(0,l.useState)(""),[f,v]=(0,l.useState)(""),[j,y]=(0,l.useState)(p),[N,k]=(0,l.useState)(s.W6.MEDIUM),[w,A]=(0,l.useState)(),[C,E]=(0,l.useState)([]),[D,I]=(0,l.useState)(""),[S,T]=(0,l.useState)(!1),z=()=>{g(""),v(""),y(p),k(s.W6.MEDIUM),A(void 0),E([]),I("")},L=()=>{z(),a()},R=()=>{let e=D.trim();e&&!C.includes(e)&&(E([...C,e]),I(""))},O=e=>{E(C.filter(t=>t!==e))},M=async e=>{if(e.preventDefault(),b.trim()){T(!0);try{await d.pv.create({title:b.trim(),description:f,status:j,priority:N,labels:C,assigneeRole:w,sprintId:h}),L(),m()}catch(e){console.error("Failed to create task:",e)}finally{T(!1)}}};return(0,r.jsx)(i.aF,{isOpen:t,onClose:L,title:"Create New Task",size:"lg",children:(0,r.jsxs)("form",{onSubmit:M,className:"space-y-8 py-2",children:[(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("label",{className:"text-[10px] font-bold uppercase tracking-widest text-muted-foreground ml-1",children:["Task Title ",(0,r.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,r.jsx)(i.pd,{value:b,onChange:e=>g(e.target.value),placeholder:"e.g. Implement authentication flow",autoFocus:!0,className:"text-lg font-medium h-12"})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("label",{className:"text-[10px] font-bold uppercase tracking-widest text-muted-foreground ml-1",children:"Description"}),(0,r.jsx)(i.TM,{value:f,onChange:e=>v(e.target.value),placeholder:"Provide context for this task...",rows:5,className:"resize-none"})]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[(0,r.jsx)(i.ms,{label:"Initial Status",value:j,onChange:y,options:c}),(0,r.jsx)(i.ms,{label:"Priority Level",value:N,onChange:k,options:u}),(0,r.jsx)(i.ms,{label:"Primary Assignee",value:w,onChange:A,options:x,placeholder:"Unassigned"})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("label",{className:"text-[10px] font-bold uppercase tracking-widest text-muted-foreground ml-1",children:"Task Labels"}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-2 min-h-[32px]",children:[0===C.length&&(0,r.jsx)("span",{className:"text-xs text-muted-foreground/50 italic py-1",children:"No labels added..."}),C.map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-secondary text-secondary-foreground text-[11px] font-semibold border shadow-sm transition-all hover:bg-secondary/80 translate-y-0 hover:-translate-y-0.5",children:[e,(0,r.jsx)("button",{type:"button",onClick:()=>O(e),className:"text-muted-foreground hover:text-destructive transition-colors shrink-0",children:(0,r.jsx)(n.A,{size:12})})]},e))]}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(i.pd,{value:D,onChange:e=>I(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),R())},placeholder:"Add labels (e.g. Bug, Feature)...",className:"flex-1 h-10"}),(0,r.jsx)(i.$n,{type:"button",onClick:R,variant:"secondary",size:"icon",disabled:!D.trim(),className:"h-10 w-10 shrink-0",children:(0,r.jsx)(o.A,{size:18})})]})]}),(0,r.jsxs)("div",{className:"flex justify-end gap-3 pt-6 border-t mt-4",children:[(0,r.jsx)(i.$n,{type:"button",onClick:L,variant:"ghost",className:"px-6",children:"Discard"}),(0,r.jsx)(i.$n,{type:"submit",disabled:!b.trim()||S,className:"px-8 shadow-lg shadow-primary/10",children:S?"Creating...":"Create Task"})]})]})})}},142:(e,t,a)=>{a.d(t,{W:()=>I});var r=a(4568),s=a(9766),n=a(5702),o=a(4619),l=a(934),i=a(5004),d=a(4212),c=a(4593),u=a(8183),x=a(6790),m=a(5677),p=a(6101),h=a(3978),b=a(3312),g=a(7929),f=a(2148),v=a(5138),j=a(7620);a(9453),a(8714);var y=a(6892),N=a(1455),k=a(1706),w=a(3769),A=a(8970);function C(e){let{label:t,value:a,onEdit:s,options:n,type:o="text"}=e,[l,i]=(0,j.useState)(!1),[d,c]=(0,j.useState)(String(a));return(0,r.jsxs)("div",{className:"flex flex-col gap-1.5 py-3 first:pt-0 last:pb-0",children:[(0,r.jsx)("span",{className:"text-[10px] items-center font-bold uppercase tracking-widest text-muted-foreground",children:t}),(0,r.jsx)("div",{className:"relative group min-h-[32px] flex items-center",children:l?(0,r.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,r.jsx)("div",{className:"flex-1",children:"dropdown"===o&&n?(0,r.jsx)(w.m,{value:d,options:n.map(e=>({value:e,label:e})),onChange:e=>c(e)}):(0,r.jsx)(A.p,{type:o,value:d,onChange:e=>c(e.target.value),autoFocus:!0,className:"h-8 py-1"})}),(0,r.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[(0,r.jsx)(k.$,{size:"icon",variant:"ghost",className:"h-8 w-8",onClick:()=>{s(d),i(!1)},children:(0,r.jsx)(y.A,{size:14})}),(0,r.jsx)(k.$,{size:"icon",variant:"ghost",className:"h-8 w-8",onClick:()=>{c(String(a)),i(!1)},children:(0,r.jsx)(b.A,{size:14})})]})]}):(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 w-full cursor-pointer hover:bg-secondary/50 px-2 -mx-2 py-1 rounded-md transition-colors",onClick:()=>i(!0),children:[(0,r.jsx)("span",{className:"text-sm font-medium text-foreground truncate",children:a||"None"}),(0,r.jsx)(N.A,{size:12,className:"text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity shrink-0"})]})})]})}a(4211),a(9456),a(1313);var E=a(6007),D=a(1449);function I(e){let t,{taskId:a,onClose:y,onDeleted:N,onUpdated:k}=e,[w,A]=(0,j.useState)(null),[I,S]=(0,j.useState)(!1),[T,z]=(0,j.useState)(""),[L,R]=(0,j.useState)(""),[O,M]=(0,j.useState)(""),[_,B]=(0,j.useState)(""),[P,K]=(0,j.useState)("preview"),[W,F]=(0,j.useState)(!1),[U,G]=(0,j.useState)(""),Y=(0,j.useCallback)(async()=>{try{let e=await D.pv.getById(a),t={...e,acceptanceChecklist:e.acceptanceChecklist||[],artifacts:e.artifacts||[],activityLog:e.activityLog||[],comments:e.comments||[]};A(t),z(e.title),R(e.description||"")}catch(e){console.error("Failed to fetch task:",e)}},[a]);(0,j.useEffect)(()=>{Y()},[Y]);let $=async e=>{try{await D.pv.update(a,e),Y(),k()}catch(e){console.error("Failed to update task:",e)}},H=async()=>{if(confirm("Are you sure you want to delete this task? This action cannot be undone."))try{await D.pv.delete(a),N(),y()}catch(e){console.error("Failed to delete task:",e)}},V=()=>{T.trim()&&T!==(null==w?void 0:w.title)&&$({title:T.trim()}),S(!1)},q=()=>{if(!_.trim()||!w)return;let e={id:crypto.randomUUID(),text:_.trim(),done:!1};$({acceptanceChecklist:[...w.acceptanceChecklist,e]}),B("")},Q=e=>{w&&$({acceptanceChecklist:w.acceptanceChecklist.map(t=>t.id===e?{...t,done:!t.done}:t)})},J=e=>{w&&$({acceptanceChecklist:w.acceptanceChecklist.filter(t=>t.id!==e)})},X=async()=>{if(O.trim())try{await D.pv.addComment(a,{author:"Human",text:O}),M(""),await Y()}catch(e){console.error("Failed to add comment:",e)}},Z=async e=>{try{let t=await D.pv.runCi(a,e);alert(t.summary),Y()}catch(e){console.error("Failed to run CI:",e)}},ee=async()=>{try{await D.pv.lock(a,"human",3600),Y(),k()}catch(e){console.error("Failed to lock task:",e)}},et=async()=>{try{await D.pv.unlock(a,"human"),Y(),k()}catch(e){console.error("Failed to unlock task:",e)}},ea=async()=>{if(U.trim())try{await D.pv.update(a,{status:s.e1.IN_PROGRESS}),await D.pv.addComment(a,{author:"Manager",text:"❌ **Rejected**: ".concat(U)}),F(!1),G(""),Y(),k()}catch(e){console.error("Failed to reject task:",e)}},er=async()=>{try{await D.pv.update(a,{status:s.e1.DONE}),Y(),k()}catch(e){console.error("Failed to approve task:",e)}};if(!w)return(0,r.jsx)("div",{className:"fixed top-0 right-0 bottom-0 w-[1152px] max-w-[95vw] bg-background border-l border-border z-950 flex items-center justify-center",children:(0,r.jsx)("div",{className:"text-muted-foreground animate-pulse font-medium",children:"Loading task specs..."})});let es=w.lockedBy&&(!w.lockExpiresAt||w.lockExpiresAt>Date.now()),en=w.acceptanceChecklist.length?Math.round(w.acceptanceChecklist.filter(e=>e.done).length/w.acceptanceChecklist.length*100):0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/60 backdrop-blur-sm z-940",onClick:y}),(0,r.jsxs)(l.P.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:25,stiffness:300},className:"fixed top-0 right-0 bottom-0 w-[1000px] max-w-[95vw] bg-background border-l border-border z-950 flex flex-col shadow-[-20px_0_80px_rgba(0,0,0,0.6)]",children:[(0,r.jsxs)("header",{className:"flex items-center gap-6 px-10 border-b border-border bg-card/50 backdrop-blur-md h-[84px] shrink-0",children:[(0,r.jsx)("button",{className:"p-2.5 rounded-xl text-muted-foreground hover:bg-secondary hover:text-foreground hover:scale-105 transition-all duration-200 border border-transparent hover:border-border",onClick:y,children:(0,r.jsx)(i.A,{size:20})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("span",{className:"text-[10px] font-bold uppercase tracking-[0.2em] text-muted-foreground/60 mb-1 block",children:["Reference: #",w.id]}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(E.Wh,{status:w.status}),(0,r.jsx)(E.YJ,{priority:w.priority||s.W6.MEDIUM})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(E.$n,{size:"icon",variant:"ghost",onClick:()=>Z("quick"),title:"Run Quality Checks",className:"h-10 w-10 hover:bg-primary/10 hover:text-primary transition-all rounded-xl",children:(0,r.jsx)(d.A,{size:18})}),es?(0,r.jsx)(E.$n,{size:"icon",variant:"ghost",onClick:et,title:"Unlock",className:"h-10 w-10 text-amber-500 bg-amber-500/10 hover:bg-amber-500/20 rounded-xl",children:(0,r.jsx)(c.A,{size:18})}):(0,r.jsx)(E.$n,{size:"icon",variant:"ghost",onClick:ee,title:"Lock",className:"h-10 w-10 hover:bg-primary/10 hover:text-primary rounded-xl",children:(0,r.jsx)(u.A,{size:18})}),(0,r.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),w.status===s.e1.VERIFICATION&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(E.$n,{variant:"danger",size:"sm",onClick:()=>F(!0),className:"h-10 px-4 rounded-xl",children:"Reject"}),(0,r.jsxs)(E.$n,{size:"sm",variant:"success",onClick:er,className:"h-10 px-4 rounded-xl",children:[(0,r.jsx)(x.A,{size:16,className:"mr-2"}),"Approve"]}),(0,r.jsx)("div",{className:"w-px h-6 bg-border mx-1"})]}),(0,r.jsx)(E.$n,{size:"icon",variant:"danger",onClick:H,title:"Delete",className:"h-10 w-10 hover:scale-105 active:scale-95 transition-transform rounded-xl",children:(0,r.jsx)(m.A,{size:18})})]})]}),(0,r.jsxs)("div",{className:"flex-1 grid grid-cols-[1fr_360px] overflow-hidden min-h-0",children:[(0,r.jsxs)("div",{className:"p-6 overflow-y-auto scrollbar-thin",children:[(0,r.jsx)("div",{className:"mb-6",children:I?(0,r.jsx)(E.pd,{value:T,onChange:e=>z(e.target.value),onBlur:V,onKeyDown:e=>{"Enter"===e.key&&V(),"Escape"===e.key&&(z(w.title),S(!1))},className:"text-2xl h-14 font-bold tracking-tight",autoFocus:!0}):(0,r.jsxs)("h2",{className:"text-2xl font-bold tracking-tight hover:text-primary transition-all cursor-pointer leading-tight group",onClick:()=>S(!0),children:[w.title,(0,r.jsx)(p.A,{size:18,className:"inline-block ml-3 opacity-0 group-hover:opacity-40 transition-opacity"})]})}),(0,r.jsxs)("div",{className:"mb-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"h-8 w-8 rounded-lg bg-primary/10 flex items-center justify-center text-primary",children:(0,r.jsx)(h.A,{size:16})}),(0,r.jsx)("h4",{className:"text-sm font-bold uppercase tracking-widest text-foreground/80",children:"Documentation"})]}),(0,r.jsxs)("div",{className:"flex bg-secondary/30 p-1 rounded-xl",children:[(0,r.jsx)("button",{className:"px-4 py-1.5 rounded-lg text-xs font-bold transition-all ".concat("preview"===P?"bg-background shadow-md text-foreground scale-105":"text-muted-foreground hover:text-foreground"),onClick:()=>K("preview"),children:"Visual"}),(0,r.jsx)("button",{className:"px-4 py-1.5 rounded-lg text-xs font-bold transition-all ".concat("edit"===P?"bg-background shadow-md text-foreground scale-105":"text-muted-foreground hover:text-foreground"),onClick:()=>K("edit"),children:"Markdown"})]})]}),"edit"===P?(0,r.jsx)("div",{className:"group border border-border rounded-2xl overflow-hidden focus-within:ring-2 focus-within:ring-primary/20 transition-all bg-secondary/5",children:(0,r.jsx)(E.TM,{value:L,onChange:e=>R(e.target.value),placeholder:"Describe the implementation details, edge cases, and technical requirements...",rows:10,className:"border-none focus:ring-0 text-base leading-relaxed p-6 bg-transparent",onBlur:()=>{L!==(null==w?void 0:w.description)&&$({description:L})}})}):(0,r.jsx)("div",{className:"prose prose-invert max-w-none bg-secondary/10 p-8 rounded-2xl border border-border/50 shadow-inner",children:w.description?(0,r.jsx)("p",{className:"text-foreground/90 leading-relaxed whitespace-pre-wrap",children:w.description}):(0,r.jsx)("span",{className:"text-muted-foreground/30 italic text-sm select-none",children:"Waiting for technical documentation..."})})]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"h-8 w-8 rounded-lg bg-sky-500/10 flex items-center justify-center text-sky-500",children:(0,r.jsx)(x.A,{size:16})}),(0,r.jsx)("h4",{className:"text-sm font-bold uppercase tracking-widest text-foreground/80",children:"Definition of Done"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-col items-end",children:[(0,r.jsx)("span",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-muted-foreground mb-1",children:"Status"}),(0,r.jsxs)("span",{className:"text-sm font-mono font-black text-sky-500",children:[en,"%"]})]}),(0,r.jsx)("div",{className:"w-48 h-2 bg-secondary/30 rounded-full overflow-hidden border border-border/50",children:(0,r.jsx)("div",{className:"h-full bg-sky-500 transition-all duration-1000 ease-out shadow-[0_0_20px_rgba(14,165,233,0.5)]",style:{width:"".concat(en,"%")}})})]})]}),(0,r.jsxs)("div",{className:"grid gap-2 mb-4",children:[0===w.acceptanceChecklist.length&&(0,r.jsxs)("div",{className:"text-center py-6 border-2 border-dashed border-border/40 rounded-xl group hover:border-accent/40 transition-colors",children:[(0,r.jsx)("p",{className:"text-[10px] font-bold uppercase tracking-[0.3em] text-muted-foreground/40 mb-2 italic",children:"Standard quality checks required"}),(0,r.jsx)(E.$n,{variant:"ghost",size:"sm",onClick:()=>B("Add unit tests"),className:"text-xs hover:text-sky-500",children:"Suggest Criteria"})]}),w.acceptanceChecklist.map(e=>(0,r.jsxs)("div",{className:"group flex items-center gap-3 p-3 bg-secondary/10 border border-border/40 rounded-xl hover:border-sky-500/50 hover:bg-secondary/20 transition-all duration-300 shadow-sm",children:[(0,r.jsx)(E.Sc,{checked:e.done,onChange:()=>Q(e.id)}),(0,r.jsx)("span",{className:"flex-1 text-sm font-semibold transition-all duration-300 ".concat(e.done?"line-through text-muted-foreground/40 scale-[0.98] translate-x-1":"text-foreground"),children:e.text}),(0,r.jsx)(E.$n,{size:"icon",variant:"ghost",className:"opacity-0 group-hover:opacity-100 h-8 w-8 text-muted-foreground hover:text-destructive hover:bg-destructive/10 transition-all rounded-lg",onClick:()=>J(e.id),children:(0,r.jsx)(b.A,{size:14})})]},e.id))]}),(0,r.jsxs)("div",{className:"flex gap-3 p-2 bg-secondary/5 rounded-xl border border-border/40",children:[(0,r.jsx)(E.pd,{value:_,onChange:e=>B(e.target.value),placeholder:"Add quality criteria...",className:"h-10 bg-transparent border-none focus:ring-0 text-sm font-medium",onKeyDown:e=>{"Enter"===e.key&&q()}}),(0,r.jsx)(E.$n,{onClick:q,className:"px-5 h-10 bg-foreground text-background font-bold text-xs tracking-wide hover:scale-105 active:scale-95 transition-all rounded-lg",children:"Append"})]})]})]}),(0,r.jsxs)("div",{className:"p-4 overflow-y-auto border-l border-border bg-secondary/10 backdrop-blur-3xl shadow-[inset_1px_0_0_rgba(255,255,255,0.02)] scrollbar-thin",children:[(0,r.jsxs)("div",{className:"mb-6",children:[(0,r.jsx)("h4",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-muted-foreground/60 mb-4 pb-2 border-b border-border/40",children:"Specifications"}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C,{label:"Status",value:w.status,onEdit:e=>$({status:e}),options:Object.values(s.e1),type:"dropdown"}),(0,r.jsx)(C,{label:"Assignee Group",value:w.assigneeRole||"Unassigned",onEdit:e=>$({assigneeRole:e}),options:Object.values(s._x),type:"dropdown"}),(0,r.jsx)(C,{label:"Priority",value:w.priority||s.W6.MEDIUM,onEdit:e=>$({priority:e}),options:Object.values(s.W6),type:"dropdown"}),(0,r.jsx)(C,{label:"Deadline",value:w.dueDate?(t=w.dueDate,(0,n.GP)(new Date(t),"MMM d, yyyy")):"Not Defined",onEdit:e=>$({dueDate:e||null}),type:"date"}),(0,r.jsx)(C,{label:"Owner",value:w.assignedTo||"Open Seat",onEdit:e=>$({assignedTo:e||null}),type:"text"})]})]}),(0,r.jsxs)("div",{className:"mb-6",children:[(0,r.jsx)("h4",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-muted-foreground/60 mb-4 pb-2 border-b border-border/40",children:"Generated Assets"}),(0,r.jsx)("div",{className:"grid gap-2",children:w.artifacts.length>0?w.artifacts.map(e=>(0,r.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-3 p-3 bg-background/50 border border-border/40 rounded-xl hover:border-primary/50 hover:bg-background transition-all duration-300 shadow-sm",children:[(0,r.jsx)("div",{className:"h-8 w-8 bg-primary/10 rounded-lg flex items-center justify-center text-primary group-hover:scale-110 group-hover:bg-primary group-hover:text-primary-foreground transition-all duration-500",children:(0,r.jsx)(h.A,{size:14})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("span",{className:"block text-xs font-black truncate text-foreground/90",children:e.title}),(0,r.jsxs)("span",{className:"text-[9px] text-muted-foreground font-black uppercase tracking-widest mt-1 block",children:[e.type," • ",e.size]})]})]},e.id)):(0,r.jsx)("div",{className:"py-6 text-center bg-background/20 rounded-xl border border-dashed border-border/40",children:(0,r.jsx)("p",{className:"text-[9px] font-black uppercase tracking-[0.2em] text-muted-foreground/30 italic",children:"No output generated"})})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-muted-foreground/60 mb-4 pb-2 border-b border-border/40",children:"Activity Stream"}),(0,r.jsxs)("div",{className:"flex gap-2 mb-4",children:[(0,r.jsx)(E.pd,{value:O,onChange:e=>M(e.target.value),placeholder:"Post an update...",className:"h-11 text-xs bg-background/40 border-border/40 rounded-xl focus:bg-background",onKeyDown:e=>{"Enter"===e.key&&X()}}),(0,r.jsx)(E.$n,{onClick:X,variant:"secondary",className:"h-9 px-4 rounded-lg group",children:(0,r.jsx)(g.A,{size:14,className:"group-hover:rotate-12 transition-transform"})})]}),(0,r.jsx)("div",{className:"space-y-8 max-h-[500px] overflow-y-auto pr-3 scrollbar-none hover:scrollbar-thin transition-all",children:w.activityLog.map(e=>(0,r.jsxs)("div",{className:"relative flex gap-5 group",children:[(0,r.jsx)("div",{className:"absolute left-[17px] top-8 bottom-[-24px] w-px bg-border/40 group-last:hidden"}),(0,r.jsxs)("div",{className:"h-9 w-9 rounded-xl bg-card border border-border/60 flex items-center justify-center shrink-0 z-10 shadow-sm group-hover:border-primary/40 transition-colors",children:[e.type===s.Bx.COMMENT_ADDED&&(0,r.jsx)(g.A,{size:14,className:"text-blue-500"}),e.type===s.Bx.STATUS_CHANGED&&(0,r.jsx)(f.A,{size:14,className:"text-amber-500"}),e.type===s.Bx.TASK_CREATED&&(0,r.jsx)(v.A,{size:14,className:"text-emerald-400"}),e.type===s.Bx.TASK_UPDATED&&(0,r.jsx)(p.A,{size:14,className:"text-primary"}),e.type===s.Bx.ARTIFACT_ADDED&&(0,r.jsx)(h.A,{size:14,className:"text-purple-400"}),(e.type===s.Bx.LOCKED||e.type===s.Bx.UNLOCKED)&&(0,r.jsx)(u.A,{size:14,className:"text-rose-400"}),e.type===s.Bx.CI_RAN&&(0,r.jsx)(x.A,{size:14,className:"text-accent"})]}),(0,r.jsxs)("div",{className:"pt-1.5 min-w-0",children:[(0,r.jsx)("p",{className:"text-xs font-bold text-foreground/90 leading-snug mb-1.5",children:function(e){let{type:t,payload:a}=e;switch(t){case s.Bx.STATUS_CHANGED:return"Status moved ".concat(a.oldStatus," ➟ ").concat(a.newStatus);case s.Bx.COMMENT_ADDED:return"".concat(a.author,': "').concat(a.text,'"');case s.Bx.TASK_CREATED:return"Task initialized";case s.Bx.TASK_UPDATED:return"Parameters calibrated";case s.Bx.ARTIFACT_ADDED:return"Output: ".concat(a.title);case s.Bx.LOCKED:return"Protected by ".concat(a.agentId);case s.Bx.UNLOCKED:return"Protection released";case s.Bx.CI_RAN:return"Valuation complete: ".concat(a.summary);default:return t.replace(/_/g," ").toLowerCase()}}(e)}),(0,r.jsx)("span",{className:"text-[10px] font-black uppercase tracking-[0.15em] text-muted-foreground/50",children:(0,o.m)(new Date(e.createdAt),{addSuffix:!0})})]})]},e.id))})]})]})]})]}),W&&(0,r.jsx)("div",{className:"fixed inset-0 bg-black/70 backdrop-blur-sm z-960 flex items-center justify-center",children:(0,r.jsxs)("div",{className:"bg-background border border-border rounded-2xl p-6 w-[480px] shadow-2xl",children:[(0,r.jsx)("h3",{className:"text-lg font-bold mb-4",children:"Reject Task"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"This task will be moved back to IN_PROGRESS. The same agent will receive your feedback and can fix the issues."}),(0,r.jsx)(E.TM,{value:U,onChange:e=>G(e.target.value),placeholder:"Explain what needs to be fixed...",className:"min-h-[120px] mb-4",autoFocus:!0}),(0,r.jsxs)("div",{className:"flex gap-3 justify-end",children:[(0,r.jsx)(E.$n,{variant:"ghost",onClick:()=>{F(!1),G("")},children:"Cancel"}),(0,r.jsx)(E.$n,{variant:"danger",onClick:ea,disabled:!U.trim(),children:"Reject Task"})]})]})})]})}},1706:(e,t,a)=>{a.d(t,{$:()=>s});var r=a(4568);let s=(0,a(7620).forwardRef)((e,t)=>{let{className:a,variant:s="primary",size:n="md",...o}=e;return(0,r.jsx)("button",{ref:t,className:"inline-flex items-center justify-center gap-2 font-semibold rounded-lg transition-all duration-200 active:scale-95 disabled:opacity-50 disabled:pointer-events-none ".concat({primary:"bg-primary text-primary-foreground shadow hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",ghost:"hover:bg-accent hover:text-accent-foreground",danger:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",success:"bg-emerald-600 text-white shadow-sm hover:bg-emerald-700"}[s]," ").concat({sm:"h-8 px-3 text-xs",md:"h-9 px-4 py-2 text-sm",lg:"h-10 px-8 text-base",icon:"h-9 w-9"}[n]," ").concat(a||""),...o})});s.displayName="Button"},3769:(e,t,a)=>{a.d(t,{m:()=>o});var r=a(4568),s=a(8650),n=a(7620);function o(e){let{value:t,onChange:a,options:o,placeholder:l="Select...",label:i,disabled:d=!1,renderOption:c}=e,[u,x]=(0,n.useState)(!1),m=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=e=>{m.current&&!m.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let p=o.find(e=>e.value===t);return(0,r.jsxs)("div",{className:"relative w-full",ref:m,children:[i&&(0,r.jsx)("label",{className:"block text-xs font-medium text-muted-foreground mb-2 uppercase tracking-wider",children:i}),(0,r.jsxs)("button",{type:"button",className:"w-full flex items-center justify-between gap-2 px-3.5 py-2.5 bg-background border border-input rounded-md text-foreground text-sm cursor-pointer transition-all hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 disabled:cursor-not-allowed shadow-sm",onClick:()=>!d&&x(!u),disabled:d,children:[(0,r.jsx)("span",{className:p?"":"text-muted-foreground",children:p?p.label:l}),(0,r.jsx)(s.A,{size:16,className:"transition-transform duration-200 text-muted-foreground ".concat(u?"rotate-180":"rotate-0")})]}),u&&(0,r.jsx)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-popover border border-border rounded-md p-1 z-50 max-h-[240px] overflow-y-auto animate-in fade-in slide-in-from-top-2 duration-200 shadow-md",children:o.map(e=>(0,r.jsx)("button",{type:"button",className:"w-full flex items-center gap-2 px-3 py-2 bg-transparent border-none rounded-sm text-popover-foreground text-sm cursor-pointer transition-colors text-left hover:bg-accent hover:text-accent-foreground ".concat(e.value===t?"bg-accent/10 text-accent-foreground":""),onClick:()=>{a(e.value),x(!1)},children:c?c(e):(0,r.jsxs)(r.Fragment,{children:[e.color&&(0,r.jsx)("span",{className:"w-2 h-2 rounded-full shrink-0",style:{background:e.color}}),e.label]})},e.value))})]})}},8970:(e,t,a)=>{a.d(t,{p:()=>s});var r=a(4568);let s=(0,a(7620).forwardRef)((e,t)=>{let{className:a,icon:s,rightElement:n,...o}=e;return(0,r.jsxs)("div",{className:"relative w-full group",children:[s&&(0,r.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 text-text-muted group-focus-within:text-accent transition-colors",children:s}),(0,r.jsx)("input",{ref:t,className:"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-zinc-500 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 ".concat(s?"pl-10":"pl-3"," ").concat(n?"pr-10":"pr-3"," ").concat(a||""),...o}),n&&(0,r.jsx)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground",children:n})]})});s.displayName="Input"},6007:(e,t,a)=>{a.d(t,{$n:()=>d.$,Sc:()=>x,ms:()=>m.m,pd:()=>p.p,aF:()=>f,YJ:()=>o,Wh:()=>i,TM:()=>v});var r=a(4568);function s(e){let{children:t,variant:a="default",size:s="sm"}=e;return(0,r.jsx)("span",{className:"inline-flex items-center rounded-md border transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 ".concat({default:"bg-primary text-primary-foreground shadow hover:bg-primary/80",success:"bg-status-done/15 text-status-done border-status-done/20",warning:"bg-status-progress/15 text-status-progress border-status-progress/20",error:"bg-status-blocked/15 text-status-blocked border-status-blocked/20",info:"bg-status-todo/15 text-status-todo border-status-todo/20",purple:"bg-status-review/15 text-status-review border-status-review/20"}[a]," ").concat({sm:"px-2.5 py-0.5 text-xs font-semibold",md:"px-3 py-1 text-sm font-semibold"}[s]),children:t})}let n={LOW:{label:"Low",variant:"default"},MEDIUM:{label:"Medium",variant:"info"},HIGH:{label:"High",variant:"warning"},CRITICAL:{label:"Critical",variant:"error"}};function o(e){let{priority:t}=e,a=n[t];return(0,r.jsx)(s,{variant:a.variant,children:a.label})}let l={BACKLOG:{label:"Backlog",variant:"default"},IN_PROGRESS:{label:"In Progress",variant:"warning"},REVIEW:{label:"Review",variant:"purple"},VERIFICATION:{label:"Verification",variant:"info"},DONE:{label:"Done",variant:"success"},BLOCKED:{label:"Blocked",variant:"error"}};function i(e){let{status:t}=e,a=l[t]||{label:t,variant:"default"};return(0,r.jsx)(s,{variant:a.variant,children:a.label})}var d=a(1706),c=a(6892),u=a(2393);function x(e){let{checked:t,onChange:a,label:s,disabled:n=!1,className:o}=e;return(0,r.jsxs)("label",{className:(0,u.cn)("flex items-center gap-2.5 select-none transition-opacity duration-200",n?"opacity-50 cursor-not-allowed":"cursor-pointer",o||""),children:[(0,r.jsx)("input",{type:"checkbox",checked:t,onChange:e=>a(e.target.checked),disabled:n,className:"hidden"}),(0,r.jsx)("span",{className:"h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 transition-all duration-150 flex items-center justify-center ".concat(t?"bg-primary text-primary-foreground":"bg-transparent"),children:t&&(0,r.jsx)(c.A,{size:12,strokeWidth:3})}),s&&(0,r.jsx)("span",{className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 transition-all duration-150 ".concat(t?"line-through text-muted-foreground":"text-foreground"),children:s})]})}var m=a(3769),p=a(8970),h=a(3312),b=a(7620),g=a(7509);function f(e){let{isOpen:t,onClose:a,children:s,title:n,size:o="md"}=e,l=(0,b.useRef)(null);return((0,b.useEffect)(()=>{let e=e=>{"Escape"===e.key&&a()};return t&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[t,a]),t)?(0,g.createPortal)((0,r.jsx)("div",{ref:l,className:"fixed inset-0 bg-black/40 backdrop-blur-md flex items-center justify-center z-1000 animate-in fade-in duration-300",onClick:e=>{e.target===l.current&&a()},children:(0,r.jsxs)("div",{className:"bg-background border border-border rounded-xl shadow-lg animate-in zoom-in-95 duration-200 max-h-[90vh] overflow-hidden flex flex-col ".concat({sm:"w-[400px]",md:"w-[520px]",lg:"w-[680px]"}[o]," max-w-[90vw]"),children:[n&&(0,r.jsxs)("div",{className:"flex justify-between items-center p-5 border-b border-border",children:[(0,r.jsx)("h3",{className:"text-lg font-semibold m-0 text-foreground",children:n}),(0,r.jsx)("button",{className:"bg-transparent border-none text-muted-foreground hover:text-foreground cursor-pointer p-0 transition-colors duration-200",onClick:a,children:(0,r.jsx)(h.A,{size:20})})]}),(0,r.jsx)("div",{className:"p-6 overflow-y-auto",children:s})]})}),document.body):null}let v=(0,b.forwardRef)((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("textarea",{ref:t,className:"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-zinc-500 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 resize-none ".concat(a||""),...s})});v.displayName="Textarea"},6284:(e,t,a)=>{a.d(t,{A:()=>s});let r=a(5894).A.create({baseURL:"/api",headers:{"Content-Type":"application/json"}});r.interceptors.response.use(e=>e,e=>{var t,a;let r=(null===(a=e.response)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.message)||e.message||"An unexpected error occurred";return console.error("[API Error] ".concat(r),e),Promise.reject(e)});let s=r},2393:(e,t,a)=>{a.d(t,{cn:()=>n});var r=a(5928),s=a(6564);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,s.QP)((0,r.$)(t))}},1449:(e,t,a)=>{a.d(t,{qQ:()=>s,KS:()=>n.K,pv:()=>o.p});var r=a(6284);let s={getTree:async()=>(await r.A.get("/docs/tree")).data,read:async e=>(await r.A.get("/docs/read?path=".concat(encodeURIComponent(e)))).data,write:async(e,t)=>(await r.A.post("/docs/write",{path:e,content:t})).data};var n=a(8940),o=a(2161)},8940:(e,t,a)=>{a.d(t,{K:()=>n});var r=a(5894);let s="http://localhost:3080/api/sprints",n={getAll:async()=>(await r.A.get(s)).data,create:async e=>(await r.A.post(s,e)).data,update:async(e,t)=>(await r.A.patch("".concat(s,"/").concat(e),t)).data,delete:async e=>(await r.A.delete("".concat(s,"/").concat(e))).data}},2161:(e,t,a)=>{a.d(t,{p:()=>s});var r=a(6284);let s={getAll:async()=>(await r.A.get("/tasks")).data,getById:async e=>(await r.A.get("/tasks/".concat(e))).data,create:async e=>(await r.A.post("/tasks",e)).data,update:async(e,t)=>(await r.A.patch("/tasks/".concat(e),t)).data,delete:async e=>{await r.A.delete("/tasks/".concat(e))},addComment:async(e,t)=>(await r.A.post("/tasks/".concat(e,"/comment"),t)).data,runCi:async(e,t)=>(await r.A.post("/ci/run",{taskId:e,preset:t})).data,lock:async(e,t,a)=>(await r.A.post("/tasks/".concat(e,"/lock"),{agentId:t,ttlSeconds:a})).data,unlock:async(e,t)=>(await r.A.post("/tasks/".concat(e,"/unlock"),{agentId:t})).data}},9766:(e,t,a)=>{a.d(t,{_x:()=>n,Bx:()=>l,J3:()=>i,W6:()=>o,e1:()=>s});var r=a(9772),s=function(e){return e.BACKLOG="BACKLOG",e.IN_PROGRESS="IN_PROGRESS",e.REVIEW="REVIEW",e.VERIFICATION="VERIFICATION",e.DONE="DONE",e.BLOCKED="BLOCKED",e}({}),n=function(e){return e.BACKEND="BACKEND",e.FRONTEND="FRONTEND",e.QA="QA",e.PM="PM",e.DESIGN="DESIGN",e}({}),o=function(e){return e.LOW="LOW",e.MEDIUM="MEDIUM",e.HIGH="HIGH",e.CRITICAL="CRITICAL",e}({}),l=function(e){return e.TASK_CREATED="TASK_CREATED",e.TASK_UPDATED="TASK_UPDATED",e.STATUS_CHANGED="STATUS_CHANGED",e.COMMENT_ADDED="COMMENT_ADDED",e.ARTIFACT_ADDED="ARTIFACT_ADDED",e.LOCKED="LOCKED",e.UNLOCKED="UNLOCKED",e.CI_RAN="CI_RAN",e}({}),i=function(e){return e.PLANNED="PLANNED",e.ACTIVE="ACTIVE",e.COMPLETED="COMPLETED",e}({});r.Ik({title:r.Yj().min(1),description:r.Yj().optional().default(""),status:r.fc(s).optional().default(s.BACKLOG),priority:r.fc(o).optional().default(o.MEDIUM),labels:r.YO(r.Yj()).optional().default([]),assigneeRole:r.fc(n).optional(),parentId:r.ai().optional().nullable(),sprintId:r.ai().optional().nullable()}),r.Ik({title:r.Yj().optional(),description:r.Yj().optional(),labels:r.YO(r.Yj()).optional(),status:r.fc(s).optional(),priority:r.fc(o).optional(),assigneeRole:r.fc(n).optional(),parentId:r.ai().optional().nullable(),acceptanceChecklist:r.YO(r.Ik({id:r.Yj(),text:r.Yj(),done:r.zM()})).optional()}),r.Ik({author:r.Yj().min(1),text:r.Yj().min(1)}),r.Ik({agentId:r.Yj().min(1),ttlSeconds:r.ai().positive()}),r.Ik({agentId:r.Yj().min(1)}),r.Ik({type:r.Yj().min(1),title:r.Yj().min(1),contentText:r.Yj().optional(),fileBase64:r.Yj().optional(),fileName:r.Yj().optional(),createdBy:r.Yj().min(1)}),r.Ik({taskId:r.ai(),preset:r.Yj().min(1)}),r.Ik({path:r.Yj().min(1),content:r.Yj()}),r.Ik({query:r.Yj().min(1)})}}]);