@locusai/web 0.1.3 → 0.1.4
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/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +37 -37
- package/.next/app-path-routes-manifest.json +7 -1
- package/.next/build-manifest.json +14 -14
- package/.next/cache/.previewinfo +1 -0
- package/.next/cache/.rscinfo +1 -1
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/diagnostics/framework.json +1 -1
- package/.next/export-detail.json +5 -1
- package/.next/export-marker.json +6 -1
- package/.next/images-manifest.json +57 -1
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +108 -1
- package/.next/react-loadable-manifest.json +14 -14
- package/.next/required-server-files.json +324 -1
- package/.next/routes-manifest.json +71 -1
- package/.next/server/app/_not-found/page.js +2 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.meta +1 -1
- package/.next/server/app/_not-found.rsc +15 -12
- package/.next/server/app/backlog/page.js +2 -1
- package/.next/server/app/backlog/page.js.nft.json +1 -1
- package/.next/server/app/backlog/page_client-reference-manifest.js +1 -1
- package/.next/server/app/backlog.html +1 -1
- package/.next/server/app/backlog.meta +1 -1
- package/.next/server/app/backlog.rsc +18 -15
- package/.next/server/app/docs/page.js +6 -5
- package/.next/server/app/docs/page.js.nft.json +1 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.meta +1 -1
- package/.next/server/app/docs.rsc +19 -16
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.meta +1 -1
- package/.next/server/app/index.rsc +18 -15
- package/.next/server/app/page.js +2 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page.js +2 -1
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.meta +1 -1
- package/.next/server/app/settings.rsc +18 -15
- package/.next/server/chunks/354.js +28 -0
- package/.next/server/chunks/496.js +6 -0
- package/.next/server/chunks/719.js +1 -0
- package/.next/server/chunks/927.js +1 -0
- package/.next/server/functions-config-manifest.json +4 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +19 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +6 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/{jpBY_e0OMNAi3Fw2pJYM_ → QcceI_B55xOsryXxwZfhA}/_buildManifest.js +1 -1
- package/.next/static/chunks/138.b98511c56423f8bb.js +1 -0
- package/.next/static/chunks/337-d3bb75304d130513.js +1 -0
- package/.next/static/chunks/477.1a6ecfe53375bd9c.js +1 -0
- package/.next/static/chunks/487-1808785ba665f784.js +1 -0
- package/.next/static/chunks/544.e3db93036b5e0914.js +1 -0
- package/.next/static/chunks/795-10b9cf2562a5999c.js +1 -0
- package/.next/static/chunks/87c73c54-1f4741035a95c140.js +1 -0
- package/.next/static/chunks/902-d6926825a9fe8784.js +1 -0
- package/.next/static/chunks/955-c8f8f6235ae8f8c6.js +1 -0
- package/.next/static/chunks/996.e0a334e6ae90900e.js +1 -0
- package/.next/static/chunks/app/_not-found/page-44b1804abb44a34d.js +1 -0
- package/.next/static/chunks/app/backlog/page-2ea07643f5b6e06b.js +1 -0
- package/.next/static/chunks/app/docs/page-19686afe86f9756b.js +1 -0
- package/.next/static/chunks/app/layout-70b5f0deb13c27ef.js +1 -0
- package/.next/static/chunks/app/page-1682e21c1ab5320f.js +1 -0
- package/.next/static/chunks/app/settings/page-84e16c9638d657e4.js +1 -0
- package/.next/static/chunks/framework-152a1bc8c81c7458.js +1 -0
- package/.next/static/chunks/main-6c877f3851a8d718.js +1 -0
- package/.next/static/chunks/main-app-123e879c5a937a00.js +1 -0
- package/.next/static/chunks/pages/_app-a050a8e6e4fb04cf.js +1 -0
- package/.next/static/chunks/pages/_error-3e422ffd891594de.js +1 -0
- package/.next/static/chunks/webpack-03b96ab0f7ba7feb.js +1 -0
- package/.next/static/css/b301ab0424111664.css +1 -0
- package/.next/trace +45 -44
- package/.next/types/cache-life.d.ts +3 -3
- package/CHANGELOG.md +8 -0
- package/out/404.html +1 -1
- package/out/_next/static/{jpBY_e0OMNAi3Fw2pJYM_ → QcceI_B55xOsryXxwZfhA}/_buildManifest.js +1 -1
- package/out/_next/static/chunks/138.b98511c56423f8bb.js +1 -0
- package/out/_next/static/chunks/337-d3bb75304d130513.js +1 -0
- package/out/_next/static/chunks/477.1a6ecfe53375bd9c.js +1 -0
- package/out/_next/static/chunks/487-1808785ba665f784.js +1 -0
- package/out/_next/static/chunks/544.e3db93036b5e0914.js +1 -0
- package/out/_next/static/chunks/795-10b9cf2562a5999c.js +1 -0
- package/out/_next/static/chunks/87c73c54-1f4741035a95c140.js +1 -0
- package/out/_next/static/chunks/902-d6926825a9fe8784.js +1 -0
- package/out/_next/static/chunks/955-c8f8f6235ae8f8c6.js +1 -0
- package/out/_next/static/chunks/996.e0a334e6ae90900e.js +1 -0
- package/out/_next/static/chunks/app/_not-found/page-44b1804abb44a34d.js +1 -0
- package/out/_next/static/chunks/app/backlog/page-2ea07643f5b6e06b.js +1 -0
- package/out/_next/static/chunks/app/docs/page-19686afe86f9756b.js +1 -0
- package/out/_next/static/chunks/app/layout-70b5f0deb13c27ef.js +1 -0
- package/out/_next/static/chunks/app/page-1682e21c1ab5320f.js +1 -0
- package/out/_next/static/chunks/app/settings/page-84e16c9638d657e4.js +1 -0
- package/out/_next/static/chunks/framework-152a1bc8c81c7458.js +1 -0
- package/out/_next/static/chunks/main-6c877f3851a8d718.js +1 -0
- package/out/_next/static/chunks/main-app-123e879c5a937a00.js +1 -0
- package/out/_next/static/chunks/pages/_app-a050a8e6e4fb04cf.js +1 -0
- package/out/_next/static/chunks/pages/_error-3e422ffd891594de.js +1 -0
- package/out/_next/static/chunks/webpack-03b96ab0f7ba7feb.js +1 -0
- package/out/_next/static/css/b301ab0424111664.css +1 -0
- package/out/backlog.html +1 -1
- package/out/backlog.txt +18 -15
- package/out/docs.html +1 -1
- package/out/docs.txt +19 -16
- package/out/index.html +1 -1
- package/out/index.txt +18 -15
- package/out/settings.html +1 -1
- package/out/settings.txt +18 -15
- package/package.json +2 -2
- package/.next/server/chunks/295.js +0 -6
- package/.next/server/chunks/467.js +0 -1
- package/.next/server/chunks/533.js +0 -1
- package/.next/server/chunks/639.js +0 -15
- package/.next/static/chunks/140.d5e67b269d70c096.js +0 -1
- package/.next/static/chunks/142.82cd6bec804102b9.js +0 -1
- package/.next/static/chunks/18.1e768729d24d723d.js +0 -1
- package/.next/static/chunks/188.27288b5094867f29.js +0 -1
- package/.next/static/chunks/273-95c2836f1a6dfb23.js +0 -1
- package/.next/static/chunks/855-a193e1d785e334cf.js +0 -2
- package/.next/static/chunks/87c73c54-18883d7ce69be0ce.js +0 -1
- package/.next/static/chunks/892-70ddfae0f8c9ee9f.js +0 -1
- package/.next/static/chunks/954-73b5906ca7819e42.js +0 -1
- package/.next/static/chunks/972-efb0c31aeb3e1619.js +0 -1
- package/.next/static/chunks/app/_not-found/page-3884acf5e0397003.js +0 -1
- package/.next/static/chunks/app/backlog/page-ade60a21a3597509.js +0 -1
- package/.next/static/chunks/app/docs/page-5f69fffac832d77c.js +0 -1
- package/.next/static/chunks/app/layout-a0acefd9b75ec3b8.js +0 -1
- package/.next/static/chunks/app/page-cb3aec9c8077eab1.js +0 -1
- package/.next/static/chunks/app/settings/page-82693b6134aafc85.js +0 -1
- package/.next/static/chunks/framework-fdd4ff226e9057cd.js +0 -1
- package/.next/static/chunks/main-39090d49dd3cd8c7.js +0 -1
- package/.next/static/chunks/main-app-bb0a6e7769aa4668.js +0 -1
- package/.next/static/chunks/pages/_app-3e3e3e64529ea027.js +0 -1
- package/.next/static/chunks/pages/_error-8cfbe37f68950a2b.js +0 -1
- package/.next/static/chunks/webpack-a21f388d2a000173.js +0 -1
- package/.next/static/css/a979e4e0673642a5.css +0 -1
- package/out/_next/static/chunks/140.d5e67b269d70c096.js +0 -1
- package/out/_next/static/chunks/142.82cd6bec804102b9.js +0 -1
- package/out/_next/static/chunks/18.1e768729d24d723d.js +0 -1
- package/out/_next/static/chunks/188.27288b5094867f29.js +0 -1
- package/out/_next/static/chunks/273-95c2836f1a6dfb23.js +0 -1
- package/out/_next/static/chunks/855-a193e1d785e334cf.js +0 -2
- package/out/_next/static/chunks/87c73c54-18883d7ce69be0ce.js +0 -1
- package/out/_next/static/chunks/892-70ddfae0f8c9ee9f.js +0 -1
- package/out/_next/static/chunks/954-73b5906ca7819e42.js +0 -1
- package/out/_next/static/chunks/972-efb0c31aeb3e1619.js +0 -1
- package/out/_next/static/chunks/app/_not-found/page-3884acf5e0397003.js +0 -1
- package/out/_next/static/chunks/app/backlog/page-ade60a21a3597509.js +0 -1
- package/out/_next/static/chunks/app/docs/page-5f69fffac832d77c.js +0 -1
- package/out/_next/static/chunks/app/layout-a0acefd9b75ec3b8.js +0 -1
- package/out/_next/static/chunks/app/page-cb3aec9c8077eab1.js +0 -1
- package/out/_next/static/chunks/app/settings/page-82693b6134aafc85.js +0 -1
- package/out/_next/static/chunks/framework-fdd4ff226e9057cd.js +0 -1
- package/out/_next/static/chunks/main-39090d49dd3cd8c7.js +0 -1
- package/out/_next/static/chunks/main-app-bb0a6e7769aa4668.js +0 -1
- package/out/_next/static/chunks/pages/_app-3e3e3e64529ea027.js +0 -1
- package/out/_next/static/chunks/pages/_error-8cfbe37f68950a2b.js +0 -1
- package/out/_next/static/chunks/webpack-a21f388d2a000173.js +0 -1
- package/out/_next/static/css/a979e4e0673642a5.css +0 -1
- /package/.next/static/{jpBY_e0OMNAi3Fw2pJYM_ → QcceI_B55xOsryXxwZfhA}/_ssgManifest.js +0 -0
- /package/out/_next/static/{jpBY_e0OMNAi3Fw2pJYM_ → QcceI_B55xOsryXxwZfhA}/_ssgManifest.js +0 -0
|
@@ -112,13 +112,13 @@ declare module 'next/cache' {
|
|
|
112
112
|
/**
|
|
113
113
|
* Cache this `"use cache"` using a custom timespan.
|
|
114
114
|
* ```
|
|
115
|
-
* stale: ... // seconds
|
|
115
|
+
* stale: ... // seconds
|
|
116
116
|
* revalidate: ... // seconds
|
|
117
117
|
* expire: ... // seconds
|
|
118
118
|
* ```
|
|
119
|
-
*
|
|
119
|
+
*
|
|
120
120
|
* This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate`
|
|
121
|
-
*
|
|
121
|
+
*
|
|
122
122
|
* If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
|
|
123
123
|
*/
|
|
124
124
|
export function unstable_cacheLife(profile: {
|
package/CHANGELOG.md
CHANGED
package/out/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="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,"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></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\":\"jpBY_e0OMNAi3Fw2pJYM_\",\"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\",\"VadaKC5sZrCkOyPtNKuux\",{\"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>
|
|
1
|
+
<!DOCTYPE html><!--QcceI_B55xOsryXxwZfhA--><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-03b96ab0f7ba7feb.js"/><script src="/_next/static/chunks/87c73c54-1f4741035a95c140.js" async=""></script><script src="/_next/static/chunks/902-d6926825a9fe8784.js" async=""></script><script src="/_next/static/chunks/main-app-123e879c5a937a00.js" async=""></script><script src="/_next/static/chunks/337-d3bb75304d130513.js" async=""></script><script src="/_next/static/chunks/795-10b9cf2562a5999c.js" async=""></script><script src="/_next/static/chunks/app/layout-70b5f0deb13c27ef.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 hidden=""><!--$--><!--/$--></div><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,"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><!--$--><!--/$--></div></main></div><script src="/_next/static/chunks/webpack-03b96ab0f7ba7feb.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[6096,[\"337\",\"static/chunks/337-d3bb75304d130513.js\",\"795\",\"static/chunks/795-10b9cf2562a5999c.js\",\"177\",\"static/chunks/app/layout-70b5f0deb13c27ef.js\"],\"Providers\"]\n3:I[9798,[\"337\",\"static/chunks/337-d3bb75304d130513.js\",\"795\",\"static/chunks/795-10b9cf2562a5999c.js\",\"177\",\"static/chunks/app/layout-70b5f0deb13c27ef.js\"],\"Sidebar\"]\n4:I[493,[\"337\",\"static/chunks/337-d3bb75304d130513.js\",\"795\",\"static/chunks/795-10b9cf2562a5999c.js\",\"177\",\"static/chunks/app/layout-70b5f0deb13c27ef.js\"],\"Header\"]\n5:I[7132,[],\"\"]\n6:I[5082,[],\"\"]\n7:I[700,[],\"OutletBoundary\"]\n9:I[7748,[],\"AsyncMetadataOutlet\"]\nb:I[700,[],\"ViewportBoundary\"]\nd:I[700,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[1256,[],\"\"]\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\":\"QcceI_B55xOsryXxwZfhA\",\"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\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"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\":{\"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,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Locus | Engineering Workspace\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Modernized task management and documentation for engineering teams.\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:5,errorRate:1e-4,numBits:96,numHashes:14,bitArray:[1,0,0,1,
|
|
1
|
+
self.__BUILD_MANIFEST=function(e,r,t){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:5,errorRate:1e-4,numBits:96,numHashes:14,bitArray:[1,0,0,1,e,e,e,r,r,r,r,e,e,r,r,r,e,e,r,e,r,r,e,e,e,e,e,e,e,r,r,e,e,r,r,r,e,e,e,e,e,r,e,r,r,r,r,e,r,r,r,r,r,r,e,e,e,e,e,e,e,e,r,e,e,e,e,e,r,e,r,e,r,r,e,e,r,r,e,r,r,e,e,r,e,r,r,e,e,r,r,r,r,e,e,e]},__routerFilterDynamic:{numItems:r,errorRate:1e-4,numBits:r,numHashes:null,bitArray:[]},"/_error":["static/chunks/pages/_error-3e422ffd891594de.js"],sortedPages:["/_app","/_error"]}}(1,0,1e-4),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[138],{3138:(e,s,t)=>{t.r(s),t.d(s,{Backlog:()=>P});var a=t(4568),r=t(3096),i=t(7606),n=t(3297),d=t(6258),l=t(9241),o=t(1355),c=t(5256),x=t(8889);let m=(0,x.A)("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]),u=(0,x.A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);var p=t(4529),h=t(5191);let g=(0,x.A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);var y=t(7911);let v=(0,x.A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);var j=t(8864);let f=(0,x.A)("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);var b=t(8262);let N=(0,x.A)("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);var k=t(7620),w=t(4532),C=t(3544),A=t(5322),S=t(3928),z=t(1077),M=t(8688);function P(){let e=(0,i.jE)(),[s,t]=(0,k.useState)(null),[x,N]=(0,k.useState)(!1),[S,P]=(0,k.useState)(""),[T,q]=(0,k.useState)(!1),[I,K]=(0,k.useState)(!1),[L,J]=(0,k.useState)(new Set),[Q,$]=(0,k.useState)(!0),{data:F=[]}=(0,n.I)({queryKey:["sprints"],queryFn:z.K.getAll}),{data:O=[]}=(0,n.I)({queryKey:["tasks"],queryFn:M.p.getAll}),B=(0,d.n)({mutationFn:z.K.create,onSuccess:()=>{e.invalidateQueries({queryKey:["sprints"]}),N(!1),P("")}}),V=(0,d.n)({mutationFn:e=>{let{id:s,updates:t}=e;return M.p.update(s,t)},onSuccess:()=>e.invalidateQueries({queryKey:["tasks"]})}),W=(0,d.n)({mutationFn:e=>{let{id:s,updates:t}=e;return z.K.update(s,t)},onSuccess:()=>e.invalidateQueries({queryKey:["sprints"]})}),_=(0,d.n)({mutationFn:e=>z.K.delete(e),onSuccess:()=>{e.invalidateQueries({queryKey:["sprints"]}),e.invalidateQueries({queryKey:["tasks"]})}}),G=()=>{S.trim()&&B.mutate({name:S})},H=e=>{J(s=>{let t=new Set(s);return t.has(e)?t.delete(e):t.add(e),t})},R=O.filter(e=>!e.sprintId),Z=F.filter(e=>e.status===r.J3.ACTIVE),U=F.filter(e=>e.status===r.J3.PLANNED),Y=F.filter(e=>e.status===r.J3.COMPLETED),X=e=>O.filter(s=>s.sprintId===e);return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-linear-to-br from-background via-background to-secondary/5",children:[(0,a.jsxs)("header",{className:"px-8 py-6 border-b border-border/30 bg-background/80 backdrop-blur-xl sticky top-0 z-20",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"p-2.5 rounded-xl bg-linear-to-br from-primary/20 to-primary/5 border border-primary/20",children:(0,a.jsx)(m,{className:"w-5 h-5 text-primary"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-xl font-bold text-foreground",children:"Product Backlog"}),(0,a.jsxs)("p",{className:"text-sm text-muted-foreground",children:[O.length," items \xb7 ",F.length," sprints"]})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)(A.$n,{variant:"secondary",onClick:()=>N(!0),disabled:x,className:"gap-2",children:[(0,a.jsx)(u,{size:16}),"New Sprint"]}),(0,a.jsxs)(A.$n,{onClick:()=>q(!0),className:"gap-2 shadow-lg shadow-primary/20",children:[(0,a.jsx)(p.A,{size:16}),"Create Issue"]})]})]}),(0,a.jsx)(o.N,{children:x&&(0,a.jsx)(c.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:(0,a.jsxs)("div",{className:"flex gap-3 mt-4 pt-4 border-t border-border/30 max-w-lg",children:[(0,a.jsx)(A.pd,{value:S,onChange:e=>P(e.target.value),placeholder:"Sprint name (e.g. Sprint 24)",autoFocus:!0,onKeyDown:e=>"Enter"===e.key&&G(),className:"flex-1"}),(0,a.jsx)(A.$n,{onClick:G,disabled:!S.trim(),size:"sm",children:"Create"}),(0,a.jsx)(A.$n,{variant:"ghost",size:"sm",onClick:()=>{N(!1),P("")},children:"Cancel"})]})})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,a.jsxs)("div",{className:"max-w-5xl mx-auto px-8 py-6 space-y-4",children:[Z.map(e=>(0,a.jsx)(D,{sprint:e,tasks:X(e.id),isExpanded:L.has(e.id),onToggle:()=>H(e.id),onTaskClick:t,onMoveTask:(e,s)=>V.mutate({id:e,updates:{sprintId:s}}),availableSprints:F,variant:"active",onAction:()=>{W.mutate({id:e.id,updates:{status:r.J3.COMPLETED,endDate:Date.now()}})},actionLabel:"Complete",actionIcon:(0,a.jsx)(h.A,{size:14})},e.id)),U.map(e=>(0,a.jsx)(D,{sprint:e,tasks:X(e.id),isExpanded:L.has(e.id),onToggle:()=>H(e.id),onTaskClick:t,onMoveTask:(e,s)=>V.mutate({id:e,updates:{sprintId:s}}),availableSprints:F,variant:"planned",onAction:()=>{W.mutate({id:e.id,updates:{status:r.J3.ACTIVE,startDate:Date.now()}})},actionLabel:"Start Sprint",actionIcon:(0,a.jsx)(g,{size:14})},e.id)),(0,a.jsxs)(c.P.div,{layout:!0,className:"rounded-2xl border border-border/40 bg-card/30 backdrop-blur-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 hover:bg-secondary/30 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-1 cursor-pointer",onClick:()=>$(!Q),children:[(0,a.jsx)(c.P.div,{animate:{rotate:90*!!Q},transition:{duration:.2},children:(0,a.jsx)(y.A,{size:18,className:"text-muted-foreground"})}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(v,{size:16,className:"text-amber-500"}),(0,a.jsx)("span",{className:"font-semibold text-foreground",children:"Backlog"})]}),(0,a.jsx)("span",{className:"px-2 py-0.5 rounded-full bg-secondary text-[11px] font-bold text-muted-foreground",children:R.length})]}),(0,a.jsxs)(A.$n,{variant:"ghost",size:"sm",className:"text-xs gap-1.5 text-muted-foreground hover:text-primary",onClick:()=>q(!0),children:[(0,a.jsx)(p.A,{size:14}),"Add"]})]}),(0,a.jsx)(o.N,{children:Q&&(0,a.jsx)(c.P.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},className:"overflow-hidden",children:(0,a.jsx)("div",{className:"border-t border-border/30",children:0===R.length?(0,a.jsxs)("div",{className:"py-12 text-center",children:[(0,a.jsx)("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-secondary/50 mb-3",children:(0,a.jsx)(j.A,{className:"w-5 h-5 text-muted-foreground/50"})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No items in backlog"}),(0,a.jsx)(A.$n,{variant:"ghost",size:"sm",className:"mt-2 text-primary",onClick:()=>q(!0),children:"Create your first issue"})]}):(0,a.jsx)("div",{className:"divide-y divide-border/20",children:R.map(e=>(0,a.jsx)(E,{task:e,onClick:()=>t(e.id),onMoveTask:s=>V.mutate({id:e.id,updates:{sprintId:s}}),availableSprints:F.filter(e=>e.status!==r.J3.COMPLETED),currentSprintId:null},e.id))})})})})]}),Y.length>0&&(0,a.jsxs)(c.P.div,{layout:!0,className:"rounded-2xl border border-border/30 bg-background/50 overflow-hidden",children:[(0,a.jsx)("button",{onClick:()=>K(!I),className:"w-full flex items-center justify-between p-4 hover:bg-secondary/20 transition-colors",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(c.P.div,{animate:{rotate:90*!!I},transition:{duration:.2},children:(0,a.jsx)(y.A,{size:18,className:"text-muted-foreground/50"})}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(f,{size:16,className:"text-muted-foreground/50"}),(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Completed Sprints"})]}),(0,a.jsx)("span",{className:"px-2 py-0.5 rounded-full bg-secondary/50 text-[11px] font-bold text-muted-foreground/60",children:Y.length})]})}),(0,a.jsx)(o.N,{children:I&&(0,a.jsx)(c.P.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},className:"overflow-hidden",children:(0,a.jsx)("div",{className:"border-t border-border/30 divide-y divide-border/20",children:Y.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 hover:bg-secondary/10 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(h.A,{size:14,className:"text-emerald-500/60"}),(0,a.jsx)("span",{className:"text-sm font-medium text-muted-foreground",children:e.name}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground/50 font-mono",children:[X(e.id).length," tasks"]}),e.endDate&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground/40",suppressHydrationWarning:!0,children:["Completed"," ",(0,l.GP)(e.endDate,"MMM d, yyyy")]})]}),(0,a.jsxs)(A.$n,{variant:"ghost",size:"sm",className:"text-xs text-muted-foreground hover:text-destructive hover:bg-destructive/10",onClick:()=>{confirm('Delete "'.concat(e.name,'" and all its tasks? This cannot be undone.'))&&_.mutate(e.id)},children:[(0,a.jsx)(b.A,{size:14,className:"mr-1"}),"Delete"]})]},e.id))})})})]})]})}),(0,a.jsx)(w.l,{isOpen:T,onClose:()=>q(!1),onCreated:()=>{e.invalidateQueries({queryKey:["tasks"]}),q(!1)}}),(0,a.jsx)(o.N,{children:s&&(0,a.jsx)(C.W,{taskId:s,onClose:()=>t(null),onDeleted:()=>{t(null),e.invalidateQueries({queryKey:["tasks"]})},onUpdated:()=>e.invalidateQueries({queryKey:["tasks"]})})})]})}function D(e){let{sprint:s,tasks:t,isExpanded:i,onToggle:n,onTaskClick:d,onMoveTask:x,availableSprints:m,variant:u,onAction:p,actionLabel:h,actionIcon:g}=e,v="active"===u;return(0,a.jsxs)(c.P.div,{layout:!0,className:(0,S.cn)("rounded-2xl border overflow-hidden transition-all",v?"border-primary/30 bg-primary/2 shadow-lg shadow-primary/5":"border-border/40 bg-card/30"),children:[(0,a.jsxs)("div",{onClick:n,className:(0,S.cn)("w-full flex items-center justify-between p-4 transition-colors",v?"hover:bg-primary/5":"hover:bg-secondary/30"),children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(c.P.div,{animate:{rotate:90*!!i},transition:{duration:.2},children:(0,a.jsx)(y.A,{size:18,className:v?"text-primary":"text-muted-foreground"})}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[v&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"w-2 h-2 rounded-full bg-primary animate-pulse"}),(0,a.jsx)("div",{className:"absolute inset-0 w-2 h-2 rounded-full bg-primary animate-ping"})]}),(0,a.jsx)("span",{className:(0,S.cn)("font-semibold",v?"text-primary":"text-foreground"),children:s.name}),(0,a.jsxs)("span",{className:"px-2 py-0.5 rounded-full bg-secondary text-[11px] font-bold text-muted-foreground",children:[t.length," issues"]}),s.startDate&&v&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground font-mono",suppressHydrationWarning:!0,children:["Started ",(0,l.GP)(s.startDate,"MMM d")]})]})]}),(0,a.jsxs)(A.$n,{variant:v?"secondary":"ghost",size:"sm",className:(0,S.cn)("gap-1.5 text-xs",v?"hover:bg-emerald-500/10 hover:text-emerald-600":"hover:bg-primary/10 hover:text-primary"),onClick:e=>{e.stopPropagation(),p()},children:[g,h]})]}),(0,a.jsx)(o.N,{children:i&&(0,a.jsx)(c.P.div,{initial:{height:0},animate:{height:"auto"},exit:{height:0},className:"overflow-hidden",children:(0,a.jsx)("div",{className:"border-t border-border/30",children:0===t.length?(0,a.jsx)("div",{className:"py-8 text-center text-sm text-muted-foreground/60",children:"Drag issues here or move from backlog"}):(0,a.jsx)("div",{className:"divide-y divide-border/20",children:t.map(e=>(0,a.jsx)(E,{task:e,onClick:()=>d(e.id),onMoveTask:s=>x(e.id,s),availableSprints:m.filter(e=>e.id!==s.id&&e.status!==r.J3.COMPLETED),currentSprintId:s.id},e.id))})})})})]})}function E(e){let{task:s,onClick:t,onMoveTask:r,availableSprints:i,currentSprintId:n}=e;return(0,a.jsxs)(c.P.div,{layout:!0,className:"group flex items-center gap-3 px-4 py-3 hover:bg-secondary/20 transition-all cursor-pointer",onClick:t,children:[(0,a.jsx)("div",{className:"opacity-0 group-hover:opacity-40 transition-opacity cursor-grab",children:(0,a.jsx)(N,{size:14})}),(0,a.jsx)(A.YJ,{priority:s.priority}),(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("span",{className:"text-xs font-mono text-muted-foreground/60 group-hover:text-primary transition-colors",children:["LCS-",s.id]}),(0,a.jsx)("span",{className:"text-sm font-medium text-foreground/90 truncate group-hover:text-foreground transition-colors",children:s.title})]})}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(A.Wh,{status:s.status}),s.assigneeRole&&(0,a.jsx)("span",{className:"px-1.5 py-0.5 rounded text-[10px] font-bold bg-secondary border border-border/50 text-muted-foreground",children:s.assigneeRole})]}),(0,a.jsx)("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>e.stopPropagation(),children:(0,a.jsxs)("select",{className:"appearance-none bg-secondary/50 hover:bg-secondary text-xs font-medium text-muted-foreground px-2 py-1 rounded-md border border-border/50 cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary/20",value:"",onChange:e=>{let s=e.target.value;"backlog"===s?r(null):s&&r(Number(s))},children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"Move →"}),null!==n&&(0,a.jsx)("option",{value:"backlog",children:"→ Backlog"}),i.map(e=>(0,a.jsxs)("option",{value:e.id,children:["→ ",e.name]},e.id))]})})]})}},8864:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(8889).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[337],{607:(e,r,o)=>{o.d(r,{QP:()=>ei});let t=(e=new Map,r=null,o)=>({nextPart:e,validators:r,classGroupId:o}),l=[],a=(e,r,o)=>{if(0==e.length-r)return o.classGroupId;let t=e[r],l=o.nextPart.get(t);if(l){let o=a(e,r+1,l);if(o)return o}let n=o.validators;if(null===n)return;let s=0===r?e.join("-"):e.slice(r).join("-"),i=n.length;for(let e=0;e<i;e++){let r=n[e];if(r.validator(s))return r.classGroupId}},n=(e,r)=>{let o=t();for(let t in e)s(e[t],o,t,r);return o},s=(e,r,o,t)=>{let l=e.length;for(let a=0;a<l;a++)i(e[a],r,o,t)},i=(e,r,o,t)=>"string"==typeof e?void d(e,r,o):"function"==typeof e?void c(e,r,o,t):void m(e,r,o,t),d=(e,r,o)=>{(""===e?r:p(r,e)).classGroupId=o},c=(e,r,o,t)=>{if(u(e))return void s(e(t),r,o,t);null===r.validators&&(r.validators=[]),r.validators.push({classGroupId:o,validator:e})},m=(e,r,o,t)=>{let l=Object.entries(e),a=l.length;for(let e=0;e<a;e++){let[a,n]=l[e];s(n,p(r,a),o,t)}},p=(e,r)=>{let o=e,l=r.split("-"),a=l.length;for(let e=0;e<a;e++){let r=l[e],a=o.nextPart.get(r);a||(a=t(),o.nextPart.set(r,a)),o=a}return o},u=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,b=[],f=(e,r,o,t,l)=>({modifiers:e,hasImportantModifier:r,baseClassName:o,maybePostfixModifierPosition:t,isExternal:l}),g=/\s+/,h=e=>{let r;if("string"==typeof e)return e;let o="";for(let t=0;t<e.length;t++)e[t]&&(r=h(e[t]))&&(o&&(o+=" "),o+=r);return o},k=[],w=e=>{let r=r=>r[e]||k;return r.isThemeGetter=!0,r},x=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,y=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v=/^\d+\/\d+$/,z=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j=/\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$/,N=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>v.test(e),A=e=>!!e&&!Number.isNaN(Number(e)),O=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&A(e.slice(0,-1)),I=e=>z.test(e),E=()=>!0,M=e=>j.test(e)&&!N.test(e),S=()=>!1,_=e=>C.test(e),P=e=>G.test(e),T=e=>!q(e)&&!F(e),L=e=>Y(e,et,S),q=e=>x.test(e),R=e=>Y(e,el,M),B=e=>Y(e,ea,A),Q=e=>Y(e,er,S),Z=e=>Y(e,eo,P),D=e=>Y(e,es,_),F=e=>y.test(e),H=e=>ee(e,el),J=e=>ee(e,en),K=e=>ee(e,er),U=e=>ee(e,et),V=e=>ee(e,eo),X=e=>ee(e,es,!0),Y=(e,r,o)=>{let t=x.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},ee=(e,r,o=!1)=>{let t=y.exec(e);return!!t&&(t[1]?r(t[1]):o)},er=e=>"position"===e||"percentage"===e,eo=e=>"image"===e||"url"===e,et=e=>"length"===e||"size"===e||"bg-size"===e,el=e=>"length"===e,ea=e=>"number"===e,en=e=>"family-name"===e,es=e=>"shadow"===e;Symbol.toStringTag;let ei=((e,...r)=>{let o,t,s,i,d=e=>{let r=t(e);if(r)return r;let l=((e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:l,sortModifiers:a}=r,n=[],s=e.trim().split(g),i="";for(let e=s.length-1;e>=0;e-=1){let r=s[e],{isExternal:d,modifiers:c,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:u}=o(r);if(d){i=r+(i.length>0?" "+i:i);continue}let b=!!u,f=t(b?p.substring(0,u):p);if(!f){if(!b||!(f=t(p))){i=r+(i.length>0?" "+i:i);continue}b=!1}let g=0===c.length?"":1===c.length?c[0]:a(c).join(":"),h=m?g+"!":g,k=h+f;if(n.indexOf(k)>-1)continue;n.push(k);let w=l(f,b);for(let e=0;e<w.length;++e){let r=w[e];n.push(h+r)}i=r+(i.length>0?" "+i:i)}return i})(e,o);return s(e,l),l};return i=c=>(t=(o=(e=>({cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,o=Object.create(null),t=Object.create(null),l=(l,a)=>{o[l]=a,++r>e&&(r=0,t=o,o=Object.create(null))};return{get(e){let r=o[e];return void 0!==r?r:void 0!==(r=t[e])?(l(e,r),r):void 0},set(e,r){e in o?o[e]=r:l(e,r)}}})(e.cacheSize),parseClassName:(e=>{let{prefix:r,experimentalParseClassName:o}=e,t=e=>{let r,o=[],t=0,l=0,a=0,n=e.length;for(let s=0;s<n;s++){let n=e[s];if(0===t&&0===l){if(":"===n){o.push(e.slice(a,s)),a=s+1;continue}if("/"===n){r=s;continue}}"["===n?t++:"]"===n?t--:"("===n?l++:")"===n&&l--}let s=0===o.length?e:e.slice(a),i=s,d=!1;return s.endsWith("!")?(i=s.slice(0,-1),d=!0):s.startsWith("!")&&(i=s.slice(1),d=!0),f(o,d,i,r&&r>a?r-a:void 0)};if(r){let e=r+":",o=t;t=r=>r.startsWith(e)?o(r.slice(e.length)):f(b,!1,r,void 0,!0)}if(o){let e=t;t=r=>o({className:r,parseClassName:e})}return t})(e),sortModifiers:(e=>{let r=new Map;return e.orderSensitiveModifiers.forEach((e,o)=>{r.set(e,1e6+o)}),e=>{let o=[],t=[];for(let l=0;l<e.length;l++){let a=e[l],n="["===a[0],s=r.has(a);n||s?(t.length>0&&(t.sort(),o.push(...t),t=[]),o.push(a)):t.push(a)}return t.length>0&&(t.sort(),o.push(...t)),o}})(e),...(e=>{let r=(e=>{let{theme:r,classGroups:o}=e;return n(o,r)})(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return(e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let r=e.slice(1,-1),o=r.indexOf(":"),t=r.slice(0,o);return t?"arbitrary.."+t:void 0})())(e);let o=e.split("-"),t=+(""===o[0]&&o.length>1);return a(o,t,r)},getConflictingClassGroupIds:(e,r)=>{if(r){let r=t[e],a=o[e];return r?a?((e,r)=>{let o=Array(e.length+r.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let t=0;t<r.length;t++)o[e.length+t]=r[t];return o})(a,r):r:a||l}return o[e]||l}}})(e)}))(r.reduce((e,r)=>r(e),e()))).cache.get,s=o.cache.set,i=d,d(c)),(...e)=>i(((...e)=>{let r,o,t=0,l="";for(;t<e.length;)(r=e[t++])&&(o=h(r))&&(l&&(l+=" "),l+=o);return l})(...e))})(()=>{let e=w("color"),r=w("font"),o=w("text"),t=w("font-weight"),l=w("tracking"),a=w("leading"),n=w("breakpoint"),s=w("container"),i=w("spacing"),d=w("radius"),c=w("shadow"),m=w("inset-shadow"),p=w("text-shadow"),u=w("drop-shadow"),b=w("blur"),f=w("perspective"),g=w("aspect"),h=w("ease"),k=w("animate"),x=()=>["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"],v=()=>[...y(),F,q],z=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],N=()=>[F,q,i],C=()=>[$,"full","auto",...N()],G=()=>[O,"none","subgrid",F,q],M=()=>["auto",{span:["full",O,F,q]},O,F,q],S=()=>[O,"auto",F,q],_=()=>["auto","min","max","fr",F,q],P=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...N()],er=()=>[$,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],eo=()=>[e,F,q],et=()=>[...y(),K,Q,{position:[F,q]}],el=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ea=()=>["auto","cover","contain",U,L,{size:[F,q]}],en=()=>[W,H,R],es=()=>["","none","full",d,F,q],ei=()=>["",A,H,R],ed=()=>["solid","dashed","dotted","double"],ec=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],em=()=>[A,W,K,Q],ep=()=>["","none",b,F,q],eu=()=>["none",A,F,q],eb=()=>["none",A,F,q],ef=()=>[A,F,q],eg=()=>[$,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[I],breakpoint:[I],color:[E],container:[I],"drop-shadow":[I],ease:["in","out","in-out"],font:[T],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[I],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[I],shadow:[I],spacing:["px",A],text:[I],"text-shadow":[I],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$,q,F,g]}],container:["container"],columns:[{columns:[A,q,F,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"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:v()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",F,q]}],basis:[{basis:[$,"full","auto",s,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,$,"auto","initial","none",q]}],grow:[{grow:["",A,F,q]}],shrink:[{shrink:["",A,F,q]}],order:[{order:[O,"first","last","none",F,q]}],"grid-cols":[{"grid-cols":G()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":G()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...P(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...P()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":P()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:er()}],w:[{w:[s,"screen",...er()]}],"min-w":[{"min-w":[s,"screen","none",...er()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[n]},...er()]}],h:[{h:["screen","lh",...er()]}],"min-h":[{"min-h":["screen","lh","none",...er()]}],"max-h":[{"max-h":["screen","lh",...er()]}],"font-size":[{text:["base",o,H,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,F,B]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,q]}],"font-family":[{font:[J,q,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:[l,F,q]}],"line-clamp":[{"line-clamp":[A,"none",F,B]}],leading:[{leading:[a,...N()]}],"list-image":[{"list-image":["none",F,q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",F,q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:eo()}],"text-color":[{text:eo()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ed(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",F,R]}],"text-decoration-color":[{decoration:eo()}],"underline-offset":[{"underline-offset":[A,"auto",F,q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F,q]}],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",F,q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:et()}],"bg-repeat":[{bg:el()}],"bg-size":[{bg:ea()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,F,q],radial:["",F,q],conic:[O,F,q]},V,Z]}],"bg-color":[{bg:eo()}],"gradient-from-pos":[{from:en()}],"gradient-via-pos":[{via:en()}],"gradient-to-pos":[{to:en()}],"gradient-from":[{from:eo()}],"gradient-via":[{via:eo()}],"gradient-to":[{to:eo()}],rounded:[{rounded:es()}],"rounded-s":[{"rounded-s":es()}],"rounded-e":[{"rounded-e":es()}],"rounded-t":[{"rounded-t":es()}],"rounded-r":[{"rounded-r":es()}],"rounded-b":[{"rounded-b":es()}],"rounded-l":[{"rounded-l":es()}],"rounded-ss":[{"rounded-ss":es()}],"rounded-se":[{"rounded-se":es()}],"rounded-ee":[{"rounded-ee":es()}],"rounded-es":[{"rounded-es":es()}],"rounded-tl":[{"rounded-tl":es()}],"rounded-tr":[{"rounded-tr":es()}],"rounded-br":[{"rounded-br":es()}],"rounded-bl":[{"rounded-bl":es()}],"border-w":[{border:ei()}],"border-w-x":[{"border-x":ei()}],"border-w-y":[{"border-y":ei()}],"border-w-s":[{"border-s":ei()}],"border-w-e":[{"border-e":ei()}],"border-w-t":[{"border-t":ei()}],"border-w-r":[{"border-r":ei()}],"border-w-b":[{"border-b":ei()}],"border-w-l":[{"border-l":ei()}],"divide-x":[{"divide-x":ei()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ei()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ed(),"hidden","none"]}],"divide-style":[{divide:[...ed(),"hidden","none"]}],"border-color":[{border:eo()}],"border-color-x":[{"border-x":eo()}],"border-color-y":[{"border-y":eo()}],"border-color-s":[{"border-s":eo()}],"border-color-e":[{"border-e":eo()}],"border-color-t":[{"border-t":eo()}],"border-color-r":[{"border-r":eo()}],"border-color-b":[{"border-b":eo()}],"border-color-l":[{"border-l":eo()}],"divide-color":[{divide:eo()}],"outline-style":[{outline:[...ed(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,F,q]}],"outline-w":[{outline:["",A,H,R]}],"outline-color":[{outline:eo()}],shadow:[{shadow:["","none",c,X,D]}],"shadow-color":[{shadow:eo()}],"inset-shadow":[{"inset-shadow":["none",m,X,D]}],"inset-shadow-color":[{"inset-shadow":eo()}],"ring-w":[{ring:ei()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:eo()}],"ring-offset-w":[{"ring-offset":[A,R]}],"ring-offset-color":[{"ring-offset":eo()}],"inset-ring-w":[{"inset-ring":ei()}],"inset-ring-color":[{"inset-ring":eo()}],"text-shadow":[{"text-shadow":["none",p,X,D]}],"text-shadow-color":[{"text-shadow":eo()}],opacity:[{opacity:[A,F,q]}],"mix-blend":[{"mix-blend":[...ec(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ec()}],"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":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":em()}],"mask-image-linear-to-pos":[{"mask-linear-to":em()}],"mask-image-linear-from-color":[{"mask-linear-from":eo()}],"mask-image-linear-to-color":[{"mask-linear-to":eo()}],"mask-image-t-from-pos":[{"mask-t-from":em()}],"mask-image-t-to-pos":[{"mask-t-to":em()}],"mask-image-t-from-color":[{"mask-t-from":eo()}],"mask-image-t-to-color":[{"mask-t-to":eo()}],"mask-image-r-from-pos":[{"mask-r-from":em()}],"mask-image-r-to-pos":[{"mask-r-to":em()}],"mask-image-r-from-color":[{"mask-r-from":eo()}],"mask-image-r-to-color":[{"mask-r-to":eo()}],"mask-image-b-from-pos":[{"mask-b-from":em()}],"mask-image-b-to-pos":[{"mask-b-to":em()}],"mask-image-b-from-color":[{"mask-b-from":eo()}],"mask-image-b-to-color":[{"mask-b-to":eo()}],"mask-image-l-from-pos":[{"mask-l-from":em()}],"mask-image-l-to-pos":[{"mask-l-to":em()}],"mask-image-l-from-color":[{"mask-l-from":eo()}],"mask-image-l-to-color":[{"mask-l-to":eo()}],"mask-image-x-from-pos":[{"mask-x-from":em()}],"mask-image-x-to-pos":[{"mask-x-to":em()}],"mask-image-x-from-color":[{"mask-x-from":eo()}],"mask-image-x-to-color":[{"mask-x-to":eo()}],"mask-image-y-from-pos":[{"mask-y-from":em()}],"mask-image-y-to-pos":[{"mask-y-to":em()}],"mask-image-y-from-color":[{"mask-y-from":eo()}],"mask-image-y-to-color":[{"mask-y-to":eo()}],"mask-image-radial":[{"mask-radial":[F,q]}],"mask-image-radial-from-pos":[{"mask-radial-from":em()}],"mask-image-radial-to-pos":[{"mask-radial-to":em()}],"mask-image-radial-from-color":[{"mask-radial-from":eo()}],"mask-image-radial-to-color":[{"mask-radial-to":eo()}],"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":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":em()}],"mask-image-conic-to-pos":[{"mask-conic-to":em()}],"mask-image-conic-from-color":[{"mask-conic-from":eo()}],"mask-image-conic-to-color":[{"mask-conic-to":eo()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:et()}],"mask-repeat":[{mask:el()}],"mask-size":[{mask:ea()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",F,q]}],filter:[{filter:["","none",F,q]}],blur:[{blur:ep()}],brightness:[{brightness:[A,F,q]}],contrast:[{contrast:[A,F,q]}],"drop-shadow":[{"drop-shadow":["","none",u,X,D]}],"drop-shadow-color":[{"drop-shadow":eo()}],grayscale:[{grayscale:["",A,F,q]}],"hue-rotate":[{"hue-rotate":[A,F,q]}],invert:[{invert:["",A,F,q]}],saturate:[{saturate:[A,F,q]}],sepia:[{sepia:["",A,F,q]}],"backdrop-filter":[{"backdrop-filter":["","none",F,q]}],"backdrop-blur":[{"backdrop-blur":ep()}],"backdrop-brightness":[{"backdrop-brightness":[A,F,q]}],"backdrop-contrast":[{"backdrop-contrast":[A,F,q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,F,q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,F,q]}],"backdrop-invert":[{"backdrop-invert":["",A,F,q]}],"backdrop-opacity":[{"backdrop-opacity":[A,F,q]}],"backdrop-saturate":[{"backdrop-saturate":[A,F,q]}],"backdrop-sepia":[{"backdrop-sepia":["",A,F,q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",F,q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",F,q]}],ease:[{ease:["linear","initial",h,F,q]}],delay:[{delay:[A,F,q]}],animate:[{animate:["none",k,F,q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,F,q]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:eu()}],"rotate-x":[{"rotate-x":eu()}],"rotate-y":[{"rotate-y":eu()}],"rotate-z":[{"rotate-z":eu()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ef()}],"skew-x":[{"skew-x":ef()}],"skew-y":[{"skew-y":ef()}],transform:[{transform:[F,q,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:eg()}],"translate-x":[{"translate-x":eg()}],"translate-y":[{"translate-y":eg()}],"translate-z":[{"translate-z":eg()}],"translate-none":["translate-none"],accent:[{accent:eo()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:eo()}],"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",F,q]}],"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":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"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",F,q]}],fill:[{fill:["none",...eo()]}],"stroke-w":[{stroke:[A,H,R,B]}],stroke:[{stroke:["none",...eo()]}],"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"]}})},2987:(e,r,o)=>{o.d(r,{$:()=>t});function t(){for(var e,r,o=0,t="",l=arguments.length;o<l;o++)(e=arguments[o])&&(r=function e(r){var o,t,l="";if("string"==typeof r||"number"==typeof r)l+=r;else if("object"==typeof r)if(Array.isArray(r)){var a=r.length;for(o=0;o<a;o++)r[o]&&(t=e(r[o]))&&(l&&(l+=" "),l+=t)}else for(t in r)r[t]&&(l&&(l+=" "),l+=t);return l}(e))&&(t&&(t+=" "),t+=r);return t}},8889:(e,r,o)=>{o.d(r,{A:()=>s});var t=o(7620);let l=function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.filter((e,r,o)=>!!e&&o.indexOf(e)===r).join(" ")};var a={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 n=(0,t.forwardRef)((e,r)=>{let{color:o="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:d="",children:c,iconNode:m,...p}=e;return(0,t.createElement)("svg",{ref:r,...a,width:n,height:n,stroke:o,strokeWidth:i?24*Number(s)/Number(n):s,className:l("lucide",d),...p},[...m.map(e=>{let[r,o]=e;return(0,t.createElement)(r,o)}),...Array.isArray(c)?c:[c]])}),s=(e,r)=>{let o=(0,t.forwardRef)((o,a)=>{let{className:s,...i}=o;return(0,t.createElement)(n,{ref:a,iconNode:r,className:l("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),s),...i})});return o.displayName="".concat(e),o}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[477],{3477:(e,t,r)=>{r.r(t),r.d(t,{Board:()=>j});var s=r(4568),a=r(3096),n=r(3297),l=r(1355),o=r(4529),i=r(1690),d=r(2942),c=r(7620),u=r(1368),x=r(4147),m=r(4532),p=r(3544),f=r(9080),g=r(7606),h=r(6258),b=r(9321),v=r(3928);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]),j=(0,c.useCallback)(e=>k.filter(t=>t.status===e),[k]);return{tasks:t,loading:r,error:l,searchQuery:o,setSearchQuery:i,priorityFilter:d,setPriorityFilter:u,assigneeFilter:x,setAssigneeFilter:m,hasActiveFilters:p,clearFilters:y,getTasksByStatus:j,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}),K=O.find(e=>e.status===a.J3.ACTIVE),[B,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=()=>{M(null)};return K?(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:K.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===K.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=>{t.preventDefault(),t.dataTransfer.dropEffect="move",M(e)},onDragLeave:P,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:B,onClose:()=>T(!1),onCreated:D,initialStatus:R,sprintId:null==K?void 0:K.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
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[487],{887:(e,t,r)=>{"use strict";var n=r(9020),o=r(3765),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!a.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|d(n,o),u=s(i),f=u.write(n,o);return f!==i&&(u=u.slice(0,f)),u}if(ArrayBuffer.isView(e)){var l=e;if(x(l,Uint8Array)){var y=new Uint8Array(l);return h(y.buffer,y.byteOffset,y.byteLength)}return c(l)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(x(e,ArrayBuffer)||e&&x(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(x(e,SharedArrayBuffer)||e&&x(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var g=e.valueOf&&e.valueOf();if(null!=g&&g!==e)return a.from(g,t,r);var m=function(e){if(a.isBuffer(e)){var t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(m)return m;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function f(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return f(e),s(e<0?0:0|p(e))}function c(e){for(var t=e.length<0?0:0|p(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||x(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(o)return n?-1:T(e).length;t=(""+t).toLowerCase(),o=!0}}function y(e,t,r){var o,i,s,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=C[e[i]];return o}(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":return o=this,i=t,s=r,0===i&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,t,r);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return b(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function f(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;i<a;i++)if(f(e,i)===f(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*s}else -1!==l&&(i-=i-l),l=-1}else for(r+u>a&&(r=a-u),i=r;i>=0;i--){for(var c=!0,h=0;h<u;h++)if(f(e,i+h)!==f(t,h)){c=!1;break}if(c)return i}return -1}function w(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,s,a,u,f=e[o],l=null,c=f>239?4:f>223?3:f>191?2:1;if(o+c<=r)switch(c){case 1:f<128&&(l=f);break;case 2:(192&(i=e[o+1]))==128&&(u=(31&f)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],s=e[o+2],(192&i)==128&&(192&s)==128&&(u=(15&f)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(u=(15&f)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var d="",y=0;y<p;)d+=String.fromCharCode.apply(String,h.slice(y,y+=4096));return d}function E(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function v(e,t,r,n,o,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function A(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function O(e,t,r,n,i){return t*=1,r>>>=0,i||A(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,i){return t*=1,r>>>=0,i||A(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.hp=a,t.IS=50,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(f(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(x(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),x(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(x(i,Uint8Array))o+i.length>n.length?a.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(a.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?w(this,0,e):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,o){if(x(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,s=r-t,u=Math.min(i,s),f=this.slice(n,o),l=e.slice(t,r),c=0;c<u;++c)if(f[c]!==l[c]){i=f[c],s=l[c];break}return i<s?-1:+(s<i)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,u,f,l,c,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a,u=parseInt(t.substr(2*s,2),16);if((a=u)!=a)break;e[r+s]=u}return s}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,B(T(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return s=t,a=r,B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,f=r,B(U(e),this,u,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,c=r,B(function(e,t){for(var r,n,o=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-l),this,l,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||E(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||E(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||E(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return(e>>>=0,t||E(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||E(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||E(e,4,this.length),o.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||E(e,4,this.length),o.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||E(e,8,this.length),o.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||E(e,8,this.length),o.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;v(this,e,t,r,o,0)}var i=1,s=0;for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;v(this,e,t,r,o,0)}var i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);v(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var o=Math.pow(2,8*r-1);v(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return O(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return O(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),u=s.length;if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=s[o%u]}return this};var R=/[^+/0-9A-Za-z-_]/g;function T(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function U(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function x(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},2463:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8889).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},3425:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8889).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},3765:(e,t)=>{t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,u=(1<<a)-1,f=u>>1,l=-7,c=r?o-1:0,h=r?-1:1,p=e[t+c];for(c+=h,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+e[t+c],c+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+c],c+=h,l-=8);if(0===i)i=1-f;else{if(i===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),i-=f}return(p?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,u,f=8*i-o-1,l=(1<<f)-1,c=l>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,d=n?1:-1,y=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?t+=h/u:t+=h*Math.pow(2,1-c),t*u>=2&&(s++,u/=2),s+c>=l?(a=0,s=l):s+c>=1?(a=(t*u-1)*Math.pow(2,o),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,o),s=0));o>=8;e[r+p]=255&a,p+=d,a/=256,o-=8);for(s=s<<o|a,f+=o;f>0;e[r+p]=255&s,p+=d,s/=256,f-=8);e[r+p-d]|=128*y}},4529:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8889).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},4711:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8889).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},4931:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8889).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},5173:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8889).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},9020:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=u(e),s=i[0],a=i[1],f=new o((s+a)*3/4-a),l=0,c=a>0?s-4:s;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],f[l++]=t>>16&255,f[l++]=t>>8&255,f[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,f[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,f[l++]=t>>8&255,f[l++]=255&t),f},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(e,t,n){for(var o,i=[],s=t;s<n;s+=3)o=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},9329:(e,t,r)=>{"use strict";r.d(t,{A:()=>to});var n,o,i={};function s(e,t){return function(){return e.apply(t,arguments)}}r.r(i),r.d(i,{hasBrowserEnv:()=>ec,hasStandardBrowserEnv:()=>ep,hasStandardBrowserWebWorkerEnv:()=>ed,navigator:()=>eh,origin:()=>ey});var a=r(4338);let{toString:u}=Object.prototype,{getPrototypeOf:f}=Object,{iterator:l,toStringTag:c}=Symbol,h=(e=>t=>{let r=u.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),p=e=>(e=e.toLowerCase(),t=>h(t)===e),d=e=>t=>typeof t===e,{isArray:y}=Array,g=d("undefined");function m(e){return null!==e&&!g(e)&&null!==e.constructor&&!g(e.constructor)&&E(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let b=p("ArrayBuffer"),w=d("string"),E=d("function"),v=d("number"),A=e=>null!==e&&"object"==typeof e,O=e=>{if("object"!==h(e))return!1;let t=f(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(c in e)&&!(l in e)},S=p("Date"),R=p("File"),T=p("Blob"),U=p("FileList"),B=p("URLSearchParams"),[x,C,L,j]=["ReadableStream","Request","Response","Headers"].map(p);function k(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e)if("object"!=typeof e&&(e=[e]),y(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{let o;if(m(e))return;let i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;for(n=0;n<s;n++)o=i[n],t.call(null,e[o],o,e)}}function N(e,t){let r;if(m(e))return null;t=t.toLowerCase();let n=Object.keys(e),o=n.length;for(;o-- >0;)if(t===(r=n[o]).toLowerCase())return r;return null}let P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,_=e=>!g(e)&&e!==P,F=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&f(Uint8Array)),I=p("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),M=p("RegExp"),q=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};k(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)},z=p("AsyncFunction"),H=(n="function"==typeof setImmediate,o=E(P.postMessage),n?setImmediate:o?((e,t)=>(P.addEventListener("message",({source:r,data:n})=>{r===P&&n===e&&t.length&&t.shift()()},!1),r=>{t.push(r),P.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),J="undefined"!=typeof queueMicrotask?queueMicrotask.bind(P):void 0!==a&&a.nextTick||H,W={isArray:y,isArrayBuffer:b,isBuffer:m,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||E(e.append)&&("formdata"===(t=h(e))||"object"===t&&E(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&b(e.buffer)},isString:w,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:A,isPlainObject:O,isEmptyObject:e=>{if(!A(e)||m(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:x,isRequest:C,isResponse:L,isHeaders:j,isUndefined:g,isDate:S,isFile:R,isBlob:T,isRegExp:M,isFunction:E,isStream:e=>A(e)&&E(e.pipe),isURLSearchParams:B,isTypedArray:F,isFileList:U,forEach:k,merge:function e(){let{caseless:t,skipUndefined:r}=_(this)&&this||{},n={},o=(o,i)=>{let s=t&&N(n,i)||i;O(n[s])&&O(o)?n[s]=e(n[s],o):O(o)?n[s]=e({},o):y(o)?n[s]=o.slice():r&&g(o)||(n[s]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&k(arguments[e],o);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(k(t,(t,n)=>{r&&E(t)?e[n]=s(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,s,a={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=!1!==r&&f(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:h,kindOfTest:p,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(y(e))return e;let t=e.length;if(!v(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[l]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:I,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:q,freezeMethods:e=>{q(e,(t,r)=>{if(E(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(E(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(y(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:N,global:P,isContextDefined:_,isSpecCompliantForm:function(e){return!!(e&&E(e.append)&&"FormData"===e[c]&&e[l])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(A(e)){if(t.indexOf(e)>=0)return;if(m(e))return e;if(!("toJSON"in e)){t[n]=e;let o=y(e)?[]:{};return k(e,(e,t)=>{let i=r(e,n+1);g(i)||(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:z,isThenable:e=>e&&(A(e)||E(e))&&E(e.then)&&E(e.catch),setImmediate:H,asap:J,isIterable:e=>null!=e&&E(e[l])};function $(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}W.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});let V=$.prototype,K={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{K[e]={value:e}}),Object.defineProperties($,K),Object.defineProperty(V,"isAxiosError",{value:!0}),$.from=(e,t,r,n,o,i)=>{let s=Object.create(V);W.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let a=e&&e.message?e.message:"Error",u=null==t&&e?e.code:t;return $.call(s,a,u,r,n,o),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};var X=r(887).hp;function G(e){return W.isPlainObject(e)||W.isArray(e)}function Y(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,r){return e?e.concat(t).map(function(e,t){return e=Y(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let Q=W.toFlatObject(W,{},null,function(e){return/^is[A-Z]/.test(e)}),ee=function(e,t,r){if(!W.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=W.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!W.isUndefined(t[e])})).metaTokens,o=r.visitor||f,i=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(o))throw TypeError("visitor must be a function");function u(e){if(null===e)return"";if(W.isDate(e))return e.toISOString();if(W.isBoolean(e))return e.toString();if(!a&&W.isBlob(e))throw new $("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(e)||W.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):X.from(e):e}function f(e,r,o){let a=e;if(e&&!o&&"object"==typeof e)if(W.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var f;if(W.isArray(e)&&(f=e,W.isArray(f)&&!f.some(G))||(W.isFileList(e)||W.endsWith(r,"[]"))&&(a=W.toArray(e)))return r=Y(r),a.forEach(function(e,n){W.isUndefined(e)||null===e||t.append(!0===s?Z([r],n,i):null===s?r:r+"[]",u(e))}),!1}return!!G(e)||(t.append(Z(o,r,i),u(e)),!1)}let l=[],c=Object.assign(Q,{defaultVisitor:f,convertValue:u,isVisitable:G});if(!W.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!W.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),W.forEach(r,function(r,i){!0===(!(W.isUndefined(r)||null===r)&&o.call(t,r,W.isString(i)?i.trim():i,n,c))&&e(r,n?n.concat(i):[i])}),l.pop()}}(e),t};function et(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function er(e,t){this._pairs=[],e&&ee(e,this,t)}let en=er.prototype;function eo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ei(e,t,r){let n;if(!t)return e;let o=r&&r.encode||eo;W.isFunction(r)&&(r={serialize:r});let i=r&&r.serialize;if(n=i?i(t,r):W.isURLSearchParams(t)?t.toString():new er(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}en.append=function(e,t){this._pairs.push([e,t])},en.toString=function(e){let t=e?function(t){return e.call(this,t,et)}:et;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class es{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,function(t){null!==t&&e(t)})}}let ea={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eu="undefined"!=typeof URLSearchParams?URLSearchParams:er,ef="undefined"!=typeof FormData?FormData:null,el="undefined"!=typeof Blob?Blob:null,ec="undefined"!=typeof window&&"undefined"!=typeof document,eh="object"==typeof navigator&&navigator||void 0,ep=ec&&(!eh||0>["ReactNative","NativeScript","NS"].indexOf(eh.product)),ed="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ey=ec&&window.location.href||"http://localhost",eg={...i,isBrowser:!0,classes:{URLSearchParams:eu,FormData:ef,Blob:el},protocols:["http","https","file","blob","url","data"]},em=function(e){if(W.isFormData(e)&&W.isFunction(e.entries)){let t={};return W.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;let s=Number.isFinite(+i),a=o>=t.length;return(i=!i&&W.isArray(n)?n.length:i,a)?W.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r:(n[i]&&W.isObject(n[i])||(n[i]=[]),e(t,r,n[i],o)&&W.isArray(n[i])&&(n[i]=function(e){let t,r,n={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)n[r=o[t]]=e[r];return n}(n[i]))),!s}(W.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},eb={transitional:ea,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=W.isObject(e);if(i&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return o?JSON.stringify(em(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var s,a;return(s=e,a=this.formSerializer,ee(s,new eg.classes.URLSearchParams,{visitor:function(e,t,r,n){return eg.isNode&&W.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...a})).toString()}if((r=W.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ee(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}if(i||o){t.setContentType("application/json",!1);var u=e;if(W.isString(u))try{return(0,JSON.parse)(u),W.trim(u)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(u)}return e}],transformResponse:[function(e){let t=this.transitional||eb.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw $.from(e,$.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eg.classes.FormData,Blob:eg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],e=>{eb.headers[e]={}});let ew=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eE=Symbol("internals");function ev(e){return e&&String(e).trim().toLowerCase()}function eA(e){return!1===e||null==e?e:W.isArray(e)?e.map(eA):String(e)}function eO(e,t,r,n,o){if(W.isFunction(n))return n.call(this,t,r);if(o&&(t=r),W.isString(t)){if(W.isString(n))return -1!==t.indexOf(n);if(W.isRegExp(n))return n.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=ev(t);if(!o)throw Error("header name must be a non-empty string");let i=W.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=eA(e))}let i=(e,t)=>W.forEach(e,(e,r)=>o(e,r,t));if(W.isPlainObject(e)||e instanceof this.constructor)i(e,t);else{let n;if(W.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim())))i((e=>{let t,r,n,o={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&ew[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)}),o})(e),t);else if(W.isObject(e)&&W.isIterable(e)){let r={},n,o;for(let t of e){if(!W.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[o=t[0]]=(n=r[o])?W.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(r,t)}else null!=e&&o(t,e,r)}return this}get(e,t){if(e=ev(e)){let r=W.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(W.isFunction(t))return t.call(this,e,r);if(W.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ev(e)){let r=W.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eO(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=ev(e)){let o=W.findKey(r,e);o&&(!t||eO(r,r[o],o,t))&&(delete r[o],n=!0)}}return W.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||eO(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return W.forEach(this,(n,o)=>{let i=W.findKey(r,o);if(i){t[i]=eA(n),delete t[o];return}let s=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();s!==o&&delete t[o],t[s]=eA(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return W.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&W.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eE]=this[eE]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=ev(e);if(!t[n]){let o=W.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(r,t+o,{value:function(r,n,o){return this[t].call(this,e,r,n,o)},configurable:!0})}),t[n]=!0}}return W.isArray(e)?e.forEach(n):n(e),this}}function eR(e,t){let r=this||eb,n=t||r,o=eS.from(n.headers),i=n.data;return W.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function eT(e){return!!(e&&e.__CANCEL__)}function eU(e,t,r){$.call(this,null==e?"canceled":e,$.ERR_CANCELED,t,r),this.name="CanceledError"}function eB(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new $("Request failed with status code "+r.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(eS.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),W.freezeMethods(eS),W.inherits(eU,$,{__CANCEL__:!0});let ex=function(e,t){let r,n=Array(e=e||10),o=Array(e),i=0,s=0;return t=void 0!==t?t:1e3,function(a){let u=Date.now(),f=o[s];r||(r=u),n[i]=a,o[i]=u;let l=s,c=0;for(;l!==i;)c+=n[l++],l%=e;if((i=(i+1)%e)===s&&(s=(s+1)%e),u-r<t)return;let h=f&&u-f;return h?Math.round(1e3*c/h):void 0}},eC=function(e,t){let r,n,o=0,i=1e3/t,s=(t,i=Date.now())=>{o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),a=t-o;a>=i?s(e,t):(r=e,n||(n=setTimeout(()=>{n=null,s(r)},i-a)))},()=>r&&s(r)]},eL=(e,t,r=3)=>{let n=0,o=ex(50,250);return eC(r=>{let i=r.loaded,s=r.lengthComputable?r.total:void 0,a=i-n,u=o(a);n=i,e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&i<=s?(s-i)/u:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})},r)},ej=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ek=e=>(...t)=>W.asap(()=>e(...t)),eN=eg.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,eg.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(eg.origin),eg.navigator&&/(msie|trident)/i.test(eg.navigator.userAgent)):()=>!0,eP=eg.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if("undefined"==typeof document)return;let a=[`${e}=${encodeURIComponent(t)}`];W.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),W.isString(n)&&a.push(`path=${n}`),W.isString(o)&&a.push(`domain=${o}`),!0===i&&a.push("secure"),W.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function e_(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||!1==r)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eF=e=>e instanceof eS?{...e}:e;function eI(e,t){t=t||{};let r={};function n(e,t,r,n){return W.isPlainObject(e)&&W.isPlainObject(t)?W.merge.call({caseless:n},e,t):W.isPlainObject(t)?W.merge({},t):W.isArray(t)?t.slice():t}function o(e,t,r,o){return W.isUndefined(t)?W.isUndefined(e)?void 0:n(void 0,e,r,o):n(e,t,r,o)}function i(e,t){if(!W.isUndefined(t))return n(void 0,t)}function s(e,t){return W.isUndefined(t)?W.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}let u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,r)=>o(eF(e),eF(t),r,!0)};return W.forEach(Object.keys({...e,...t}),function(n){let i=u[n]||o,s=i(e[n],t[n],n);W.isUndefined(s)&&i!==a||(r[n]=s)}),r}let eD=e=>{let t=eI({},e),{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=eS.from(s),t.url=ei(e_(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),W.isFormData(r)){if(eg.hasStandardBrowserEnv||eg.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(W.isFunction(r.getHeaders)){let e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&s.set(e,r)})}}if(eg.hasStandardBrowserEnv&&(n&&W.isFunction(n)&&(n=n(t)),n||!1!==n&&eN(t.url))){let e=o&&i&&eP.read(i);e&&s.set(o,e)}return t},eM="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,o,i,s,a,u=eD(e),f=u.data,l=eS.from(u.headers).normalize(),{responseType:c,onUploadProgress:h,onDownloadProgress:p}=u;function d(){s&&s(),a&&a(),u.cancelToken&&u.cancelToken.unsubscribe(n),u.signal&&u.signal.removeEventListener("abort",n)}let y=new XMLHttpRequest;function g(){if(!y)return;let n=eS.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());eB(function(e){t(e),d()},function(e){r(e),d()},{data:c&&"text"!==c&&"json"!==c?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(u.method.toUpperCase(),u.url,!0),y.timeout=u.timeout,"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(g)},y.onabort=function(){y&&(r(new $("Request aborted",$.ECONNABORTED,e,y)),y=null)},y.onerror=function(t){let n=new $(t&&t.message?t.message:"Network Error",$.ERR_NETWORK,e,y);n.event=t||null,r(n),y=null},y.ontimeout=function(){let t=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",n=u.transitional||ea;u.timeoutErrorMessage&&(t=u.timeoutErrorMessage),r(new $(t,n.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,e,y)),y=null},void 0===f&&l.setContentType(null),"setRequestHeader"in y&&W.forEach(l.toJSON(),function(e,t){y.setRequestHeader(t,e)}),W.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),c&&"json"!==c&&(y.responseType=u.responseType),p&&([i,a]=eL(p,!0),y.addEventListener("progress",i)),h&&y.upload&&([o,s]=eL(h),y.upload.addEventListener("progress",o),y.upload.addEventListener("loadend",s)),(u.cancelToken||u.signal)&&(n=t=>{y&&(r(!t||t.type?new eU(null,e,y):t),y.abort(),y=null)},u.cancelToken&&u.cancelToken.subscribe(n),u.signal&&(u.signal.aborted?n():u.signal.addEventListener("abort",n)));let m=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(u.url);if(m&&-1===eg.protocols.indexOf(m))return void r(new $("Unsupported protocol "+m+":",$.ERR_BAD_REQUEST,e));y.send(f||null)})},eq=function*(e,t){let r,n=e.byteLength;if(!t||n<t)return void(yield e);let o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},ez=async function*(e,t){for await(let r of eH(e))yield*eq(r,t)},eH=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},eJ=(e,t,r,n)=>{let o,i=ez(e,t),s=0,a=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await i.next();if(t){a(),e.close();return}let o=n.byteLength;if(r){let e=s+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),i.return())},{highWaterMark:2})},{isFunction:eW}=W,e$=(({Request:e,Response:t})=>({Request:e,Response:t}))(W.global),{ReadableStream:eV,TextEncoder:eK}=W.global,eX=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},eG=e=>{let t,{fetch:r,Request:n,Response:o}=e=W.merge.call({skipUndefined:!0},e$,e),i=r?eW(r):"function"==typeof fetch,s=eW(n),a=eW(o);if(!i)return!1;let u=i&&eW(eV),f=i&&("function"==typeof eK?(t=new eK,e=>t.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer())),l=s&&u&&eX(()=>{let e=!1,t=new n(eg.origin,{body:new eV,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),c=a&&u&&eX(()=>W.isReadableStream(new o("").body)),h={stream:c&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{h[e]||(h[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new $(`Response type '${e}' is not supported`,$.ERR_NOT_SUPPORT,r)})});let p=async e=>{if(null==e)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e)){let t=new n(eg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return W.isArrayBufferView(e)||W.isArrayBuffer(e)?e.byteLength:(W.isURLSearchParams(e)&&(e+=""),W.isString(e))?(await f(e)).byteLength:void 0},d=async(e,t)=>{let r=W.toFiniteNumber(e.getContentLength());return null==r?p(t):r};return async e=>{let t,{url:i,method:a,data:u,signal:f,cancelToken:p,timeout:y,onDownloadProgress:g,onUploadProgress:m,responseType:b,headers:w,withCredentials:E="same-origin",fetchOptions:v}=eD(e),A=r||fetch;b=b?(b+"").toLowerCase():"text";let O=((e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,o=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof $?t:new eU(t instanceof Error?t.message:t))}},i=t&&setTimeout(()=>{i=null,o(new $(`timeout ${t} of ms exceeded`,$.ETIMEDOUT))},t),s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));let{signal:a}=n;return a.unsubscribe=()=>W.asap(s),a}})([f,p&&p.toAbortSignal()],y),S=null,R=O&&O.unsubscribe&&(()=>{O.unsubscribe()});try{if(m&&l&&"get"!==a&&"head"!==a&&0!==(t=await d(w,u))){let e,r=new n(i,{method:"POST",body:u,duplex:"half"});if(W.isFormData(u)&&(e=r.headers.get("content-type"))&&w.setContentType(e),r.body){let[e,n]=ej(t,eL(ek(m)));u=eJ(r.body,65536,e,n)}}W.isString(E)||(E=E?"include":"omit");let r=s&&"credentials"in n.prototype,f={...v,signal:O,method:a.toUpperCase(),headers:w.normalize().toJSON(),body:u,duplex:"half",credentials:r?E:void 0};S=s&&new n(i,f);let p=await (s?A(S,v):A(i,f)),y=c&&("stream"===b||"response"===b);if(c&&(g||y&&R)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=p[t]});let t=W.toFiniteNumber(p.headers.get("content-length")),[r,n]=g&&ej(t,eL(ek(g),!0))||[];p=new o(eJ(p.body,65536,r,()=>{n&&n(),R&&R()}),e)}b=b||"text";let T=await h[W.findKey(h,b)||"text"](p,e);return!y&&R&&R(),await new Promise((t,r)=>{eB(t,r,{data:T,headers:eS.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:S})})}catch(t){if(R&&R(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new $("Network Error",$.ERR_NETWORK,e,S),{cause:t.cause||t});throw $.from(t,t&&t.code,e,S)}}},eY=new Map,eZ=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:o}=t,i=[n,o,r],s=i.length,a,u,f=eY;for(;s--;)a=i[s],void 0===(u=f.get(a))&&f.set(a,u=s?new Map:eG(t)),f=u;return u};eZ();let eQ={http:null,xhr:eM,fetch:{get:eZ}};W.forEach(eQ,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e0=e=>`- ${e}`,e1=e=>W.isFunction(e)||null===e||!1===e,e2={getAdapter:function(e,t){let r,n,{length:o}=e=W.isArray(e)?e:[e],i={};for(let s=0;s<o;s++){let o;if(n=r=e[s],!e1(r)&&void 0===(n=eQ[(o=String(r)).toLowerCase()]))throw new $(`Unknown adapter '${o}'`);if(n&&(W.isFunction(n)||(n=n.get(t))))break;i[o||"#"+s]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new $("There is no suitable adapter to dispatch the request "+(o?e.length>1?"since :\n"+e.map(e0).join("\n"):" "+e0(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function e8(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eU(null,e)}function e5(e){return e8(e),e.headers=eS.from(e.headers),e.data=eR.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e2.getAdapter(e.adapter||eb.adapter,e)(e).then(function(t){return e8(e),t.data=eR.call(e,e.transformResponse,t),t.headers=eS.from(t.headers),t},function(t){return!eT(t)&&(e8(e),t&&t.response&&(t.response.data=eR.call(e,e.transformResponse,t.response),t.response.headers=eS.from(t.response.headers))),Promise.reject(t)})}let e6="1.13.2",e3={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{e3[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let e4={};e3.transitional=function(e,t,r){function n(e,t){return"[Axios v"+e6+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new $(n(o," has been removed"+(t?" in "+t:"")),$.ERR_DEPRECATED);return t&&!e4[o]&&(e4[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}},e3.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};let e9={assertOptions:function(e,t,r){if("object"!=typeof e)throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let i=n[o],s=t[i];if(s){let t=e[i],r=void 0===t||s(t,i,e);if(!0!==r)throw new $("option "+i+" must be "+r,$.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new $("Unknown option "+i,$.ERR_BAD_OPTION)}},validators:e3},e7=e9.validators;class te{constructor(e){this.defaults=e||{},this.interceptors={request:new es,response:new es}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:i,headers:s}=t=eI(this.defaults,t);void 0!==o&&e9.assertOptions(o,{silentJSONParsing:e7.transitional(e7.boolean),forcedJSONParsing:e7.transitional(e7.boolean),clarifyTimeoutError:e7.transitional(e7.boolean)},!1),null!=i&&(W.isFunction(i)?t.paramsSerializer={serialize:i}:e9.assertOptions(i,{encode:e7.function,serialize:e7.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),e9.assertOptions(t,{baseUrl:e7.spelling("baseURL"),withXsrfToken:e7.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&W.merge(s.common,s[t.method]);s&&W.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=eS.concat(a,s);let u=[],f=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(f=f&&e.synchronous,u.unshift(e.fulfilled,e.rejected))});let l=[];this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let c=0;if(!f){let e=[e5.bind(this),void 0];for(e.unshift(...u),e.push(...l),n=e.length,r=Promise.resolve(t);c<n;)r=r.then(e[c++],e[c++]);return r}n=u.length;let h=t;for(;c<n;){let e=u[c++],t=u[c++];try{h=e(h)}catch(e){t.call(this,e);break}}try{r=e5.call(this,h)}catch(e){return Promise.reject(e)}for(c=0,n=l.length;c<n;)r=r.then(l[c++],l[c++]);return r}getUri(e){return ei(e_((e=eI(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}W.forEach(["delete","get","head","options"],function(e){te.prototype[e]=function(t,r){return this.request(eI(r||{},{method:e,url:t,data:(r||{}).data}))}}),W.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(eI(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}te.prototype[e]=t(),te.prototype[e+"Form"]=t(!0)});class tt{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new eU(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason)return void e(this.reason);this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tt(function(t){e=t}),cancel:e}}}let tr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tr).forEach(([e,t])=>{tr[t]=e});let tn=function e(t){let r=new te(t),n=s(te.prototype.request,r);return W.extend(n,te.prototype,r,{allOwnKeys:!0}),W.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eI(t,r))},n}(eb);tn.Axios=te,tn.CanceledError=eU,tn.CancelToken=tt,tn.isCancel=eT,tn.VERSION=e6,tn.toFormData=ee,tn.AxiosError=$,tn.Cancel=tn.CanceledError,tn.all=function(e){return Promise.all(e)},tn.spread=function(e){return function(t){return e.apply(null,t)}},tn.isAxiosError=function(e){return W.isObject(e)&&!0===e.isAxiosError},tn.mergeConfig=eI,tn.AxiosHeaders=eS,tn.formToJSON=e=>em(W.isHTMLForm(e)?new FormData(e):e),tn.getAdapter=e2.getAdapter,tn.HttpStatusCode=tr,tn.default=tn;let to=tn}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[544],{292:(e,t,a)=>{a.d(t,{m:()=>o});var r=a(4568),s=a(4711),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))})]})}},493:(e,t,a)=>{a.d(t,{Header:()=>n});var r=a(4568),s=a(5173);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"})]})})}},1053:(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"},1077:(e,t,a)=>{a.d(t,{K:()=>n});var r=a(9329);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}},1368:(e,t,a)=>{a.d(t,{J:()=>c});var r=a(4568),s=a(3096),n=a(5173),o=a(2463),l=a(5322);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"]})]})}},3096:(e,t,a)=>{a.d(t,{_x:()=>n,Bx:()=>l,J3:()=>i,W6:()=>o,e1:()=>s});var r=a(8072),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)})},3544:(e,t,a)=>{a.d(t,{W:()=>I});var r=a(4568),s=a(3096),n=a(9241),o=a(7303),l=a(5256),i=a(7911),d=a(6481),c=a(7281),u=a(6350),x=a(5191),m=a(8262),p=a(9388),h=a(3425),b=a(2463),g=a(3908),f=a(8191),v=a(1377),j=a(7620);a(1368),a(493);var y=a(4931),N=a(1164),k=a(9080),w=a(292),A=a(1053);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(9798),a(4147),a(4532);var E=a(5322),D=a(9321);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=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)}},J=async e=>{try{let t=await D.pv.runCi(a,e);alert(t.summary),Y()}catch(e){console.error("Failed to run CI:",e)}},X=async()=>{try{await D.pv.lock(a,"human",3600),Y(),k()}catch(e){console.error("Failed to lock task:",e)}},Z=async()=>{try{await D.pv.unlock(a,"human"),Y(),k()}catch(e){console.error("Failed to unlock task:",e)}},ee=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)}},et=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 ea=w.lockedBy&&(!w.lockExpiresAt||w.lockExpiresAt>Date.now()),er=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:()=>J("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})}),ea?(0,r.jsx)(E.$n,{size:"icon",variant:"ghost",onClick:Z,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:X,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:et,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:[er,"%"]})]}),(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(er,"%")}})})]})]}),(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:()=>{var t;return t=e.id,void(w&&$({acceptanceChecklist:w.acceptanceChecklist.map(e=>e.id===t?{...e,done:!e.done}:e)}))}}),(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:()=>{var t;return t=e.id,void(w&&$({acceptanceChecklist:w.acceptanceChecklist.filter(e=>e.id!==t)}))},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&&Q()}}),(0,r.jsx)(E.$n,{onClick:Q,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:ee,disabled:!U.trim(),children:"Reject Task"})]})]})})]})}},3928:(e,t,a)=>{a.d(t,{cn:()=>n});var r=a(2987),s=a(607);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))}},4147:(e,t,a)=>{a.d(t,{y:()=>m});var r=a(4568),s=a(3096),n=a(6350),o=a(8191),l=a(3991),i=a(1690),d=a(8262),c=a(7620),u=a(3928);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"]})})]})]})}},4532:(e,t,a)=>{a.d(t,{l:()=>m});var r=a(4568),s=a(3096),n=a(2463),o=a(4529),l=a(7620),i=a(5322),d=a(9321);let c=Object.values(s.e1).map(e=>{var t;return{value:e,label:e.replace(/_/g," "),color:(t=e,({[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"})[t])}}),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(""),a()},L=()=>{let e=D.trim();e&&!C.includes(e)&&(E([...C,e]),I(""))},R=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}),z(),m()}catch(e){console.error("Failed to create task:",e)}finally{T(!1)}}};return(0,r.jsx)(i.aF,{isOpen:t,onClose:z,title:"Create New Task",size:"lg",children:(0,r.jsxs)("form",{onSubmit:R,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:()=>{E(C.filter(t=>t!==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(),L())},placeholder:"Add labels (e.g. Bug, Feature)...",className:"flex-1 h-10"}),(0,r.jsx)(i.$n,{type:"button",onClick:L,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:z,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"})]})]})})}},5322:(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(9080),c=a(4931),u=a(3928);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(292),p=a(1053),h=a(2463),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"},8688:(e,t,a)=>{a.d(t,{p:()=>s});var r=a(9879);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}},9080:(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"},9321:(e,t,a)=>{a.d(t,{qQ:()=>s,KS:()=>n.K,pv:()=>o.p});var r=a(9879);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(1077),o=a(8688)},9798:(e,t,a)=>{a.d(t,{Sidebar:()=>p});var r=a(4568),s=a(4986),n=a(6285),o=a(3425),l=a(7130),i=a(7911),d=a(4508),c=a(7261),u=a.n(c),x=a(2942),m=a(3928);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"})]})})]})}},9879:(e,t,a)=>{a.d(t,{A:()=>s});let r=a(9329).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)||null==(t=a.data)?void 0:t.message)||e.message||"An unexpected error occurred";return console.error("[API Error] ".concat(r),e),Promise.reject(e)});let s=r}}]);
|