@baasix/baasix 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/404/index.html +1 -1
- package/dist/app/404.html +1 -1
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/schema/page-e80637a10e44e748.js +1 -0
- package/dist/app/_next/static/css/d08072df3a043c8d.css +3 -0
- package/dist/app/activity-log/all-activity/index.html +1 -1
- package/dist/app/activity-log/all-activity/index.txt +1 -1
- package/dist/app/activity-log/email-log/index.html +1 -1
- package/dist/app/activity-log/email-log/index.txt +1 -1
- package/dist/app/activity-log/index.html +1 -1
- package/dist/app/activity-log/index.txt +1 -1
- package/dist/app/activity-log/notifications/index.html +1 -1
- package/dist/app/activity-log/notifications/index.txt +1 -1
- package/dist/app/activity-log/sessions/index.html +1 -1
- package/dist/app/activity-log/sessions/index.txt +1 -1
- package/dist/app/activity-log/workflow-executions/index.html +1 -1
- package/dist/app/activity-log/workflow-executions/index.txt +1 -1
- package/dist/app/activity-log/workflow-logs/index.html +1 -1
- package/dist/app/activity-log/workflow-logs/index.txt +1 -1
- package/dist/app/change-password/index.html +1 -1
- package/dist/app/change-password/index.txt +1 -1
- package/dist/app/dashboard/index.html +1 -1
- package/dist/app/dashboard/index.txt +1 -1
- package/dist/app/data-browser/index.html +1 -1
- package/dist/app/data-browser/index.txt +1 -1
- package/dist/app/file-manager/index.html +1 -1
- package/dist/app/file-manager/index.txt +1 -1
- package/dist/app/forgot-password/index.html +1 -1
- package/dist/app/forgot-password/index.txt +1 -1
- package/dist/app/index.html +1 -1
- package/dist/app/index.txt +1 -1
- package/dist/app/login/index.html +1 -1
- package/dist/app/login/index.txt +1 -1
- package/dist/app/register/index.html +1 -1
- package/dist/app/register/index.txt +1 -1
- package/dist/app/settings/migrations/index.html +1 -1
- package/dist/app/settings/migrations/index.txt +1 -1
- package/dist/app/settings/permissions/index.html +1 -1
- package/dist/app/settings/permissions/index.txt +1 -1
- package/dist/app/settings/project/index.html +1 -1
- package/dist/app/settings/project/index.txt +1 -1
- package/dist/app/settings/roles/index.html +1 -1
- package/dist/app/settings/roles/index.txt +1 -1
- package/dist/app/settings/schema/index.html +1 -1
- package/dist/app/settings/schema/index.txt +2 -2
- package/dist/app/settings/tasks/index.html +1 -1
- package/dist/app/settings/tasks/index.txt +1 -1
- package/dist/app/settings/templates/edit/index.html +1 -1
- package/dist/app/settings/templates/edit/index.txt +1 -1
- package/dist/app/settings/templates/index.html +1 -1
- package/dist/app/settings/templates/index.txt +1 -1
- package/dist/app/settings/tenants/index.html +1 -1
- package/dist/app/settings/tenants/index.txt +1 -1
- package/dist/app/users/index.html +1 -1
- package/dist/app/users/index.txt +1 -1
- package/dist/app/users/invites/index.html +1 -1
- package/dist/app/users/invites/index.txt +1 -1
- package/dist/app/users/list/index.html +1 -1
- package/dist/app/users/list/index.txt +1 -1
- package/dist/app/users/preferences/index.html +1 -1
- package/dist/app/users/preferences/index.txt +1 -1
- package/dist/app/users/user-roles/index.html +1 -1
- package/dist/app/users/user-roles/index.txt +1 -1
- package/dist/app/workflows/detail/index.html +1 -1
- package/dist/app/workflows/detail/index.txt +1 -1
- package/dist/app/workflows/edit/index.html +1 -1
- package/dist/app/workflows/edit/index.txt +1 -1
- package/dist/app/workflows/execution/index.html +1 -1
- package/dist/app/workflows/execution/index.txt +1 -1
- package/dist/app/workflows/index.html +1 -1
- package/dist/app/workflows/index.txt +1 -1
- package/dist/services/ItemsService.d.ts.map +1 -1
- package/dist/services/ItemsService.js +37 -29
- package/dist/services/ItemsService.js.map +1 -1
- package/package.json +1 -1
- package/dist/app/_next/static/chunks/app/(authenticated)/settings/schema/page-13142acccd5f26b2.js +0 -1
- package/dist/app/_next/static/css/089bd567329856e0.css +0 -3
- /package/dist/app/_next/static/{-M-4y4ptAuCLJ3meAo3RA → 5ZI3ht7RafXtcZ00-D8bS}/_buildManifest.js +0 -0
- /package/dist/app/_next/static/{-M-4y4ptAuCLJ3meAo3RA → 5ZI3ht7RafXtcZ00-D8bS}/_ssgManifest.js +0 -0
package/dist/app/404/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/admin/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/admin/_next/static/css/d08072df3a043c8d.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js"/><script src="/admin/_next/static/chunks/fd9d1056-54169f07cd680d6c.js" async=""></script><script src="/admin/_next/static/chunks/2117-29b5fa47421595ad.js" async=""></script><script src="/admin/_next/static/chunks/main-app-55bcae20c77aaf0e.js" async=""></script><script src="/admin/_next/static/chunks/6fcbdc68-90be1a5480b8d353.js" async=""></script><script src="/admin/_next/static/chunks/5094-8d53e403235d4ca6.js" async=""></script><script src="/admin/_next/static/chunks/4438-c9a12ca15b6e9160.js" async=""></script><script src="/admin/_next/static/chunks/6530-a91e10cffa4200c4.js" async=""></script><script src="/admin/_next/static/chunks/6241-30d7169d1010e5a4.js" async=""></script><script src="/admin/_next/static/chunks/1668-e3eabd0f6753c780.js" async=""></script><script src="/admin/_next/static/chunks/6869-11b3cd61c78598a7.js" async=""></script><script src="/admin/_next/static/chunks/8473-6598318371eca31b.js" async=""></script><script src="/admin/_next/static/chunks/4883-8a924721bb21b3b0.js" async=""></script><script src="/admin/_next/static/chunks/1303-6e8e0ab420489175.js" async=""></script><script src="/admin/_next/static/chunks/app/layout-1af2638eaca64bf1.js" async=""></script><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-FBCW8DT7KT" as="script"/><meta name="robots" content="noindex"/><title>Baasix</title><script src="/admin/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen bg-background font-sans antialiased"><!--$--><div class="flex items-center justify-center min-h-screen bg-background"><div class="text-center"><div class="inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-primary border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"></div><p class="mt-4 text-muted-foreground">Loading...</p></div></div><!--/$--><script src="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/admin/_next/static/css/d08072df3a043c8d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[12846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[36423,[],\"\"]\n6:I[84821,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"6869\",\"static/chunks/6869-11b3cd61c78598a7.js\",\"8473\",\"static/chunks/8473-6598318371eca31b.js\",\"4883\",\"static/chunks/4883-8a924721bb21b3b0.js\",\"1303\",\"static/chunks/1303-6e8e0ab420489175.js\",\"3185\",\"static/chunks/app/layout-1af2638eaca64bf1.js\"],\"default\",1]\nc:I[61060,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"5ZI3ht7RafXtcZ00-D8bS\",\"assetPrefix\":\"/admin\",\"urlParts\":[\"\",\"_not-found\",\"\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/admin/_next/static/css/d08072df3a043c8d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
|
package/dist/app/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/admin/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/admin/_next/static/css/d08072df3a043c8d.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js"/><script src="/admin/_next/static/chunks/fd9d1056-54169f07cd680d6c.js" async=""></script><script src="/admin/_next/static/chunks/2117-29b5fa47421595ad.js" async=""></script><script src="/admin/_next/static/chunks/main-app-55bcae20c77aaf0e.js" async=""></script><script src="/admin/_next/static/chunks/6fcbdc68-90be1a5480b8d353.js" async=""></script><script src="/admin/_next/static/chunks/5094-8d53e403235d4ca6.js" async=""></script><script src="/admin/_next/static/chunks/4438-c9a12ca15b6e9160.js" async=""></script><script src="/admin/_next/static/chunks/6530-a91e10cffa4200c4.js" async=""></script><script src="/admin/_next/static/chunks/6241-30d7169d1010e5a4.js" async=""></script><script src="/admin/_next/static/chunks/1668-e3eabd0f6753c780.js" async=""></script><script src="/admin/_next/static/chunks/6869-11b3cd61c78598a7.js" async=""></script><script src="/admin/_next/static/chunks/8473-6598318371eca31b.js" async=""></script><script src="/admin/_next/static/chunks/4883-8a924721bb21b3b0.js" async=""></script><script src="/admin/_next/static/chunks/1303-6e8e0ab420489175.js" async=""></script><script src="/admin/_next/static/chunks/app/layout-1af2638eaca64bf1.js" async=""></script><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-FBCW8DT7KT" as="script"/><meta name="robots" content="noindex"/><title>Baasix</title><script src="/admin/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen bg-background font-sans antialiased"><!--$--><div class="flex items-center justify-center min-h-screen bg-background"><div class="text-center"><div class="inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-primary border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"></div><p class="mt-4 text-muted-foreground">Loading...</p></div></div><!--/$--><script src="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/admin/_next/static/css/d08072df3a043c8d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[12846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[36423,[],\"\"]\n6:I[84821,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"6869\",\"static/chunks/6869-11b3cd61c78598a7.js\",\"8473\",\"static/chunks/8473-6598318371eca31b.js\",\"4883\",\"static/chunks/4883-8a924721bb21b3b0.js\",\"1303\",\"static/chunks/1303-6e8e0ab420489175.js\",\"3185\",\"static/chunks/app/layout-1af2638eaca64bf1.js\"],\"default\",1]\nc:I[61060,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"5ZI3ht7RafXtcZ00-D8bS\",\"assetPrefix\":\"/admin\",\"urlParts\":[\"\",\"_not-found\",\"\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/admin/_next/static/css/d08072df3a043c8d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
|
package/dist/app/_next/static/chunks/app/(authenticated)/settings/schema/page-e80637a10e44e748.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[842],{49204:function(e,a,l){Promise.resolve().then(l.bind(l,67028))},79205:function(e,a,l){"use strict";l.d(a,{Z:function(){return d}});var s=l(2265);let t=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,a=Array(e),l=0;l<e;l++)a[l]=arguments[l];return a.filter((e,a,l)=>!!e&&l.indexOf(e)===a).join(" ")};var i={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 r=(0,s.forwardRef)((e,a)=>{let{color:l="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:d,className:c="",children:o,iconNode:u,...h}=e;return(0,s.createElement)("svg",{ref:a,...i,width:t,height:t,stroke:l,strokeWidth:d?24*Number(r)/Number(t):r,className:n("lucide",c),...h},[...u.map(e=>{let[a,l]=e;return(0,s.createElement)(a,l)}),...Array.isArray(o)?o:[o]])}),d=(e,a)=>{let l=(0,s.forwardRef)((l,i)=>{let{className:d,...c}=l;return(0,s.createElement)(r,{ref:i,iconNode:a,className:n("lucide-".concat(t(e)),d),...c})});return l.displayName="".concat(e),l}},41671:function(e,a,l){"use strict";l.d(a,{Z:function(){return s}});let s=(0,l(79205).Z)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},54001:function(e,a,l){"use strict";l.d(a,{Z:function(){return s}});let s=(0,l(79205).Z)("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]])},51817:function(e,a,l){"use strict";l.d(a,{Z:function(){return s}});let s=(0,l(79205).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},67028:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return eu}});var s=l(57437),t=l(2265),n=l(72135),i=l(29696),r=l(14438),d=l(79820),c=l(12381),o=l(43368),u=l(69174),h=l(33804),m=l(30767),x=l(82431),p=l(99397),j=l(17689),v=l(92735),f=l(51817),g=l(50091),N=l(79205);let y=(0,N.Z)("Columns3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);var b=l(54001),w=l(98728),C=l(18930),S=l(91032),I=l(40279),k=l(75060),A=l(94589),_=l(15291);let T=e=>{let{open:a,onClose:l,onSuccess:d}=e,[o,u]=(0,t.useState)(""),[h,m]=(0,t.useState)("id"),[x,p]=(0,t.useState)("UUID"),[j,v]=(0,t.useState)(!0),[g,N]=(0,t.useState)(!0),[y,b]=(0,t.useState)(!1),{mutate:w,isLoading:C}=(0,n.RO)(),{refetch:T}=(0,i.I_)(),D=()=>{u(""),m("id"),p("UUID"),v(!0),N(!0),b(!1)};return(0,s.jsx)(S.yo,{open:a,onOpenChange:e=>!e&&l(),children:(0,s.jsxs)(S.ue,{className:"w-[500px] sm:w-[600px]",children:[(0,s.jsx)(S.Tu,{children:(0,s.jsx)(S.bC,{children:"Create New Schema"})}),(0,s.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),!o.trim()){r.Am.error("Please enter a schema name");return}if(o.length>63){r.Am.error("Schema name must be 63 characters or less (PostgreSQL identifier limit)");return}w({resource:"collections",values:{collectionName:o.toLowerCase(),schema:{name:o,fields:{[h]:{type:x,primaryKey:!0,defaultValue:"UUID"===x?{type:"UUIDV4"}:"Integer"===x?{type:"AUTOINCREMENT"}:"SUID"===x?{type:"SUID"}:void 0}},timestamps:j,paranoid:y,usertrack:g}}},{onSuccess:()=>{r.Am.success("Schema created successfully"),T(),D(),d()},onError:e=>{r.Am.error("Error creating schema: ".concat(e.message))}})},className:"mt-6 space-y-6",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"schemaName",children:"Schema Name"}),(0,s.jsx)(I.I,{id:"schemaName",placeholder:"Enter schema name",value:o,onChange:e=>u(e.target.value),maxLength:63,className:o.length>63?"border-red-500":"",required:!0}),(0,s.jsxs)("p",{className:"text-xs ".concat(o.length>63?"text-red-600":o.length>50?"text-yellow-600":"text-muted-foreground"),children:[o.length,"/63 characters",o.length>63&&" - Name too long for PostgreSQL!"]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"primaryKeyName",children:"Primary Key Name"}),(0,s.jsx)(I.I,{id:"primaryKeyName",placeholder:"id",value:h,onChange:e=>m(e.target.value),required:!0})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"primaryKeyType",children:"Primary Key Type"}),(0,s.jsxs)(_.Ph,{value:x,onValueChange:p,children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select type"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"UUID",children:"UUID"}),(0,s.jsx)(_.Ql,{value:"Integer",children:"Integer"}),(0,s.jsx)(_.Ql,{value:"String",children:"String"}),(0,s.jsx)(_.Ql,{value:"SUID",children:"Short UID"})]})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Timestamps"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Add createdAt and updatedAt fields"})]}),(0,s.jsx)(A.r,{checked:j,onCheckedChange:v})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Audit Logs"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Track user changes to records"})]}),(0,s.jsx)(A.r,{checked:g,onCheckedChange:N})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Soft Delete"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Mark records as deleted instead of removing them"})]}),(0,s.jsx)(A.r,{checked:y,onCheckedChange:b})]})]}),(0,s.jsxs)("div",{className:"flex justify-end gap-2 pt-4",children:[(0,s.jsx)(c.z,{type:"button",variant:"outline",onClick:l,children:"Cancel"}),(0,s.jsxs)(c.z,{type:"submit",disabled:C,children:[C&&(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}),"Create Schema"]})]})]})]})})},D=(0,N.Z)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);var M=l(73247),E=l(45675),R=l(23675),U=l(68245),V=l(33245),L=l(32489),O=l(71488),Z=l(12749),z=l(93448),P=l(79622);let F=[{value:" - ",label:"Dash ( - )"},{value:" ",label:"Space ( )"},{value:", ",label:"Comma (, )"},{value:"_",label:"Underscore (_)"},{value:" & ",label:"Ampersand ( & )"},{value:" | ",label:"Pipe ( | )"},{value:" (",label:"Open Paren ( ()"},{value:") ",label:"Close Paren ( ))"},{value:"(",label:"Open Paren (()"},{value:")",label:"Close Paren ())"}],Q={text:[{value:"String",label:"String"},{value:"Text",label:"Text"},{value:"HTML",label:"HTML (Rich Text)"},{value:"CiText",label:"Text (Case Insensitive)"},{value:"ENUM",label:"ENUM"}],numeric:[{value:"Integer",label:"Integer"},{value:"BigInt",label:"BigInt"},{value:"Decimal",label:"Decimal"},{value:"Double",label:"Double"},{value:"Real",label:"Real"}],date:[{value:"DateTime",label:"DateTime (with timezone)"},{value:"DateTime_NO_TZ",label:"DateTime (no timezone)"},{value:"Date",label:"Date"},{value:"Time",label:"Time (with timezone)"},{value:"Time_NO_TZ",label:"Time (no timezone)"}],other:[{value:"Boolean",label:"Boolean"},{value:"UUID",label:"UUID"},{value:"SUID",label:"Short UID"},{value:"JSON",label:"JSON"},{value:"JSONB",label:"JSONB"},{value:"VIRTUAL",label:"Virtual"}],array:[{value:"Array_Integer",label:"Array Integer"},{value:"Array_String",label:"Array String"},{value:"Array_Double",label:"Array Double"},{value:"Array_Date",label:"Array Date"},{value:"Array_DateTime",label:"Array DateTime (with timezone)"},{value:"Array_DateTime_NO_TZ",label:"Array DateTime (no timezone)"},{value:"Array_Time",label:"Array Time (with timezone)"},{value:"Array_Time_NO_TZ",label:"Array Time (no timezone)"},{value:"Array_Boolean",label:"Array Boolean"}],range:[{value:"Range_Integer",label:"Range Integer"},{value:"Range_Double",label:"Range Double"},{value:"Range_Decimal",label:"Range Decimal"},{value:"Range_Date",label:"Range Date"},{value:"Range_DateTime",label:"Range DateTime (with timezone)"},{value:"Range_DateTime_NO_TZ",label:"Range DateTime (no timezone)"},{value:"Range_Time",label:"Range Time (with timezone)"},{value:"Range_Time_NO_TZ",label:"Range Time (no timezone)"}],geo:[{value:"Point",label:"Point"},{value:"Polygon",label:"Polygon"},{value:"LineString",label:"LineString"}]},B=[{value:"M2O",label:"Many-to-One"},{value:"O2O",label:"One-to-One"},{value:"M2M",label:"Many-to-Many"},{value:"M2A",label:"Many-to-Any"}],$=e=>["DateTime","DateTime_NO_TZ","Date","Time","Time_NO_TZ"].includes(e),W=e=>{var a,l,d,o,h;let{open:m,onClose:x,collectionName:p,fieldName:j,isRelationship:v,onSuccess:g}=e,[N,y]=(0,t.useState)({name:"",type:"",allowNull:!0,hidden:!1,defaultValue:"",values:[],stringLength:"",precision:"",scale:"",calculated:"",target:"",relType:"",onDelete:"CASCADE",onUpdate:"CASCADE",alias:"",through:"",tables:[],showAs:[],polymorphic:!1,description:"",validateMin:"",validateMax:"",validateIsInt:!1,validateNotEmpty:!1,validateIsEmail:!1,validateIsUrl:!1,validateMinLength:"",validateMaxLength:"",validatePattern:""}),[b,w]=(0,t.useState)([]),[C,T]=(0,t.useState)(!1),{getSchemaByName:D,getNestedFields:M,schemas:E,refetch:W}=(0,i.I_)(),q=(0,t.useMemo)(()=>m&&p?{data:D(p)}:null,[m,p,D]),J=(0,t.useMemo)(()=>(null==E?void 0:E.map(e=>({id:e.collectionName,name:e.collectionName})))||[],[E]),K=(0,t.useMemo)(()=>N.target&&(null==M?void 0:M(N.target))||[],[N.target,M]),{mutate:X,isLoading:H}=(0,n.PQ)(),{mutate:Y,isLoading:G}=(0,n.RO)(),ee=!!j,ea=H||G;(0,t.useEffect)(()=>{if(m&&(null==q?void 0:q.data)&&j){var e,a,l,s,t,n,i,r;let d=q.data.schema.fields[j]||{},c=d.values||[],o="",u="",h="";d.values&&"object"==typeof d.values&&!Array.isArray(d.values)&&(o=d.values.stringLength||"",u=d.values.precision||"",h=d.values.scale||"",c=[]);let m="",x=!1;d.defaultValue&&("object"==typeof d.defaultValue&&"NOW"===d.defaultValue.type?m="$NOW":"object"==typeof d.defaultValue&&"UUIDV4"===d.defaultValue.type?m="$UUIDV4":"object"==typeof d.defaultValue&&"SUID"===d.defaultValue.type?m="$SUID":"object"==typeof d.defaultValue&&"AUTOINCREMENT"===d.defaultValue.type?m="$AUTOINCREMENT":"boolean"==typeof d.defaultValue?m=d.defaultValue?"true":"false":(m=String(d.defaultValue),("Integer"===d.type||"BigInt"===d.type)&&""!==m&&(x=!0))),T(x);let p=d.validate||{};y({name:j,type:d.type||"",allowNull:null===(l=d.allowNull)||void 0===l||l,hidden:null!==(s=d.hidden)&&void 0!==s&&s,defaultValue:m,values:c,stringLength:o,precision:u,scale:h,calculated:d.calculated||"",target:d.target||"",relType:d.relType||"",onDelete:d.onDelete||"CASCADE",onUpdate:d.onUpdate||"CASCADE",alias:d.alias||"",through:d.through||"",tables:d.tables||[],showAs:d.showAs||[],polymorphic:d.polymorphic||!1,description:d.description||"",validateMin:void 0!==p.min?String(p.min):"",validateMax:void 0!==p.max?String(p.max):"",validateIsInt:null!==(t=p.isInt)&&void 0!==t&&t,validateNotEmpty:null!==(n=p.notEmpty)&&void 0!==n&&n,validateIsEmail:null!==(i=p.isEmail)&&void 0!==i&&i,validateIsUrl:null!==(r=p.isUrl)&&void 0!==r&&r,validateMinLength:(null===(e=p.len)||void 0===e?void 0:e[0])!==void 0?String(p.len[0]):"",validateMaxLength:(null===(a=p.len)||void 0===a?void 0:a[1])!==void 0?String(p.len[1]):"",validatePattern:p.is||p.matches||""}),d.showAs&&Array.isArray(d.showAs)?w(d.showAs):w([])}else m&&!j&&(y({name:"",type:"",allowNull:!0,hidden:!1,defaultValue:"",values:[],stringLength:"",precision:"",scale:"",calculated:"",target:"",relType:"",onDelete:"CASCADE",onUpdate:"CASCADE",alias:"",through:"",tables:[],showAs:[],polymorphic:!1,description:"",validateMin:"",validateMax:"",validateIsInt:!1,validateNotEmpty:!1,validateIsEmail:!1,validateIsUrl:!1,validateMinLength:"",validateMaxLength:"",validatePattern:""}),w([]),T(!1))},[m,q,j]),(0,t.useEffect)(()=>{if(!ee&&v&&("M2M"===N.type||"M2A"===N.type)){let e="";"M2M"===N.type&&N.target&&N.name?e="".concat(p,"_").concat(N.target,"_").concat(N.name,"_junction"):"M2A"===N.type&&N.name&&(e="".concat(p,"_").concat(N.name,"_junction")),e&&(!N.through||N.through.endsWith("_junction"))&&y(a=>({...a,through:e}))}},[N.type,N.target,N.name,p,ee,v]);let el=()=>{var e;let a={name:N.name,type:N.type,target:N.target,onDelete:N.onDelete,onUpdate:N.onUpdate};N.alias&&(a.alias=N.alias),N.through&&("M2M"===N.type||"M2A"===N.type)&&(a.through=N.through),(null===(e=N.tables)||void 0===e?void 0:e.length)&&(a.tables=N.tables),(null==b?void 0:b.length)>0&&(a.showAs=b),(j?X:Y)({resource:"relationships",meta:{collectionName:p},values:a,...j&&{id:j}},{onSuccess:()=>{r.Am.success("Relationship ".concat(j?"updated":"created"," successfully")),W(),x(),g()},onError:e=>{r.Am.error("Error ".concat(j?"updating":"creating"," relationship: ").concat(e.message))}})},es=e=>["Integer","BigInt","Decimal","Double","Real","Array_Integer","Array_BigInt","Array_Double","Array_Decimal","Range_Integer","Range_BigInt","Range_Double","Range_Decimal"].includes(e),et=e=>["String","Text","CiText"].includes(e),en=()=>{var e,a;let l=D(p),s={...null==l?void 0:null===(e=l.schema)||void 0===e?void 0:e.fields},t={type:N.type,allowNull:N.allowNull};if(N.hidden&&(t.hidden=!0),N.defaultValue&&("$NOW"===N.defaultValue?t.defaultValue={type:"NOW"}:"$UUIDV4"===N.defaultValue?t.defaultValue={type:"UUIDV4"}:"$SUID"===N.defaultValue?t.defaultValue={type:"SUID"}:"$AUTOINCREMENT"===N.defaultValue?t.defaultValue={type:"AUTOINCREMENT"}:"Boolean"===N.type?t.defaultValue="true"===N.defaultValue:"Integer"!==N.type&&"BigInt"!==N.type||isNaN(Number(N.defaultValue))?t.defaultValue=N.defaultValue:t.defaultValue=parseInt(N.defaultValue,10)),"ENUM"===N.type&&(null===(a=N.values)||void 0===a?void 0:a.length)>0&&(t.values=N.values),"VIRTUAL"===N.type&&N.calculated&&(t.calculated=N.calculated),"String"===N.type&&N.stringLength&&(t.values={stringLength:N.stringLength}),"Decimal"===N.type&&(N.precision||N.scale)){let e={};N.precision&&(e.precision=parseInt(N.precision,10)),N.scale&&(e.scale=parseInt(N.scale,10)),t.values=e}if(es(N.type)){let e={};""!==N.validateMin&&null!==N.validateMin&&void 0!==N.validateMin&&(e.min=parseFloat(N.validateMin)),""!==N.validateMax&&null!==N.validateMax&&void 0!==N.validateMax&&(e.max=parseFloat(N.validateMax)),N.validateIsInt&&(e.isInt=!0),Object.keys(e).length>0&&(t.validate=e)}if(et(N.type)){let e={};N.validateNotEmpty&&(e.notEmpty=!0),N.validateIsEmail&&(e.isEmail=!0),N.validateIsUrl&&(e.isUrl=!0);let a=""!==N.validateMinLength?parseInt(N.validateMinLength,10):null,l=""!==N.validateMaxLength?parseInt(N.validateMaxLength,10):null;(null!==a||null!==l)&&(e.len=[null!=a?a:0,null!=l?l:999999]),N.validatePattern&&(e.is=N.validatePattern),Object.keys(e).length>0&&(t.validate=e)}if(ee){let e={...s[j]};e.hidden&&!N.hidden&&delete e.hidden,e.validate&&!t.validate&&delete e.validate,s[j]={...e,...t}}else s[N.name]=t;X({resource:"collections",id:p,values:{schema:{...null==l?void 0:l.schema,fields:s}}},{onSuccess:()=>{r.Am.success("Field ".concat(ee?"updated":"added"," successfully")),W(),x(),g()},onError:e=>{r.Am.error("Error ".concat(ee?"updating":"adding"," field: ").concat(e.message))}})},ei=(e,a)=>{y(l=>({...l,[e]:a}))};return(0,s.jsx)(S.yo,{open:m,onOpenChange:e=>!e&&x(),children:(0,s.jsxs)(S.ue,{className:"!w-full sm:!w-[600px] overflow-y-auto",children:[(0,s.jsx)(S.Tu,{children:(0,s.jsxs)(S.bC,{children:[ee?"Edit":"Create"," ",v?"Relationship":"Field"]})}),(0,s.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),!N.name){r.Am.error("Please enter a field name");return}v?el():en()},className:"mt-6 space-y-5",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"name",children:"Field Name"}),(0,s.jsx)(I.I,{id:"name",placeholder:"Enter field name",value:N.name,onChange:e=>ei("name",e.target.value),disabled:ee,required:!0})]}),v?(0,s.jsxs)(s.Fragment,{children:[ee&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Description"}),(0,s.jsx)(I.I,{value:N.description||"",disabled:!0})]}),!ee&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Relationship Type"}),(0,s.jsxs)(_.Ph,{value:N.type,onValueChange:e=>{ei("type",e),w([])},children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select relationship type"})}),(0,s.jsx)(_.Bw,{children:B.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))})]})]}),ee&&N.relType&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Relation Type"}),(0,s.jsxs)(_.Ph,{value:N.relType,disabled:!0,children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"BelongsTo",children:"BelongsTo"}),(0,s.jsx)(_.Ql,{value:"HasOne",children:"HasOne"}),(0,s.jsx)(_.Ql,{value:"HasMany",children:"HasMany"}),(0,s.jsx)(_.Ql,{value:"BelongsToMany",children:"BelongsToMany"})]})]})]}),"M2A"!==N.type&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Target Collection"}),(0,s.jsxs)(_.Ph,{value:N.target,onValueChange:e=>{ei("target",e),w([])},disabled:ee,children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select target collection"})}),(0,s.jsx)(_.Bw,{children:J.map(e=>(0,s.jsx)(_.Ql,{value:e.id,children:e.name},e.id))})]})]}),N.target&&"M2A"!==N.type&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(k._,{children:"Display Format"}),(0,s.jsx)(O.pn,{children:(0,s.jsxs)(O.u,{children:[(0,s.jsx)(O.aJ,{asChild:!0,children:(0,s.jsx)(V.Z,{className:"h-3.5 w-3.5 text-muted-foreground cursor-help"})}),(0,s.jsx)(O._v,{children:(0,s.jsx)("p",{children:"Select fields to display for this relationship"})})]})})]}),(0,s.jsxs)(Z.J2,{children:[(0,s.jsx)(Z.xo,{asChild:!0,children:(0,s.jsx)(c.z,{variant:"outline",role:"combobox",className:"w-full justify-start font-normal h-auto min-h-10",children:b.length>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-1",children:b.map((e,a)=>(0,s.jsxs)(u.C,{variant:"secondary",className:"mr-1",children:[e,(0,s.jsx)("button",{type:"button",className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onClick:e=>{e.stopPropagation(),w(b.filter((e,l)=>l!==a))},children:(0,s.jsx)(L.Z,{className:"h-3 w-3"})})]},"".concat(e,"-").concat(a)))}):(0,s.jsx)("span",{className:"text-muted-foreground",children:"Select fields to display..."})})}),(0,s.jsxs)(Z.yk,{className:"w-[300px] p-0 overflow-hidden",align:"start",children:[(0,s.jsx)("div",{className:"px-2 py-1.5 border-b",children:(0,s.jsx)("div",{className:"text-sm font-medium",children:"Target Fields"})}),(0,s.jsx)("div",{className:"max-h-[200px] overflow-y-auto overflow-x-hidden p-1.5",style:{overscrollBehavior:"contain",touchAction:"pan-y",WebkitOverflowScrolling:"touch",willChange:"scroll-position",pointerEvents:"auto"},onWheel:e=>e.stopPropagation(),children:K.length>0?K.map(e=>(0,s.jsxs)("div",{className:"flex items-center space-x-2 py-1 px-2 hover:bg-muted rounded cursor-pointer",onClick:()=>{let a=e.value||e;b.includes(a)||w([...b,a])},children:[(0,s.jsx)(U.X,{checked:b.includes(e.value||e),onCheckedChange:a=>{let l=e.value||e;a?w([...b,l]):w(b.filter(e=>e!==l))}}),(0,s.jsx)("span",{className:"text-sm",children:e.title||e.value||e})]},e.value||e)):(0,s.jsx)("div",{className:"text-sm text-muted-foreground p-2",children:"No fields available"})}),(0,s.jsxs)("div",{className:"px-2 py-1.5 border-t",children:[(0,s.jsx)("div",{className:"text-xs font-medium mb-1",children:"Dividers"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-0.5",children:F.map(e=>(0,s.jsx)(c.z,{type:"button",variant:"outline",size:"sm",className:"h-6 px-2 text-xs",onClick:()=>{w([...b,e.value])},children:e.label},e.value))})]})]})]})]}),!ee&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"alias",children:"Target Alias (optional)"}),(0,s.jsx)(I.I,{id:"alias",placeholder:"Enter alias",value:N.alias,onChange:e=>ei("alias",e.target.value)})]}),!ee&&("M2M"===N.type||"M2A"===N.type)&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(k._,{htmlFor:"through",children:"Junction Table Name"}),(0,s.jsx)(O.pn,{children:(0,s.jsxs)(O.u,{children:[(0,s.jsx)(O.aJ,{asChild:!0,children:(0,s.jsx)(V.Z,{className:"h-4 w-4 text-muted-foreground cursor-help"})}),(0,s.jsx)(O._v,{className:"max-w-xs",children:(0,s.jsx)("p",{children:"Name for the junction table. PostgreSQL limits table names to 63 characters. Modify if the auto-generated name is too long."})})]})})]}),(0,s.jsx)(I.I,{id:"through",placeholder:"Enter junction table name",value:N.through,onChange:e=>ei("through",e.target.value),maxLength:63,className:N.through&&N.through.length>63?"border-red-500":""}),(0,s.jsxs)("p",{className:(0,z.cn)("text-xs",(null===(a=N.through)||void 0===a?void 0:a.length)>63?"text-red-600":(null===(l=N.through)||void 0===l?void 0:l.length)>50?"text-amber-600":"text-muted-foreground"),children:[(null===(d=N.through)||void 0===d?void 0:d.length)||0,"/63 characters",(null===(o=N.through)||void 0===o?void 0:o.length)>63&&" - Name too long!"]})]}),("M2A"===N.type||N.polymorphic)&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Tables (for Many-to-Any)"}),(0,s.jsxs)(Z.J2,{children:[(0,s.jsx)(Z.xo,{asChild:!0,children:(0,s.jsx)(c.z,{variant:"outline",role:"combobox",className:"w-full justify-start font-normal h-auto min-h-10",children:(null===(h=N.tables)||void 0===h?void 0:h.length)>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-1",children:N.tables.map(e=>(0,s.jsxs)(u.C,{variant:"secondary",className:"mr-1",children:[e,(0,s.jsx)("button",{type:"button",className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onClick:a=>{a.stopPropagation(),ei("tables",N.tables.filter(a=>a!==e))},children:(0,s.jsx)(L.Z,{className:"h-3 w-3"})})]},e))}):(0,s.jsx)("span",{className:"text-muted-foreground",children:"Select tables..."})})}),(0,s.jsx)(Z.yk,{className:"w-[300px] p-0",align:"start",children:(0,s.jsx)("div",{className:"max-h-[200px] overflow-y-auto p-2",children:J.map(e=>{var a;return(0,s.jsxs)("div",{className:"flex items-center space-x-2 py-1.5 px-2 hover:bg-muted rounded cursor-pointer",onClick:()=>{let a=N.tables||[];a.includes(e.id)||ei("tables",[...a,e.id])},children:[(0,s.jsx)(U.X,{checked:null===(a=N.tables)||void 0===a?void 0:a.includes(e.id),onCheckedChange:a=>{let l=N.tables||[];a?ei("tables",[...l,e.id]):ei("tables",l.filter(a=>a!==e.id))}}),(0,s.jsx)("span",{className:"text-sm",children:e.name})]},e.id)})})})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(k._,{className:"flex items-center gap-2",children:["On Delete",(0,s.jsx)(O.pn,{children:(0,s.jsxs)(O.u,{children:[(0,s.jsx)(O.aJ,{asChild:!0,children:(0,s.jsx)(V.Z,{className:"h-4 w-4 text-muted-foreground cursor-help"})}),(0,s.jsx)(O._v,{side:"right",className:"max-w-xs",children:(0,s.jsxs)("p",{children:["Action when a record in ",(0,s.jsx)("strong",{children:N.target||"target"})," is deleted"]})})]})})]}),(0,s.jsxs)(_.Ph,{value:N.onDelete,onValueChange:e=>ei("onDelete",e),children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"CASCADE",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"CASCADE"}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Delete ",p," records when ",N.target||"target"," is deleted"]})]})}),(0,s.jsx)(_.Ql,{value:"SET NULL",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"SET NULL"}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Set reference to null in ",p," when ",N.target||"target"," is deleted"]})]})}),(0,s.jsx)(_.Ql,{value:"RESTRICT",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"RESTRICT"}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Prevent deleting ",N.target||"target"," if ",p," references it"]})]})}),(0,s.jsx)(_.Ql,{value:"NO ACTION",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"NO ACTION"}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:"Similar to RESTRICT, checked at end of transaction"})]})})]})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(k._,{className:"flex items-center gap-2",children:["On Update",(0,s.jsx)(O.pn,{children:(0,s.jsxs)(O.u,{children:[(0,s.jsx)(O.aJ,{asChild:!0,children:(0,s.jsx)(V.Z,{className:"h-4 w-4 text-muted-foreground cursor-help"})}),(0,s.jsx)(O._v,{side:"right",className:"max-w-xs",children:(0,s.jsxs)("p",{children:["Action when the primary key of ",(0,s.jsx)("strong",{children:N.target||"target"})," is updated"]})})]})})]}),(0,s.jsxs)(_.Ph,{value:N.onUpdate,onValueChange:e=>ei("onUpdate",e),children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"CASCADE",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"CASCADE"}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Update reference in ",p," when ",N.target||"target"," key changes"]})]})}),(0,s.jsx)(_.Ql,{value:"SET NULL",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"SET NULL"}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Set reference to null in ",p," when ",N.target||"target"," key changes"]})]})}),(0,s.jsx)(_.Ql,{value:"RESTRICT",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"RESTRICT"}),(0,s.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Prevent updating ",N.target||"target"," key if ",p," references it"]})]})}),(0,s.jsx)(_.Ql,{value:"NO ACTION",children:(0,s.jsxs)("div",{className:"flex flex-col items-start",children:[(0,s.jsx)("span",{children:"NO ACTION"}),(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:"Similar to RESTRICT, checked at end of transaction"})]})})]})]})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Field Type"}),(0,s.jsxs)(_.Ph,{value:N.type,onValueChange:e=>ei("type",e),disabled:ee,children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select field type"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Text Types"}),Q.text.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]}),(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Numeric Types"}),Q.numeric.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]}),(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Date Types"}),Q.date.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]}),(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Other Types"}),Q.other.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]}),(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Array Types"}),Q.array.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]}),(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Range Types"}),Q.range.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]}),(0,s.jsxs)(_.DI,{children:[(0,s.jsx)(_.n5,{children:"Geo Types"}),Q.geo.map(e=>(0,s.jsx)(_.Ql,{value:e.value,children:e.label},e.value))]})]})]})]}),"VIRTUAL"===N.type?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"calculated",children:"Calculation String"}),(0,s.jsx)(R.g,{id:"calculated",placeholder:"${this.firstName} ${this.lastName}",value:N.calculated,onChange:e=>ei("calculated",e.target.value)}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Use $","{this.fieldName}"," syntax to reference other fields"]})]}):"ENUM"===N.type?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Enum Values"}),(0,s.jsx)(P.OF,{value:N.values||[],onChange:e=>ei("values",e),itemType:"string",placeholder:"Type a value and press Enter"})]}):"String"===N.type?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"stringLength",children:"Maximum Length"}),(0,s.jsx)(I.I,{id:"stringLength",type:"number",placeholder:"255",value:N.stringLength||"",onChange:e=>ei("stringLength",e.target.value)})]}):"Decimal"===N.type?(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"precision",children:"Precision (Total Digits)"}),(0,s.jsx)(I.I,{id:"precision",type:"number",placeholder:"e.g., 10",value:N.precision||"",onChange:e=>ei("precision",e.target.value)}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Total number of digits (before and after decimal point)"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"scale",children:"Scale (Decimal Places)"}),(0,s.jsx)(I.I,{id:"scale",type:"number",placeholder:"e.g., 2",value:N.scale||"",onChange:e=>ei("scale",e.target.value)}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Number of digits after the decimal point"})]})]}):null,(0,s.jsxs)(s.Fragment,{children:[(()=>{if(!es(N.type))return null;let e=["Integer","BigInt","Array_Integer","Array_BigInt","Range_Integer","Range_BigInt"].includes(N.type),a=N.type.startsWith("Range_"),l=N.type.startsWith("Array_");return(0,s.jsxs)("div",{className:"space-y-4 pt-4 border-t",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(k._,{className:"text-sm font-medium",children:"Validation Rules"}),(0,s.jsx)(O.pn,{children:(0,s.jsxs)(O.u,{children:[(0,s.jsx)(O.aJ,{asChild:!0,children:(0,s.jsx)(V.Z,{className:"h-4 w-4 text-muted-foreground cursor-help"})}),(0,s.jsx)(O._v,{className:"max-w-xs",children:(0,s.jsx)("p",{children:a?"Min/max values apply to both lower and upper bounds of the range.":l?"Min/max values apply to each element in the array.":"Set minimum and maximum allowed values for this field."})})]})})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"validateMin",children:"Minimum Value"}),(0,s.jsx)(I.I,{id:"validateMin",type:"number",step:e?"1":"any",placeholder:"No minimum",value:N.validateMin,onChange:e=>ei("validateMin",e.target.value)})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"validateMax",children:"Maximum Value"}),(0,s.jsx)(I.I,{id:"validateMax",type:"number",step:e?"1":"any",placeholder:"No maximum",value:N.validateMax,onChange:e=>ei("validateMax",e.target.value)})]})]}),!e&&(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(U.X,{id:"validateIsInt",checked:N.validateIsInt,onCheckedChange:e=>ei("validateIsInt",!0===e)}),(0,s.jsx)(k._,{htmlFor:"validateIsInt",className:"text-sm font-normal cursor-pointer",children:"Require integer values (no decimals)"})]})]})})(),et(N.type)?(0,s.jsxs)("div",{className:"space-y-4 pt-4 border-t",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(k._,{className:"text-sm font-medium",children:"Validation Rules"}),(0,s.jsx)(O.pn,{children:(0,s.jsxs)(O.u,{children:[(0,s.jsx)(O.aJ,{asChild:!0,children:(0,s.jsx)(V.Z,{className:"h-4 w-4 text-muted-foreground cursor-help"})}),(0,s.jsx)(O._v,{className:"max-w-xs",children:(0,s.jsx)("p",{children:"Configure validation rules for string content and format."})})]})})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{className:"text-sm text-muted-foreground",children:"Format Validation"}),(0,s.jsxs)(_.Ph,{value:N.validateIsEmail?"email":N.validateIsUrl?"url":N.validateNotEmpty?"notEmpty":"none",onValueChange:e=>{ei("validateNotEmpty","notEmpty"===e),ei("validateIsEmail","email"===e),ei("validateIsUrl","url"===e)},children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"No format validation"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"none",children:"No format validation"}),(0,s.jsx)(_.Ql,{value:"notEmpty",children:"Required (cannot be empty)"}),(0,s.jsx)(_.Ql,{value:"email",children:"Must be valid email format"}),(0,s.jsx)(_.Ql,{value:"url",children:"Must be valid URL format"})]})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"validateMinLength",children:"Min Length"}),(0,s.jsx)(I.I,{id:"validateMinLength",type:"number",min:"0",placeholder:"No minimum",value:N.validateMinLength,onChange:e=>ei("validateMinLength",e.target.value)})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"validateMaxLength",children:"Max Length"}),(0,s.jsx)(I.I,{id:"validateMaxLength",type:"number",min:"0",placeholder:"No maximum",value:N.validateMaxLength,onChange:e=>ei("validateMaxLength",e.target.value)})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"validatePattern",children:"Regex Pattern"}),(0,s.jsx)(I.I,{id:"validatePattern",placeholder:"e.g., ^[A-Z]{2}\\\\d{4}$",value:N.validatePattern,onChange:e=>ei("validatePattern",e.target.value)}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Regular expression pattern the value must match"})]})]}):null]}),"VIRTUAL"!==N.type&&(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Nullable"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Allow null values for this field"})]}),(0,s.jsx)(A.r,{checked:N.allowNull,onCheckedChange:e=>ei("allowNull",e)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Hidden"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Never return this field in API responses (for sensitive data like passwords)"})]}),(0,s.jsx)(A.r,{checked:N.hidden,onCheckedChange:e=>ei("hidden",e)})]}),"VIRTUAL"!==N.type&&(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"defaultValue",children:"Default Value"}),$(N.type)?(0,s.jsxs)(_.Ph,{value:N.defaultValue||"_none_",onValueChange:e=>ei("defaultValue","_none_"===e?"":e),children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select default value"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"_none_",children:"No default"}),(0,s.jsx)(_.Ql,{value:"$NOW",children:"Current Date/Time"})]})]}):"UUID"===N.type?(0,s.jsxs)(_.Ph,{value:N.defaultValue||"_none_",onValueChange:e=>ei("defaultValue","_none_"===e?"":e),children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select default value"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"_none_",children:"No default"}),(0,s.jsx)(_.Ql,{value:"$UUIDV4",children:"Auto-generate UUID"})]})]}):"SUID"===N.type?(0,s.jsxs)(_.Ph,{value:N.defaultValue||"_none_",onValueChange:e=>ei("defaultValue","_none_"===e?"":e),children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select default value"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"_none_",children:"No default"}),(0,s.jsx)(_.Ql,{value:"$SUID",children:"Auto-generate Short UID"})]})]}):"Boolean"===N.type?(0,s.jsxs)(_.Ph,{value:""===N.defaultValue?"_none_":N.defaultValue,onValueChange:e=>ei("defaultValue","_none_"===e?"":e),children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select default value"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"_none_",children:"No default"}),(0,s.jsx)(_.Ql,{value:"true",children:"True"}),(0,s.jsx)(_.Ql,{value:"false",children:"False"})]})]}):"Integer"===N.type||"BigInt"===N.type?(0,s.jsxs)(_.Ph,{value:C?"$CUSTOM":N.defaultValue||"_none_",onValueChange:e=>{"$CUSTOM"===e?(T(!0),ei("defaultValue","")):(T(!1),ei("defaultValue","_none_"===e?"":e))},children:[(0,s.jsx)(_.i4,{children:(0,s.jsx)(_.ki,{placeholder:"Select default value"})}),(0,s.jsxs)(_.Bw,{children:[(0,s.jsx)(_.Ql,{value:"_none_",children:"No default"}),(0,s.jsx)(_.Ql,{value:"$AUTOINCREMENT",children:"Auto-increment"}),(0,s.jsx)(_.Ql,{value:"$CUSTOM",children:"Custom value..."})]})]}):(0,s.jsx)(I.I,{id:"defaultValue",placeholder:"Enter default value",value:N.defaultValue,onChange:e=>ei("defaultValue",e.target.value)}),("Integer"===N.type||"BigInt"===N.type)&&C&&(0,s.jsx)(I.I,{id:"defaultValueCustom",type:"number",placeholder:"Enter numeric default value",className:"mt-2",value:N.defaultValue,onChange:e=>{ei("defaultValue",e.target.value)}})]})]}),(0,s.jsxs)("div",{className:"flex justify-end gap-2 pt-4",children:[(0,s.jsx)(c.z,{type:"button",variant:"outline",onClick:x,children:"Cancel"}),(0,s.jsxs)(c.z,{type:"submit",disabled:ea,children:[ea&&(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}),ee?"Update":"Create"," ",v?"Relationship":"Field"]})]})]})]})})},q=e=>{var a,l;let{open:d,onClose:o,collectionName:x,onSuccess:j}=e,[v,g]=(0,t.useState)(!1),[N,y]=(0,t.useState)(null),[b,w]=(0,t.useState)(!1),[k,A]=(0,t.useState)([]),[_,T]=(0,t.useState)(!1),[R,U]=(0,t.useState)(null),[V,L]=(0,t.useState)(""),{getSchemaByName:O,isLoading:Z,refetch:z}=(0,i.I_)(),P=(0,t.useMemo)(()=>d&&x?{data:O(x)}:null,[d,x,O]),F=(0,t.useMemo)(()=>k.filter(e=>e.name.toLowerCase().includes(V.toLowerCase())),[k,V]),{mutate:Q,isLoading:B}=(0,n.PQ)(),{mutate:$,isLoading:q}=(0,n.R2)();(0,t.useEffect)(()=>{var e,a;(null==P?void 0:null===(a=P.data)||void 0===a?void 0:null===(e=a.schema)||void 0===e?void 0:e.fields)&&A(Object.entries(P.data.schema.fields).map(e=>{let[a,l]=e;return{name:a,...l}}))},[P]);let J=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];y(null),w(e),g(!0)},K=e=>{let a=k.find(a=>a.name===e);y(e),w(!!(null==a?void 0:a.relType)),g(!0)},X=e=>{U(e),T(!0)},H=e=>e.relType?(0,s.jsxs)(u.C,{variant:"outline",className:"gap-1",children:[(0,s.jsx)(D,{className:"h-3 w-3"}),e.relType]}):(0,s.jsx)(u.C,{variant:"secondary",children:e.type});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(S.yo,{open:d,onOpenChange:e=>!e&&o(),children:(0,s.jsx)(S.ue,{className:"!w-full sm:!w-[800px] flex flex-col overflow-hidden p-0",children:(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-hidden p-6",children:[(0,s.jsx)(S.Tu,{children:(0,s.jsxs)(S.bC,{className:"truncate max-w-[250px] sm:max-w-full",children:["Manage Fields - ",null==P?void 0:null===(l=P.data)||void 0===l?void 0:null===(a=l.schema)||void 0===a?void 0:a.name]})}),(0,s.jsxs)("div",{className:"mt-6 space-y-4 flex-1 flex flex-col min-h-0",children:[(0,s.jsxs)("div",{className:"flex gap-2 flex-wrap justify-between items-center",children:[(0,s.jsxs)("div",{className:"flex gap-2 flex-wrap",children:[(0,s.jsxs)(c.z,{onClick:()=>J(!1),size:"sm",children:[(0,s.jsx)(p.Z,{className:"mr-2 h-4 w-4"}),"Add Field"]}),(0,s.jsxs)(c.z,{variant:"outline",size:"sm",onClick:()=>J(!0),children:[(0,s.jsx)(D,{className:"mr-2 h-4 w-4"}),"Add Relationship"]})]}),(0,s.jsxs)("div",{className:"relative w-full sm:w-auto",children:[(0,s.jsx)(M.Z,{className:"absolute left-2.5 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,s.jsx)(I.I,{placeholder:"Search fields...",value:V,onChange:e=>L(e.target.value),className:"pl-8 h-9 w-full sm:w-[200px]"})]})]}),(0,s.jsx)("div",{className:"flex-1 overflow-auto",children:(0,s.jsx)("div",{className:"min-w-[500px]",children:(0,s.jsxs)(h.iA,{children:[(0,s.jsx)(h.xD,{children:(0,s.jsxs)(h.SC,{children:[(0,s.jsx)(h.ss,{children:"Name"}),(0,s.jsx)(h.ss,{children:"Type"}),(0,s.jsx)(h.ss,{children:"Nullable"}),(0,s.jsx)(h.ss,{className:"w-28",children:"Actions"})]})}),(0,s.jsx)(h.RM,{children:Z?(0,s.jsx)(h.SC,{children:(0,s.jsx)(h.pj,{colSpan:4,className:"h-32 text-center",children:(0,s.jsx)(f.Z,{className:"h-6 w-6 animate-spin mx-auto"})})}):0===k.length?(0,s.jsx)(h.SC,{children:(0,s.jsx)(h.pj,{colSpan:4,className:"h-32 text-center text-muted-foreground",children:"No fields defined"})}):0===F.length?(0,s.jsx)(h.SC,{children:(0,s.jsx)(h.pj,{colSpan:4,className:"h-32 text-center text-muted-foreground",children:"No fields match your search"})}):F.map(e=>(0,s.jsxs)(h.SC,{children:[(0,s.jsx)(h.pj,{children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"font-medium",children:e.name}),e.primaryKey&&(0,s.jsx)(u.C,{variant:"default",className:"text-xs",children:"PK"}),e.SystemGenerated&&(0,s.jsx)(u.C,{variant:"outline",className:"text-xs",children:"System"})]})}),(0,s.jsx)(h.pj,{children:H(e)}),(0,s.jsx)(h.pj,{children:e.allowNull?(0,s.jsx)(u.C,{variant:"outline",children:"Yes"}):(0,s.jsx)(u.C,{variant:"secondary",children:"No"})}),(0,s.jsx)(h.pj,{children:(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(c.z,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>K(e.name),children:(0,s.jsx)(E.Z,{className:"h-4 w-4"})}),!e.SystemGenerated&&!e.primaryKey&&(0,s.jsx)(c.z,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive",onClick:()=>X(e),children:(0,s.jsx)(C.Z,{className:"h-4 w-4"})})]})})]},e.name))})]})})})]})]})})}),(0,s.jsx)(W,{open:v,onClose:()=>g(!1),collectionName:x,fieldName:N,isRelationship:b,onSuccess:()=>{g(!1),z(),j()}}),(0,s.jsx)(m.aR,{open:_,onOpenChange:T,children:(0,s.jsxs)(m._T,{children:[(0,s.jsxs)(m.fY,{children:[(0,s.jsx)(m.f$,{children:"Delete Field"}),(0,s.jsxs)(m.yT,{children:['Are you sure you want to delete the field "',null==R?void 0:R.name,'"? This action cannot be undone.']})]}),(0,s.jsxs)(m.xo,{children:[(0,s.jsx)(m.le,{children:"Cancel"}),(0,s.jsxs)(m.OL,{onClick:()=>{var e;if(!R)return;let a=O(x);if(!(null==a?void 0:null===(e=a.schema)||void 0===e?void 0:e.fields)||0===Object.keys(a.schema.fields).length){r.Am.error("Unable to get current schema data");return}if(R.relType)$({resource:"relationships",meta:{collectionName:x},id:R.name},{onSuccess:()=>{r.Am.success("Field deleted successfully"),z(),T(!1),U(null)},onError:e=>{r.Am.error("Error deleting field: ".concat(e.message))}});else{let e={...a.schema.fields};delete e[R.name],Q({resource:"collections",id:x,values:{schema:{...a.schema,fields:e}}},{onSuccess:()=>{r.Am.success("Field deleted successfully"),z(),j(),T(!1),U(null)},onError:e=>{r.Am.error("Error deleting field: ".concat(e.message))}})}},className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:[q||B?(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}):(0,s.jsx)(C.Z,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})})]})};var J=l(74291);let K=e=>{var a,l;let{open:d,onClose:o,collectionName:x}=e,[j,v]=(0,t.useState)(!1),[g,N]=(0,t.useState)(""),[y,w]=(0,t.useState)([]),[A,_]=(0,t.useState)(!1),[T,D]=(0,t.useState)(!1),[M,E]=(0,t.useState)(!1),[R,V]=(0,t.useState)(null),[L,O]=(0,t.useState)([]),{getSchemaByName:Z,isLoading:z,refetch:P}=(0,i.I_)(),F=(0,t.useMemo)(()=>d&&x?{data:Z(x)}:null,[d,x,Z]),Q=(0,t.useMemo)(()=>{var e,a;return(null==F?void 0:null===(a=F.data)||void 0===a?void 0:null===(e=a.schema)||void 0===e?void 0:e.fields)?Object.keys(F.data.schema.fields):[]},[F]);(0,t.useEffect)(()=>{var e,a;(null==F?void 0:null===(a=F.data)||void 0===a?void 0:null===(e=a.schema)||void 0===e?void 0:e.indexes)?O(F.data.schema.indexes):O([])},[F]);let{mutate:B,isLoading:$}=(0,n.RO)(),{mutate:W,isLoading:q}=(0,n.R2)(),K=()=>{N(""),w([]),_(!1),D(!1)},X=()=>{P()},H=e=>{V(e),E(!0)},Y=e=>{y.includes(e)?w(y.filter(a=>a!==e)):w([...y,e])};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(S.yo,{open:d,onOpenChange:e=>!e&&o(),children:(0,s.jsx)(S.ue,{className:"!w-full sm:!w-[700px] flex flex-col overflow-hidden p-0",children:(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-hidden p-6",children:[(0,s.jsx)(S.Tu,{children:(0,s.jsxs)(S.bC,{className:"truncate max-w-[250px] sm:max-w-full",children:["Manage Indexes - ",null==F?void 0:null===(l=F.data)||void 0===l?void 0:null===(a=l.schema)||void 0===a?void 0:a.name]})}),(0,s.jsxs)("div",{className:"mt-6 space-y-4 flex-1 flex flex-col min-h-0",children:[(0,s.jsxs)(c.z,{onClick:()=>v(!0),size:"sm",children:[(0,s.jsx)(p.Z,{className:"mr-2 h-4 w-4"}),"Add Index"]}),(0,s.jsx)("div",{className:"flex-1 overflow-auto",children:(0,s.jsx)("div",{className:"min-w-[450px]",children:(0,s.jsxs)(h.iA,{children:[(0,s.jsx)(h.xD,{children:(0,s.jsxs)(h.SC,{children:[(0,s.jsx)(h.ss,{children:"Name"}),(0,s.jsx)(h.ss,{children:"Fields"}),(0,s.jsx)(h.ss,{children:"Type"}),(0,s.jsx)(h.ss,{className:"w-20",children:"Actions"})]})}),(0,s.jsx)(h.RM,{children:z?(0,s.jsx)(h.SC,{children:(0,s.jsx)(h.pj,{colSpan:4,className:"h-32 text-center",children:(0,s.jsx)(f.Z,{className:"h-6 w-6 animate-spin mx-auto"})})}):0===L.length?(0,s.jsx)(h.SC,{children:(0,s.jsxs)(h.pj,{colSpan:4,className:"h-32 text-center text-muted-foreground",children:[(0,s.jsx)(b.Z,{className:"h-8 w-8 mx-auto mb-2 opacity-50"}),(0,s.jsx)("p",{children:"No indexes defined"})]})}):L.map(e=>(0,s.jsxs)(h.SC,{children:[(0,s.jsx)(h.pj,{className:"font-medium",children:e.name||e.id}),(0,s.jsx)(h.pj,{children:(0,s.jsx)("div",{className:"flex flex-wrap gap-1",children:(e.fields||[]).map(e=>(0,s.jsx)(u.C,{variant:"secondary",children:e},e))})}),(0,s.jsx)(h.pj,{children:(0,s.jsxs)("div",{className:"flex items-center gap-1 flex-wrap",children:[e.unique?(0,s.jsx)(u.C,{variant:"default",children:"Unique"}):(0,s.jsx)(u.C,{variant:"outline",children:"Standard"}),e.nullsNotDistinct&&(0,s.jsx)(u.C,{variant:"secondary",className:"text-xs",children:"NULLS NOT DISTINCT"})]})}),(0,s.jsx)(h.pj,{children:(0,s.jsx)(c.z,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive",onClick:()=>H(e.name||e.id),children:(0,s.jsx)(C.Z,{className:"h-4 w-4"})})})]},e.name||e.id))})]})})})]})]})})}),(0,s.jsx)(J.Vq,{open:j,onOpenChange:v,children:(0,s.jsxs)(J.cZ,{children:[(0,s.jsx)(J.fK,{children:(0,s.jsx)(J.$N,{children:"Create Index"})}),(0,s.jsxs)("div",{className:"space-y-4 py-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{htmlFor:"indexName",children:"Index Name"}),(0,s.jsx)(I.I,{id:"indexName",placeholder:"Enter index name",value:g,onChange:e=>N(e.target.value)})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(k._,{children:"Select Fields"}),(0,s.jsx)("div",{className:"border rounded-md p-3 space-y-2 max-h-48 overflow-y-auto",children:Q.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(U.X,{id:e,checked:y.includes(e),onCheckedChange:()=>Y(e)}),(0,s.jsx)(k._,{htmlFor:e,className:"cursor-pointer",children:e})]},e))})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(U.X,{id:"unique",checked:A,onCheckedChange:e=>{_(e),e||D(!1)}}),(0,s.jsx)(k._,{htmlFor:"unique",className:"cursor-pointer",children:"Unique Index"})]}),A&&(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(U.X,{id:"nullsNotDistinct",checked:T,onCheckedChange:e=>D(e)}),(0,s.jsxs)(k._,{htmlFor:"nullsNotDistinct",className:"cursor-pointer flex items-center gap-1",children:["Nulls Not Distinct",(0,s.jsx)("span",{className:"text-xs text-muted-foreground",children:"(treat NULLs as equal)"})]})]})]}),(0,s.jsxs)(J.cN,{children:[(0,s.jsx)(c.z,{variant:"outline",onClick:()=>{K(),v(!1)},children:"Cancel"}),(0,s.jsxs)(c.z,{onClick:()=>{if(!g.trim()){r.Am.error("Please enter an index name");return}if(0===y.length){r.Am.error("Please select at least one field");return}B({resource:"indexes",meta:{collectionName:x},values:{name:g,fields:y,unique:A,...A&&T?{nullsNotDistinct:!0}:{}}},{onSuccess:()=>{r.Am.success("Index created successfully"),K(),v(!1),X()},onError:e=>{r.Am.error("Error creating index: ".concat(e.message))}})},disabled:$,children:[$&&(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}),"Create Index"]})]})]})}),(0,s.jsx)(m.aR,{open:M,onOpenChange:E,children:(0,s.jsxs)(m._T,{children:[(0,s.jsxs)(m.fY,{children:[(0,s.jsx)(m.f$,{children:"Delete Index"}),(0,s.jsxs)(m.yT,{children:['Are you sure you want to delete the index "',R,'"? This action cannot be undone.']})]}),(0,s.jsxs)(m.xo,{children:[(0,s.jsx)(m.le,{children:"Cancel"}),(0,s.jsxs)(m.OL,{onClick:()=>{R&&W({resource:"indexes",meta:{collectionName:x},id:R},{onSuccess:()=>{r.Am.success("Index deleted successfully"),E(!1),V(null),X()},onError:e=>{r.Am.error("Error deleting index: ".concat(e.message))}})},className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:[q?(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}):(0,s.jsx)(C.Z,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})})]})};var X=l(95937),H=l(90641),Y=l(962);let G=Y.fC,ee=Y.wy,ea=Y.Fw;var el=l(40875),es=l(10407);let et=(0,N.Z)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);var en=l(41671);let ei=e=>{if(!e)return"disabled";if(!0===e)return"enabled (all actions)";if("object"==typeof e){if(!e.enabled)return"disabled";let a=e.actions||["insert","update","delete"];return"enabled (".concat(a.join(", "),")")}return"disabled"},er=e=>{let{open:a,onClose:l}=e,[d,o]=(0,t.useState)(null),[h,m]=(0,t.useState)(null),[x,v]=(0,t.useState)(["new","modified","deleted"]),g=(0,t.useRef)(null),N=(0,n.Ji)(),{refetch:y}=(0,i.I_)(),{mutate:b,isLoading:w}=(0,n.uC)(),{mutate:I,isLoading:k}=(0,n.uC)(),A=()=>{o(null),m(null),g.current&&(g.current.value="")},_=async e=>{var a;let l=null===(a=e.target.files)||void 0===a?void 0:a[0];if(!l)return;o(l),m(null);let s=new FormData;s.append("schema",l),b({url:"".concat(N,"/schemas-preview-import"),method:"post",values:s},{onSuccess:e=>{m(null==e?void 0:e.data)},onError:e=>{r.Am.error("Preview failed: ".concat(e.message||"Unknown error")),m(null)}})},T=async()=>{if(!d)return;let e=new FormData;e.append("schema",d),I({url:"".concat(N,"/schemas-import"),method:"post",values:e},{onSuccess:()=>{r.Am.success("Schemas imported successfully"),y(),A(),l()},onError:e=>{r.Am.error("Import failed: ".concat(e.message||"Unknown error"))}})},D=e=>{v(a=>a.includes(e)?a.filter(a=>a!==e):[...a,e])},M=function(e,a,l,t){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default";if(!e||0===e.length)return null;let i=x.includes(t);return(0,s.jsxs)(G,{open:i,onOpenChange:()=>D(t),children:[(0,s.jsxs)(ee,{className:"flex items-center justify-between w-full p-3 bg-muted/50 rounded-lg hover:bg-muted transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[a,(0,s.jsx)("span",{className:"font-medium",children:l}),(0,s.jsx)(u.C,{variant:n,children:e.length})]}),i?(0,s.jsx)(el.Z,{className:"h-4 w-4"}):(0,s.jsx)(es.Z,{className:"h-4 w-4"})]}),(0,s.jsx)(ea,{children:(0,s.jsx)("div",{className:"mt-2 space-y-2 pl-4",children:e.map((e,l)=>(0,s.jsxs)("div",{className:"p-2 rounded border bg-background",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[a,(0,s.jsx)("span",{children:"string"==typeof e?e:e.collectionName}),e.differences&&Object.keys(e.differences).length>0&&(0,s.jsxs)(u.C,{variant:"outline",className:"ml-auto",children:[Object.keys(e.differences).length," change(s)"]})]}),e.differences&&Object.keys(e.differences).length>0&&(0,s.jsx)("div",{className:"mt-2 pl-6 text-xs space-y-1",children:Object.entries(e.differences).map(e=>{let[a,l]=e;return(0,s.jsx)("div",{className:"flex items-start gap-2 text-muted-foreground",children:"realtime"===a?(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(et,{className:"h-3 w-3"}),(0,s.jsx)("span",{className:"font-medium",children:"Realtime:"}),(0,s.jsx)("span",{className:"text-red-500 line-through",children:ei(l.from)}),(0,s.jsx)("span",{children:"→"}),(0,s.jsx)("span",{className:"text-green-500",children:ei(l.to)})]}):(0,s.jsxs)("span",{children:[(0,s.jsxs)("span",{className:"font-medium",children:[a,":"]})," ","added"===l.type&&(0,s.jsx)("span",{className:"text-green-500",children:"added"}),"removed"===l.type&&(0,s.jsx)("span",{className:"text-red-500",children:"removed"}),"modified"===l.type&&(0,s.jsx)("span",{className:"text-yellow-500",children:"modified"})]})},a)})})]},l))})})]})},R=h&&(h.changes.new.length>0||h.changes.modified.length>0||h.changes.deleted.length>0);return(0,s.jsx)(S.yo,{open:a,onOpenChange:e=>{e||(A(),l())},children:(0,s.jsxs)(S.ue,{className:"w-[600px] sm:w-[700px] sm:max-w-[700px] flex flex-col",children:[(0,s.jsx)(S.Tu,{children:(0,s.jsx)(S.bC,{children:"Import Schema"})}),(0,s.jsxs)("div",{className:"flex-1 overflow-hidden flex flex-col mt-6",children:[(0,s.jsxs)("div",{className:"border-2 border-dashed rounded-lg p-8 text-center cursor-pointer hover:border-primary transition-colors flex-shrink-0",onClick:()=>{var e;return null===(e=g.current)||void 0===e?void 0:e.click()},children:[(0,s.jsx)(j.Z,{className:"h-10 w-10 mx-auto mb-4 text-muted-foreground"}),d?(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-medium",children:d.name}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Click to select a different file"})]}):(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-medium",children:"Click or drag schema file to upload"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Support for single JSON file upload only"})]}),(0,s.jsx)("input",{ref:g,type:"file",accept:".json",className:"hidden",onChange:_})]}),w&&(0,s.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,s.jsx)(f.Z,{className:"h-6 w-6 animate-spin mr-2"}),(0,s.jsx)("span",{children:"Analyzing schema changes..."})]}),h&&(0,s.jsx)(H.x,{className:"flex-1 mt-4",children:(0,s.jsxs)("div",{className:"space-y-4 pr-4",children:[(0,s.jsxs)(X.bZ,{children:[(0,s.jsx)(V.Z,{className:"h-4 w-4"}),(0,s.jsx)(X.Cd,{children:"Schema Analysis Complete"}),(0,s.jsxs)(X.X,{children:["Import version: ",h.importVersion," (",h.importTimestamp,")"]})]}),(0,s.jsxs)("div",{className:"space-y-3",children:[M(h.changes.new,(0,s.jsx)(p.Z,{className:"h-4 w-4 text-green-500"}),"New Schemas","new","default"),M(h.changes.modified,(0,s.jsx)(E.Z,{className:"h-4 w-4 text-yellow-500"}),"Modified Schemas","modified","secondary"),M(h.changes.deleted,(0,s.jsx)(C.Z,{className:"h-4 w-4 text-red-500"}),"Deleted Schemas","deleted","destructive"),M(h.changes.unchanged,(0,s.jsx)(en.Z,{className:"h-4 w-4 text-green-500"}),"Unchanged Schemas","unchanged","outline")]}),!R&&(0,s.jsxs)(X.bZ,{children:[(0,s.jsx)(en.Z,{className:"h-4 w-4"}),(0,s.jsx)(X.X,{children:"No changes detected. All schemas are already up to date."})]})]})})]}),(0,s.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t mt-4 flex-shrink-0",children:[(0,s.jsx)(c.z,{variant:"outline",onClick:()=>{A(),l()},children:"Cancel"}),h&&(0,s.jsxs)(c.z,{onClick:T,disabled:k,children:[k&&(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}),"Confirm Import"]})]})]})})};var ed=l(31593);let ec=e=>{let{open:a,onClose:l,onSuccess:d,schema:o,collectionName:u}=e,[h,m]=(0,t.useState)(!1),[x,p]=(0,t.useState)(!1),[j,v]=(0,t.useState)(!1),[g,N]=(0,t.useState)(!1),[y,b]=(0,t.useState)(!1),[C,I]=(0,t.useState)(["insert","update","delete"]),{getSchemaByName:_,refetch:T}=(0,i.I_)(),{mutate:D,isLoading:M}=(0,n.PQ)(),E=a?_(u):null,R=(null==E?void 0:E.schema)||o;(0,t.useEffect)(()=>{if(a&&R){let e=!0===R.timestamps,a=!0===R.usertrack,l=!0===R.paranoid,s=!0===R.sortEnabled,t=!1,n=["insert","update","delete"];!0===R.realtime?t=!0:"object"==typeof R.realtime&&null!==R.realtime&&(t=!0===R.realtime.enabled,n=R.realtime.actions||["insert","update","delete"]),console.log("Schema settings loaded:",{collectionName:u,timestamps:R.timestamps,usertrack:R.usertrack,paranoid:R.paranoid,sortEnabled:R.sortEnabled,realtime:R.realtime,parsed:{ts:e,ut:a,pn:l,se:s,rtEnabled:t,rtActions:n}}),m(e),p(a),v(l),N(s),b(t),I(n)}},[a,u,R]);let V=(e,a)=>{a?I(a=>[...a,e]):I(a=>a.filter(a=>a!==e))};return(0,s.jsx)(S.yo,{open:a,onOpenChange:e=>!e&&l(),children:(0,s.jsx)(S.ue,{className:"!w-full sm:!w-[500px] flex flex-col overflow-hidden p-0",children:(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-hidden p-6",children:[(0,s.jsx)(S.Tu,{className:"flex-shrink-0",children:(0,s.jsxs)(S.bC,{className:"flex items-center gap-2",children:[(0,s.jsx)(w.Z,{className:"h-5 w-5 flex-shrink-0"}),"Schema Settings"]})}),(0,s.jsx)(H.x,{className:"flex-1 mt-6",children:(0,s.jsxs)("div",{className:"space-y-6 pr-4",children:[(0,s.jsxs)("div",{className:"p-4 rounded-lg bg-muted",children:[(0,s.jsx)("p",{className:"text-sm font-medium truncate max-w-[250px] sm:max-w-[400px]",title:null==R?void 0:R.name,children:null==R?void 0:R.name}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground truncate max-w-[250px] sm:max-w-[400px]",title:u,children:["Collection: ",u]})]}),(0,s.jsx)(ed.Z,{}),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Timestamps"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Add createdAt and updatedAt fields automatically"})]}),(0,s.jsx)(A.r,{checked:h,onCheckedChange:m})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"User Tracking"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Track who created and modified records"})]}),(0,s.jsx)(A.r,{checked:x,onCheckedChange:p})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Sorting"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enable sorting capabilities for this collection"})]}),(0,s.jsx)(A.r,{checked:g,onCheckedChange:N})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsx)(k._,{children:"Soft Delete"}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Mark records as deleted instead of removing them"}),(null==R?void 0:R.paranoid)&&(0,s.jsx)("p",{className:"text-xs text-amber-600",children:"⚠️ Cannot be disabled once enabled"})]}),(0,s.jsx)(A.r,{checked:j,onCheckedChange:v,disabled:null==R?void 0:R.paranoid})]}),(0,s.jsx)(ed.Z,{}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"space-y-0.5",children:[(0,s.jsxs)(k._,{className:"flex items-center gap-2",children:[(0,s.jsx)(et,{className:"h-4 w-4"}),"Realtime"]}),(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:"Broadcast changes via WebSocket using PostgreSQL WAL"})]}),(0,s.jsx)(A.r,{checked:y,onCheckedChange:b})]}),y&&(0,s.jsxs)("div",{className:"pl-4 space-y-3 border-l-2 border-muted",children:[(0,s.jsx)(k._,{className:"text-xs text-muted-foreground",children:"Broadcast on:"}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(U.X,{id:"rt-insert",checked:C.includes("insert"),onCheckedChange:e=>V("insert",e)}),(0,s.jsx)("label",{htmlFor:"rt-insert",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Insert"})]}),(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(U.X,{id:"rt-update",checked:C.includes("update"),onCheckedChange:e=>V("update",e)}),(0,s.jsx)("label",{htmlFor:"rt-update",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Update"})]}),(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(U.X,{id:"rt-delete",checked:C.includes("delete"),onCheckedChange:e=>V("delete",e)}),(0,s.jsx)("label",{htmlFor:"rt-delete",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Delete"})]})]}),0===C.length&&(0,s.jsx)("p",{className:"text-xs text-amber-600",children:"⚠️ Select at least one action to broadcast"})]})]})]})]})}),(0,s.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t mt-4 flex-shrink-0",children:[(0,s.jsx)(c.z,{variant:"outline",onClick:l,children:"Cancel"}),(0,s.jsxs)(c.z,{onClick:()=>{let e=_(u),a=y?{enabled:!0,actions:C}:{enabled:!1,actions:[]};D({resource:"collections",id:u,values:{schema:{...null==e?void 0:e.schema,timestamps:h,usertrack:x,paranoid:j,sortEnabled:g,realtime:a}}},{onSuccess:()=>{r.Am.success("Schema settings updated successfully"),T(),d(),l()},onError:e=>{r.Am.error("Error updating settings: ".concat(e.message))}})},disabled:M,children:[M&&(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}),"Save Changes"]})]})]})})})},eo=()=>{let[e,a]=(0,t.useState)(!1),[l,N]=(0,t.useState)(!1),[S,I]=(0,t.useState)(!1),[k,A]=(0,t.useState)(!1),[_,D]=(0,t.useState)(!1),[M,E]=(0,t.useState)(null),[R,U]=(0,t.useState)(null),[V,L]=(0,t.useState)(""),[O,Z]=(0,t.useState)(!1),[z,P]=(0,t.useState)(null),F=(0,n.Ji)(),{schemas:Q,isLoading:B,refetch:$}=(0,i.I_)(),{mutate:W,isLoading:J}=(0,n.R2)(),X=(0,t.useMemo)(()=>Q&&V.trim()?Q.filter(e=>{var a,l,s;let t=(null==e?void 0:null===(l=e.schema)||void 0===l?void 0:null===(a=l.name)||void 0===a?void 0:a.toLowerCase())||"",n=(null==e?void 0:null===(s=e.collectionName)||void 0===s?void 0:s.toLowerCase())||"",i=V.toLowerCase();return t.includes(i)||n.includes(i)}):Q||[],[Q,V]),H=e=>{E(e),N(!0)},Y=e=>{E(e),I(!0)},G=e=>{E(e.collectionName),U(e.schema),D(!0)},ee=e=>{P(e),Z(!0)},{refetch:ea}=(0,n.EV)({url:"".concat(F,"/schemas-export"),method:"get",queryOptions:{enabled:!1,retry:!1}}),el=async()=>{try{var e;let a=await ea(),l=null==a?void 0:a.data;if(!(null==l?void 0:l.data)){r.Am.error("No schemas found to export");return}let s=window.URL.createObjectURL(new Blob([JSON.stringify(l.data)])),t=document.createElement("a");t.href=s,t.setAttribute("download","schema-export-".concat((null===(e=l.data)||void 0===e?void 0:e.timestamp)||Date.now(),".json")),document.body.appendChild(t),t.click(),t.remove(),r.Am.success("Schemas exported successfully")}catch(e){r.Am.error("Error exporting schemas: ".concat(e.message))}},es=e=>Object.keys((null==e?void 0:e.fields)||{}).length;return(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-hidden gap-2",children:[(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-2 flex-shrink-0",children:[(0,s.jsx)("h1",{className:"text-lg font-semibold",children:"Collections Management"}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsx)(o.t,{value:V,onChange:L,placeholder:"Search collections...",expandedWidth:"w-64"}),(0,s.jsx)(c.z,{variant:"outline",size:"icon",onClick:()=>$(),children:(0,s.jsx)(x.Z,{className:"h-4 w-4"})}),(0,s.jsxs)(c.z,{onClick:()=>a(!0),children:[(0,s.jsx)(p.Z,{className:"mr-2 h-4 w-4"}),"Create Schema"]}),(0,s.jsxs)(c.z,{variant:"outline",onClick:()=>A(!0),children:[(0,s.jsx)(j.Z,{className:"mr-2 h-4 w-4"}),"Import"]}),(0,s.jsxs)(c.z,{variant:"outline",onClick:el,children:[(0,s.jsx)(v.Z,{className:"mr-2 h-4 w-4"}),"Export"]})]})]}),(0,s.jsx)(d.Zb,{className:"flex-1 flex flex-col min-h-0 overflow-hidden",children:(0,s.jsx)("div",{className:"flex-1 overflow-auto",children:(0,s.jsxs)("table",{className:"w-full min-w-max",children:[(0,s.jsx)("thead",{className:"sticky top-0 z-10 bg-background border-b",children:(0,s.jsxs)(h.SC,{children:[(0,s.jsx)(h.ss,{children:"Schema Name"}),(0,s.jsx)(h.ss,{children:"Fields"}),(0,s.jsx)(h.ss,{children:"Options"}),(0,s.jsx)(h.ss,{className:"w-64",children:"Actions"})]})}),(0,s.jsx)("tbody",{children:B?(0,s.jsx)(h.SC,{children:(0,s.jsx)(h.pj,{colSpan:4,className:"h-48 text-center",children:(0,s.jsx)(f.Z,{className:"h-8 w-8 animate-spin mx-auto"})})}):0===X.length?(0,s.jsx)(h.SC,{children:(0,s.jsxs)(h.pj,{colSpan:4,className:"h-48 text-center text-muted-foreground",children:[(0,s.jsx)(g.Z,{className:"h-12 w-12 mx-auto mb-4 opacity-50"}),(0,s.jsx)("p",{children:"No collections found"}),(0,s.jsxs)(c.z,{variant:"outline",className:"mt-4",onClick:()=>a(!0),children:[(0,s.jsx)(p.Z,{className:"mr-2 h-4 w-4"}),"Create your first collection"]})]})}):X.map(e=>{var a,l,t,n,i;return(0,s.jsxs)(h.SC,{children:[(0,s.jsx)(h.pj,{children:(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(g.Z,{className:"h-4 w-4 text-muted-foreground"}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("span",{className:"font-medium",children:null===(a=e.schema)||void 0===a?void 0:a.name}),(null===(l=e.schema)||void 0===l?void 0:l.name)!==e.collectionName&&(0,s.jsx)("code",{className:"text-xs text-muted-foreground bg-muted px-1 py-0.5 rounded w-fit",children:e.collectionName})]})]})}),(0,s.jsx)(h.pj,{children:(0,s.jsxs)(u.C,{variant:"secondary",children:[es(e.schema)," fields"]})}),(0,s.jsx)(h.pj,{children:(0,s.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(null===(t=e.schema)||void 0===t?void 0:t.timestamps)&&(0,s.jsx)(u.C,{variant:"outline",className:"text-xs",children:"Timestamps"}),(null===(n=e.schema)||void 0===n?void 0:n.paranoid)&&(0,s.jsx)(u.C,{variant:"outline",className:"text-xs",children:"Soft Delete"}),(null===(i=e.schema)||void 0===i?void 0:i.usertrack)&&(0,s.jsx)(u.C,{variant:"outline",className:"text-xs",children:"Audit"})]})}),(0,s.jsx)(h.pj,{children:(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsxs)(c.z,{variant:"outline",size:"sm",onClick:()=>H(e.collectionName),children:[(0,s.jsx)(y,{className:"mr-1 h-3 w-3"}),"Fields"]}),(0,s.jsxs)(c.z,{variant:"outline",size:"sm",onClick:()=>Y(e.collectionName),children:[(0,s.jsx)(b.Z,{className:"mr-1 h-3 w-3"}),"Indexes"]}),(0,s.jsx)(c.z,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:()=>G(e),children:(0,s.jsx)(w.Z,{className:"h-4 w-4"})}),!e.collectionName.includes("baasix_")&&(0,s.jsx)(c.z,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive",onClick:()=>ee(e.collectionName),children:(0,s.jsx)(C.Z,{className:"h-4 w-4"})})]})})]},e.collectionName)})})]})})}),(0,s.jsx)(T,{open:e,onClose:()=>a(!1),onSuccess:()=>{a(!1),$()}}),M&&(0,s.jsx)(q,{open:l,onClose:()=>N(!1),collectionName:M,onSuccess:()=>$()}),M&&(0,s.jsx)(K,{open:S,onClose:()=>I(!1),collectionName:M}),(0,s.jsx)(er,{open:k,onClose:()=>{A(!1),$()}}),M&&R&&(0,s.jsx)(ec,{open:_,onClose:()=>D(!1),onSuccess:()=>$(),schema:R,collectionName:M}),(0,s.jsx)(m.aR,{open:O,onOpenChange:Z,children:(0,s.jsxs)(m._T,{children:[(0,s.jsxs)(m.fY,{children:[(0,s.jsx)(m.f$,{children:"Delete Schema"}),(0,s.jsxs)(m.yT,{children:['Are you sure you want to delete the schema "',z,'"? This action cannot be undone and will remove all data in this collection.']})]}),(0,s.jsxs)(m.xo,{children:[(0,s.jsx)(m.le,{children:"Cancel"}),(0,s.jsxs)(m.OL,{onClick:()=>{z&&W({resource:"collections",id:z},{onSuccess:()=>{r.Am.success("Schema deleted successfully"),Z(!1),P(null),$()},onError:e=>{r.Am.error("Error deleting schema: ".concat(e.message))}})},className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:[J?(0,s.jsx)(f.Z,{className:"mr-2 h-4 w-4 animate-spin"}):(0,s.jsx)(C.Z,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})})]})};var eu=()=>(0,s.jsx)(eo,{})},30767:function(e,a,l){"use strict";l.d(a,{OL:function(){return v},_T:function(){return h},aR:function(){return d},f$:function(){return p},fY:function(){return m},le:function(){return f},vW:function(){return c},xo:function(){return x},yT:function(){return j}});var s=l(57437),t=l(2265),n=l(16720),i=l(93448),r=l(12381);let d=n.fC,c=n.xz,o=n.h_,u=t.forwardRef((e,a)=>{let{className:l,...t}=e;return(0,s.jsx)(n.aV,{className:(0,i.cn)("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",l),...t,ref:a})});u.displayName="AlertDialogOverlay";let h=t.forwardRef((e,a)=>{let{className:l,...t}=e;return(0,s.jsxs)(o,{children:[(0,s.jsx)(u,{}),(0,s.jsx)(n.VY,{ref:a,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",l),...t})]})});h.displayName="AlertDialogContent";let m=e=>{let{className:a,...l}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-2 text-center sm:text-left",a),...l})};m.displayName="AlertDialogHeader";let x=e=>{let{className:a,...l}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...l})};x.displayName="AlertDialogFooter";let p=t.forwardRef((e,a)=>{let{className:l,...t}=e;return(0,s.jsx)(n.Dx,{ref:a,className:(0,i.cn)("text-lg font-semibold",l),...t})});p.displayName="AlertDialogTitle";let j=t.forwardRef((e,a)=>{let{className:l,...t}=e;return(0,s.jsx)(n.dk,{ref:a,className:(0,i.cn)("text-sm text-muted-foreground",l),...t})});j.displayName="AlertDialogDescription";let v=t.forwardRef((e,a)=>{let{className:l,...t}=e;return(0,s.jsx)(n.aU,{ref:a,className:(0,i.cn)((0,r.d)(),l),...t})});v.displayName="AlertDialogAction";let f=t.forwardRef((e,a)=>{let{className:l,...t}=e;return(0,s.jsx)(n.$j,{ref:a,className:(0,i.cn)((0,r.d)({variant:"outline"}),"mt-2 sm:mt-0",l),...t})});f.displayName="AlertDialogCancel"},31593:function(e,a,l){"use strict";l.d(a,{Z:function(){return r}});var s=l(57437),t=l(2265),n=l(90759),i=l(93448);let r=t.forwardRef((e,a)=>{let{className:l,orientation:t="horizontal",decorative:r=!0,...d}=e;return(0,s.jsx)(n.f,{ref:a,decorative:r,orientation:t,className:(0,i.cn)("shrink-0 bg-border","horizontal"===t?"h-[1px] w-full":"h-full w-[1px]",l),...d})});r.displayName=n.f.displayName},962:function(e,a,l){"use strict";l.d(a,{Fw:function(){return b},VY:function(){return k},fC:function(){return S},p_:function(){return p},wy:function(){return N},xz:function(){return I}});var s=l(2265),t=l(6741),n=l(73966),i=l(80886),r=l(61188),d=l(98575),c=l(82912),o=l(71599),u=l(99255),h=l(57437),m="Collapsible",[x,p]=(0,n.b)(m),[j,v]=x(m),f=s.forwardRef((e,a)=>{let{__scopeCollapsible:l,open:t,defaultOpen:n,disabled:r,onOpenChange:d,...o}=e,[x,p]=(0,i.T)({prop:t,defaultProp:null!=n&&n,onChange:d,caller:m});return(0,h.jsx)(j,{scope:l,disabled:r,contentId:(0,u.M)(),open:x,onOpenToggle:s.useCallback(()=>p(e=>!e),[p]),children:(0,h.jsx)(c.WV.div,{"data-state":C(x),"data-disabled":r?"":void 0,...o,ref:a})})});f.displayName=m;var g="CollapsibleTrigger",N=s.forwardRef((e,a)=>{let{__scopeCollapsible:l,...s}=e,n=v(g,l);return(0,h.jsx)(c.WV.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":C(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...s,ref:a,onClick:(0,t.Mj)(e.onClick,n.onOpenToggle)})});N.displayName=g;var y="CollapsibleContent",b=s.forwardRef((e,a)=>{let{forceMount:l,...s}=e,t=v(y,e.__scopeCollapsible);return(0,h.jsx)(o.z,{present:l||t.open,children:e=>{let{present:l}=e;return(0,h.jsx)(w,{...s,ref:a,present:l})}})});b.displayName=y;var w=s.forwardRef((e,a)=>{let{__scopeCollapsible:l,present:t,children:n,...i}=e,o=v(y,l),[u,m]=s.useState(t),x=s.useRef(null),p=(0,d.e)(a,x),j=s.useRef(0),f=j.current,g=s.useRef(0),N=g.current,b=o.open||u,w=s.useRef(b),S=s.useRef(void 0);return s.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,r.b)(()=>{let e=x.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let a=e.getBoundingClientRect();j.current=a.height,g.current=a.width,w.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),m(t)}},[o.open,t]),(0,h.jsx)(c.WV.div,{"data-state":C(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!b,...i,ref:p,style:{"--radix-collapsible-content-height":f?"".concat(f,"px"):void 0,"--radix-collapsible-content-width":N?"".concat(N,"px"):void 0,...e.style},children:b&&n})});function C(e){return e?"open":"closed"}var S=f,I=N,k=b},370:function(e,a,l){"use strict";l.d(a,{f:function(){return d}});var s=l(2265);l(54887);var t=l(37053),n=l(57437),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let l=(0,t.Z8)(`Primitive.${a}`),i=s.forwardRef((e,s)=>{let{asChild:t,...i}=e,r=t?l:a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(r,{...i,ref:s})});return i.displayName=`Primitive.${a}`,{...e,[a]:i}},{}),r=s.forwardRef((e,a)=>(0,n.jsx)(i.label,{...e,ref:a,onMouseDown:a=>{var l;a.target.closest("button, input, select, textarea")||(null===(l=e.onMouseDown)||void 0===l||l.call(e,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));r.displayName="Label";var d=r},90759:function(e,a,l){"use strict";l.d(a,{f:function(){return o}});var s=l(2265);l(54887);var t=l(37053),n=l(57437),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let l=(0,t.Z8)(`Primitive.${a}`),i=s.forwardRef((e,s)=>{let{asChild:t,...i}=e,r=t?l:a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(r,{...i,ref:s})});return i.displayName=`Primitive.${a}`,{...e,[a]:i}},{}),r="horizontal",d=["horizontal","vertical"],c=s.forwardRef((e,a)=>{let{decorative:l,orientation:s=r,...t}=e,c=d.includes(s)?s:r;return(0,n.jsx)(i.div,{"data-orientation":c,...l?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...t,ref:a})});c.displayName="Separator";var o=c}},function(e){e.O(0,[7999,3572,7902,5094,4438,6530,6241,4475,926,600,1668,1509,9487,1783,9881,7324,3563,6547,2033,2971,2117,1744],function(){return e(e.s=49204)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*
|
|
2
|
+
! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com
|
|
3
|
+
*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:222.2 47.4% 11.2%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:222.2 84% 4.9%;--radius:0.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--sidebar-background:0 0% 98%;--sidebar-foreground:240 5.3% 26.1%;--sidebar-primary:240 5.9% 10%;--sidebar-primary-foreground:0 0% 98%;--sidebar-accent:240 4.8% 95.9%;--sidebar-accent-foreground:240 5.9% 10%;--sidebar-border:220 13% 91%;--sidebar-ring:217.2 91.2% 59.8%}.dark{--background:222.2 84% 4.9%;--foreground:210 40% 98%;--card:222.2 84% 4.9%;--card-foreground:210 40% 98%;--popover:222.2 84% 4.9%;--popover-foreground:210 40% 98%;--primary:210 40% 98%;--primary-foreground:222.2 47.4% 11.2%;--secondary:217.2 32.6% 17.5%;--secondary-foreground:210 40% 98%;--muted:217.2 32.6% 17.5%;--muted-foreground:215 20.2% 65.1%;--accent:217.2 32.6% 17.5%;--accent-foreground:210 40% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 40% 98%;--border:217.2 32.6% 17.5%;--input:217.2 32.6% 17.5%;--ring:212.7 26.8% 83.9%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%;--sidebar-background:240 5.9% 10%;--sidebar-foreground:240 4.8% 95.9%;--sidebar-primary:224.3 76.3% 48%;--sidebar-primary-foreground:0 0% 100%;--sidebar-accent:240 3.7% 15.9%;--sidebar-accent-foreground:240 4.8% 95.9%;--sidebar-border:240 3.7% 15.9%;--sidebar-ring:217.2 91.2% 59.8%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width:1400px){.container{max-width:1400px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-2\.5{left:.625rem}.left-3{left:.75rem}.left-3\.5{left:.875rem}.left-\[50\%\]{left:50%}.left-\[60px\]{left:60px}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.top-\[10\%\]{top:10%}.top-\[50\%\]{top:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.col-span-2{grid-column:span 2/span 2}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0\.5{margin-top:.125rem;margin-bottom:.125rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-\[60px\]{margin-left:60px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.aspect-video{aspect-ratio:16/9}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[150px\]{height:150px}.h-\[1px\]{height:1px}.h-\[300px\]{height:300px}.h-\[400px\]{height:400px}.h-\[90vh\]{height:90vh}.h-\[calc\(100vh-100px\)\]{height:calc(100vh - 100px)}.h-\[calc\(100vh-200px\)\]{height:calc(100vh - 200px)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-24{max-height:6rem}.max-h-32{max-height:8rem}.max-h-48{max-height:12rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-\[200px\]{max-height:200px}.max-h-\[250px\]{max-height:250px}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.max-h-\[60vh\]{max-height:60vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0}.min-h-10{min-height:2.5rem}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[300px\]{min-height:300px}.min-h-\[400px\]{min-height:400px}.min-h-\[40px\]{min-height:40px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:0}.w-1{width:.25rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[--radix-popover-trigger-width\]{width:var(--radix-popover-trigger-width)}.w-\[130px\]{width:130px}.w-\[150px\]{width:150px}.w-\[180px\]{width:180px}.w-\[1px\]{width:1px}.w-\[200px\]{width:200px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[3px\]{width:3px}.w-\[400px\]{width:400px}.w-\[40px\]{width:40px}.w-\[500px\]{width:500px}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[700px\]{width:700px}.w-\[70px\]{width:70px}.w-\[720px\]{width:720px}.w-\[80px\]{width:80px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0}.min-w-\[450px\]{min-width:450px}.min-w-\[500px\]{min-width:500px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-\[300px\]{max-width:300px}.max-w-\[400px\]{max-width:400px}.max-w-\[800px\]{max-width:800px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y:-50%}.-translate-y-1\/2,.translate-x-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-cell{cursor:cell}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-0{border-width:0}.border-2{border-width:2px}.border-4{border-width:4px}.border-\[1\.5px\]{border-width:1.5px}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity,1))}.border-amber-500{--tw-border-opacity:1;border-color:rgb(245 158 11/var(--tw-border-opacity,1))}.border-background{border-color:hsl(var(--background))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity,1))}.border-border{border-color:hsl(var(--border))}.border-border\/50{border-color:hsl(var(--border)/.5)}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive)/.5)}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity,1))}.border-input{border-color:hsl(var(--input))}.border-muted{border-color:hsl(var(--muted))}.border-muted-foreground\/25{border-color:hsl(var(--muted-foreground)/.25)}.border-primary{border-color:hsl(var(--primary))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity,1))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-transparent{border-color:transparent}.border-yellow-500{--tw-border-opacity:1;border-color:rgb(234 179 8/var(--tw-border-opacity,1))}.border-yellow-600{--tw-border-opacity:1;border-color:rgb(202 138 4/var(--tw-border-opacity,1))}.border-l-primary{border-left-color:hsl(var(--primary))}.border-l-primary\/30{border-left-color:hsl(var(--primary)/.3)}.border-l-transparent{border-left-color:transparent}.border-r-transparent{border-right-color:transparent}.border-t-transparent{border-top-color:transparent}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-amber-600{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity,1))}.bg-background{background-color:hsl(var(--background))}.bg-background\/50{background-color:hsl(var(--background)/.5)}.bg-background\/80{background-color:hsl(var(--background)/.8)}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\/80{background-color:rgba(0,0,0,.8)}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-cyan-100{--tw-bg-opacity:1;background-color:rgb(207 250 254/var(--tw-bg-opacity,1))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/30{background-color:hsl(var(--muted)/.3)}.bg-muted\/50{background-color:hsl(var(--muted)/.5)}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-pink-100{--tw-bg-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity,1))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary)/.1)}.bg-primary\/30{background-color:hsl(var(--primary)/.3)}.bg-primary\/5{background-color:hsl(var(--primary)/.05)}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity,1))}.bg-purple-500{--tw-bg-opacity:1;background-color:rgb(168 85 247/var(--tw-bg-opacity,1))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity,1))}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity,1))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sidebar{background-color:hsl(var(--sidebar-background))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/20{background-color:hsla(0,0%,100%,.2)}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity,1))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity,1))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-600{--tw-gradient-from:#4f46e5 var(--tw-gradient-from-position);--tw-gradient-to:rgba(79,70,229,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-slate-900{--tw-gradient-from:#0f172a var(--tw-gradient-from-position);--tw-gradient-to:rgba(15,23,42,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-slate-800{--tw-gradient-to:rgba(30,41,59,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#1e293b var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-blue-600{--tw-gradient-to:#2563eb var(--tw-gradient-to-position)}.to-slate-900{--tw-gradient-to:#0f172a var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[1px\]{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pl-9{padding-left:2.25rem}.pr-1{padding-right:.25rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-7{padding-right:1.75rem}.pr-8{padding-right:2rem}.pr-9{padding-right:2.25rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-\[-0\.125em\]{vertical-align:-.125em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[6px\]{font-size:6px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-amber-500{--tw-text-opacity:1;color:rgb(245 158 11/var(--tw-text-opacity,1))}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.text-amber-800{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity,1))}.text-blue-500{--tw-text-opacity:1;color:rgb(59 130 246/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity,1))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-current{color:currentColor}.text-cyan-800{--tw-text-opacity:1;color:rgb(21 94 117/var(--tw-text-opacity,1))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity,1))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-orange-500{--tw-text-opacity:1;color:rgb(249 115 22/var(--tw-text-opacity,1))}.text-orange-800{--tw-text-opacity:1;color:rgb(154 52 18/var(--tw-text-opacity,1))}.text-pink-800{--tw-text-opacity:1;color:rgb(157 23 77/var(--tw-text-opacity,1))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{--tw-text-opacity:1;color:rgb(168 85 247/var(--tw-text-opacity,1))}.text-purple-800{--tw-text-opacity:1;color:rgb(107 33 168/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity,1))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity,1))}.text-yellow-800{--tw-text-opacity:1;color:rgb(133 77 14/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-indigo-500\/25{--tw-shadow-color:rgba(99,102,241,.25);--tw-shadow:var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-0{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-primary{--tw-ring-color:hsl(var(--primary))}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.fade-in-0{--tw-enter-opacity:0}.zoom-in-95{--tw-enter-scale:.95}.duration-200{animation-duration:.2s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.react-flow__controls{padding:1px}.react-flow__controls button{width:24px;height:24px;font-size:20px}.dark .react-flow__controls button{background-color:hsl(var(--card));color:hsl(var(--card-foreground));border-color:hsl(var(--border))}.dark .react-flow__controls button:hover{background-color:hsl(var(--accent))}.dark .react-flow__minimap{background-color:hsl(var(--card))}.dark .react-flow__background{background-color:hsl(var(--background))}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);top:0;bottom:0}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-1:after{content:var(--tw-content);width:.25rem}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.last\:border-0:last-child{border-width:0}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.hover\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-primary:hover{border-color:hsl(var(--primary))}.hover\:border-primary\/50:hover{border-color:hsl(var(--primary)/.5)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-amber-700:hover{--tw-bg-opacity:1;background-color:rgb(180 83 9/var(--tw-bg-opacity,1))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted)/.5)}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-primary\/15:hover{background-color:hsl(var(--primary)/.15)}.hover\:bg-primary\/20:hover{background-color:hsl(var(--primary)/.2)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity,1))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:from-indigo-700:hover{--tw-gradient-from:#4338ca var(--tw-gradient-from-position);--tw-gradient-to:rgba(67,56,202,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:to-blue-700:hover{--tw-gradient-to:#1d4ed8 var(--tw-gradient-to-position)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-destructive:hover{color:hsl(var(--destructive))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-green-700:hover{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity,1))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.hover\:text-yellow-700:hover{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity,1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-primary:focus{--tw-ring-color:hsl(var(--primary))}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:hsl(var(--background))}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:bg-accent\/50[aria-selected=true]{background-color:hsl(var(--accent)/.5)}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:text-muted-foreground[aria-selected=true]{color:hsl(var(--muted-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.aria-selected\:opacity-30[aria-selected=true]{opacity:.3}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true],.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[state\=inactive\]\:hidden[data-state=inactive]{display:none}.data-\[panel-group-direction\=vertical\]\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\[panel-group-direction\=vertical\]\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.data-\[side\=left\]\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.data-\[side\=right\]\:translate-x-1[data-side=right],.data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:1.25rem}.data-\[state\=checked\]\:translate-x-5[data-state=checked],.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:0px}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-out}.data-\[panel-group-direction\=vertical\]\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:hsl(var(--accent))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=unchecked\]\:bg-primary\/30[data-state=unchecked]{background-color:hsl(var(--primary)/.3)}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:hsl(var(--accent-foreground))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\=true\]\:opacity-50[data-disabled=true],.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:0.5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:-0.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x:-50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y:-48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x:-50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y:-48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.data-\[panel-group-direction\=vertical\]\:after\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:0}.data-\[panel-group-direction\=vertical\]\:after\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:.25rem}.data-\[panel-group-direction\=vertical\]\:after\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\[panel-group-direction\=vertical\]\:after\:-translate-y-1\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[panel-group-direction\=vertical\]\:after\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (prefers-reduced-motion:reduce){@keyframes spin{to{transform:rotate(1turn)}}.motion-reduce\:animate-\[spin_1\.5s_linear_infinite\]{animation:spin 1.5s linear infinite}}.dark\:border-amber-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(146 64 14/var(--tw-border-opacity,1))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity,1))}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-red-800:is(.dark *){--tw-border-opacity:1;border-color:rgb(153 27 27/var(--tw-border-opacity,1))}.dark\:border-red-900:is(.dark *){--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity,1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.dark\:bg-amber-900\/20:is(.dark *){background-color:rgba(120,53,15,.2)}.dark\:bg-amber-900\/30:is(.dark *){background-color:rgba(120,53,15,.3)}.dark\:bg-amber-950:is(.dark *){--tw-bg-opacity:1;background-color:rgb(69 26 3/var(--tw-bg-opacity,1))}.dark\:bg-blue-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 58 138/var(--tw-bg-opacity,1))}.dark\:bg-blue-950:is(.dark *){--tw-bg-opacity:1;background-color:rgb(23 37 84/var(--tw-bg-opacity,1))}.dark\:bg-cyan-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(22 78 99/var(--tw-bg-opacity,1))}.dark\:bg-gray-950:is(.dark *){--tw-bg-opacity:1;background-color:rgb(3 7 18/var(--tw-bg-opacity,1))}.dark\:bg-green-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(20 83 45/var(--tw-bg-opacity,1))}.dark\:bg-orange-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(124 45 18/var(--tw-bg-opacity,1))}.dark\:bg-pink-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(131 24 67/var(--tw-bg-opacity,1))}.dark\:bg-purple-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(88 28 135/var(--tw-bg-opacity,1))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity,1))}.dark\:bg-red-900\/20:is(.dark *){background-color:rgba(127,29,29,.2)}.dark\:bg-red-900\/30:is(.dark *){background-color:rgba(127,29,29,.3)}.dark\:bg-red-950:is(.dark *){--tw-bg-opacity:1;background-color:rgb(69 10 10/var(--tw-bg-opacity,1))}.dark\:bg-slate-700:is(.dark *){--tw-bg-opacity:1;background-color:rgb(51 65 85/var(--tw-bg-opacity,1))}.dark\:bg-slate-700\/50:is(.dark *){background-color:rgba(51,65,85,.5)}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.dark\:bg-slate-900\/50:is(.dark *){background-color:rgba(15,23,42,.5)}.dark\:bg-yellow-900:is(.dark *){--tw-bg-opacity:1;background-color:rgb(113 63 18/var(--tw-bg-opacity,1))}.dark\:bg-yellow-900\/20:is(.dark *){background-color:rgba(113,63,18,.2)}.dark\:text-amber-200:is(.dark *){--tw-text-opacity:1;color:rgb(253 230 138/var(--tw-text-opacity,1))}.dark\:text-amber-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 211 77/var(--tw-text-opacity,1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity:1;color:rgb(251 191 36/var(--tw-text-opacity,1))}.dark\:text-blue-200:is(.dark *){--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity,1))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity,1))}.dark\:text-cyan-300:is(.dark *){--tw-text-opacity:1;color:rgb(103 232 249/var(--tw-text-opacity,1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity,1))}.dark\:text-indigo-400:is(.dark *){--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.dark\:text-orange-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 215 170/var(--tw-text-opacity,1))}.dark\:text-pink-300:is(.dark *){--tw-text-opacity:1;color:rgb(249 168 212/var(--tw-text-opacity,1))}.dark\:text-purple-200:is(.dark *){--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity,1))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity:1;color:rgb(216 180 254/var(--tw-text-opacity,1))}.dark\:text-red-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity,1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity,1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.dark\:text-slate-500:is(.dark *){--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.dark\:text-yellow-200:is(.dark *){--tw-text-opacity:1;color:rgb(254 240 138/var(--tw-text-opacity,1))}.dark\:hover\:bg-slate-600:hover:is(.dark *){--tw-bg-opacity:1;background-color:rgb(71 85 105/var(--tw-bg-opacity,1))}.dark\:hover\:text-slate-300:hover:is(.dark *){--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}@media (min-width:640px){.sm\:order-1{order:1}.sm\:order-2{order:2}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:inline{display:inline}.sm\:hidden{display:none}.sm\:\!w-\[500px\]{width:500px!important}.sm\:\!w-\[600px\]{width:600px!important}.sm\:\!w-\[700px\]{width:700px!important}.sm\:\!w-\[800px\]{width:800px!important}.sm\:w-3\/4{width:75%}.sm\:w-\[100px\]{width:100px}.sm\:w-\[180px\]{width:180px}.sm\:w-\[200px\]{width:200px}.sm\:w-\[450px\]{width:450px}.sm\:w-\[600px\]{width:600px}.sm\:w-\[700px\]{width:700px}.sm\:w-\[900px\]{width:900px}.sm\:w-auto{width:auto}.sm\:min-w-\[180px\]{min-width:180px}.sm\:max-w-\[400px\]{max-width:400px}.sm\:max-w-\[500px\]{max-width:500px}.sm\:max-w-\[600px\]{max-width:600px}.sm\:max-w-\[700px\]{max-width:700px}.sm\:max-w-\[720px\]{max-width:720px}.sm\:max-w-\[80\%\]{max-width:80%}.sm\:max-w-\[900px\]{max-width:900px}.sm\:max-w-full{max-width:100%}.sm\:max-w-md{max-width:28rem}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2{gap:.5rem}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:self-auto{align-self:auto}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:bg-transparent{background-color:transparent}.sm\:p-0{padding:0}.sm\:text-left{text-align:left}}@media (min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[700px\]{width:700px}.md\:max-w-\[700px\]{max-width:700px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1024px){.lg\:w-\[800px\]{width:800px}.lg\:max-w-\[800px\]{max-width:800px}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start){border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]){border-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside){background-color:hsl(var(--accent)/.5)}.\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end){border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\>span\]\:line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&\>tr\]\:last\:border-b-0:last-child>tr{border-bottom-width:0}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div{--tw-rotate:90deg}.\[\&\[data-panel-group-direction\=vertical\]\>div\]\:rotate-90[data-panel-group-direction=vertical]>div,.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate:180deg}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border)/.5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}.\[\&_\.tiptap\]\:min-h-full .tiptap{min-height:100%}.\[\&_\.tiptap\]\:p-3 .tiptap{padding:.75rem}.\[\&_\.tiptap\]\:outline-none .tiptap{outline:2px solid transparent;outline-offset:2px}.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:pointer-events-none .tiptap p.is-editor-empty:first-child:before{pointer-events:none}.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:float-left .tiptap p.is-editor-empty:first-child:before{float:left}.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:h-0 .tiptap p.is-editor-empty:first-child:before{height:0}.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:text-muted-foreground .tiptap p.is-editor-empty:first-child:before{color:hsl(var(--muted-foreground))}.\[\&_\.tiptap_p\.is-editor-empty\:first-child\:\:before\]\:content-\[attr\(data-placeholder\)\] .tiptap p.is-editor-empty:first-child:before{--tw-content:attr(data-placeholder);content:var(--tw-content)}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_td\]\:py-1 td{padding-top:.25rem;padding-bottom:.25rem}.\[\&_td\]\:py-2 td{padding-top:.5rem;padding-bottom:.5rem}.\[\&_td\]\:py-4 td{padding-top:1rem;padding-bottom:1rem}.\[\&_td\]\:text-sm td{font-size:.875rem;line-height:1.25rem}.\[\&_td\]\:text-xs td{font-size:.75rem;line-height:1rem}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0}.\[\&_tr\]\:h-12 tr{height:3rem}.\[\&_tr\]\:h-16 tr{height:4rem}.\[\&_tr\]\:h-8 tr{height:2rem}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/admin/_next/static/css/089bd567329856e0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js"/><script src="/admin/_next/static/chunks/fd9d1056-54169f07cd680d6c.js" async=""></script><script src="/admin/_next/static/chunks/2117-29b5fa47421595ad.js" async=""></script><script src="/admin/_next/static/chunks/main-app-55bcae20c77aaf0e.js" async=""></script><script src="/admin/_next/static/chunks/6fcbdc68-90be1a5480b8d353.js" async=""></script><script src="/admin/_next/static/chunks/70e0d97a-aeaf0cdc26ba1a58.js" async=""></script><script src="/admin/_next/static/chunks/54a60aa6-d9747982e0a81f58.js" async=""></script><script src="/admin/_next/static/chunks/5094-8d53e403235d4ca6.js" async=""></script><script src="/admin/_next/static/chunks/4438-c9a12ca15b6e9160.js" async=""></script><script src="/admin/_next/static/chunks/6530-a91e10cffa4200c4.js" async=""></script><script src="/admin/_next/static/chunks/6241-30d7169d1010e5a4.js" async=""></script><script src="/admin/_next/static/chunks/4475-8bdfbd536fba8c48.js" async=""></script><script src="/admin/_next/static/chunks/926-156f32067d111d6b.js" async=""></script><script src="/admin/_next/static/chunks/600-539045311240f579.js" async=""></script><script src="/admin/_next/static/chunks/1668-e3eabd0f6753c780.js" async=""></script><script src="/admin/_next/static/chunks/2676-73b0ee7c80073a84.js" async=""></script><script src="/admin/_next/static/chunks/1509-56ac00cdaaecdf53.js" async=""></script><script src="/admin/_next/static/chunks/9487-b17481605e513b83.js" async=""></script><script src="/admin/_next/static/chunks/6869-11b3cd61c78598a7.js" async=""></script><script src="/admin/_next/static/chunks/1783-d9fb550fd324300c.js" async=""></script><script src="/admin/_next/static/chunks/9881-419697138376e755.js" async=""></script><script src="/admin/_next/static/chunks/7324-b53229c59a640880.js" async=""></script><script src="/admin/_next/static/chunks/9124-a02f9e209e6e3cce.js" async=""></script><script src="/admin/_next/static/chunks/6712-781937c53a2c49da.js" async=""></script><script src="/admin/_next/static/chunks/6547-1aaab011e6089042.js" async=""></script><script src="/admin/_next/static/chunks/2033-8355304f13887db5.js" async=""></script><script src="/admin/_next/static/chunks/1303-6e8e0ab420489175.js" async=""></script><script src="/admin/_next/static/chunks/3817-63bd724539f56efe.js" async=""></script><script src="/admin/_next/static/chunks/app/(authenticated)/activity-log/all-activity/page-b2d7c70e4c2c3854.js" async=""></script><script src="/admin/_next/static/chunks/8473-6598318371eca31b.js" async=""></script><script src="/admin/_next/static/chunks/3563-b8842744384391fe.js" async=""></script><script src="/admin/_next/static/chunks/478-2b8adfd5c2853600.js" async=""></script><script src="/admin/_next/static/chunks/6599-03e2f2327c30b4c1.js" async=""></script><script src="/admin/_next/static/chunks/app/(authenticated)/layout-2a4b221af5cbbade.js" async=""></script><script src="/admin/_next/static/chunks/4883-8a924721bb21b3b0.js" async=""></script><script src="/admin/_next/static/chunks/app/layout-1af2638eaca64bf1.js" async=""></script><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-FBCW8DT7KT" as="script"/><title>Baasix</title><script src="/admin/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen bg-background font-sans antialiased"><!--$--><div class="flex items-center justify-center min-h-screen bg-background"><div class="text-center"><div class="inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-primary border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"></div><p class="mt-4 text-muted-foreground">Loading...</p></div></div><!--/$--><script src="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/admin/_next/static/css/089bd567329856e0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[12846,[],\"\"]\n4:I[19107,[],\"ClientPageRoot\"]\n5:I[11314,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"3572\",\"static/chunks/70e0d97a-aeaf0cdc26ba1a58.js\",\"7902\",\"static/chunks/54a60aa6-d9747982e0a81f58.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"4475\",\"static/chunks/4475-8bdfbd536fba8c48.js\",\"926\",\"static/chunks/926-156f32067d111d6b.js\",\"600\",\"static/chunks/600-539045311240f579.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"2676\",\"static/chunks/2676-73b0ee7c80073a84.js\",\"1509\",\"static/chunks/1509-56ac00cdaaecdf53.js\",\"9487\",\"static/chunks/9487-b17481605e513b83.js\",\"6869\",\"static/chunks/6869-11b3cd61c78598a7.js\",\"1783\",\"static/chunks/1783-d9fb550fd324300c.js\",\"9881\",\"static/chunks/9881-419697138376e755.js\",\"7324\",\"static/chunks/7324-b53229c59a640880.js\",\"9124\",\"static/chunks/9124-a02f9e209e6e3cce.js\",\"6712\",\"static/chunks/6712-781937c53a2c49da.js\",\"6547\",\"static/chunks/6547-1aaab011e6089042.js\",\"2033\",\"static/chunks/2033-8355304f13887db5.js\",\"1303\",\"static/chunks/1303-6e8e0ab420489175.js\",\"3817\",\"static/chunks/3817-63bd724539f56efe.js\",\"8037\",\"static/chunks/app/(authenticated)/activity-log/all-activity/page-b2d7c70e4c2c3854.js\"],\"default\",1]\n6:I[4707,[],\"\"]\n7:I[36423,[],\"\"]\n8:I[7915,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"4475\",\"static/chunks/4475-8bdfbd536fba8c48.js\",\"926\",\"static/chunks/926-156f32067d111d6b.js\",\"600\",\"static/chunks/600-539045311240f579.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"9124\",\"static/chunks/9124-a02f9e209e6e3cce.js\",\"8473\",\"static/chunks/8473-6598318371eca31b.js\",\"3563\",\"static/chunks/3563-b8842744384391fe.js\",\"478\",\"static/chunks/478-2b8adfd5c2853600.js\",\"6599\",\"static/chunks/6599-03e2f2327c30b4c1.js\",\"2760\",\""])</script><script>self.__next_f.push([1,"static/chunks/app/(authenticated)/layout-2a4b221af5cbbade.js\"],\"default\",1]\na:I[84821,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"6869\",\"static/chunks/6869-11b3cd61c78598a7.js\",\"8473\",\"static/chunks/8473-6598318371eca31b.js\",\"4883\",\"static/chunks/4883-8a924721bb21b3b0.js\",\"1303\",\"static/chunks/1303-6e8e0ab420489175.js\",\"3185\",\"static/chunks/app/layout-1af2638eaca64bf1.js\"],\"default\",1]\n10:I[61060,[],\"\"]\n9:{}\nb:{\"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\"}\nc:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nd:{\"display\":\"inline-block\"}\ne:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n11:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"-M-4y4ptAuCLJ3meAo3RA\",\"assetPrefix\":\"/admin\",\"urlParts\":[\"\",\"activity-log\",\"all-activity\",\"\"],\"initialTree\":[\"\",{\"children\":[\"(authenticated)\",{\"children\":[\"activity-log\",{\"children\":[\"all-activity\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(authenticated)\",{\"children\":[\"activity-log\",{\"children\":[\"all-activity\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(authenticated)\",\"children\",\"activity-log\",\"children\",\"all-activity\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(authenticated)\",\"children\",\"activity-log\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(authenticated)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/admin/_next/static/css/089bd567329856e0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$b\",\"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\":\"$c\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$d\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$e\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Lf\"],\"globalErrorComponent\":\"$10\",\"missingSlots\":\"$W11\"}]\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/admin/_next/static/css/d08072df3a043c8d.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js"/><script src="/admin/_next/static/chunks/fd9d1056-54169f07cd680d6c.js" async=""></script><script src="/admin/_next/static/chunks/2117-29b5fa47421595ad.js" async=""></script><script src="/admin/_next/static/chunks/main-app-55bcae20c77aaf0e.js" async=""></script><script src="/admin/_next/static/chunks/6fcbdc68-90be1a5480b8d353.js" async=""></script><script src="/admin/_next/static/chunks/70e0d97a-aeaf0cdc26ba1a58.js" async=""></script><script src="/admin/_next/static/chunks/54a60aa6-d9747982e0a81f58.js" async=""></script><script src="/admin/_next/static/chunks/5094-8d53e403235d4ca6.js" async=""></script><script src="/admin/_next/static/chunks/4438-c9a12ca15b6e9160.js" async=""></script><script src="/admin/_next/static/chunks/6530-a91e10cffa4200c4.js" async=""></script><script src="/admin/_next/static/chunks/6241-30d7169d1010e5a4.js" async=""></script><script src="/admin/_next/static/chunks/4475-8bdfbd536fba8c48.js" async=""></script><script src="/admin/_next/static/chunks/926-156f32067d111d6b.js" async=""></script><script src="/admin/_next/static/chunks/600-539045311240f579.js" async=""></script><script src="/admin/_next/static/chunks/1668-e3eabd0f6753c780.js" async=""></script><script src="/admin/_next/static/chunks/2676-73b0ee7c80073a84.js" async=""></script><script src="/admin/_next/static/chunks/1509-56ac00cdaaecdf53.js" async=""></script><script src="/admin/_next/static/chunks/9487-b17481605e513b83.js" async=""></script><script src="/admin/_next/static/chunks/6869-11b3cd61c78598a7.js" async=""></script><script src="/admin/_next/static/chunks/1783-d9fb550fd324300c.js" async=""></script><script src="/admin/_next/static/chunks/9881-419697138376e755.js" async=""></script><script src="/admin/_next/static/chunks/7324-b53229c59a640880.js" async=""></script><script src="/admin/_next/static/chunks/9124-a02f9e209e6e3cce.js" async=""></script><script src="/admin/_next/static/chunks/6712-781937c53a2c49da.js" async=""></script><script src="/admin/_next/static/chunks/6547-1aaab011e6089042.js" async=""></script><script src="/admin/_next/static/chunks/2033-8355304f13887db5.js" async=""></script><script src="/admin/_next/static/chunks/1303-6e8e0ab420489175.js" async=""></script><script src="/admin/_next/static/chunks/3817-63bd724539f56efe.js" async=""></script><script src="/admin/_next/static/chunks/app/(authenticated)/activity-log/all-activity/page-b2d7c70e4c2c3854.js" async=""></script><script src="/admin/_next/static/chunks/8473-6598318371eca31b.js" async=""></script><script src="/admin/_next/static/chunks/3563-b8842744384391fe.js" async=""></script><script src="/admin/_next/static/chunks/478-2b8adfd5c2853600.js" async=""></script><script src="/admin/_next/static/chunks/6599-03e2f2327c30b4c1.js" async=""></script><script src="/admin/_next/static/chunks/app/(authenticated)/layout-2a4b221af5cbbade.js" async=""></script><script src="/admin/_next/static/chunks/4883-8a924721bb21b3b0.js" async=""></script><script src="/admin/_next/static/chunks/app/layout-1af2638eaca64bf1.js" async=""></script><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-FBCW8DT7KT" as="script"/><title>Baasix</title><script src="/admin/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="min-h-screen bg-background font-sans antialiased"><!--$--><div class="flex items-center justify-center min-h-screen bg-background"><div class="text-center"><div class="inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-primary border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]"></div><p class="mt-4 text-muted-foreground">Loading...</p></div></div><!--/$--><script src="/admin/_next/static/chunks/webpack-a934aa1995f7149a.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/admin/_next/static/css/d08072df3a043c8d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[12846,[],\"\"]\n4:I[19107,[],\"ClientPageRoot\"]\n5:I[11314,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"3572\",\"static/chunks/70e0d97a-aeaf0cdc26ba1a58.js\",\"7902\",\"static/chunks/54a60aa6-d9747982e0a81f58.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"4475\",\"static/chunks/4475-8bdfbd536fba8c48.js\",\"926\",\"static/chunks/926-156f32067d111d6b.js\",\"600\",\"static/chunks/600-539045311240f579.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"2676\",\"static/chunks/2676-73b0ee7c80073a84.js\",\"1509\",\"static/chunks/1509-56ac00cdaaecdf53.js\",\"9487\",\"static/chunks/9487-b17481605e513b83.js\",\"6869\",\"static/chunks/6869-11b3cd61c78598a7.js\",\"1783\",\"static/chunks/1783-d9fb550fd324300c.js\",\"9881\",\"static/chunks/9881-419697138376e755.js\",\"7324\",\"static/chunks/7324-b53229c59a640880.js\",\"9124\",\"static/chunks/9124-a02f9e209e6e3cce.js\",\"6712\",\"static/chunks/6712-781937c53a2c49da.js\",\"6547\",\"static/chunks/6547-1aaab011e6089042.js\",\"2033\",\"static/chunks/2033-8355304f13887db5.js\",\"1303\",\"static/chunks/1303-6e8e0ab420489175.js\",\"3817\",\"static/chunks/3817-63bd724539f56efe.js\",\"8037\",\"static/chunks/app/(authenticated)/activity-log/all-activity/page-b2d7c70e4c2c3854.js\"],\"default\",1]\n6:I[4707,[],\"\"]\n7:I[36423,[],\"\"]\n8:I[7915,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"4475\",\"static/chunks/4475-8bdfbd536fba8c48.js\",\"926\",\"static/chunks/926-156f32067d111d6b.js\",\"600\",\"static/chunks/600-539045311240f579.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"9124\",\"static/chunks/9124-a02f9e209e6e3cce.js\",\"8473\",\"static/chunks/8473-6598318371eca31b.js\",\"3563\",\"static/chunks/3563-b8842744384391fe.js\",\"478\",\"static/chunks/478-2b8adfd5c2853600.js\",\"6599\",\"static/chunks/6599-03e2f2327c30b4c1.js\",\"2760\",\""])</script><script>self.__next_f.push([1,"static/chunks/app/(authenticated)/layout-2a4b221af5cbbade.js\"],\"default\",1]\na:I[84821,[\"7999\",\"static/chunks/6fcbdc68-90be1a5480b8d353.js\",\"5094\",\"static/chunks/5094-8d53e403235d4ca6.js\",\"4438\",\"static/chunks/4438-c9a12ca15b6e9160.js\",\"6530\",\"static/chunks/6530-a91e10cffa4200c4.js\",\"6241\",\"static/chunks/6241-30d7169d1010e5a4.js\",\"1668\",\"static/chunks/1668-e3eabd0f6753c780.js\",\"6869\",\"static/chunks/6869-11b3cd61c78598a7.js\",\"8473\",\"static/chunks/8473-6598318371eca31b.js\",\"4883\",\"static/chunks/4883-8a924721bb21b3b0.js\",\"1303\",\"static/chunks/1303-6e8e0ab420489175.js\",\"3185\",\"static/chunks/app/layout-1af2638eaca64bf1.js\"],\"default\",1]\n10:I[61060,[],\"\"]\n9:{}\nb:{\"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\"}\nc:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nd:{\"display\":\"inline-block\"}\ne:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n11:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"5ZI3ht7RafXtcZ00-D8bS\",\"assetPrefix\":\"/admin\",\"urlParts\":[\"\",\"activity-log\",\"all-activity\",\"\"],\"initialTree\":[\"\",{\"children\":[\"(authenticated)\",{\"children\":[\"activity-log\",{\"children\":[\"all-activity\",{\"children\":[\"__PAGE__\",{}]}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(authenticated)\",{\"children\":[\"activity-log\",{\"children\":[\"all-activity\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(authenticated)\",\"children\",\"activity-log\",\"children\",\"all-activity\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(authenticated)\",\"children\",\"activity-log\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(authenticated)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/admin/_next/static/css/d08072df3a043c8d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$b\",\"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\":\"$c\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$d\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$e\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Lf\"],\"globalErrorComponent\":\"$10\",\"missingSlots\":\"$W11\"}]\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
|