agent-scope 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/public/404/index.html +1 -1
- package/dist/public/404.html +1 -1
- package/dist/public/_next/static/T3xW0JlDHZRgq8cYrd_K-/_buildManifest.js +1 -0
- package/dist/public/_next/static/chunks/758-ab07c9ea623e4759.js +1 -0
- package/dist/public/_next/static/chunks/app/page-b95a4c5030b9d7e5.js +1 -0
- package/dist/public/_next/static/chunks/main-bfc57b0f3d63ff2c.js +1 -0
- package/dist/public/_next/static/css/e8837d74ddf8b412.css +5 -0
- package/dist/public/index.html +1 -1
- package/dist/public/index.txt +2 -2
- package/dist/server/server.d.ts.map +1 -1
- package/dist/server/server.js +23 -8
- package/dist/server/server.js.map +1 -1
- package/package.json +2 -2
- package/dist/public/_next/static/chunks/app/page-72fc8cefe60ad1d7.js +0 -1
- package/dist/public/_next/static/chunks/main-7be9b0d6fba5e000.js +0 -1
- package/dist/public/_next/static/css/14aedabfb1f06bdb.css +0 -3
- package/dist/public/_next/static/uP1Ux3UC4o-JCDXNPB44Y/_buildManifest.js +0 -1
- /package/dist/public/_next/static/{uP1Ux3UC4o-JCDXNPB44Y → T3xW0JlDHZRgq8cYrd_K-}/_ssgManifest.js +0 -0
- /package/dist/public/_next/static/chunks/{117-373243894bd7fac6.js → 117-c710cb30aa7ed4f8.js} +0 -0
- /package/dist/public/_next/static/chunks/app/_not-found/{page-4b9eb8aab41bf6df.js → page-c8219ab21dbb5ed7.js} +0 -0
- /package/dist/public/_next/static/chunks/{fd9d1056-9f91b5e418130764.js → fd9d1056-9e191f0896c1d560.js} +0 -0
|
@@ -1 +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="stylesheet" href="/_next/static/css/
|
|
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="stylesheet" href="/_next/static/css/e8837d74ddf8b412.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-8658fdbc42bfbbae.js"/><script src="/_next/static/chunks/fd9d1056-9e191f0896c1d560.js" async=""></script><script src="/_next/static/chunks/117-c710cb30aa7ed4f8.js" async=""></script><script src="/_next/static/chunks/main-app-feb0e3b0cc6fb4c7.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>agent-scope</title><meta name="description" content="Execution observer for AI agent workflows"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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><script src="/_next/static/chunks/webpack-8658fdbc42bfbbae.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/e8837d74ddf8b412.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[6423,[],\"\"]\nb:I[1060,[],\"\"]\n6:{\"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\"}\n7:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n8:{\"display\":\"inline-block\"}\n9:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"T3xW0JlDHZRgq8cYrd_K-\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\",\"\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"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.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e8837d74ddf8b412.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$6\",\"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\":\"$7\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$9\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"agent-scope\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Execution observer for AI agent workflows\"}]]\n3:null\n"])</script></body></html>
|
package/dist/public/404.html
CHANGED
|
@@ -1 +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="stylesheet" href="/_next/static/css/
|
|
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="stylesheet" href="/_next/static/css/e8837d74ddf8b412.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-8658fdbc42bfbbae.js"/><script src="/_next/static/chunks/fd9d1056-9e191f0896c1d560.js" async=""></script><script src="/_next/static/chunks/117-c710cb30aa7ed4f8.js" async=""></script><script src="/_next/static/chunks/main-app-feb0e3b0cc6fb4c7.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>agent-scope</title><meta name="description" content="Execution observer for AI agent workflows"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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><script src="/_next/static/chunks/webpack-8658fdbc42bfbbae.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/e8837d74ddf8b412.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[6423,[],\"\"]\nb:I[1060,[],\"\"]\n6:{\"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\"}\n7:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n8:{\"display\":\"inline-block\"}\n9:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"T3xW0JlDHZRgq8cYrd_K-\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\",\"\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"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.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e8837d74ddf8b412.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$6\",\"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\":\"$7\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$9\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"agent-scope\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Execution observer for AI agent workflows\"}]]\n3:null\n"])</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(e){return{__rewrites:{afterFiles:[{has:e,source:"/snapshot",destination:e},{has:e,source:"/health",destination:e}],beforeFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-7ba65e1336b92748.js"],sortedPages:["/_app","/_error"]}}(void 0),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[758],{8755:function(e,r,t){t.d(r,{Z:function(){return u}});var o=t(2265);let n=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()},l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()),i=e=>{let r=a(e);return r.charAt(0).toUpperCase()+r.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let c=e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0;return!1},d=(0,o.forwardRef)((e,r)=>{let{color:t="currentColor",size:l=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:d="",children:u,iconNode:p,...m}=e;return(0,o.createElement)("svg",{ref:r,...s,width:l,height:l,stroke:t,strokeWidth:i?24*Number(a)/Number(l):a,className:n("lucide",d),...!u&&!c(m)&&{"aria-hidden":"true"},...m},[...p.map(e=>{let[r,t]=e;return(0,o.createElement)(r,t)}),...Array.isArray(u)?u:[u]])}),u=(e,r)=>{let t=(0,o.forwardRef)((t,a)=>{let{className:s,...c}=t;return(0,o.createElement)(d,{ref:a,iconNode:r,className:n("lucide-".concat(l(i(e))),"lucide-".concat(e),s),...c})});return t.displayName=i(e),t}},2222:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},4972:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},401:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},875:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},407:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},9322:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},1723:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},8867:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},2208:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},8736:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},3136:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]])},2431:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},3247:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},9525:function(e,r,t){t.d(r,{Z:function(){return o}});let o=(0,t(8755).Z)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]])},4967:function(e,r,t){t.d(r,{Ns:function(){return K},fC:function(){return B},gb:function(){return C},q4:function(){return D},l_:function(){return J}});var o=t(2265);function n(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function l(...e){return r=>{let t=!1,o=e.map(e=>{let o=n(e,r);return t||"function"!=typeof o||(t=!0),o});if(t)return()=>{for(let r=0;r<o.length;r++){let t=o[r];"function"==typeof t?t():n(e[r],null)}}}}function a(...e){return o.useCallback(l(...e),e)}t(4887);var i=t(7437),s=Symbol("radix.slottable");function c(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let t=function(e){let r=function(e){let r=o.forwardRef((e,r)=>{let{children:t,...n}=e;if(o.isValidElement(t)){let e,a;let i=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref,s=function(e,r){let t={...r};for(let o in r){let n=e[o],l=r[o];/^on[A-Z]/.test(o)?n&&l?t[o]=(...e)=>{let r=l(...e);return n(...e),r}:n&&(t[o]=n):"style"===o?t[o]={...n,...l}:"className"===o&&(t[o]=[n,l].filter(Boolean).join(" "))}return{...e,...t}}(n,t.props);return t.type!==o.Fragment&&(s.ref=r?l(r,i):i),o.cloneElement(t,s)}return o.Children.count(t)>1?o.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=o.forwardRef((e,t)=>{let{children:n,...l}=e,a=o.Children.toArray(n),s=a.find(c);if(s){let e=s.props.children,n=a.map(r=>r!==s?r:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,i.jsx)(r,{...l,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,i.jsx)(r,{...l,ref:t,children:n})});return t.displayName=`${e}.Slot`,t}(`Primitive.${r}`),n=o.forwardRef((e,o)=>{let{asChild:n,...l}=e,a=n?t:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a,{...l,ref:o})});return n.displayName=`Primitive.${r}`,{...e,[r]:n}},{}),u=globalThis?.document?o.useLayoutEffect:()=>{},p=e=>{var r,t;let n,l;let{present:i,children:s}=e,c=function(e){var r,t;let[n,l]=o.useState(),a=o.useRef(null),i=o.useRef(e),s=o.useRef("none"),[c,d]=(r=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,r)=>{let o=t[e][r];return null!=o?o:e},r));return o.useEffect(()=>{let e=m(a.current);s.current="mounted"===c?e:"none"},[c]),u(()=>{let r=a.current,t=i.current;if(t!==e){let o=s.current,n=m(r);e?d("MOUNT"):"none"===n||(null==r?void 0:r.display)==="none"?d("UNMOUNT"):t&&o!==n?d("ANIMATION_OUT"):d("UNMOUNT"),i.current=e}},[e,d]),u(()=>{if(n){var e;let r;let t=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,o=e=>{let o=m(a.current).includes(CSS.escape(e.animationName));if(e.target===n&&o&&(d("ANIMATION_END"),!i.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",r=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},l=e=>{e.target===n&&(s.current=m(a.current))};return n.addEventListener("animationstart",l),n.addEventListener("animationcancel",o),n.addEventListener("animationend",o),()=>{t.clearTimeout(r),n.removeEventListener("animationstart",l),n.removeEventListener("animationcancel",o),n.removeEventListener("animationend",o)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:o.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(i),d="function"==typeof s?s({present:c.isPresent}):o.Children.only(s),p=a(c.ref,(n=null===(r=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===r?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning?d.ref:(n=null===(t=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in n&&n.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof s||c.isPresent?o.cloneElement(d,{ref:p}):null};function m(e){return(null==e?void 0:e.animationName)||"none"}function f(e){let r=o.useRef(e);return o.useEffect(()=>{r.current=e}),o.useMemo(()=>(...e)=>r.current?.(...e),[])}p.displayName="Presence";var h=o.createContext(void 0);function g(e,r,{checkForDefaultPrevented:t=!0}={}){return function(o){if(e?.(o),!1===t||!o.defaultPrevented)return r?.(o)}}"undefined"!=typeof window&&window.document&&window.document.createElement;var b="ScrollArea",[w,v]=function(e,r=[]){let t=[],n=()=>{let r=t.map(e=>o.createContext(e));return function(t){let n=t?.[e]||r;return o.useMemo(()=>({[`__scope${e}`]:{...t,[e]:n}}),[t,n])}};return n.scopeName=e,[function(r,n){let l=o.createContext(n),a=t.length;t=[...t,n];let s=r=>{let{scope:t,children:n,...s}=r,c=t?.[e]?.[a]||l,d=o.useMemo(()=>s,Object.values(s));return(0,i.jsx)(c.Provider,{value:d,children:n})};return s.displayName=r+"Provider",[s,function(t,i){let s=i?.[e]?.[a]||l,c=o.useContext(s);if(c)return c;if(void 0!==n)return n;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=t.reduce((r,{useScope:t,scopeName:o})=>{let n=t(e)[`__scope${o}`];return{...r,...n}},{});return o.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}(n,...r)]}(b),[y,x]=w(b),k=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,type:n="hover",dir:l,scrollHideDelay:s=600,...c}=e,[u,p]=o.useState(null),[m,f]=o.useState(null),[g,b]=o.useState(null),[w,v]=o.useState(null),[x,k]=o.useState(null),[S,z]=o.useState(0),[E,C]=o.useState(0),[N,j]=o.useState(!1),[T,R]=o.useState(!1),M=a(r,e=>p(e)),P=function(e){let r=o.useContext(h);return e||r||"ltr"}(l);return(0,i.jsx)(y,{scope:t,type:n,dir:P,scrollHideDelay:s,scrollArea:u,viewport:m,onViewportChange:f,content:g,onContentChange:b,scrollbarX:w,onScrollbarXChange:v,scrollbarXEnabled:N,onScrollbarXEnabledChange:j,scrollbarY:x,onScrollbarYChange:k,scrollbarYEnabled:T,onScrollbarYEnabledChange:R,onCornerWidthChange:z,onCornerHeightChange:C,children:(0,i.jsx)(d.div,{dir:P,...c,ref:M,style:{position:"relative","--radix-scroll-area-corner-width":S+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})});k.displayName=b;var S="ScrollAreaViewport",z=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,children:n,nonce:l,...s}=e,c=x(S,t),u=a(r,o.useRef(null),c.onViewportChange);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,i.jsx)(d.div,{"data-radix-scroll-area-viewport":"",...s,ref:u,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,i.jsx)("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});z.displayName=S;var E="ScrollAreaScrollbar",C=o.forwardRef((e,r)=>{let{forceMount:t,...n}=e,l=x(E,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=l,c="horizontal"===e.orientation;return o.useEffect(()=>(c?a(!0):s(!0),()=>{c?a(!1):s(!1)}),[c,a,s]),"hover"===l.type?(0,i.jsx)(N,{...n,ref:r,forceMount:t}):"scroll"===l.type?(0,i.jsx)(j,{...n,ref:r,forceMount:t}):"auto"===l.type?(0,i.jsx)(T,{...n,ref:r,forceMount:t}):"always"===l.type?(0,i.jsx)(R,{...n,ref:r}):null});C.displayName=E;var N=o.forwardRef((e,r)=>{let{forceMount:t,...n}=e,l=x(E,e.__scopeScrollArea),[a,s]=o.useState(!1);return o.useEffect(()=>{let e=l.scrollArea,r=0;if(e){let t=()=>{window.clearTimeout(r),s(!0)},o=()=>{r=window.setTimeout(()=>s(!1),l.scrollHideDelay)};return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",o),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",o)}}},[l.scrollArea,l.scrollHideDelay]),(0,i.jsx)(p,{present:t||a,children:(0,i.jsx)(T,{"data-state":a?"visible":"hidden",...n,ref:r})})}),j=o.forwardRef((e,r)=>{var t,n;let{forceMount:l,...a}=e,s=x(E,e.__scopeScrollArea),c="horizontal"===e.orientation,d=X(()=>m("SCROLL_END"),100),[u,m]=(t="hidden",n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},o.useReducer((e,r)=>{let t=n[e][r];return null!=t?t:e},t));return o.useEffect(()=>{if("idle"===u){let e=window.setTimeout(()=>m("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(e)}},[u,s.scrollHideDelay,m]),o.useEffect(()=>{let e=s.viewport,r=c?"scrollLeft":"scrollTop";if(e){let t=e[r],o=()=>{let o=e[r];t!==o&&(m("SCROLL"),d()),t=o};return e.addEventListener("scroll",o),()=>e.removeEventListener("scroll",o)}},[s.viewport,c,m,d]),(0,i.jsx)(p,{present:l||"hidden"!==u,children:(0,i.jsx)(R,{"data-state":"hidden"===u?"hidden":"visible",...a,ref:r,onPointerEnter:g(e.onPointerEnter,()=>m("POINTER_ENTER")),onPointerLeave:g(e.onPointerLeave,()=>m("POINTER_LEAVE"))})})}),T=o.forwardRef((e,r)=>{let t=x(E,e.__scopeScrollArea),{forceMount:n,...l}=e,[a,s]=o.useState(!1),c="horizontal"===e.orientation,d=X(()=>{if(t.viewport){let e=t.viewport.offsetWidth<t.viewport.scrollWidth,r=t.viewport.offsetHeight<t.viewport.scrollHeight;s(c?e:r)}},10);return Y(t.viewport,d),Y(t.content,d),(0,i.jsx)(p,{present:n||a,children:(0,i.jsx)(R,{"data-state":a?"visible":"hidden",...l,ref:r})})}),R=o.forwardRef((e,r)=>{let{orientation:t="vertical",...n}=e,l=x(E,e.__scopeScrollArea),a=o.useRef(null),s=o.useRef(0),[c,d]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=$(c.viewport,c.content),p={...n,sizes:c,onSizesChange:d,hasThumb:!!(u>0&&u<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function m(e,r){return function(e,r,t){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr",n=V(t),l=r||n/2,a=t.scrollbar.paddingStart+l,i=t.scrollbar.size-t.scrollbar.paddingEnd-(n-l),s=t.content-t.viewport;return F([a,i],"ltr"===o?[0,s]:[-1*s,0])(e)}(e,s.current,c,r)}return"horizontal"===t?(0,i.jsx)(M,{...p,ref:r,onThumbPositionChange:()=>{if(l.viewport&&a.current){let e=q(l.viewport.scrollLeft,c,l.dir);a.current.style.transform="translate3d(".concat(e,"px, 0, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollLeft=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollLeft=m(e,l.dir))}}):"vertical"===t?(0,i.jsx)(P,{...p,ref:r,onThumbPositionChange:()=>{if(l.viewport&&a.current){let e=q(l.viewport.scrollTop,c);a.current.style.transform="translate3d(0, ".concat(e,"px, 0)")}},onWheelScroll:e=>{l.viewport&&(l.viewport.scrollTop=e)},onDragScroll:e=>{l.viewport&&(l.viewport.scrollTop=m(e))}}):null}),M=o.forwardRef((e,r)=>{let{sizes:t,onSizesChange:n,...l}=e,s=x(E,e.__scopeScrollArea),[c,d]=o.useState(),u=o.useRef(null),p=a(r,u,s.onScrollbarXChange);return o.useEffect(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,i.jsx)(A,{"data-orientation":"horizontal",...l,ref:p,sizes:t,style:{bottom:0,left:"rtl"===s.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===s.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":V(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(s.viewport){let o=s.viewport.scrollLeft+r.deltaX;e.onWheelScroll(o),o>0&&o<t&&r.preventDefault()}},onResize:()=>{u.current&&s.viewport&&c&&n({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:H(c.paddingLeft),paddingEnd:H(c.paddingRight)}})}})}),P=o.forwardRef((e,r)=>{let{sizes:t,onSizesChange:n,...l}=e,s=x(E,e.__scopeScrollArea),[c,d]=o.useState(),u=o.useRef(null),p=a(r,u,s.onScrollbarYChange);return o.useEffect(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,i.jsx)(A,{"data-orientation":"vertical",...l,ref:p,sizes:t,style:{top:0,right:"ltr"===s.dir?0:void 0,left:"rtl"===s.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":V(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(s.viewport){let o=s.viewport.scrollTop+r.deltaY;e.onWheelScroll(o),o>0&&o<t&&r.preventDefault()}},onResize:()=>{u.current&&s.viewport&&c&&n({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:H(c.paddingTop),paddingEnd:H(c.paddingBottom)}})}})}),[_,L]=w(E),A=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,sizes:n,hasThumb:l,onThumbChange:s,onThumbPointerUp:c,onThumbPointerDown:u,onThumbPositionChange:p,onDragScroll:m,onWheelScroll:h,onResize:b,...w}=e,v=x(E,t),[y,k]=o.useState(null),S=a(r,e=>k(e)),z=o.useRef(null),C=o.useRef(""),N=v.viewport,j=n.content-n.viewport,T=f(h),R=f(p),M=X(b,10);function P(e){z.current&&m({x:e.clientX-z.current.left,y:e.clientY-z.current.top})}return o.useEffect(()=>{let e=e=>{let r=e.target;(null==y?void 0:y.contains(r))&&T(e,j)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[N,y,j,T]),o.useEffect(R,[n,R]),Y(y,M),Y(v.content,M),(0,i.jsx)(_,{scope:t,scrollbar:y,hasThumb:l,onThumbChange:f(s),onThumbPointerUp:f(c),onThumbPositionChange:R,onThumbPointerDown:f(u),children:(0,i.jsx)(d.div,{...w,ref:S,style:{position:"absolute",...w.style},onPointerDown:g(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),z.current=y.getBoundingClientRect(),C.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",v.viewport&&(v.viewport.style.scrollBehavior="auto"),P(e))}),onPointerMove:g(e.onPointerMove,P),onPointerUp:g(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=C.current,v.viewport&&(v.viewport.style.scrollBehavior=""),z.current=null})})})}),O="ScrollAreaThumb",D=o.forwardRef((e,r)=>{let{forceMount:t,...o}=e,n=L(O,e.__scopeScrollArea);return(0,i.jsx)(p,{present:t||n.hasThumb,children:(0,i.jsx)(W,{ref:r,...o})})}),W=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,style:n,...l}=e,s=x(O,t),c=L(O,t),{onThumbPositionChange:u}=c,p=a(r,e=>c.onThumbChange(e)),m=o.useRef(void 0),f=X(()=>{m.current&&(m.current(),m.current=void 0)},100);return o.useEffect(()=>{let e=s.viewport;if(e){let r=()=>{if(f(),!m.current){let r=G(e,u);m.current=r,u()}};return u(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,f,u]),(0,i.jsx)(d.div,{"data-state":c.hasThumb?"visible":"hidden",...l,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:g(e.onPointerDownCapture,e=>{let r=e.target.getBoundingClientRect(),t=e.clientX-r.left,o=e.clientY-r.top;c.onThumbPointerDown({x:t,y:o})}),onPointerUp:g(e.onPointerUp,c.onThumbPointerUp)})});D.displayName=O;var Z="ScrollAreaCorner",I=o.forwardRef((e,r)=>{let t=x(Z,e.__scopeScrollArea),o=!!(t.scrollbarX&&t.scrollbarY);return"scroll"!==t.type&&o?(0,i.jsx)(U,{...e,ref:r}):null});I.displayName=Z;var U=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,...n}=e,l=x(Z,t),[a,s]=o.useState(0),[c,u]=o.useState(0),p=!!(a&&c);return Y(l.scrollbarX,()=>{var e;let r=(null===(e=l.scrollbarX)||void 0===e?void 0:e.offsetHeight)||0;l.onCornerHeightChange(r),u(r)}),Y(l.scrollbarY,()=>{var e;let r=(null===(e=l.scrollbarY)||void 0===e?void 0:e.offsetWidth)||0;l.onCornerWidthChange(r),s(r)}),p?(0,i.jsx)(d.div,{...n,ref:r,style:{width:a,height:c,position:"absolute",right:"ltr"===l.dir?0:void 0,left:"rtl"===l.dir?0:void 0,bottom:0,...e.style}}):null});function H(e){return e?parseInt(e,10):0}function $(e,r){let t=e/r;return isNaN(t)?0:t}function V(e){let r=$(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-t)*r,18)}function q(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",o=V(r),n=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-n,a=r.content-r.viewport,i=function(e,[r,t]){return Math.min(t,Math.max(r,e))}(e,"ltr"===t?[0,a]:[-1*a,0]);return F([0,a],[0,l-o])(i)}function F(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let o=(r[1]-r[0])/(e[1]-e[0]);return r[0]+o*(t-e[0])}}var G=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},t={left:e.scrollLeft,top:e.scrollTop},o=0;return!function n(){let l={left:e.scrollLeft,top:e.scrollTop},a=t.left!==l.left,i=t.top!==l.top;(a||i)&&r(),t=l,o=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(o)};function X(e,r){let t=f(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(t,r)},[t,r])}function Y(e,r){let t=f(r);u(()=>{let r=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,t])}var B=k,J=z,K=I},1994:function(e,r,t){t.d(r,{W:function(){return o}});function o(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=function e(r){var t,o,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r){if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(o=e(r[t]))&&(n&&(n+=" "),n+=o)}else for(o in r)r[o]&&(n&&(n+=" "),n+=o)}return n}(e))&&(o&&(o+=" "),o+=r);return o}},3335:function(e,r,t){t.d(r,{m6:function(){return eS}});let o=(e,r)=>{let t=Array(e.length+r.length);for(let r=0;r<e.length;r++)t[r]=e[r];for(let o=0;o<r.length;o++)t[e.length+o]=r[o];return t},n=(e,r)=>({classGroupId:e,validator:r}),l=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),a=[],i=e=>{let r=d(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return c(e);let t=e.split("-"),o=""===t[0]&&t.length>1?1:0;return s(t,o,r)},getConflictingClassGroupIds:(e,r)=>{if(r){let r=n[e],l=t[e];return r?l?o(l,r):r:l||a}return t[e]||a}}},s=(e,r,t)=>{if(0==e.length-r)return t.classGroupId;let o=e[r],n=t.nextPart.get(o);if(n){let t=s(e,r+1,n);if(t)return t}let l=t.validators;if(null===l)return;let a=0===r?e.join("-"):e.slice(r).join("-"),i=l.length;for(let e=0;e<i;e++){let r=l[e];if(r.validator(a))return r.classGroupId}},c=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t);return o?"arbitrary.."+o:void 0})(),d=e=>{let{theme:r,classGroups:t}=e;return u(t,r)},u=(e,r)=>{let t=l();for(let o in e)p(e[o],t,o,r);return t},p=(e,r,t,o)=>{let n=e.length;for(let l=0;l<n;l++)m(e[l],r,t,o)},m=(e,r,t,o)=>{if("string"==typeof e){f(e,r,t);return}if("function"==typeof e){h(e,r,t,o);return}g(e,r,t,o)},f=(e,r,t)=>{(""===e?r:b(r,e)).classGroupId=t},h=(e,r,t,o)=>{if(w(e)){p(e(o),r,t,o);return}null===r.validators&&(r.validators=[]),r.validators.push(n(t,e))},g=(e,r,t,o)=>{let n=Object.entries(e),l=n.length;for(let e=0;e<l;e++){let[l,a]=n[e];p(a,b(r,l),t,o)}},b=(e,r)=>{let t=e,o=r.split("-"),n=o.length;for(let e=0;e<n;e++){let r=o[e],n=t.nextPart.get(r);n||(n=l(),t.nextPart.set(r,n)),t=n}return t},w=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,v=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null),n=(n,l)=>{t[n]=l,++r>e&&(r=0,o=t,t=Object.create(null))};return{get(e){let r=t[e];return void 0!==r?r:void 0!==(r=o[e])?(n(e,r),r):void 0},set(e,r){e in t?t[e]=r:n(e,r)}}},y=[],x=(e,r,t,o,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:n}),k=e=>{let{prefix:r,experimentalParseClassName:t}=e,o=e=>{let r;let t=[],o=0,n=0,l=0,a=e.length;for(let i=0;i<a;i++){let a=e[i];if(0===o&&0===n){if(":"===a){t.push(e.slice(l,i)),l=i+1;continue}if("/"===a){r=i;continue}}"["===a?o++:"]"===a?o--:"("===a?n++:")"===a&&n--}let i=0===t.length?e:e.slice(l),s=i,c=!1;return i.endsWith("!")?(s=i.slice(0,-1),c=!0):i.startsWith("!")&&(s=i.slice(1),c=!0),x(t,c,s,r&&r>l?r-l:void 0)};if(r){let e=r+":",t=o;o=r=>r.startsWith(e)?t(r.slice(e.length)):x(y,!1,r,void 0,!0)}if(t){let e=o;o=r=>t({className:r,parseClassName:e})}return o},S=e=>{let r=new Map;return e.orderSensitiveModifiers.forEach((e,t)=>{r.set(e,1e6+t)}),e=>{let t=[],o=[];for(let n=0;n<e.length;n++){let l=e[n],a="["===l[0],i=r.has(l);a||i?(o.length>0&&(o.sort(),t.push(...o),o=[]),t.push(l)):o.push(l)}return o.length>0&&(o.sort(),t.push(...o)),t}},z=e=>({cache:v(e.cacheSize),parseClassName:k(e),sortModifiers:S(e),...i(e)}),E=/\s+/,C=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:l}=r,a=[],i=e.trim().split(E),s="";for(let e=i.length-1;e>=0;e-=1){let r=i[e],{isExternal:c,modifiers:d,hasImportantModifier:u,baseClassName:p,maybePostfixModifierPosition:m}=t(r);if(c){s=r+(s.length>0?" "+s:s);continue}let f=!!m,h=o(f?p.substring(0,m):p);if(!h){if(!f||!(h=o(p))){s=r+(s.length>0?" "+s:s);continue}f=!1}let g=0===d.length?"":1===d.length?d[0]:l(d).join(":"),b=u?g+"!":g,w=b+h;if(a.indexOf(w)>-1)continue;a.push(w);let v=n(h,f);for(let e=0;e<v.length;++e){let r=v[e];a.push(b+r)}s=r+(s.length>0?" "+s:s)}return s},N=(...e)=>{let r,t,o=0,n="";for(;o<e.length;)(r=e[o++])&&(t=j(r))&&(n&&(n+=" "),n+=t);return n},j=e=>{let r;if("string"==typeof e)return e;let t="";for(let o=0;o<e.length;o++)e[o]&&(r=j(e[o]))&&(t&&(t+=" "),t+=r);return t},T=[],R=e=>{let r=r=>r[e]||T;return r.isThemeGetter=!0,r},M=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_=/^\d+\/\d+$/,L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,A=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,W=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z=e=>_.test(e),I=e=>!!e&&!Number.isNaN(Number(e)),U=e=>!!e&&Number.isInteger(Number(e)),H=e=>e.endsWith("%")&&I(e.slice(0,-1)),$=e=>L.test(e),V=()=>!0,q=e=>A.test(e)&&!O.test(e),F=()=>!1,G=e=>D.test(e),X=e=>W.test(e),Y=e=>!J(e)&&!el(e),B=e=>em(e,eb,F),J=e=>M.test(e),K=e=>em(e,ew,q),Q=e=>em(e,ev,I),ee=e=>em(e,ex,V),er=e=>em(e,ey,F),et=e=>em(e,eh,F),eo=e=>em(e,eg,X),en=e=>em(e,ek,G),el=e=>P.test(e),ea=e=>ef(e,ew),ei=e=>ef(e,ey),es=e=>ef(e,eh),ec=e=>ef(e,eb),ed=e=>ef(e,eg),eu=e=>ef(e,ek,!0),ep=e=>ef(e,ex,!0),em=(e,r,t)=>{let o=M.exec(e);return!!o&&(o[1]?r(o[1]):t(o[2]))},ef=(e,r,t=!1)=>{let o=P.exec(e);return!!o&&(o[1]?r(o[1]):t)},eh=e=>"position"===e||"percentage"===e,eg=e=>"image"===e||"url"===e,eb=e=>"length"===e||"size"===e||"bg-size"===e,ew=e=>"length"===e,ev=e=>"number"===e,ey=e=>"family-name"===e,ex=e=>"number"===e||"weight"===e,ek=e=>"shadow"===e,eS=((e,...r)=>{let t,o,n,l;let a=e=>{let r=o(e);if(r)return r;let l=C(e,t);return n(e,l),l};return l=i=>(o=(t=z(r.reduce((e,r)=>r(e),e()))).cache.get,n=t.cache.set,l=a,a(i)),(...e)=>l(N(...e))})(()=>{let e=R("color"),r=R("font"),t=R("text"),o=R("font-weight"),n=R("tracking"),l=R("leading"),a=R("breakpoint"),i=R("container"),s=R("spacing"),c=R("radius"),d=R("shadow"),u=R("inset-shadow"),p=R("text-shadow"),m=R("drop-shadow"),f=R("blur"),h=R("perspective"),g=R("aspect"),b=R("ease"),w=R("animate"),v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...y(),el,J],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],z=()=>[el,J,s],E=()=>[Z,"full","auto",...z()],C=()=>[U,"none","subgrid",el,J],N=()=>["auto",{span:["full",U,el,J]},U,el,J],j=()=>[U,"auto",el,J],T=()=>["auto","min","max","fr",el,J],M=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...z()],L=()=>[Z,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],A=()=>[e,el,J],O=()=>[...y(),es,et,{position:[el,J]}],D=()=>["no-repeat",{repeat:["","x","y","space","round"]}],W=()=>["auto","cover","contain",ec,B,{size:[el,J]}],q=()=>[H,ea,K],F=()=>["","none","full",c,el,J],G=()=>["",I,ea,K],X=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ef=()=>[I,H,es,et],eh=()=>["","none",f,el,J],eg=()=>["none",I,el,J],eb=()=>["none",I,el,J],ew=()=>[I,el,J],ev=()=>[Z,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[V],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[Y],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",I],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Z,J,el,g]}],container:["container"],columns:[{columns:[I,J,el,i]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[U,"auto",el,J]}],basis:[{basis:[Z,"full","auto",i,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[I,Z,"auto","initial","none",J]}],grow:[{grow:["",I,el,J]}],shrink:[{shrink:["",I,el,J]}],order:[{order:[U,"first","last","none",el,J]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":T()}],"auto-rows":[{"auto-rows":T()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...M(),"normal"]}],"justify-items":[{"justify-items":[...P(),"normal"]}],"justify-self":[{"justify-self":["auto",...P()]}],"align-content":[{content:["normal",...M()]}],"align-items":[{items:[...P(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...P(),{baseline:["","last"]}]}],"place-content":[{"place-content":M()}],"place-items":[{"place-items":[...P(),"baseline"]}],"place-self":[{"place-self":["auto",...P()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[i,"screen",...L()]}],"min-w":[{"min-w":[i,"screen","none",...L()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[a]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",t,ea,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ep,ee]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",H,J]}],"font-family":[{font:[ei,er,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,el,J]}],"line-clamp":[{"line-clamp":[I,"none",el,Q]}],leading:[{leading:[l,...z()]}],"list-image":[{"list-image":["none",el,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",el,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:[I,"from-font","auto",el,K]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[I,"auto",el,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",el,J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",el,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:O()}],"bg-repeat":[{bg:D()}],"bg-size":[{bg:W()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},U,el,J],radial:["",el,J],conic:[U,el,J]},ed,eo]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:q()}],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...X(),"hidden","none"]}],"divide-style":[{divide:[...X(),"hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:[...X(),"none","hidden"]}],"outline-offset":[{"outline-offset":[I,el,J]}],"outline-w":[{outline:["",I,ea,K]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",d,eu,en]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",u,eu,en]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[I,K]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,eu,en]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[I,el,J]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[I]}],"mask-image-linear-from-pos":[{"mask-linear-from":ef()}],"mask-image-linear-to-pos":[{"mask-linear-to":ef()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":ef()}],"mask-image-t-to-pos":[{"mask-t-to":ef()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":ef()}],"mask-image-r-to-pos":[{"mask-r-to":ef()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":ef()}],"mask-image-b-to-pos":[{"mask-b-to":ef()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":ef()}],"mask-image-l-to-pos":[{"mask-l-to":ef()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":ef()}],"mask-image-x-to-pos":[{"mask-x-to":ef()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":ef()}],"mask-image-y-to-pos":[{"mask-y-to":ef()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[el,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":ef()}],"mask-image-radial-to-pos":[{"mask-radial-to":ef()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":y()}],"mask-image-conic-pos":[{"mask-conic":[I]}],"mask-image-conic-from-pos":[{"mask-conic-from":ef()}],"mask-image-conic-to-pos":[{"mask-conic-to":ef()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"mask-repeat":[{mask:D()}],"mask-size":[{mask:W()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",el,J]}],filter:[{filter:["","none",el,J]}],blur:[{blur:eh()}],brightness:[{brightness:[I,el,J]}],contrast:[{contrast:[I,el,J]}],"drop-shadow":[{"drop-shadow":["","none",m,eu,en]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",I,el,J]}],"hue-rotate":[{"hue-rotate":[I,el,J]}],invert:[{invert:["",I,el,J]}],saturate:[{saturate:[I,el,J]}],sepia:[{sepia:["",I,el,J]}],"backdrop-filter":[{"backdrop-filter":["","none",el,J]}],"backdrop-blur":[{"backdrop-blur":eh()}],"backdrop-brightness":[{"backdrop-brightness":[I,el,J]}],"backdrop-contrast":[{"backdrop-contrast":[I,el,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",I,el,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[I,el,J]}],"backdrop-invert":[{"backdrop-invert":["",I,el,J]}],"backdrop-opacity":[{"backdrop-opacity":[I,el,J]}],"backdrop-saturate":[{"backdrop-saturate":[I,el,J]}],"backdrop-sepia":[{"backdrop-sepia":["",I,el,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",el,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[I,"initial",el,J]}],ease:[{ease:["linear","initial",b,el,J]}],delay:[{delay:[I,el,J]}],animate:[{animate:["none",w,el,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,el,J]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:eg()}],"rotate-x":[{"rotate-x":eg()}],"rotate-y":[{"rotate-y":eg()}],"rotate-z":[{"rotate-z":eg()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[el,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ev()}],"translate-x":[{"translate-x":ev()}],"translate-y":[{"translate-y":ev()}],"translate-z":[{"translate-z":ev()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",el,J]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",el,J]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[I,ea,K,Q]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{315:function(e,s,t){Promise.resolve().then(t.bind(t,8205))},8205:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return E}});var r=t(7437),a=t(2265),l=t(2431),d=t(3247),n=t(875),c=t(407),i=t(3136),o=t(401),x=t(8867),m=t(1723),u=t(4972),h=t(9525),f=t(2208),p=t(9322),b=t(2222),j=t(8736),g=t(4967),v=t(1994),N=t(3335);function y(){for(var e=arguments.length,s=Array(e),t=0;t<e;t++)s[t]=arguments[t];return(0,N.m6)((0,v.W)(s))}function w(e){let{className:s,children:t,...a}=e;return(0,r.jsxs)(g.fC,{"data-slot":"scroll-area",className:y("relative overflow-hidden",s),...a,children:[(0,r.jsx)(g.l_,{"data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1 !overflow-y-auto [&>div]:!block",children:t}),(0,r.jsx)(k,{}),(0,r.jsx)(g.Ns,{})]})}function k(e){let{className:s,orientation:t="vertical",...a}=e;return(0,r.jsx)(g.gb,{"data-slot":"scroll-area-scrollbar",orientation:t,className:y("flex touch-none p-px transition-colors select-none","vertical"===t&&"h-full w-2.5 border-l border-l-transparent","horizontal"===t&&"h-2.5 flex-col border-t border-t-transparent",s),...a,children:(0,r.jsx)(g.q4,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})}function E(){var e,s,t,g,v;let[N,y]=(0,a.useState)(null),[k,E]=(0,a.useState)(!0),[C,S]=(0,a.useState)(null),[D,z]=(0,a.useState)(null),[Z,O]=(0,a.useState)(""),[A,L]=(0,a.useState)(!1),[F,T]=(0,a.useState)(new Set),_=async()=>{E(!0),S(null);try{let e=await fetch("/snapshot");if(!e.ok)throw Error("Failed to fetch snapshot");let s=await e.json();y(s)}catch(e){S(e instanceof Error?e.message:"Unknown error")}finally{E(!1)}};(0,a.useEffect)(()=>{_()},[]);let R=e=>{T(s=>{let t=new Set(s);return t.has(e)?t.delete(e):t.add(e),t})},B=e=>{switch(e){case"DONE":return"bg-chart-2/20 text-chart-2";case"FAILED":return"bg-chart-5/20 text-chart-5";case"BLOCKED":return"bg-chart-3/20 text-chart-3";case"READY":return"bg-chart-1/20 text-chart-1";default:return"bg-muted text-muted-foreground"}};if(k&&!N)return(0,r.jsx)("div",{className:"h-screen bg-background flex items-center justify-center",children:(0,r.jsx)("div",{className:"text-muted-foreground",children:"Loading..."})});if(C)return(0,r.jsx)("div",{className:"h-screen bg-background flex items-center justify-center",children:(0,r.jsxs)("div",{className:"text-destructive-foreground",children:["Error: ",C]})});if(!N||!N.snapshot)return(0,r.jsx)("div",{className:"h-screen bg-background p-8",children:(0,r.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,r.jsxs)("div",{className:"bg-destructive/10 border border-destructive rounded-lg p-6",children:[(0,r.jsx)("h2",{className:"text-xl font-bold text-destructive-foreground mb-4",children:"Queue Parse Errors"}),(0,r.jsx)("div",{className:"space-y-2",children:(null==N?void 0:null===(v=N.queueErrors)||void 0===v?void 0:v.map((e,s)=>(0,r.jsx)("div",{className:"text-destructive-foreground text-sm",children:e},s)))||(0,r.jsx)("div",{className:"text-destructive-foreground text-sm",children:"No data available"})})]})})});let q=N.snapshot,I=q.tasks.filter(e=>e.description.toLowerCase().includes(Z.toLowerCase())||e.id.toLowerCase().includes(Z.toLowerCase())).reduce((e,s)=>(e[s.slice]||(e[s.slice]=[]),e[s.slice].push(s),e),{}),P=e=>q.tasks.filter(s=>s.dependsOn.includes(e)),M=q.tasks.reduce((e,s)=>{if(s.lastEvent){var t;let r=s.lastEvent.agent;e[r]||(e[r]={done:0,failed:0,totalDuration:0,taskCount:0}),e[r].taskCount++,"DONE"===s.lastEvent.status&&e[r].done++,"FAILED"===s.lastEvent.status&&e[r].failed++;let a=null===(t=s.lastEvent.meta)||void 0===t?void 0:t.duration;"number"==typeof a&&(e[r].totalDuration+=a)}return e},{}),Q=null===(e=q.tasks.filter(e=>e.lastEvent).sort((e,s)=>s.lastEvent.timestamp.localeCompare(e.lastEvent.timestamp))[0])||void 0===e?void 0:e.lastEvent,G=[...new Set(q.tasks.map(e=>e.area))];return(0,r.jsxs)("div",{className:"h-screen bg-background flex overflow-hidden",children:[(0,r.jsxs)("div",{className:"w-[25%] min-w-[300px] bg-sidebar border-r border-sidebar-border flex flex-col",children:[(0,r.jsxs)("div",{className:"p-4 border-b border-sidebar-border",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsx)("h1",{className:"text-lg font-semibold text-foreground",children:"agent-scope"}),(0,r.jsx)("span",{className:"text-xs text-muted-foreground bg-muted px-2 py-0.5 rounded",children:"v0.1"})]}),(0,r.jsx)("button",{onClick:_,disabled:k,className:"p-1.5 rounded hover:bg-sidebar-accent transition-colors disabled:opacity-50",children:(0,r.jsx)(l.Z,{className:"size-4 text-muted-foreground ".concat(k?"animate-spin":"")})})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(d.Z,{className:"absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground"}),(0,r.jsx)("input",{type:"text",placeholder:"Filter tasks...",value:Z,onChange:e=>O(e.target.value),className:"w-full bg-background border border-border rounded-lg pl-9 pr-3 py-2 text-sm text-foreground placeholder-muted-foreground focus:outline-none focus:border-ring"})]})]}),(0,r.jsx)(w,{className:"flex-1",children:(0,r.jsx)("div",{className:"p-3 space-y-3",children:Object.entries(I).map(e=>{let[s,t]=e;return(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("button",{onClick:()=>R(s),className:"w-full flex items-center justify-between px-2 py-1.5 bg-muted rounded text-xs font-semibold text-muted-foreground hover:bg-muted/80 transition-colors",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[F.has(s)?(0,r.jsx)(n.Z,{className:"size-3.5"}):(0,r.jsx)(c.Z,{className:"size-3.5"}),(0,r.jsxs)("span",{children:[s," • ",t.length," tasks"]})]}),(0,r.jsxs)("span",{className:"text-muted-foreground/60",children:[t.filter(e=>"DONE"===e.status).length,"/",t.length]})]}),F.has(s)&&t.map(e=>{var s,t;return(0,r.jsxs)("button",{onClick:()=>z(e),className:"w-full text-left p-3 rounded-lg border transition-colors ".concat((null==D?void 0:D.id)===e.id?"bg-accent border-ring":"bg-card border-border hover:bg-accent/50"),children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-1.5",children:[(0,r.jsx)("span",{className:"text-sm font-mono text-foreground",children:e.id}),(0,r.jsx)("span",{className:"text-xs px-2 py-0.5 rounded font-semibold ".concat(B(e.status)),children:e.status})]}),(0,r.jsx)("div",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description}),(0,r.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,r.jsx)("span",{className:"text-xs text-muted-foreground/60",children:e.area}),"string"==typeof(null===(t=e.lastEvent)||void 0===t?void 0:null===(s=t.meta)||void 0===s?void 0:s.commit)&&(0,r.jsxs)("span",{className:"flex items-center gap-1 text-[10px] text-chart-4/70 font-mono",children:[(0,r.jsx)(i.Z,{className:"size-2.5"}),String(e.lastEvent.meta.commit).slice(0,7)]})]})]},e.id)})]},s)})})})]}),(0,r.jsx)("div",{className:"flex-1 flex flex-col overflow-hidden",children:D?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"bg-sidebar border-b border-border p-6",children:[(0,r.jsx)("h2",{className:"text-2xl font-semibold text-foreground mb-3",children:D.description}),(0,r.jsxs)("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[(0,r.jsxs)("span",{children:["Task: ",D.id]}),(0,r.jsx)("span",{children:"•"}),(0,r.jsxs)("span",{children:["Area: ",D.area]}),(0,r.jsx)("span",{children:"•"}),(0,r.jsx)("span",{className:"px-2 py-1 rounded text-xs font-semibold ".concat(B(D.status)),children:D.status}),(0,r.jsx)("div",{className:"flex-1"}),(0,r.jsx)("button",{onClick:()=>{D&&(navigator.clipboard.writeText(D.id),L(!0),setTimeout(()=>L(!1),2e3))},className:"flex items-center gap-1.5 px-3 py-1.5 rounded hover:bg-accent transition-colors",children:A?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Z,{className:"size-3.5 text-chart-2"}),(0,r.jsx)("span",{className:"text-chart-2",children:"Copied"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.Z,{className:"size-3.5"}),(0,r.jsx)("span",{children:"Copy ID"})]})})]})]}),(0,r.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,r.jsxs)("div",{className:"w-1/2 border-r border-border flex flex-col",children:[(0,r.jsx)("div",{className:"bg-sidebar border-b border-border px-4 py-2",children:(0,r.jsx)("h3",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"Task Details"})}),(0,r.jsx)(w,{className:"flex-1",children:(0,r.jsxs)("div",{className:"p-6 space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-2",children:"Acceptance Criteria"}),(0,r.jsx)("p",{className:"text-sm text-foreground/80 leading-relaxed",children:D.acceptanceCriteria})]}),D.dependsOn.length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-2",children:"Dependencies"}),(0,r.jsx)("div",{className:"space-y-2",children:D.dependsOn.map(e=>{let s=q.tasks.find(s=>s.id===e);return(0,r.jsx)("button",{onClick:()=>s&&z(s),className:"w-full text-left p-3 rounded-lg bg-card border border-border hover:bg-accent/50 transition-colors",children:(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{className:"text-sm font-mono text-foreground",children:e}),s&&(0,r.jsx)("span",{className:"text-xs px-2 py-0.5 rounded font-semibold ".concat(B(s.status)),children:s.status})]})},e)})})]}),P(D.id).length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-2",children:"Blocks These Tasks"}),(0,r.jsx)("div",{className:"space-y-2",children:P(D.id).map(e=>(0,r.jsx)("button",{onClick:()=>z(e),className:"w-full text-left p-3 rounded-lg bg-card border border-border hover:bg-accent/50 transition-colors",children:(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{className:"text-sm font-mono text-foreground",children:e.id}),(0,r.jsx)("span",{className:"text-xs px-2 py-0.5 rounded font-semibold ".concat(B(e.status)),children:e.status})]})},e.id))})]}),D.lastEvent&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-2",children:"Execution"}),(0,r.jsxs)("div",{className:"bg-card rounded-lg p-4 space-y-3 text-sm border border-border",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-foreground font-mono",children:D.lastEvent.agent}),(0,r.jsx)("span",{className:"px-2 py-0.5 rounded text-xs font-semibold ".concat(B(D.lastEvent.status)),children:D.lastEvent.status})]}),(0,r.jsx)("span",{className:"text-muted-foreground text-xs",children:new Date(D.lastEvent.timestamp).toLocaleString()})]}),(null===(s=D.lastEvent.meta)||void 0===s?void 0:s.duration)!=null&&(0,r.jsxs)("div",{className:"flex items-center gap-4 text-xs text-muted-foreground",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(m.Z,{className:"size-3"}),String(D.lastEvent.meta.duration),"s"]}),null!=D.lastEvent.meta.stepCount&&(0,r.jsxs)("span",{children:[String(D.lastEvent.meta.stepCount)," steps"]})]}),"string"==typeof(null===(t=D.lastEvent.meta)||void 0===t?void 0:t.commit)&&(0,r.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 bg-background rounded-md",children:[(0,r.jsx)(i.Z,{className:"size-3.5 text-chart-4 shrink-0"}),(0,r.jsx)("code",{className:"text-xs text-chart-4 font-mono",children:String(D.lastEvent.meta.commit).slice(0,7)}),(0,r.jsx)("span",{className:"text-xs text-muted-foreground truncate",children:String(D.lastEvent.meta.commitMsg||"")})]}),Array.isArray(null===(g=D.lastEvent.meta)||void 0===g?void 0:g.steps)&&(0,r.jsx)("div",{className:"mt-2 pt-3 border-t border-border space-y-1",children:D.lastEvent.meta.steps.map((e,s)=>(0,r.jsxs)("div",{className:"flex items-start gap-2 py-1.5 px-2 rounded hover:bg-background/50",children:[(0,r.jsxs)("div",{className:"mt-0.5",children:["thought"===e.type&&(0,r.jsx)(u.Z,{className:"size-3.5 text-chart-4"}),"tool_call"===e.type&&(0,r.jsx)(h.Z,{className:"size-3.5 text-chart-1"}),"observation"===e.type&&(0,r.jsx)(f.Z,{className:"size-3.5 text-chart-2"}),"error"===e.type&&(0,r.jsx)(p.Z,{className:"size-3.5 text-chart-5"})]}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,r.jsx)("span",{className:"text-xs font-medium text-foreground truncate",children:e.name}),(0,r.jsxs)("span",{className:"text-[10px] text-muted-foreground/60 shrink-0",children:[e.duration,"ms"]})]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground/80 truncate",children:e.summary})]})]},s))}),D.lastEvent.meta&&!Array.isArray(D.lastEvent.meta.steps)&&(0,r.jsx)("div",{className:"mt-2 pt-3 border-t border-border",children:(0,r.jsx)("pre",{className:"text-xs text-muted-foreground bg-background p-2 rounded overflow-auto",children:JSON.stringify(D.lastEvent.meta,null,2)})})]})]})]})})]}),(0,r.jsxs)("div",{className:"w-1/2 flex flex-col",children:[(0,r.jsx)("div",{className:"bg-sidebar border-b border-border px-4 py-2",children:(0,r.jsx)("h3",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"Overview"})}),(0,r.jsx)(w,{className:"flex-1",children:(0,r.jsxs)("div",{className:"p-6 space-y-6",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,r.jsx)("div",{className:"text-2xl font-bold text-foreground",children:q.summary.total}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground mt-1",children:"Total Tasks"})]}),(0,r.jsxs)("div",{className:"bg-card border border-chart-2/30 rounded-lg p-4",children:[(0,r.jsx)("div",{className:"text-2xl font-bold text-chart-2",children:q.summary.done}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground mt-1",children:"Done"})]}),(0,r.jsxs)("div",{className:"bg-card border border-chart-5/30 rounded-lg p-4",children:[(0,r.jsx)("div",{className:"text-2xl font-bold text-chart-5",children:q.summary.failed}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground mt-1",children:"Failed"})]}),(0,r.jsxs)("div",{className:"bg-card border border-chart-3/30 rounded-lg p-4",children:[(0,r.jsx)("div",{className:"text-2xl font-bold text-chart-3",children:q.summary.blocked}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground mt-1",children:"Blocked"})]}),(0,r.jsxs)("div",{className:"bg-card border border-chart-1/30 rounded-lg p-4",children:[(0,r.jsx)("div",{className:"text-2xl font-bold text-chart-1",children:q.summary.ready}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground mt-1",children:"Ready"})]}),(0,r.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,r.jsxs)("div",{className:"text-2xl font-bold text-foreground",children:[Math.round(100*q.summary.successRate),"%"]}),(0,r.jsx)("div",{className:"text-xs text-muted-foreground mt-1",children:"Success Rate"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-3",children:"Slice Progress"}),(0,r.jsx)("div",{className:"space-y-3",children:Object.entries(q.slices).map(e=>{let[s,t]=e;return(0,r.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,r.jsxs)("div",{className:"flex justify-between mb-2",children:[(0,r.jsx)("span",{className:"font-semibold text-foreground",children:s}),(0,r.jsxs)("span",{className:"text-muted-foreground text-sm",children:[t.done,"/",t.total," (",t.progress,"%)"]})]}),(0,r.jsx)("div",{className:"w-full bg-muted rounded-full h-2",children:(0,r.jsx)("div",{className:"bg-chart-2 h-2 rounded-full transition-all",style:{width:"".concat(t.progress,"%")}})}),(0,r.jsxs)("div",{className:"flex gap-4 mt-3 text-xs",children:[(0,r.jsxs)("span",{className:"text-chart-2",children:["Done: ",t.done]}),(0,r.jsxs)("span",{className:"text-chart-5",children:["Failed: ",t.failed]}),(0,r.jsxs)("span",{className:"text-chart-3",children:["Blocked: ",t.blocked]}),(0,r.jsxs)("span",{className:"text-chart-1",children:["Ready: ",t.ready]})]})]},s)})})]}),Object.keys(M).length>0&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-3",children:"Agent Activity"}),(0,r.jsx)("div",{className:"space-y-2",children:Object.entries(M).map(e=>{let[s,t]=e;return(0,r.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(b.Z,{className:"size-4 text-chart-4"}),(0,r.jsx)("span",{className:"font-mono text-sm text-foreground",children:s})]}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground",children:[t.taskCount," tasks"]})]}),(0,r.jsxs)("div",{className:"flex gap-3 text-xs",children:[(0,r.jsxs)("span",{className:"text-chart-2",children:[t.done," done"]}),t.failed>0&&(0,r.jsxs)("span",{className:"text-chart-5",children:[t.failed," failed"]}),t.totalDuration>0&&(0,r.jsxs)("span",{className:"text-muted-foreground flex items-center gap-1",children:[(0,r.jsx)(m.Z,{className:"size-3"}),t.totalDuration.toFixed(1),"s total"]})]})]},s)})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-xs font-semibold text-muted-foreground uppercase mb-3",children:"Data Sources"}),(0,r.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4 space-y-3 text-sm",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(j.Z,{className:"size-3.5 text-chart-4"}),(0,r.jsx)("span",{className:"text-muted-foreground",children:"Queue:"}),(0,r.jsx)("span",{className:"font-mono text-foreground text-xs",children:"queue.md"}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground/60 ml-auto",children:[G.length," areas"]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(j.Z,{className:"size-3.5 text-chart-1"}),(0,r.jsx)("span",{className:"text-muted-foreground",children:"Log:"}),(0,r.jsx)("span",{className:"font-mono text-foreground text-xs",children:"execution.log"}),(0,r.jsxs)("span",{className:"text-xs text-muted-foreground/60 ml-auto",children:[q.tasks.filter(e=>e.lastEvent).length," events"]})]}),N.meta&&(0,r.jsxs)("div",{className:"pt-2 border-t border-border flex items-center justify-between text-xs text-muted-foreground",children:[(0,r.jsx)("span",{children:"Generated at"}),(0,r.jsx)("span",{children:new Date(N.meta.generatedAt).toLocaleString()})]}),Q&&(0,r.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,r.jsx)("span",{children:"Last activity"}),(0,r.jsx)("span",{children:new Date(Q.timestamp).toLocaleString()})]})]})]})]})})]})]})]}):(0,r.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("p",{className:"text-muted-foreground text-lg mb-2",children:"No task selected"}),(0,r.jsx)("p",{className:"text-muted-foreground/60 text-sm",children:"Select a task from the sidebar to view details"})]})})})]})}}},function(e){e.O(0,[758,971,117,744],function(){return e(e.s=315)}),_N_E=e.O()}]);
|