@baasix/baasix 0.1.45 → 0.1.47
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/README.md +3 -0
- package/dist/README.md +3 -0
- package/dist/app/404/index.html +1 -1
- package/dist/app/404.html +1 -1
- package/dist/app/_next/static/chunks/9599-24678970361fee69.js +1 -0
- package/dist/app/_next/static/css/17a2e01c4184b106.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 +2 -2
- package/dist/app/settings/project/index.html +1 -1
- package/dist/app/settings/project/index.txt +2 -2
- package/dist/app/settings/roles/index.html +1 -1
- package/dist/app/settings/roles/index.txt +2 -2
- package/dist/app/settings/schema/index.html +1 -1
- package/dist/app/settings/schema/index.txt +1 -1
- 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 +2 -2
- package/dist/app/settings/tenants/index.html +1 -1
- package/dist/app/settings/tenants/index.txt +2 -2
- 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/app.js +1 -1
- package/dist/app.js.map +1 -1
- package/dist/routes/items.route.d.ts.map +1 -1
- package/dist/routes/items.route.js +2 -0
- package/dist/routes/items.route.js.map +1 -1
- package/dist/services/ItemsService.d.ts.map +1 -1
- package/dist/services/ItemsService.js +13 -2
- package/dist/services/ItemsService.js.map +1 -1
- package/dist/services/MCPService.d.ts.map +1 -1
- package/dist/services/MCPService.js +20 -11
- package/dist/services/MCPService.js.map +1 -1
- package/dist/utils/relationUtils.d.ts.map +1 -1
- package/dist/utils/relationUtils.js +14 -3
- package/dist/utils/relationUtils.js.map +1 -1
- package/package.json +1 -1
- package/dist/app/_next/static/chunks/9599-c7b77021b3c05e7e.js +0 -1
- package/dist/app/_next/static/css/8572ff91c3639efa.css +0 -3
- /package/dist/app/_next/static/{w3Y5nTHKmGQsFrOusYhke → w0mOVqxJmGgqAp-kWZW5-}/_buildManifest.js +0 -0
- /package/dist/app/_next/static/{w3Y5nTHKmGQsFrOusYhke → w0mOVqxJmGgqAp-kWZW5-}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -327,6 +327,9 @@ SECRET_KEY=your-secret-key-min-32-chars
|
|
|
327
327
|
# TASK_REDIS_ENABLED=true # For multi-instance
|
|
328
328
|
# TASK_REDIS_URL=redis://localhost:6379
|
|
329
329
|
|
|
330
|
+
# Request Body Size (optional)
|
|
331
|
+
# BODY_SIZE_LIMIT=20mb # Max JSON body size (default: 20mb)
|
|
332
|
+
|
|
330
333
|
# File Upload (optional)
|
|
331
334
|
# MAX_UPLOAD_FILE_SIZE=50 # Default: 50MB, set to 100 for 100MB
|
|
332
335
|
|
package/dist/README.md
CHANGED
|
@@ -327,6 +327,9 @@ SECRET_KEY=your-secret-key-min-32-chars
|
|
|
327
327
|
# TASK_REDIS_ENABLED=true # For multi-instance
|
|
328
328
|
# TASK_REDIS_URL=redis://localhost:6379
|
|
329
329
|
|
|
330
|
+
# Request Body Size (optional)
|
|
331
|
+
# BODY_SIZE_LIMIT=20mb # Max JSON body size (default: 20mb)
|
|
332
|
+
|
|
330
333
|
# File Upload (optional)
|
|
331
334
|
# MAX_UPLOAD_FILE_SIZE=50 # Default: 50MB, set to 100 for 100MB
|
|
332
335
|
|
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/17a2e01c4184b106.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-953623aeb7ba634a.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/7304-9584593752db7f07.js" async=""></script><script src="/admin/_next/static/chunks/app/layout-64ac14a534e2809b.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-953623aeb7ba634a.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/17a2e01c4184b106.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\",\"7304\",\"static/chunks/7304-9584593752db7f07.js\",\"3185\",\"static/chunks/app/layout-64ac14a534e2809b.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\":\"w0mOVqxJmGgqAp-kWZW5-\",\"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/17a2e01c4184b106.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/17a2e01c4184b106.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-953623aeb7ba634a.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/7304-9584593752db7f07.js" async=""></script><script src="/admin/_next/static/chunks/app/layout-64ac14a534e2809b.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-953623aeb7ba634a.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/17a2e01c4184b106.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\",\"7304\",\"static/chunks/7304-9584593752db7f07.js\",\"3185\",\"static/chunks/app/layout-64ac14a534e2809b.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\":\"w0mOVqxJmGgqAp-kWZW5-\",\"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/17a2e01c4184b106.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>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9599],{24225:function(e,s,l){l.d(s,{HD:function(){return eN},iL:function(){return U},kL:function(){return x},h2:function(){return eZ},Xx:function(){return R}});var a=l(57437),t=l(2265),n=l(69174),i=l(12381),r=l(42208),c=l(45675),d=l(18930),o=l(72337),m=l(71488);let u=["administrator","public"],x=()=>(0,a.jsx)("div",{className:"flex flex-col h-full overflow-hidden",children:(0,a.jsx)(o.DataBrowserInner,{selectedCollection:"baasix_Role",title:"Roles Management",enableSearch:!0,enableFilters:!0,enableCreate:!0,enableView:!0,enableEdit:!0,enableDelete:!0,enableExport:!0,enableImport:!0,enableBulkSelect:!0,enableColumnSettings:!0,defaultVisibleColumns:["name","description","isTenantSpecific"],customColumnRenderers:{name:e=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium",children:e}),u.includes(null==e?void 0:e.toLowerCase())&&(0,a.jsx)(m.pn,{children:(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{children:(0,a.jsx)(n.C,{variant:"outline",className:"text-xs",children:"System"})}),(0,a.jsx)(m._v,{children:(0,a.jsx)("p",{children:"System role - name cannot be changed"})})]})})]}),isTenantSpecific:e=>(0,a.jsx)(n.C,{variant:e?"default":"secondary",children:e?"Yes":"No"})},renderRowActions:e=>{var s;let{record:l,onView:t,onEdit:n,onDelete:o}=e,x=u.includes(null===(s=l.name)||void 0===s?void 0:s.toLowerCase());return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(i.z,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:t,children:(0,a.jsx)(r.Z,{className:"h-4 w-4"})}),(0,a.jsx)(i.z,{variant:"ghost",size:"icon",className:"h-8 w-8",onClick:n,children:(0,a.jsx)(c.Z,{className:"h-4 w-4"})}),(0,a.jsx)(m.pn,{children:(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)("span",{children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive",onClick:o,disabled:x,children:(0,a.jsx)(d.Z,{className:"h-4 w-4"})})})}),x&&(0,a.jsx)(m._v,{children:(0,a.jsx)("p",{children:"System roles cannot be deleted"})})]})})]})},getDisabledFields:e=>{var s;return u.includes(null==e?void 0:null===(s=e.name)||void 0===s?void 0:s.toLowerCase())?["name","isTenantSpecific"]:[]}})});var h=l(98728),p=l(74291),j=l(72135),v=l(51817),f=l(83229),g=l(14438),y=l(40279),N=l(75060),b=l(23675),w=l(94589),C=l(79820),_=l(17168),S=l(69140),A=l(5101),k=l(24065),T=l(79622);let I=[{name:"project_name",label:"Project Name",type:"String"},{name:"title",label:"Title",type:"String"},{name:"project_url",label:"API URL",type:"String"},{name:"app_url",label:"App URL",type:"String"},{name:"project_color",label:"Primary Color",type:"String",inputType:"color"},{name:"secondary_color",label:"Secondary Color",type:"String",inputType:"color"},{name:"description",label:"Description",type:"Text"},{name:"keywords",label:"Keywords",type:"String"}],Z=[{name:"project_logo_light",label:"Logo (Light)",relType:"BelongsTo",target:"baasix_File",foreignKey:"project_logo_light_Id"},{name:"project_logo_dark",label:"Logo (Dark)",relType:"BelongsTo",target:"baasix_File",foreignKey:"project_logo_dark_Id"},{name:"project_logo_full",label:"Logo (Full)",relType:"BelongsTo",target:"baasix_File",foreignKey:"project_logo_full_Id"},{name:"project_logo_transparent",label:"Logo (Transparent)",relType:"BelongsTo",target:"baasix_File",foreignKey:"project_logo_transparent_Id"},{name:"project_favicon",label:"Favicon",relType:"BelongsTo",target:"baasix_File",foreignKey:"project_favicon_Id"},{name:"project_icon",label:"Project Icon",relType:"BelongsTo",target:"baasix_File",foreignKey:"project_icon_Id"},{name:"email_icon",label:"Email Icon",relType:"BelongsTo",target:"baasix_File",foreignKey:"email_icon_Id"}],z=[{name:"email_signature",label:"Email Signature",type:"Text"},{name:"from_email_name",label:"From Email Name",type:"String"}],E=[{name:"smtp_enabled",label:"Enable SMTP",type:"Boolean"},{name:"smtp_host",label:"SMTP Host",type:"String"},{name:"smtp_port",label:"SMTP Port",type:"Integer"},{name:"smtp_secure",label:"SMTP Secure",type:"Boolean"},{name:"smtp_user",label:"SMTP Username",type:"String"},{name:"smtp_pass",label:"SMTP Password",type:"String",inputType:"password"},{name:"smtp_from_address",label:"SMTP From Address",type:"String"}],P=[{name:"timezone",label:"Timezone",type:"String"},{name:"language",label:"Language",type:"String"},{name:"date_format",label:"Date Format",type:"String"},{name:"currency",label:"Currency",type:"String"}],F=[{name:"mobile_session_limit",label:"Mobile Session Limit",type:"Integer",description:"-1 for unlimited, 0 to disable"},{name:"web_session_limit",label:"Web Session Limit",type:"Integer",description:"-1 for unlimited, 0 to disable"},{name:"session_limit_roles",label:"Session Limit Roles",type:"JSON",description:"Array of role IDs to apply session limits"}],O=[{name:"metadata",label:"Metadata",type:"JSON"},{name:"modules",label:"Modules",type:"JSON"}],L=e=>{var s;let{tenantId:l,title:n="Settings",description:r="Configure settings",onSaveSuccess:c,compact:d=!1}=e,[o,m]=(0,t.useState)(!1),[u,x]=(0,t.useState)({}),[h,p]=(0,t.useState)({}),[L,D]=(0,t.useState)(!1),[V,M]=(0,t.useState)(null),[R,B]=(0,t.useState)(null),[U,J]=(0,t.useState)(!1),{data:Q,isLoading:q,refetch:Y}=(0,j.sm)({resource:"baasix_Settings",filters:[{field:"tenant_Id",operator:"eq",value:l}],pagination:{current:1,pageSize:1},meta:{fields:["*","project_logo_light.*","project_logo_dark.*","project_logo_full.*","project_logo_transparent.*","project_favicon.*","project_icon.*","email_icon.*"]},queryOptions:{enabled:!!l}}),{data:K,isLoading:H,refetch:W}=(0,j.rD)({resource:"baasix_Settings",id:"1",meta:{fields:["*","project_logo_light.*","project_logo_dark.*","project_logo_full.*","project_logo_transparent.*","project_favicon.*","project_icon.*","email_icon.*"]},queryOptions:{enabled:!l}}),$=l?q:H,X=l?(null==Q?void 0:null===(s=Q.data)||void 0===s?void 0:s[0])||null:null==K?void 0:K.data,G=l?Y:W,{mutate:ee}=(0,j.PQ)(),{mutate:es}=(0,j.RO)();(0,t.useEffect)(()=>{var e,s,a;if(l&&!q){let l=null==Q?void 0:null===(e=Q.data)||void 0===e?void 0:e[0];if(l){x(l),B((null===(s=l.id)||void 0===s?void 0:s.toString())||null),J(!1);let e={};Z.forEach(s=>{l[s.name]&&(e[s.name]=l[s.name])}),p(e)}else x({}),B(null),J(!0),p({})}else if(!l&&X){x(X),B((null===(a=X.id)||void 0===a?void 0:a.toString())||null),J(!1);let e={};Z.forEach(s=>{X[s.name]&&(e[s.name]=X[s.name])}),p(e)}},[l,q,Q,X]);let el=()=>{let e={...u};return Z.forEach(s=>{let l=h[s.name];if(l){let a="string"==typeof l?l:l.id;e[s.foreignKey]=a}else e[s.foreignKey]=null;delete e[s.name]}),delete e.id,delete e.createdAt,delete e.updatedAt,delete e.userCreated,delete e.userUpdated,delete e.userCreated_Id,delete e.userUpdated_Id,delete e.tenant,l&&(e.tenant_Id=l),e},ea=async()=>{m(!0);try{let e=el();if(U)es({resource:"baasix_Settings",values:e},{onSuccess:()=>{g.Am.success("Tenant settings created successfully"),J(!1),G(),null==c||c()},onError:e=>{g.Am.error((null==e?void 0:e.message)||"Failed to create settings")}});else{let s=l?R:"1";if(!s){g.Am.error("No settings found to update");return}ee({resource:"baasix_Settings",id:s,values:e},{onSuccess:()=>{g.Am.success("Settings saved successfully"),G(),null==c||c()},onError:e=>{g.Am.error((null==e?void 0:e.message)||"Failed to save settings")}})}}catch(e){g.Am.error((null==e?void 0:e.message)||"Failed to save settings")}finally{m(!1)}},et=(e,s)=>{x(l=>({...l,[e]:s}))},en=(0,t.useCallback)((e,s)=>{let l=s?"string"==typeof s?{id:s}:s:null;p(s=>({...s,[e.name]:l}))},[]),ei=(0,t.useCallback)(e=>{p(s=>{let l={...s};return delete l[e.name],l})},[]),er=e=>{M(e),D(!0)},ec=e=>{let s=u[e.name];return e.relType?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{children:e.label}),(0,a.jsx)(A.q,{value:h[e.name],field:e,onClick:()=>er(e),onRemove:()=>ei(e)})]},e.name):"Boolean"===e.type?(0,a.jsxs)("div",{className:"flex items-center justify-between py-2",children:[(0,a.jsxs)("div",{className:"space-y-0.5",children:[(0,a.jsx)(N._,{children:e.label}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.description})]}),(0,a.jsx)(w.r,{checked:s||!1,onCheckedChange:s=>et(e.name,s)})]},e.name):"JSON"===e.type?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{children:e.label}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.description}),(0,a.jsx)(T.mq,{value:s,onChange:s=>et(e.name,s)})]},e.name):"Text"===e.type?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:e.name,children:e.label}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.description}),(0,a.jsx)(b.g,{id:e.name,value:s||"",onChange:s=>et(e.name,s.target.value),rows:3})]},e.name):"Integer"===e.type?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:e.name,children:e.label}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.description}),(0,a.jsx)(y.I,{id:e.name,type:"number",value:null!=s?s:"",onChange:s=>et(e.name,s.target.value?parseInt(s.target.value):null)})]},e.name):"color"===e.inputType?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:e.name,children:e.label}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(y.I,{id:e.name,type:"color",value:s||"#000000",onChange:s=>et(e.name,s.target.value),className:"w-12 h-10 p-1 cursor-pointer"}),(0,a.jsx)(y.I,{value:s||"",onChange:s=>et(e.name,s.target.value),placeholder:"#000000",className:"flex-1"})]})]},e.name):(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:e.name,children:e.label}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.description}),(0,a.jsx)(y.I,{id:e.name,type:e.inputType||"text",value:s||"",onChange:s=>et(e.name,s.target.value)})]},e.name)},ed=()=>(0,a.jsxs)(_.mQ,{defaultValue:"branding",className:"space-y-4",children:[(0,a.jsxs)(_.dr,{className:"flex-wrap h-auto gap-1",children:[(0,a.jsx)(_.SP,{value:"branding",children:"Branding"}),(0,a.jsx)(_.SP,{value:"logos",children:"Logos & Icons"}),(0,a.jsx)(_.SP,{value:"email",children:"Email"}),(0,a.jsx)(_.SP,{value:"smtp",children:"SMTP"}),(0,a.jsx)(_.SP,{value:"localization",children:"Localization"}),(0,a.jsx)(_.SP,{value:"sessions",children:"Sessions"}),(0,a.jsx)(_.SP,{value:"advanced",children:"Advanced"})]}),(0,a.jsxs)(_.nU,{value:"branding",className:"space-y-4",children:[(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:I.slice(0,4).map(ec)}),(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:I.slice(4,6).map(ec)}),I.slice(6).map(ec)]}),(0,a.jsx)(_.nU,{value:"logos",className:"space-y-4",children:(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:Z.map(ec)})}),(0,a.jsx)(_.nU,{value:"email",className:"space-y-4",children:z.map(ec)}),(0,a.jsxs)(_.nU,{value:"smtp",className:"space-y-4",children:[E.filter(e=>"Boolean"===e.type).map(ec),u.smtp_enabled&&(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2 pt-4 border-t",children:E.filter(e=>"Boolean"!==e.type).map(ec)})]}),(0,a.jsx)(_.nU,{value:"localization",className:"space-y-4",children:(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:P.map(ec)})}),(0,a.jsxs)(_.nU,{value:"sessions",className:"space-y-4",children:[(0,a.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:F.filter(e=>"Integer"===e.type).map(ec)}),F.filter(e=>"JSON"===e.type).map(ec)]}),(0,a.jsx)(_.nU,{value:"advanced",className:"space-y-4",children:O.map(ec)})]});if($)return d?(0,a.jsx)("div",{className:"space-y-4",children:Array.from({length:5}).map((e,s)=>(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(S.O,{className:"h-4 w-24"}),(0,a.jsx)(S.O,{className:"h-10 w-full"})]},s))}):(0,a.jsxs)(C.Zb,{children:[(0,a.jsxs)(C.Ol,{children:[(0,a.jsx)(S.O,{className:"h-6 w-48"}),(0,a.jsx)(S.O,{className:"h-4 w-96 mt-2"})]}),(0,a.jsx)(C.aY,{className:"space-y-4",children:Array.from({length:5}).map((e,s)=>(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(S.O,{className:"h-4 w-24"}),(0,a.jsx)(S.O,{className:"h-10 w-full"})]},s))})]});let eo=(0,a.jsxs)(i.z,{onClick:ea,disabled:o,children:[o?(0,a.jsx)(v.Z,{className:"h-4 w-4 mr-2 animate-spin"}):(0,a.jsx)(f.Z,{className:"h-4 w-4 mr-2"}),U?"Create Settings":"Save Changes"]});return d?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"space-y-4",children:[ed(),(0,a.jsx)("div",{className:"flex justify-end pt-4 border-t",children:eo})]}),V&&(0,a.jsx)(k.x,{open:L,onClose:()=>{D(!1),setTimeout(()=>M(null),100)},onSelect:e=>en(V,e),target:V.target,field:V,selectedItems:h[V.name]?[h[V.name]]:[]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(C.Zb,{children:[(0,a.jsxs)(C.Ol,{className:"flex flex-row items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(C.ll,{children:n}),(0,a.jsx)(C.SZ,{children:r})]}),eo]}),(0,a.jsx)(C.aY,{children:ed()})]}),V&&(0,a.jsx)(k.x,{open:L,onClose:()=>{D(!1),setTimeout(()=>M(null),100)},onSelect:e=>en(V,e),target:V.target,field:V,selectedItems:h[V.name]?[h[V.name]]:[]})]})},D=e=>{let{open:s,onClose:l,tenantId:t,tenantName:n}=e;return(0,a.jsx)(p.Vq,{open:s,onOpenChange:e=>!e&&l(),children:(0,a.jsxs)(p.cZ,{className:"max-w-4xl h-[90vh] flex flex-col p-0 gap-0",children:[(0,a.jsxs)(p.fK,{className:"flex-shrink-0 px-6 pt-6 pb-4",children:[(0,a.jsxs)(p.$N,{children:["Settings for ",n||"Tenant ".concat(t)]}),(0,a.jsx)(p.Be,{children:"Configure tenant-specific settings. These will override global project settings for this tenant."})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto px-6 pb-6",children:(0,a.jsx)(L,{tenantId:t,compact:!0,onSaveSuccess:()=>{l()}})})]})})};var V=l(71096),M=l.n(V);let R=()=>{let[e,s]=(0,t.useState)(!1),[l,r]=(0,t.useState)(null),c=e=>{r({id:e.id,name:e.name}),s(!0)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-col h-full overflow-hidden",children:(0,a.jsx)(o.DataBrowserInner,{selectedCollection:"baasix_Tenant",title:"Tenants Management",enableSearch:!0,enableFilters:!0,enableCreate:!0,enableView:!0,enableEdit:!0,enableDelete:!0,enableExport:!0,enableImport:!0,enableBulkSelect:!0,enableColumnSettings:!0,defaultVisibleColumns:["name","status","createdAt"],customColumnRenderers:{name:e=>(0,a.jsx)("span",{className:"font-medium",children:e}),status:e=>(0,a.jsx)(n.C,{variant:"active"===e?"default":"secondary",children:e||"Active"}),createdAt:e=>(0,a.jsx)("span",{className:"text-muted-foreground",children:e?M()(e).format("MMM D, YYYY HH:mm"):"-"})},renderRowActions:e=>{let{record:s,onView:l,onEdit:t,onDelete:n}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(i.z,{variant:"ghost",size:"icon",onClick:()=>c(s),title:"Tenant Settings",children:(0,a.jsx)(h.Z,{className:"h-4 w-4"})}),(0,a.jsxs)(i.z,{variant:"ghost",size:"icon",onClick:l,title:"View",children:[(0,a.jsx)("span",{className:"sr-only",children:"View"}),(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})]}),(0,a.jsxs)(i.z,{variant:"ghost",size:"icon",onClick:t,title:"Edit",children:[(0,a.jsx)("span",{className:"sr-only",children:"Edit"}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"})})]}),(0,a.jsxs)(i.z,{variant:"ghost",size:"icon",onClick:n,title:"Delete",className:"text-destructive hover:text-destructive",children:[(0,a.jsx)("span",{className:"sr-only",children:"Delete"}),(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M3 6h18"}),(0,a.jsx)("path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"}),(0,a.jsx)("path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"})]})]})]})}})}),l&&(0,a.jsx)(D,{open:e,onClose:()=>{s(!1),r(null)},tenantId:l.id,tenantName:l.name})]})};var B=l(81853);let U=()=>{let{refetch:e}=(0,B.PY)();return(0,a.jsx)(L,{title:"Project Settings",description:"Configure your project branding, email, and other settings",onSaveSuccess:e})};var J=l(32489),Q=l(30401),q=l(88906),Y=l(95805),K=l(50091),H=l(24156),W=l(17689),$=l(92735),X=l(33804),G=l(15291),ee=l(29696),es=l(47307),el=l(40875),ea=l(93448);let et=es.fC,en=t.forwardRef((e,s)=>{let{className:l,...t}=e;return(0,a.jsx)(es.ck,{ref:s,className:(0,ea.cn)("border-b",l),...t})});en.displayName="AccordionItem";let ei=t.forwardRef((e,s)=>{let{className:l,children:t,...n}=e;return(0,a.jsx)(es.h4,{className:"flex",children:(0,a.jsxs)(es.xz,{ref:s,className:(0,ea.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",l),...n,children:[t,(0,a.jsx)(el.Z,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})});ei.displayName=es.xz.displayName;let er=t.forwardRef((e,s)=>{let{className:l,children:t,...n}=e;return(0,a.jsx)(es.VY,{ref:s,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:(0,a.jsx)("div",{className:(0,ea.cn)("pb-4 pt-0",l),children:t})})});er.displayName=es.VY.displayName;var ec=l(12749),ed=l(2596),eo=l(10407),em=l(91032),eu=l(68245);let ex=e=>{let{nodes:s,selectedFields:l,onSelectionChange:t,level:n=0,expandedNodes:i,onToggleExpand:r}=e,c=e=>{l.includes(e.value)?t(l.filter(s=>s!==e.value)):t([...l,e.value])},d=e=>{if(e.value.endsWith(".*")&&e.children&&e.children.length>0){let s=e.value.split("."),l=s[s.length-2]||s[0];return"".concat(l,".*")}if(e.value.startsWith("*"))return e.value;let s=e.title.split(".");return s[s.length-1]},o=e=>"*"===e?"all fields":"*.*"===e?"all + 1 level relations":"*.*.*"===e?"all + 2 level relations":"*.*.*.*"===e?"all + 3 level relations":null,m=s.filter(e=>!!e.value.startsWith("*")||!e.value.endsWith(".*")||!!e.children&&0!==e.children.length);return(0,a.jsx)("div",{className:(0,ea.cn)("space-y-0.5",n>0&&"ml-4 pl-2 border-l border-muted"),children:m.map(e=>{let s=e.children&&e.children.length>0,m=i.has(e.key),u=l.includes(e.value),x=o(e.value);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-1 py-1 hover:bg-muted/50 rounded px-1",children:[s?(0,a.jsx)("button",{type:"button",onClick:()=>r(e.key),className:"p-0.5 hover:bg-muted rounded",children:m?(0,a.jsx)(el.Z,{className:"h-3.5 w-3.5"}):(0,a.jsx)(eo.Z,{className:"h-3.5 w-3.5"})}):(0,a.jsx)("span",{className:"w-4"}),(0,a.jsx)(eu.X,{id:"field-".concat(e.key),checked:u,onCheckedChange:()=>c(e)}),(0,a.jsxs)(N._,{htmlFor:"field-".concat(e.key),className:(0,ea.cn)("text-sm cursor-pointer flex-1",x&&"font-mono"),children:[d(e),x&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground ml-2",children:["(",x,")"]}),s&&!x&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground ml-1",children:"(relation)"})]})]}),s&&m&&(0,a.jsx)(ex,{nodes:e.children,selectedFields:l,onSelectionChange:t,level:n+1,expandedNodes:i,onToggleExpand:r})]},e.key)})})},eh=e=>{let{open:s,onClose:l,permissionId:r,mode:c,defaultValues:o}=e,[m,u]=(0,t.useState)({collection:"",role_Id:"",action:"",fields:["*"],conditions:null,relConditions:null,defaultValues:null}),[x,h]=(0,t.useState)({}),[f,y]=(0,t.useState)(!1),[b,w]=(0,t.useState)(!1),[S,A]=(0,t.useState)("tree"),{schemas:k,getPermissionFields:I}=(0,ee.I_)(),{data:Z,isLoading:z}=(0,j.rD)({resource:"permissions",id:r||"",queryOptions:{enabled:s&&"edit"===c&&!!r}}),{data:E}=(0,j.sm)({resource:"baasix_Role",pagination:{pageSize:-1}}),{mutate:P}=(0,j.RO)(),{mutate:F}=(0,j.PQ)(),{mutate:O}=(0,j.R2)(),L=(0,t.useMemo)(()=>k||[],[k]),D=(0,t.useMemo)(()=>(null==E?void 0:E.data)||[],[E]),V=(0,t.useMemo)(()=>m.collection&&I?I(m.collection):[],[m.collection,I]);(0,t.useEffect)(()=>{if("edit"===c&&(null==Z?void 0:Z.data)){var e;let s=Z.data,l=["*"];Array.isArray(s.fields)?l=s.fields:"string"==typeof s.fields&&(l=s.fields.split(",").map(e=>e.trim())),u({collection:s.collection||"",role_Id:s.role_Id||(null===(e=s.role)||void 0===e?void 0:e.id)||"",action:s.action||"",fields:l,conditions:s.conditions||null,relConditions:s.relConditions||null,defaultValues:s.defaultValues||null})}else"create"===c&&o&&u({collection:o.collection||"",role_Id:o.roleId||"",action:o.action||"",fields:["*"],conditions:null,relConditions:null,defaultValues:null})},[c,Z,o,s]);let M=()=>{u({collection:"",role_Id:"",action:"",fields:["*"],conditions:null,relConditions:null,defaultValues:null}),h({}),A("tree"),l()},R=()=>{r&&O({resource:"permissions",id:r},{onSuccess:()=>{g.Am.success("Permission deleted successfully"),M()},onError:e=>{g.Am.error("Error deleting permission: ".concat(e.message))}})},B=async e=>{e.preventDefault();let s={};if(m.collection||(s.collection="Collection is required"),m.role_Id||(s.role_Id="Role is required"),m.action||(s.action="Action is required"),Object.keys(s).length>0){h(s);return}y(!0);try{let e={collection:m.collection,role_Id:m.role_Id,action:m.action,fields:m.fields.length>0?m.fields:["*"],conditions:m.conditions||null,relConditions:m.relConditions||null,defaultValues:m.defaultValues||null};"create"===c?P({resource:"permissions",values:e},{onSuccess:()=>{g.Am.success("Permission created successfully"),M()},onError:e=>{g.Am.error("Error creating permission: ".concat(e.message))}}):F({resource:"permissions",id:r,values:e},{onSuccess:()=>{g.Am.success("Permission updated successfully"),M()},onError:e=>{g.Am.error("Error updating permission: ".concat(e.message))}})}catch(e){g.Am.error("Error: ".concat(e.message))}finally{y(!1)}},U=e=>{let s=D.find(s=>s.id===e);return(null==s?void 0:s.name)||e},J=e=>{var s;let l=L.find(s=>s.collectionName===e);return(null==l?void 0:null===(s=l.schema)||void 0===s?void 0:s.name)||e},[Q,q]=(0,t.useState)(new Set),Y="edit"===c&&z,K=(0,t.useMemo)(()=>{if("create"===c&&o){let e=o.action?o.action.charAt(0).toUpperCase()+o.action.slice(1):"",s=o.collection?J(o.collection):"",l=o.roleId?U(o.roleId):"";if(e&&s&&l)return"Create ".concat(e," Permission")}else if("edit"===c&&m.action){let e=m.action.charAt(0).toUpperCase()+m.action.slice(1);return"Edit ".concat(e," Permission")}return"create"===c?"Create Permission":"Edit Permission"},[c,o,m.action,D,L]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(em.yo,{open:s,onOpenChange:e=>!e&&M(),children:(0,a.jsxs)(em.ue,{className:"w-[600px] sm:max-w-[600px] overflow-y-auto",children:[(0,a.jsxs)(em.Tu,{className:"flex flex-row items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(em.bC,{children:K}),(o||m.collection)&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-2 mt-2",children:[((null==o?void 0:o.collection)||m.collection)&&(0,a.jsx)(n.C,{variant:"outline",children:J((null==o?void 0:o.collection)||m.collection)}),((null==o?void 0:o.roleId)||m.role_Id)&&(0,a.jsx)(n.C,{variant:"secondary",children:U((null==o?void 0:o.roleId)||m.role_Id)}),((null==o?void 0:o.action)||m.action)&&(0,a.jsx)(n.C,{children:((null==o?void 0:o.action)||m.action).charAt(0).toUpperCase()+((null==o?void 0:o.action)||m.action).slice(1)})]})]}),"edit"===c&&(0,a.jsxs)(i.z,{variant:"ghost",size:"sm",className:"text-destructive",onClick:()=>w(!0),children:[(0,a.jsx)(d.Z,{className:"h-4 w-4 mr-1"}),"Delete"]})]}),Y?(0,a.jsx)("div",{className:"flex items-center justify-center p-8",children:(0,a.jsx)(v.Z,{className:"h-6 w-6 animate-spin"})}):(0,a.jsxs)("form",{onSubmit:B,className:"mt-6 space-y-4",children:["delete"!==m.action&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{children:"Fields"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Select fields to allow. Leave empty or select * to allow all fields."}),(0,a.jsxs)(_.mQ,{value:S,onValueChange:e=>A(e),children:[(0,a.jsxs)(_.dr,{className:"grid w-full grid-cols-2",children:[(0,a.jsx)(_.SP,{value:"tree",children:"Tree Selection"}),(0,a.jsx)(_.SP,{value:"json",children:"JSON"})]}),(0,a.jsx)(_.nU,{value:"tree",className:"mt-2",children:(0,a.jsx)(C.Zb,{className:"max-h-[250px] overflow-y-auto",children:(0,a.jsx)(C.aY,{className:"p-3",children:V.length>0?(0,a.jsx)(ex,{nodes:V,selectedFields:m.fields,onSelectionChange:e=>{let s=e.length>0?e:["*"];u({...m,fields:s})},expandedNodes:Q,onToggleExpand:e=>{q(s=>{let l=new Set(s);return l.has(e)?l.delete(e):l.add(e),l})}}):(0,a.jsx)("p",{className:"text-sm text-muted-foreground py-2",children:"Select a collection to see available fields"})})})}),(0,a.jsxs)(_.nU,{value:"json",className:"mt-2",children:[(0,a.jsx)(T.mq,{value:m.fields,onChange:e=>{Array.isArray(e)&&e.every(e=>"string"==typeof e)?(u({...m,fields:e.length>0?e:["*"]}),h({...x,fieldsJson:""})):null===e&&(u({...m,fields:["*"]}),h({...x,fieldsJson:""}))},placeholder:'["*"]'}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:'Enter field names as a JSON array. Example: ["id", "name", "user.*"]'})]})]})]}),"create"!==m.action&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"conditions",children:"Conditions"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enter conditions in JSON format"}),(0,a.jsx)(T.mq,{value:m.conditions,onChange:e=>u({...m,conditions:e}),placeholder:'{"field": "value"}'})]}),"read"===m.action&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"relConditions",children:"Relational Conditions (HasMany)"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enter conditions in JSON format"}),(0,a.jsx)(T.mq,{value:m.relConditions,onChange:e=>u({...m,relConditions:e}),placeholder:'{"relation": {"field": "value"}}'})]}),("create"===m.action||"update"===m.action)&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"defaultValues",children:"Default Values"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enter default values in JSON format"}),(0,a.jsx)(T.mq,{value:m.defaultValues,onChange:e=>u({...m,defaultValues:e}),placeholder:'{"field": "defaultValue"}'})]}),(0,a.jsxs)("div",{className:"flex gap-2 pt-4",children:[(0,a.jsxs)(i.z,{type:"submit",disabled:f,children:[f&&(0,a.jsx)(v.Z,{className:"mr-2 h-4 w-4 animate-spin"}),"create"===c?"Create":"Update"]}),(0,a.jsx)(i.z,{type:"button",variant:"outline",onClick:M,children:"Cancel"})]})]})]})}),(0,a.jsx)(p.Vq,{open:b,onOpenChange:w,children:(0,a.jsxs)(p.cZ,{children:[(0,a.jsxs)(p.fK,{children:[(0,a.jsx)(p.$N,{children:"Delete Permission"}),(0,a.jsx)(p.Be,{children:"Are you sure you want to delete this permission? This action cannot be undone."})]}),(0,a.jsxs)(p.cN,{children:[(0,a.jsx)(i.z,{variant:"outline",onClick:()=>w(!1),children:"Cancel"}),(0,a.jsx)(i.z,{variant:"destructive",onClick:()=>{w(!1),R()},children:"Delete"})]})]})})]})};var ep=l(99397),ej=l(76865),ev=l(17342),ef=l(95937);let eg=e=>{var s,l,r,c,o,m,u,x,h,p,f,y;let{open:N,onClose:b}=e,[w,C]=(0,t.useState)(null),[_,S]=(0,t.useState)(null),[A,k]=(0,t.useState)(!1),T=(0,t.useRef)(null),I=(0,j.Ji)(),{mutate:Z,isLoading:z}=(0,j.uC)(),{mutate:E,isLoading:P}=(0,j.uC)(),F=async e=>{if(!e||!e.name.endsWith(".json")){g.Am.error("Please select a valid JSON file");return}C(e);let s=new FormData;s.append("rolesPermissions",e),Z({url:"".concat(I,"/permissions-preview-import"),method:"post",values:s},{onSuccess:e=>{S(null==e?void 0:e.data)},onError:e=>{g.Am.error("Error analyzing file: ".concat(e.message)),S(null)}})},O=async()=>{if(!w)return;let e=new FormData;e.append("rolesPermissions",w),E({url:"".concat(I,"/permissions-import"),method:"post",values:e},{onSuccess:()=>{g.Am.success("Permissions imported successfully"),L()},onError:e=>{g.Am.error("Error importing permissions: ".concat(e.message))}})},L=()=>{C(null),S(null),b()},D=e=>{if(!e)return null;let{added:s,modified:l,removed:t}=e;return(0,a.jsxs)("div",{className:"ml-6 mt-2 space-y-2 text-xs",children:[(null==s?void 0:s.length)>0&&(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("span",{className:"text-green-600 font-medium",children:"Added permissions:"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:s.map((e,s)=>{let[l,t]=e.split(":");return(0,a.jsxs)(n.C,{variant:"outline",className:"text-green-600 border-green-600",children:[l," ",(0,a.jsxs)("span",{className:"ml-1 opacity-70",children:["(",t,")"]})]},s)})})]}),(null==l?void 0:l.length)>0&&(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("span",{className:"text-yellow-600 font-medium",children:"Modified permissions:"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:l.map((e,s)=>{let[l,t]=e.permission.split(":");return(0,a.jsxs)(n.C,{variant:"outline",className:"text-yellow-600 border-yellow-600",children:[l," ",(0,a.jsxs)("span",{className:"ml-1 opacity-70",children:["(",t,")"]})]},s)})})]}),(null==t?void 0:t.length)>0&&(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("span",{className:"text-red-600 font-medium",children:"Removed permissions:"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:t.map((e,s)=>{let[l,t]=e.split(":");return(0,a.jsxs)(n.C,{variant:"outline",className:"text-red-600 border-red-600",children:[l," ",(0,a.jsxs)("span",{className:"ml-1 opacity-70",children:["(",t,")"]})]},s)})})]})]})},V=(e,s)=>{if(!e||0===e.length)return(0,a.jsx)("p",{className:"text-sm text-muted-foreground py-2",children:"No items"});let l=()=>{switch(s){case"new":return(0,a.jsx)(ep.Z,{className:"h-4 w-4 text-green-600"});case"modified":return(0,a.jsx)(ej.Z,{className:"h-4 w-4 text-yellow-600"});case"deleted":return(0,a.jsx)(d.Z,{className:"h-4 w-4 text-red-600"});case"unchanged":return(0,a.jsx)(Q.Z,{className:"h-4 w-4 text-green-600"})}};return(0,a.jsx)("ul",{className:"space-y-2",children:e.map((e,s)=>{var t,i,r,c,d;return(0,a.jsxs)("li",{className:"flex flex-col py-2 border-b last:border-0",children:[(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[l(),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("span",{className:"text-sm font-medium",children:"string"==typeof e?e:e.name}),(null===(t=e.differences)||void 0===t?void 0:t.permissions)&&(0,a.jsxs)("div",{className:"flex gap-1 mt-1 flex-wrap",children:[(null===(i=e.differences.permissions.added)||void 0===i?void 0:i.length)>0&&(0,a.jsxs)(n.C,{variant:"outline",className:"text-green-600 border-green-600 text-xs",children:["+",e.differences.permissions.added.length," added"]}),(null===(r=e.differences.permissions.modified)||void 0===r?void 0:r.length)>0&&(0,a.jsxs)(n.C,{variant:"outline",className:"text-yellow-600 border-yellow-600 text-xs",children:["~",e.differences.permissions.modified.length," modified"]}),(null===(c=e.differences.permissions.removed)||void 0===c?void 0:c.length)>0&&(0,a.jsxs)(n.C,{variant:"outline",className:"text-red-600 border-red-600 text-xs",children:["-",e.differences.permissions.removed.length," removed"]})]})]})]}),(null===(d=e.differences)||void 0===d?void 0:d.permissions)&&D(e.differences.permissions)]},s)})})};return(0,a.jsx)(em.yo,{open:N,onOpenChange:e=>!e&&L(),children:(0,a.jsxs)(em.ue,{className:"w-[600px] sm:max-w-[600px] overflow-y-auto",children:[(0,a.jsxs)(em.Tu,{className:"flex flex-row items-center justify-between",children:[(0,a.jsx)(em.bC,{children:"Import Permissions"}),_&&(0,a.jsxs)(i.z,{onClick:O,disabled:P,children:[P&&(0,a.jsx)(v.Z,{className:"mr-2 h-4 w-4 animate-spin"}),"Confirm Import"]})]}),(0,a.jsxs)("div",{className:"mt-6 space-y-4",children:[(0,a.jsxs)("div",{className:"border-2 border-dashed rounded-lg p-8 text-center transition-colors ".concat(A?"border-primary bg-primary/5":"border-muted-foreground/25 hover:border-primary/50"),onDragOver:e=>{e.preventDefault(),k(!0)},onDragLeave:e=>{e.preventDefault(),k(!1)},onDrop:e=>{e.preventDefault(),k(!1);let s=e.dataTransfer.files[0];s&&F(s)},onClick:()=>{var e;return null===(e=T.current)||void 0===e?void 0:e.click()},children:[(0,a.jsx)("input",{ref:T,type:"file",accept:".json",className:"hidden",onChange:e=>{var s;let l=null===(s=e.target.files)||void 0===s?void 0:s[0];l&&F(l)}}),(0,a.jsx)(W.Z,{className:"h-10 w-10 mx-auto text-muted-foreground mb-4"}),(0,a.jsx)("p",{className:"text-sm font-medium",children:"Click or drag permissions file to upload"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Support for single JSON file upload only"}),w&&(0,a.jsxs)("div",{className:"mt-4 flex items-center justify-center gap-2 text-sm",children:[(0,a.jsx)(ev.Z,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:w.name})]})]}),z&&(0,a.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,a.jsx)(v.Z,{className:"h-6 w-6 animate-spin mr-2"}),(0,a.jsx)("span",{children:"Analyzing permission changes..."})]}),_&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)(ef.bZ,{children:[(0,a.jsx)(Q.Z,{className:"h-4 w-4"}),(0,a.jsx)(ef.Cd,{children:"Permissions Analysis Complete"}),(0,a.jsxs)(ef.X,{children:["Import version: ",_.importVersion," (",_.importTimestamp,")"]})]}),(0,a.jsxs)(et,{type:"multiple",defaultValue:["new","modified","deleted","unchanged"],children:[(0,a.jsxs)(en,{value:"new",children:[(0,a.jsx)(ei,{children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ep.Z,{className:"h-4 w-4 text-green-600"}),"New Roles (",(null===(l=_.changes)||void 0===l?void 0:null===(s=l.new)||void 0===s?void 0:s.length)||0,")"]})}),(0,a.jsx)(er,{children:V(null===(r=_.changes)||void 0===r?void 0:r.new,"new")})]}),(0,a.jsxs)(en,{value:"modified",children:[(0,a.jsx)(ei,{children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.Z,{className:"h-4 w-4 text-yellow-600"}),"Modified Roles (",(null===(o=_.changes)||void 0===o?void 0:null===(c=o.modified)||void 0===c?void 0:c.length)||0,")"]})}),(0,a.jsx)(er,{children:V(null===(m=_.changes)||void 0===m?void 0:m.modified,"modified")})]}),(0,a.jsxs)(en,{value:"deleted",children:[(0,a.jsx)(ei,{children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(d.Z,{className:"h-4 w-4 text-red-600"}),"Deleted Roles (",(null===(x=_.changes)||void 0===x?void 0:null===(u=x.deleted)||void 0===u?void 0:u.length)||0,")"]})}),(0,a.jsx)(er,{children:V(null===(h=_.changes)||void 0===h?void 0:h.deleted,"deleted")})]}),(0,a.jsxs)(en,{value:"unchanged",children:[(0,a.jsx)(ei,{children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(Q.Z,{className:"h-4 w-4 text-green-600"}),"Unchanged Roles (",(null===(f=_.changes)||void 0===f?void 0:null===(p=f.unchanged)||void 0===p?void 0:p.length)||0,")"]})}),(0,a.jsx)(er,{children:V(null===(y=_.changes)||void 0===y?void 0:y.unchanged,"unchanged")})]})]})]})]})]})})},ey=["create","read","update","delete"],eN=()=>{var e,s;let[l,n]=(0,t.useState)("all"),[r,d]=(0,t.useState)("all"),[o,u]=(0,t.useState)(!1),[x,h]=(0,t.useState)(!1),[p,f]=(0,t.useState)(!1),[y,N]=(0,t.useState)(null),[b,w]=(0,t.useState)("create"),_=(0,j.Ji)(),{schemas:A}=(0,ee.I_)(),{data:k,isLoading:T,refetch:I}=(0,j.sm)({resource:"baasix_Role",filters:[{field:"name",operator:"ne",value:"administrator"}],pagination:{pageSize:-1}}),{data:Z,isLoading:z,refetch:E}=(0,j.sm)({resource:"permissions",meta:{fields:["*","role.id","role.name"]},pagination:{pageSize:-1}}),{refetch:P,isFetching:F}=(0,j.EV)({url:"".concat(_,"/permissions-export"),method:"get",queryOptions:{enabled:!1,retry:!1}}),O=async()=>{try{let e=await P(),s=null==e?void 0:e.data;if(!(null==s?void 0:s.data)||(null==s?void 0:s.data.length)===0){g.Am.error("No permissions found to export");return}let l=window.URL.createObjectURL(new Blob([JSON.stringify(null==s?void 0:s.data)])),a=document.createElement("a");a.href=l,a.setAttribute("download","roles-permissions-export-".concat(Date.now(),".json")),document.body.appendChild(a),a.click(),a.remove(),window.URL.revokeObjectURL(l),g.Am.success("Permissions exported successfully")}catch(e){g.Am.error("Error exporting permissions: ".concat(e.message))}},L=(0,t.useMemo)(()=>{if(!(null==Z?void 0:Z.data)||!(null==k?void 0:k.data)||!A)return{};let e={};return A.forEach(s=>{e[s.collectionName]||(e[s.collectionName]={}),k.data.forEach(l=>{e[s.collectionName][l.id]={create:null,read:null,update:null,delete:null}})}),Z.data.forEach(s=>{e[s.collection]&&e[s.collection][s.role_Id]&&(e[s.collection][s.role_Id][s.action]=s)}),e},[Z,k,A]),D=(null==k?void 0:k.data)||[],V=A||[],M=(0,t.useMemo)(()=>{if(!V)return[];let e=Object.keys(L);return r&&"all"!==r&&(e=e.filter(e=>e.toLowerCase().includes(r.toLowerCase()))),e},[L,r,V]),R=(e,s,l)=>{N({collection:e,roleId:s,action:l}),w("create"),h(!0)},B=e=>{N(e),w("edit"),h(!0)},U=(e,s,l,t)=>{if(!e)return(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",className:"h-8 w-8 text-destructive hover:text-destructive",onClick:()=>R(s,l,t),children:(0,a.jsx)(J.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:"Grant Access"})]});let n=e.fields&&("string"==typeof e.fields?"*"!==e.fields:!(1===e.fields.length&&"*"===e.fields[0]))||e.conditions;return(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",className:(0,ea.cn)("h-8 w-8",n?"text-yellow-600 hover:text-yellow-700":"text-green-600 hover:text-green-700"),onClick:()=>B(e),children:n?(0,a.jsx)(c.Z,{className:"h-4 w-4"}):(0,a.jsx)(Q.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:n?"Edit Specific Permissions":"Full Access Granted"})]})};return T||z?(0,a.jsxs)(C.Zb,{children:[(0,a.jsxs)(C.Ol,{children:[(0,a.jsx)(S.O,{className:"h-6 w-48"}),(0,a.jsx)(S.O,{className:"h-4 w-96 mt-2"})]}),(0,a.jsx)(C.aY,{className:"space-y-4",children:Array.from({length:5}).map((e,s)=>(0,a.jsx)(S.O,{className:"h-16 w-full"},s))})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"flex flex-col h-full overflow-hidden",children:(0,a.jsxs)(C.Zb,{className:"flex flex-col flex-1 overflow-hidden",children:[(0,a.jsxs)(C.Ol,{className:"flex flex-row items-center justify-between flex-wrap gap-2 flex-shrink-0",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)(C.ll,{className:"flex items-center gap-2",children:[(0,a.jsx)(q.Z,{className:"h-5 w-5"}),"Permissions Management"]}),(0,a.jsx)(C.SZ,{children:"Manage access control for collections and actions"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsxs)(G.Ph,{value:l,onValueChange:n,children:[(0,a.jsxs)(G.i4,{className:"w-[180px]",children:[(0,a.jsx)(Y.Z,{className:"h-4 w-4 mr-2"}),(0,a.jsx)(G.ki,{placeholder:"Filter by role"})]}),(0,a.jsxs)(G.Bw,{children:[(0,a.jsx)(G.Ql,{value:"all",children:"All Roles"}),D.map(e=>(0,a.jsx)(G.Ql,{value:e.id,children:e.name},e.id))]})]}),(0,a.jsxs)(ec.J2,{open:o,onOpenChange:u,children:[(0,a.jsx)(ec.xo,{asChild:!0,children:(0,a.jsxs)(i.z,{variant:"outline",role:"combobox","aria-expanded":o,className:"w-[220px] justify-between font-normal",children:[(0,a.jsxs)("div",{className:"flex items-center truncate",children:[(0,a.jsx)(K.Z,{className:"h-4 w-4 mr-2 shrink-0"}),(0,a.jsx)("span",{className:"truncate",children:"all"===r?"All Collections":(null===(s=V.find(e=>e.collectionName===r))||void 0===s?void 0:null===(e=s.schema)||void 0===e?void 0:e.name)||r})]}),(0,a.jsx)(H.Z,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),(0,a.jsx)(ec.yk,{className:"w-[220px] p-0",children:(0,a.jsxs)(ed.mY,{children:[(0,a.jsx)(ed.sZ,{placeholder:"Search collections..."}),(0,a.jsxs)(ed.e8,{children:[(0,a.jsx)(ed.rb,{children:"No collection found."}),(0,a.jsxs)(ed.fu,{children:[(0,a.jsxs)(ed.di,{value:"all",onSelect:()=>{d("all"),u(!1)},children:[(0,a.jsx)(Q.Z,{className:(0,ea.cn)("mr-2 h-4 w-4","all"===r?"opacity-100":"opacity-0")}),"All Collections"]}),V.map(e=>{var s,l;return(0,a.jsxs)(ed.di,{value:(null===(s=e.schema)||void 0===s?void 0:s.name)||e.collectionName,onSelect:()=>{d(e.collectionName),u(!1)},children:[(0,a.jsx)(Q.Z,{className:(0,ea.cn)("mr-2 h-4 w-4",r===e.collectionName?"opacity-100":"opacity-0")}),(null===(l=e.schema)||void 0===l?void 0:l.name)||e.collectionName]},e.collectionName)})]})]})]})})]}),(0,a.jsxs)(i.z,{variant:"outline",onClick:()=>f(!0),children:[(0,a.jsx)(W.Z,{className:"h-4 w-4 mr-2"}),"Import"]}),(0,a.jsxs)(i.z,{variant:"outline",onClick:()=>O(),disabled:F,children:[F?(0,a.jsx)(v.Z,{className:"h-4 w-4 mr-2 animate-spin"}):(0,a.jsx)($.Z,{className:"h-4 w-4 mr-2"}),"Export"]})]})]}),(0,a.jsx)("div",{className:"sticky top-0 z-10 bg-background border-y px-4 py-2 flex-shrink-0",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"font-medium",children:"Role"}),(0,a.jsx)("div",{className:"flex items-center gap-2",children:ey.map(e=>(0,a.jsx)("div",{className:"w-[80px] text-center text-sm text-muted-foreground font-medium capitalize",children:e},e))})]})}),(0,a.jsx)(C.aY,{className:"pt-0 flex-1 overflow-auto",children:(0,a.jsx)(et,{type:"multiple",defaultValue:M,className:"w-full",children:M.map(e=>(0,a.jsxs)(en,{value:e,children:[(0,a.jsx)(ei,{className:"hover:no-underline",children:(0,a.jsx)("span",{className:"font-medium",children:e})}),(0,a.jsx)(er,{children:(0,a.jsx)(X.iA,{children:(0,a.jsx)(X.RM,{children:D.filter(e=>"all"===l||e.id===l).map(s=>(0,a.jsxs)(X.SC,{children:[(0,a.jsx)(X.pj,{className:"font-medium",children:s.name}),(0,a.jsx)(X.pj,{className:"text-right",children:(0,a.jsx)("div",{className:"flex items-center justify-end gap-2",children:ey.map(l=>{var t,n;let i=null===(n=L[e])||void 0===n?void 0:null===(t=n[s.id])||void 0===t?void 0:t[l];return(0,a.jsx)("div",{className:"w-[80px] flex justify-center",children:U(i,e,s.id,l)},l)})})})]},s.id))})})})]},e))})})]})}),(0,a.jsx)(eh,{open:x,onClose:()=>{h(!1),N(null),E()},permissionId:"edit"===b?null==y?void 0:y.id:void 0,mode:b,defaultValues:"create"===b?{collection:null==y?void 0:y.collection,roleId:null==y?void 0:y.roleId,action:null==y?void 0:y.action}:void 0}),(0,a.jsx)(eg,{open:p,onClose:()=>{f(!1),I(),E()}})]})};var eb=l(99376),ew=l(89345),eC=l(48736),e_=l(98420),eS=l(78867),eA=l(12805),ek=l(69076),eT=l(90641);let eI={type:"",subject:"",body:"",tenant_Id:null,isActive:!0,description:""},eZ=()=>{var e,s,l,o,u;let x=(0,eb.useRouter)(),[h,f]=(0,t.useState)("all"),[A,k]=(0,t.useState)("all"),[T,I]=(0,t.useState)("updatedAt"),[Z,z]=(0,t.useState)("desc"),[E,P]=(0,t.useState)(!1),[F,O]=(0,t.useState)(!1),[L,D]=(0,t.useState)(!1),[V,M]=(0,t.useState)(null),[R,B]=(0,t.useState)("create"),[U,J]=(0,t.useState)(eI),[Q,q]=(0,t.useState)(!1),[Y,K]=(0,t.useState)(!1),[H,W]=(0,t.useState)(null),$=(0,j.Ji)(),ee=(0,j.x5)(),{data:es}=(0,j.EV)({url:"".concat($,"/templates/types"),method:"get"}),el=(null==es?void 0:null===(s=es.data)||void 0===s?void 0:null===(e=s.data)||void 0===e?void 0:e.types)||[],ea=(null==es?void 0:null===(o=es.data)||void 0===o?void 0:null===(l=o.data)||void 0===l?void 0:l.commonVariables)||[],{data:et,isLoading:en,refetch:ei}=(0,j.sm)({resource:"baasix_Template",meta:{fields:["*","tenant.id","tenant.name"]},pagination:{pageSize:-1},sorters:[{field:T,order:Z}]}),{data:er}=(0,j.sm)({resource:"baasix_Tenant",pagination:{pageSize:-1}}),{mutateAsync:ec}=(0,j.RO)(),{mutateAsync:ed}=(0,j.PQ)(),{mutateAsync:eo}=(0,j.R2)(),eu=(null==et?void 0:et.data)||[],ex=(null==er?void 0:er.data)||[],eh=(0,t.useMemo)(()=>{let e=el.map(e=>({value:e.type,label:e.label})),s=eu.map(e=>e.type).filter(s=>!e.find(e=>e.value===s)).map(e=>({value:e,label:e}));return[...e,...s]},[el,eu]),ej=(0,t.useMemo)(()=>eu.filter(e=>{let s="all"===h||e.type===h,l="all"===A||"default"===A&&!e.tenant_Id||e.tenant_Id===A;return s&&l}),[eu,h,A]),ev=e=>eu.filter(s=>s.type===e).length,ef=function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let s=el.find(s=>s.type===e);return s?s.label:e},eg=e=>{let s=el.find(s=>s.type===e);return(null==s?void 0:s.variables)||[]},ey=async e=>{W(e);try{var s;let l=ee();if(!l.custom)throw Error("Data provider does not support custom method");let a=await l.custom({url:"".concat($,"/templates/default/").concat(e),method:"get"}),t=null==a?void 0:null===(s=a.data)||void 0===s?void 0:s.data;t?(J(e=>({...e,subject:t.subject||e.subject,body:t.body||e.body,description:t.description||e.description})),g.Am.success("Default template loaded")):g.Am.info("No default template available for this type")}catch(e){console.error("Load default template error:",e),g.Am.error("Failed to load default template")}finally{W(null)}};(0,t.useEffect)(()=>{"create"===R&&U.type&&!Y&&ey(U.type)},[U.type,R,Y]);let eN=e=>{J({type:e.type,subject:e.subject,body:e.body,tenant_Id:e.tenant_Id,isActive:e.isActive,description:e.description||""}),M(e),B("edit"),K(!1),P(!0)},eZ=e=>{x.push("/settings/templates/edit?id=".concat(e.id))},ez=e=>{M(e),O(!0)},eE=e=>{M(e),D(!0)},eP=async()=>{if(!U.type||!U.subject){g.Am.error("Please fill in type and subject");return}if("create"===R&&!U.body&&!Y){g.Am.error("Please select a template type to load default content");return}let e={...U};Y&&!e.body&&(e.body="<p>Email content for ".concat(U.type,"</p>")),q(!0);try{"create"===R?(await ec({resource:"baasix_Template",values:e}),g.Am.success("Template created successfully")):V&&(await ed({resource:"baasix_Template",id:V.id,values:U}),g.Am.success("Template updated successfully")),P(!1),ei()}catch(e){g.Am.error(e.message||"Failed to save template")}finally{q(!1)}},eF=async()=>{if(V)try{await eo({resource:"baasix_Template",id:V.id}),g.Am.success("Template deleted successfully"),D(!1),ei()}catch(e){g.Am.error(e.message||"Failed to delete template")}},eO=e=>{J({type:e.type,subject:e.subject,body:e.body,tenant_Id:null,isActive:!0,description:e.description||""}),M(null),B("create"),K(!1),P(!0),g.Am.info("Template duplicated - modify and save as new")};return en?(0,a.jsxs)(C.Zb,{className:"h-full",children:[(0,a.jsx)(C.Ol,{children:(0,a.jsxs)(C.ll,{className:"flex items-center gap-2",children:[(0,a.jsx)(ew.Z,{className:"h-5 w-5"}),"Email Templates"]})}),(0,a.jsx)(C.aY,{children:(0,a.jsx)("div",{className:"space-y-3",children:[1,2,3,4,5].map(e=>(0,a.jsx)(S.O,{className:"h-12 w-full"},e))})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(C.Zb,{className:"h-full flex flex-col",children:[(0,a.jsx)(C.Ol,{className:"flex-shrink-0",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)(C.ll,{className:"flex items-center gap-2",children:[(0,a.jsx)(ew.Z,{className:"h-5 w-5"}),"Email Templates"]}),(0,a.jsx)(C.SZ,{children:"Manage email templates for system notifications. Create tenant-specific overrides for customized branding."})]}),(0,a.jsxs)(i.z,{onClick:()=>{J(eI),M(null),B("create"),K(!1),P(!0)},children:[(0,a.jsx)(ep.Z,{className:"h-4 w-4 mr-2"}),"Add Template"]})]})}),(0,a.jsxs)(C.aY,{className:"flex-1 overflow-hidden flex flex-col",children:[(0,a.jsxs)("div",{className:"flex flex-wrap gap-4 mb-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(N._,{className:"text-sm whitespace-nowrap",children:"Type:"}),(0,a.jsxs)(G.Ph,{value:h,onValueChange:f,children:[(0,a.jsx)(G.i4,{className:"w-[180px]",children:(0,a.jsx)(G.ki,{placeholder:"All Types"})}),(0,a.jsxs)(G.Bw,{children:[(0,a.jsx)(G.Ql,{value:"all",children:"All Types"}),eh.map(e=>{let s=el.some(s=>s.type===e.value)?e.label:e.value;return(0,a.jsxs)(G.Ql,{value:e.value,children:[s," (",ev(e.value),")"]},e.value)})]})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(N._,{className:"text-sm whitespace-nowrap",children:"Tenant:"}),(0,a.jsxs)(G.Ph,{value:A,onValueChange:k,children:[(0,a.jsx)(G.i4,{className:"w-[180px]",children:(0,a.jsx)(G.ki,{placeholder:"All Tenants"})}),(0,a.jsxs)(G.Bw,{children:[(0,a.jsx)(G.Ql,{value:"all",children:"All Tenants"}),(0,a.jsx)(G.Ql,{value:"default",children:"Default (No Tenant)"}),ex.map(e=>(0,a.jsx)(G.Ql,{value:e.id,children:e.name},e.id))]})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(N._,{className:"text-sm whitespace-nowrap",children:"Sort:"}),(0,a.jsxs)(G.Ph,{value:"".concat(T,":").concat(Z),onValueChange:e=>{let[s,l]=e.split(":");I(s),z(l)},children:[(0,a.jsx)(G.i4,{className:"w-[180px]",children:(0,a.jsx)(G.ki,{placeholder:"Sort by"})}),(0,a.jsxs)(G.Bw,{children:[(0,a.jsx)(G.Ql,{value:"updatedAt:desc",children:"Recently Updated"}),(0,a.jsx)(G.Ql,{value:"updatedAt:asc",children:"Oldest Updated"}),(0,a.jsx)(G.Ql,{value:"createdAt:desc",children:"Recently Created"}),(0,a.jsx)(G.Ql,{value:"createdAt:asc",children:"Oldest Created"}),(0,a.jsx)(G.Ql,{value:"type:asc",children:"Type (A-Z)"}),(0,a.jsx)(G.Ql,{value:"type:desc",children:"Type (Z-A)"})]})]})]})]}),(0,a.jsx)(eT.x,{className:"flex-1",children:(0,a.jsxs)(X.iA,{children:[(0,a.jsx)(X.xD,{children:(0,a.jsxs)(X.SC,{children:[(0,a.jsx)(X.ss,{children:"Type"}),(0,a.jsx)(X.ss,{children:"Subject"}),(0,a.jsx)(X.ss,{children:"Tenant"}),(0,a.jsx)(X.ss,{children:"Status"}),(0,a.jsx)(X.ss,{children:"Updated"}),(0,a.jsx)(X.ss,{className:"text-right",children:"Actions"})]})}),(0,a.jsx)(X.RM,{children:0===ej.length?(0,a.jsx)(X.SC,{children:(0,a.jsx)(X.pj,{colSpan:6,className:"text-center text-muted-foreground py-8",children:"No templates found. Create one to get started."})}):ej.map(e=>{let s=el.some(s=>s.type===e.type);return(0,a.jsxs)(X.SC,{children:[(0,a.jsx)(X.pj,{children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(eC.Z,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("span",{className:"font-medium",children:ef(e.type)})]}),s&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground ml-6 font-mono",children:e.type})]})}),(0,a.jsx)(X.pj,{className:"max-w-[300px] truncate",children:e.subject}),(0,a.jsx)(X.pj,{children:e.tenant?(0,a.jsxs)(n.C,{variant:"outline",className:"flex items-center gap-1 w-fit",children:[(0,a.jsx)(e_.Z,{className:"h-3 w-3"}),e.tenant.name]}):(0,a.jsx)(n.C,{variant:"secondary",children:"Default"})}),(0,a.jsx)(X.pj,{children:(0,a.jsx)(n.C,{variant:e.isActive?"default":"secondary",children:e.isActive?"Active":"Inactive"})}),(0,a.jsx)(X.pj,{className:"text-muted-foreground text-sm",children:e.updatedAt?new Date(e.updatedAt).toLocaleDateString():"-"}),(0,a.jsx)(X.pj,{className:"text-right",children:(0,a.jsx)(m.pn,{children:(0,a.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",onClick:()=>ez(e),children:(0,a.jsx)(r.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:"Preview"})]}),(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",onClick:()=>eO(e),children:(0,a.jsx)(eS.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:"Duplicate"})]}),(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",onClick:()=>eN(e),children:(0,a.jsx)(c.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:"Edit Details"})]}),(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",onClick:()=>eZ(e),children:(0,a.jsx)(eA.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:"Code Editor"})]}),(0,a.jsxs)(m.u,{children:[(0,a.jsx)(m.aJ,{asChild:!0,children:(0,a.jsx)(i.z,{variant:"ghost",size:"icon",onClick:()=>eE(e),className:"text-destructive hover:text-destructive",children:(0,a.jsx)(d.Z,{className:"h-4 w-4"})})}),(0,a.jsx)(m._v,{children:"Delete"})]})]})})})]},e.id)})})]})})]})]}),(0,a.jsx)(em.yo,{open:E,onOpenChange:P,children:(0,a.jsxs)(em.ue,{className:"w-full sm:max-w-[500px] overflow-y-auto",children:[(0,a.jsxs)(em.Tu,{children:[(0,a.jsx)(em.bC,{children:"create"===R?"Create Email Template":"Edit Email Template"}),(0,a.jsx)(em.Ei,{children:"create"===R?"Create a new email template. Select a type to auto-load the default template.":"Edit template details. Use the Designer button to modify the email design."})]}),(0,a.jsxs)("div",{className:"mt-6 space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"type",children:"Template Type *"}),"edit"===R?(0,a.jsx)(y.I,{value:ef(U.type),disabled:!0,className:"bg-muted"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(G.Ph,{value:Y?"__custom__":U.type,onValueChange:e=>{"__custom__"===e?(J({...U,type:"",body:""}),K(!0)):(J({...U,type:e}),K(!1))},children:[(0,a.jsx)(G.i4,{children:(0,a.jsx)(G.ki,{placeholder:"Select type"})}),(0,a.jsxs)(G.Bw,{children:[el.map(e=>(0,a.jsx)(G.Ql,{value:e.type,children:e.label},e.type)),(0,a.jsx)(G.Ql,{value:"__custom__",children:"+ Custom Type..."})]})]}),Y&&(0,a.jsx)(y.I,{value:U.type,onChange:e=>J({...U,type:e.target.value}),placeholder:"Enter custom type name (e.g., orderConfirmation)",className:"mt-2",autoFocus:!0})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"tenant",children:"Tenant"}),(0,a.jsxs)(G.Ph,{value:U.tenant_Id||"default",onValueChange:e=>J({...U,tenant_Id:"default"===e?null:e}),children:[(0,a.jsx)(G.i4,{children:(0,a.jsx)(G.ki,{placeholder:"Select tenant"})}),(0,a.jsxs)(G.Bw,{children:[(0,a.jsx)(G.Ql,{value:"default",children:"Default (No Tenant)"}),ex.map(e=>(0,a.jsx)(G.Ql,{value:e.id,children:e.name},e.id))]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"subject",children:"Subject Line *"}),(0,a.jsx)(y.I,{id:"subject",value:U.subject,onChange:e=>J({...U,subject:e.target.value}),placeholder:"Enter email subject (supports Liquid variables)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"description",children:"Description"}),(0,a.jsx)(b.g,{id:"description",value:U.description,onChange:e=>J({...U,description:e.target.value}),placeholder:"Optional description of the template",rows:2})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)(w.r,{id:"isActive",checked:U.isActive,onCheckedChange:e=>J({...U,isActive:e})}),(0,a.jsx)(N._,{htmlFor:"isActive",children:"Active"})]}),U.type&&(e=>{let s=Array.from(new Set([...eg(e),...ea]));return 0===s.length?null:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{className:"text-sm",children:"Available Variables (click to copy)"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:s.map(e=>(0,a.jsx)(n.C,{variant:"secondary",className:"cursor-pointer hover:bg-secondary/80 text-xs",onClick:()=>{navigator.clipboard.writeText("{{ ".concat(e," }}")),g.Am.success("Copied {{ ".concat(e," }}"))},children:"{{ "+e+" }}"},e))})]})})(U.type),"create"===R&&U.type&&!Y&&(0,a.jsx)("div",{className:"flex items-center gap-2 p-3 bg-muted rounded-md",children:H?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.Z,{className:"h-4 w-4 animate-spin"}),(0,a.jsx)("span",{className:"text-sm",children:"Loading default template..."})]}):U.body?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"Default template loaded. Use the Designer after creation to customize."}),(0,a.jsxs)(i.z,{type:"button",variant:"ghost",size:"sm",onClick:()=>ey(U.type),children:[(0,a.jsx)(ek.Z,{className:"h-3 w-3 mr-1"}),"Reload"]})]}):(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"No default template available for this type."})}),"create"===R&&Y&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"p-3 bg-blue-50 dark:bg-blue-950 rounded-md border border-blue-200 dark:border-blue-800",children:(0,a.jsxs)("p",{className:"text-sm text-blue-700 dark:text-blue-300",children:[(0,a.jsx)("strong",{children:"Custom Template:"})," You can leave the body empty and use the Designer after creation, or provide basic HTML content below."]})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(N._,{htmlFor:"customBody",children:"Email Body (Optional HTML)"}),(0,a.jsx)(b.g,{id:"customBody",value:U.body,onChange:e=>J({...U,body:e.target.value}),placeholder:"<p>Your email content here...</p>",rows:6,className:"font-mono text-sm"})]})]}),"edit"===R&&(0,a.jsx)("div",{className:"p-3 bg-muted rounded-md",children:(0,a.jsxs)("p",{className:"text-sm text-muted-foreground",children:["To edit the email design, save changes here first, then use the ",(0,a.jsx)(c.Z,{className:"h-3 w-3 inline mx-1"})," Edit button from the list."]})})]}),(0,a.jsxs)(em.FF,{className:"mt-6",children:[(0,a.jsx)(i.z,{variant:"outline",onClick:()=>P(!1),children:"Cancel"}),(0,a.jsxs)(i.z,{onClick:eP,disabled:Q,children:[Q&&(0,a.jsx)(v.Z,{className:"h-4 w-4 mr-2 animate-spin"}),"create"===R?"Create Template":"Save Changes"]})]})]})}),(0,a.jsx)(p.Vq,{open:F,onOpenChange:O,children:(0,a.jsxs)(p.cZ,{className:"max-w-[800px] max-h-[90vh] overflow-y-auto",children:[(0,a.jsxs)(p.fK,{children:[(0,a.jsx)(p.$N,{children:"Template Preview"}),(0,a.jsxs)(p.Be,{children:[V&&ef(V.type),(null==V?void 0:V.tenant)&&" - ".concat(V.tenant.name)]})]}),V&&(0,a.jsxs)(_.mQ,{defaultValue:"rendered",className:"mt-4",children:[(0,a.jsxs)(_.dr,{children:[(0,a.jsx)(_.SP,{value:"rendered",children:"Rendered"}),(0,a.jsx)(_.SP,{value:"source",children:"Source"})]}),(0,a.jsx)(_.nU,{value:"rendered",className:"mt-4",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(N._,{className:"text-sm text-muted-foreground",children:"Subject:"}),(0,a.jsx)("p",{className:"font-medium",children:V.subject})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(N._,{className:"text-sm text-muted-foreground",children:"Body:"}),(0,a.jsx)("div",{className:"mt-2 border rounded-md p-4 prose prose-sm dark:prose-invert max-w-none bg-white dark:bg-gray-950",dangerouslySetInnerHTML:{__html:V.body}})]})]})}),(0,a.jsx)(_.nU,{value:"source",className:"mt-4",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(N._,{className:"text-sm text-muted-foreground",children:"Subject:"}),(0,a.jsx)("pre",{className:"mt-1 p-2 bg-muted rounded text-sm overflow-x-auto",children:V.subject})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(N._,{className:"text-sm text-muted-foreground",children:"Body HTML:"}),(0,a.jsx)("pre",{className:"mt-1 p-2 bg-muted rounded text-sm overflow-x-auto max-h-[400px]",children:V.body})]})]})})]})]})}),(0,a.jsx)(p.Vq,{open:L,onOpenChange:D,children:(0,a.jsxs)(p.cZ,{children:[(0,a.jsxs)(p.fK,{children:[(0,a.jsx)(p.$N,{children:"Delete Template"}),(0,a.jsx)(p.Be,{children:"Are you sure you want to delete this template? This action cannot be undone."})]}),V&&(0,a.jsxs)("div",{className:"py-4",children:[(0,a.jsxs)("p",{className:"text-sm",children:[(0,a.jsx)("span",{className:"font-medium",children:"Type:"})," ",ef(V.type)]}),(0,a.jsxs)("p",{className:"text-sm",children:[(0,a.jsx)("span",{className:"font-medium",children:"Tenant:"})," ",(null===(u=V.tenant)||void 0===u?void 0:u.name)||"Default"]})]}),(0,a.jsxs)(p.cN,{children:[(0,a.jsx)(i.z,{variant:"outline",onClick:()=>D(!1),children:"Cancel"}),(0,a.jsx)(i.z,{variant:"destructive",onClick:eF,children:"Delete"})]})]})})]})}},69140:function(e,s,l){l.d(s,{O:function(){return n}});var a=l(57437),t=l(93448);function n(e){let{className:s,...l}=e;return(0,a.jsx)("div",{className:(0,t.cn)("animate-pulse rounded-md bg-muted",s),...l})}}}]);
|
|
@@ -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-\[220px\]{width:220px}.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}.\[\&_span\.text-muted-foreground\]\:hidden span.text-muted-foreground{display:none}.\[\&_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/8572ff91c3639efa.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-953623aeb7ba634a.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/7304-9584593752db7f07.js" async=""></script><script src="/admin/_next/static/chunks/3817-5954b08d65ca55fa.js" async=""></script><script src="/admin/_next/static/chunks/app/(authenticated)/activity-log/all-activity/page-ff48b4acd0fc42fe.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-64ac14a534e2809b.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-953623aeb7ba634a.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/8572ff91c3639efa.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\",\"7304\",\"static/chunks/7304-9584593752db7f07.js\",\"3817\",\"static/chunks/3817-5954b08d65ca55fa.js\",\"8037\",\"static/chunks/app/(authenticated)/activity-log/all-activity/page-ff48b4acd0fc42fe.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\",\"7304\",\"static/chunks/7304-9584593752db7f07.js\",\"3185\",\"static/chunks/app/layout-64ac14a534e2809b.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\":\"w3Y5nTHKmGQsFrOusYhke\",\"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/8572ff91c3639efa.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/17a2e01c4184b106.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/admin/_next/static/chunks/webpack-953623aeb7ba634a.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/7304-9584593752db7f07.js" async=""></script><script src="/admin/_next/static/chunks/3817-5954b08d65ca55fa.js" async=""></script><script src="/admin/_next/static/chunks/app/(authenticated)/activity-log/all-activity/page-ff48b4acd0fc42fe.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-64ac14a534e2809b.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-953623aeb7ba634a.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/17a2e01c4184b106.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\",\"7304\",\"static/chunks/7304-9584593752db7f07.js\",\"3817\",\"static/chunks/3817-5954b08d65ca55fa.js\",\"8037\",\"static/chunks/app/(authenticated)/activity-log/all-activity/page-ff48b4acd0fc42fe.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\",\"7304\",\"static/chunks/7304-9584593752db7f07.js\",\"3185\",\"static/chunks/app/layout-64ac14a534e2809b.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\":\"w0mOVqxJmGgqAp-kWZW5-\",\"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/17a2e01c4184b106.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>
|