@theobourgeois/ytdb 0.2.15 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +3 -3
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/server/app/[connectionId]/[schema]/[table]/page_client-reference-manifest.js +1 -1
  5. package/.next/server/app/[connectionId]/diff/page_client-reference-manifest.js +1 -1
  6. package/.next/server/app/[connectionId]/migrations/[setId]/page.js +1 -1
  7. package/.next/server/app/[connectionId]/migrations/[setId]/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/[connectionId]/migrations/page.js +1 -1
  9. package/.next/server/app/[connectionId]/migrations/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/[connectionId]/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/[connectionId]/query/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/_global-error.html +1 -1
  13. package/.next/server/app/_global-error.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.html +1 -1
  18. package/.next/server/app/_not-found.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  22. package/.next/server/app/api/activity/route.js +1 -1
  23. package/.next/server/app/api/repo/route.js +1 -1
  24. package/.next/server/app/api/schema/route.js +1 -1
  25. package/.next/server/app/api/tables/route.js +1 -1
  26. package/.next/server/app/index.html +1 -1
  27. package/.next/server/app/index.rsc +1 -1
  28. package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  29. package/.next/server/app/index.segments/_full.segment.rsc +1 -1
  30. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  31. package/.next/server/app-paths-manifest.json +3 -3
  32. package/.next/server/chunks/161.js +1 -1
  33. package/.next/server/chunks/172.js +1 -1
  34. package/.next/server/chunks/605.js +1 -1
  35. package/.next/server/chunks/729.js +1 -1
  36. package/.next/server/chunks/814.js +1 -1
  37. package/.next/server/middleware-build-manifest.js +1 -1
  38. package/.next/server/pages/404.html +1 -1
  39. package/.next/server/pages/500.html +1 -1
  40. package/.next/static/chunks/{3732-422f344679f5d126.js → 3732-535d9f485cf90098.js} +1 -1
  41. package/.next/static/chunks/6090-3a613287bf7c9e90.js +1 -0
  42. package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-18158f23ccdab4cf.js +1 -0
  43. package/.next/static/chunks/app/[connectionId]/migrations/page-2ed07ba3810d1ee6.js +1 -0
  44. package/.next/static/chunks/app/[connectionId]/page-22bcfd48d84d7598.js +1 -0
  45. package/package.json +1 -1
  46. package/.next/static/chunks/6090-2831a02797d69073.js +0 -1
  47. package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-1886726af1052176.js +0 -1
  48. package/.next/static/chunks/app/[connectionId]/migrations/page-33e44680d62cbc05.js +0 -1
  49. package/.next/static/chunks/app/[connectionId]/page-df1d6620d85e3e15.js +0 -1
  50. /package/.next/static/{7RCujTjKg604vUCcqYNh6 → OyIGZSorg5OrE1_BWj2Lr}/_buildManifest.js +0 -0
  51. /package/.next/static/{7RCujTjKg604vUCcqYNh6 → OyIGZSorg5OrE1_BWj2Lr}/_ssgManifest.js +0 -0
package/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- 7RCujTjKg604vUCcqYNh6
1
+ OyIGZSorg5OrE1_BWj2Lr
@@ -9,19 +9,19 @@
9
9
  "/api/definition/route": "/api/definition",
10
10
  "/api/cell/route": "/api/cell",
11
11
  "/api/insert-row/route": "/api/insert-row",
12
- "/api/adopt/route": "/api/adopt",
13
12
  "/api/ledger/route": "/api/ledger",
13
+ "/api/adopt/route": "/api/adopt",
14
14
  "/api/detect/route": "/api/detect",
15
+ "/api/query/route": "/api/query",
15
16
  "/api/note/route": "/api/note",
16
17
  "/api/lookup/route": "/api/lookup",
17
- "/api/query/route": "/api/query",
18
18
  "/api/repo/route": "/api/repo",
19
19
  "/api/migrate/route": "/api/migrate",
20
20
  "/api/rows/route": "/api/rows",
21
21
  "/api/schema/route": "/api/schema",
22
- "/api/related/route": "/api/related",
23
22
  "/api/tables/route": "/api/tables",
24
23
  "/api/update-row/route": "/api/update-row",
24
+ "/api/related/route": "/api/related",
25
25
  "/page": "/",
26
26
  "/[connectionId]/[schema]/[table]/page": "/[connectionId]/[schema]/[table]",
27
27
  "/[connectionId]/diff/page": "/[connectionId]/diff",
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "devFiles": [],
6
6
  "lowPriorityFiles": [
7
- "static/7RCujTjKg604vUCcqYNh6/_buildManifest.js",
8
- "static/7RCujTjKg604vUCcqYNh6/_ssgManifest.js"
7
+ "static/OyIGZSorg5OrE1_BWj2Lr/_buildManifest.js",
8
+ "static/OyIGZSorg5OrE1_BWj2Lr/_ssgManifest.js"
9
9
  ],
10
10
  "rootMainFiles": [
11
11
  "static/chunks/webpack-34eb118f56295776.js",
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/[schema]/[table]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"83927","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"90563","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","8974","static/chunks/app/page-46e11b50fbcec559.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","7123","static/chunks/app/%5BconnectionId%5D/layout-2920542266b3ced9.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":66096,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","6079","static/chunks/363642f4-681bfd753af22ae9.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","9159","static/chunks/9159-49aed1d3f177a824.js","478","static/chunks/478-36d0af53d0639a95.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","5521","static/chunks/app/%5BconnectionId%5D/%5Bschema%5D/%5Btable%5D/page-e20cadf8c3f008f7.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":10037,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-df1d6620d85e3e15.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/87a80461c6ff2903.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/[schema]/[table]/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/[schema]/[table]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"83927","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"90563","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","8974","static/chunks/app/page-46e11b50fbcec559.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","7123","static/chunks/app/%5BconnectionId%5D/layout-2920542266b3ced9.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":66096,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","6079","static/chunks/363642f4-681bfd753af22ae9.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","9159","static/chunks/9159-49aed1d3f177a824.js","478","static/chunks/478-36d0af53d0639a95.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","5521","static/chunks/app/%5BconnectionId%5D/%5Bschema%5D/%5Btable%5D/page-e20cadf8c3f008f7.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":10037,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-22bcfd48d84d7598.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/87a80461c6ff2903.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/[schema]/[table]/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/diff/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"83927","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"90563","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","8974","static/chunks/app/page-46e11b50fbcec559.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","7123","static/chunks/app/%5BconnectionId%5D/layout-2920542266b3ced9.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":66096,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","2194","static/chunks/app/%5BconnectionId%5D/diff/page-4fec354f34fb5566.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":10037,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-df1d6620d85e3e15.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/87a80461c6ff2903.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/diff/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/diff/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"83927","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"90563","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","8974","static/chunks/app/page-46e11b50fbcec559.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","7123","static/chunks/app/%5BconnectionId%5D/layout-2920542266b3ced9.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":66096,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","2194","static/chunks/app/%5BconnectionId%5D/diff/page-4fec354f34fb5566.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":10037,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-22bcfd48d84d7598.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/87a80461c6ff2903.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/diff/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -1 +1 @@
1
- (()=>{var a={};a.id=838,a.ids=[838],a.modules={3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10410:(a,b,c)=>{Promise.resolve().then(c.bind(c,83927))},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12229:(a,b,c)=>{"use strict";c.d(b,{En:()=>k,Pc:()=>j,jl:()=>i});var d=c(31417),e=c(300),f=c(14490),g=c(15445);let h="ytdb:queries";(0,g.q)("db-studio:queries",h);let i=144,j=800,k=(0,d.v)()((0,e.Zr)(a=>({drafts:{},editorHeight:224,history:[],setDraft:(b,c)=>a(a=>({drafts:{...a.drafts,[b]:c}})),setEditorHeight:b=>a({editorHeight:Math.min(j,Math.max(i,Math.round(b)))}),record:(b,c)=>a(a=>{let d=c.trim();if(!d)return a;let e=a.history.find(a=>a.connectionId===b&&a.sql===d),g={id:e?.id??(0,f.z)(),connectionId:b,sql:d,executedAt:Date.now()},h=0,i=0;return{history:[g,...a.history.filter(a=>a.id!==g.id)].filter(a=>!(h>=200)&&!(i+a.sql.length>1e6)&&(h+=1,i+=a.sql.length,!0))}}),remove:b=>a(a=>({history:a.history.filter(a=>a.id!==b)}))}),{name:h}))},13367:(a,b,c)=>{"use strict";c.d(b,{os:()=>t,iX:()=>u,mw:()=>s});var d=c(48249),e=c(67484),f=c(23171),g=c(25297),h=c(13656);let i=new Set(["add","all","alter","always","and","as","asc","authorization","between","by","cascade","case","cast","check","collate","column","concurrently","constraint","create","cross","current","default","deferrable","deferred","delete","desc","distinct","drop","else","end","except","exclude","exists","false","foreign","from","full","generated","grant","group","having","identity","if","ilike","immediate","in","include","index","inherits","inner","instead","intersect","into","is","join","key","lateral","left","like","limit","match","materialized","natural","no","not","null","nulls","of","offset","on","only","or","order","outer","over","partition","primary","references","replace","restrict","returning","right","select","server","set","stored","table","temp","temporary","then","time","to","trigger","true","union","unique","unlogged","update","using","values","view","when","where","window","with","without","zone"]);function j(a){let b=[],c=0;for(;c<a.length;){let d=a[c];if(!d)break;if(m(d)){let d=c;for(c+=1;c<a.length&&m(a[c]);)c+=1;b.push({kind:"text",value:a.slice(d,c)});continue}if("-"===d&&"-"===a[c+1]){let d=c;for(c+=2;c<a.length&&"\n"!==a[c];)c+=1;b.push({kind:"comment",value:a.slice(d,c)});continue}if("/"===d&&"*"===a[c+1]){let d=a.indexOf("*/",c+2),e=-1===d?a.length:d+2;b.push({kind:"comment",value:a.slice(c,e)}),c=e;continue}if("$"===d){let d=function(a,b){if("$"!==a[b])return null;let c=b+1;for(;c<a.length&&p(a[c]);)c+=1;return"$"!==a[c]?null:a.slice(b,c+1)}(a,c);if(d){let e=c+d.length,f=a.indexOf(d,e),g=-1===f?a.length:f+d.length;b.push({kind:"string",value:a.slice(c,g)}),c=g;continue}}if('"'===d){c=l(a,c,'"',"ident",b);continue}if("'"===d){c=l(a,c,"'","string",b);continue}if(n(d)||"."===d&&n(a[c+1])){let d=c;c=function(a,b){let c=b;for("."===a[c]&&(c+=1);c<a.length&&n(a[c]);)c+=1;if("."===a[c]&&n(a[c+1]))for(c+=1;c<a.length&&n(a[c]);)c+=1;if("e"===a[c]||"E"===a[c]){let b=c+1;if(("+"===a[b]||"-"===a[b])&&(b+=1),n(a[b]))for(c=b;c<a.length&&n(a[c]);)c+=1}return c}(a,c),b.push({kind:"number",value:a.slice(d,c)});continue}if(o(d)){let d=c;for(c+=1;c<a.length&&p(a[c]);)c+=1;let e=a.slice(d,c);b.push({kind:function(a,b,c){let d=b.toLowerCase();if(i.has(d))return"keyword";let e=c;for(;e<a.length&&(" "===a[e]||" "===a[e]);)e+=1;return"("===a[e]?"function":"ident"}(a,e,c),value:e});continue}b.push({kind:"text",value:d}),c+=1}return b}function k(a){let b=[[]];for(let c of a){let a=c.value.split("\n");for(let d=0;d<a.length;d+=1){d>0&&b.push([]);let e=a[d],f=b[b.length-1];e&&f&&f.push({kind:c.kind,value:e})}}return b}function l(a,b,c,d,e){let f=b+1;for(;f<a.length;){if(a[f]===c){if(a[f+1]===c){f+=2;continue}f+=1;break}f+=1}return e.push({kind:d,value:a.slice(b,f)}),f}function m(a){return" "===a||" "===a||"\n"===a||"\r"===a}function n(a){return void 0!==a&&a>="0"&&a<="9"}function o(a){return void 0!==a&&(a>="A"&&a<="Z"||a>="a"&&a<="z"||"_"===a)}function p(a){return o(a)||n(a)||"$"===a}var q=c(14490);function r({tokens:a}){return a.map((a,b)=>(0,d.jsx)("span",{className:function(a){switch(a){case"keyword":return"text-sky-700 dark:text-sky-400";case"function":return"text-violet-700 dark:text-fuchsia-400";case"ident":return"text-foreground";case"string":case"number":return"text-amber-700 dark:text-amber-300";case"comment":return"text-muted-foreground";case"text":return"text-foreground/80";default:return a}}(a.kind),children:a.value},b))}async function s(a){try{await navigator.clipboard.writeText(a);return}catch{let b=document.createElement("textarea");b.value=a,b.style.position="fixed",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}}function t({sql:a,className:b}){let c=(0,e.useMemo)(()=>k(j(a.trimEnd())),[a]);return(0,d.jsx)("pre",{className:(0,q.cn)("overflow-x-auto font-mono text-[12px] leading-5 whitespace-pre",b),children:(0,d.jsx)("code",{children:c.map((a,b)=>(0,d.jsx)("div",{className:"min-h-5",children:(0,d.jsx)(r,{tokens:a})},b))})})}function u({sql:a,error:b,loading:c,actions:i}){let[l,m]=(0,e.useState)(!1),n=(0,e.useMemo)(()=>a?k(j(a.trimEnd())):[],[a]);if(b)return(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:b});if(!a||c&&0===n.length)return(0,d.jsx)("div",{className:"flex flex-col gap-2 p-4",children:Array.from({length:16},(a,b)=>(0,d.jsx)(h.E,{className:"h-4 w-full"},b))});async function o(){a&&(await s(a),m(!0),window.setTimeout(()=>m(!1),1500))}let p=`${Math.max(String(n.length).length,2)+1}ch`;return(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col","data-sql-source":"",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2 px-3 py-1",children:[i,(0,d.jsxs)(g.$,{type:"button",variant:"ghost",size:"sm",onClick:()=>void o(),children:[l?(0,d.jsx)(f.wiW,{"data-icon":"inline-start"}):(0,d.jsx)(f.hX7,{"data-icon":"inline-start"}),l?"Copied":"Copy SQL"]})]}),(0,d.jsx)("div",{className:(0,q.cn)("min-h-0 flex-1 overflow-auto",c&&"opacity-60"),children:(0,d.jsx)("pre",{className:"min-w-max px-4 pb-4 font-mono text-[13px] leading-6",children:n.map((a,b)=>(0,d.jsxs)("div",{className:"flex min-h-6",children:[(0,d.jsx)("span",{className:"sticky left-0 shrink-0 bg-background pr-4 text-right text-muted-foreground/45 select-none",style:{width:p},children:b+1}),(0,d.jsx)("code",{className:"pr-8 whitespace-pre",children:(0,d.jsx)(r,{tokens:a})})]},b))})})]})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26926:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735),e=c(97182);async function f({params:a}){let{setId:b}=await a;return(0,d.jsx)(e.MigrationDetail,{setId:decodeURIComponent(b)})}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},61708:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>t,handler:()=>v,routeModule:()=>u});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,35780))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,1777))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),r={children:["",{children:["[connectionId]",{children:["migrations",{children:["[setId]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,26926))),"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/migrations/[setId]/page.tsx"]}]},{"global-error":[q,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[p,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},["_not-found","_global-error","api","favicon.ico","icon.svg"]]},{layout:[i,"/Users/theobourgeois/code/db-studio/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,s=(0,e.H)({tree:r,page:"/[connectionId]/migrations/[setId]/page",pathname:"/[connectionId]/migrations/[setId]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),t=s.__next_app__,u=s.routeModule,v=s.handler},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83927:(a,b,c)=>{"use strict";c.d(b,{MigrationDetail:()=>$});var d=c(48249),e=c(2116),f=c.n(e),g=c(19099),h=c(67484),i=c(23171),j=c(44231),k=c(60671),l=c(86229),m=c(25297),n=c(82244),o=c(53286),p=c(20886),q=c(21883),r=c(78931),s=c(72428),t=c(99598),u=c(453),v=c(66280),w=c(12229),x=c(14490),y=c(30770),z=c(13367),A=c(37654),B=c(67657);function C(a){let b=a.replace(/\r\n?/g,"\n").replace(/\s+$/,"");return b?b.split("\n"):[]}let D={same:" ",add:"+",remove:"-"};function E({before:a,after:b,className:c}){let e=(0,h.useMemo)(()=>(function(a,b=3){let c=[];a.forEach((d,e)=>{if("same"===d.kind)return;let f=Math.max(0,e-b),g=Math.min(a.length-1,e+b),h=c.at(-1);h&&f<=h[1]+1?h[1]=Math.max(h[1],g):c.push([f,g])});let d=[],e=[],f=0,g=0;for(let b of a)d.push(f),e.push(g),"add"!==b.kind&&(f+=1),"remove"!==b.kind&&(g+=1);return c.map(([b,c])=>{let f=a.slice(b,c+1),g=f.filter(a=>"add"!==a.kind).length,h=f.filter(a=>"remove"!==a.kind).length,i=d[b]+ +(0!==g),j=e[b]+ +(0!==h);return{header:`@@ -${i},${g} +${j},${h} @@`,lines:f}})})(function(a,b){let c=C(a),d=C(b),e=0;for(;e<c.length&&e<d.length&&c[e]===d[e];)e+=1;let f=0;for(;f<c.length-e&&f<d.length-e&&c[c.length-1-f]===d[d.length-1-f];)f+=1;let g=c.slice(e,c.length-f),h=d.slice(e,d.length-f),i=function(a,b){let c=a.length,d=b.length,e=c+d,f=e+1,g=new Int32Array(2*e+3),h=[],i=!1;for(let j=0;j<=e&&!i;j+=1){if((h.length+1)*g.length>2e7)return null;h.push(g.slice());for(let e=-j;e<=j;e+=2){let h=e===-j||e!==j&&g[f+e-1]<g[f+e+1]?g[f+e+1]:g[f+e-1]+1,k=h-e;for(;h<c&&k<d&&a[h]===b[k];)h+=1,k+=1;if(g[f+e]=h,h>=c&&k>=d){i=!0;break}}}let j=[],k=c,l=d;for(let c=h.length-1;c>=0;c-=1){let d=h[c],e=k-l,g=e===-c||e!==c&&d[f+e-1]<d[f+e+1]?e+1:e-1,i=d[f+g],m=i-g;for(;k>i&&l>m;)j.push({kind:"same",text:a[k-1]}),k-=1,l-=1;c>0&&(k===i?j.push({kind:"add",text:b[l-1]}):j.push({kind:"remove",text:a[k-1]})),k=i,l=m}return j.reverse()}(g,h)??[...g.map(a=>({kind:"remove",text:a})),...h.map(a=>({kind:"add",text:a}))],j=[...c.slice(0,e).map(a=>({kind:"same",text:a})),...i,...c.slice(c.length-f).map(a=>({kind:"same",text:a}))],k=0,l=0;return j.map(a=>"same"===a.kind?(k+=1,l+=1,{...a,oldNo:k,newNo:l}):"remove"===a.kind?(k+=1,{...a,oldNo:k,newNo:null}):(l+=1,{...a,oldNo:null,newNo:l}))}(a,b)),[a,b]);return 0===e.length?(0,d.jsx)("p",{className:(0,x.cn)("text-xs text-muted-foreground",c),children:"Only whitespace at the end of the file differs."}):(0,d.jsx)("div",{className:(0,x.cn)("overflow-auto font-mono text-[11px] leading-5",c),children:(0,d.jsx)("table",{className:"w-full border-collapse",children:e.map(a=>(0,d.jsxs)("tbody",{children:[(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:3,className:"bg-muted/60 px-3 text-muted-foreground select-none",children:a.header})}),a.lines.map((a,b)=>(0,d.jsxs)("tr",{className:(0,x.cn)("add"===a.kind&&"bg-emerald-500/12","remove"===a.kind&&"bg-red-500/12"),children:[(0,d.jsx)(F,{value:a.oldNo}),(0,d.jsx)(F,{value:a.newNo}),(0,d.jsxs)("td",{className:"pr-3 whitespace-pre",children:[(0,d.jsx)("span",{className:(0,x.cn)("inline-block w-4 pl-1 select-none","add"===a.kind&&"text-emerald-600 dark:text-emerald-400","remove"===a.kind&&"text-red-600 dark:text-red-400"),children:D[a.kind]}),a.text]})]},b))]},a.header))})})}function F({value:a}){return(0,d.jsx)("td",{className:"w-10 min-w-10 pr-2 text-right text-muted-foreground/50 tabular-nums select-none",children:a??""})}let G="w-24",H="w-[104px]";function I({checked:a,label:b,onToggle:c}){return(0,d.jsx)("button",{type:"button",role:"checkbox","aria-checked":a,"aria-label":b,title:b,onMouseDown:a=>a.shiftKey&&a.preventDefault(),onClick:a=>c(a.shiftKey),className:(0,x.cn)("flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[5px] border outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring/60",a?"border-foreground bg-foreground text-background":"border-input hover:border-foreground/50"),children:"mixed"===a?(0,d.jsx)(i.uPM,{className:"size-3"}):a?(0,d.jsx)(i.wiW,{className:"size-3"}):null})}let J={applied:"applied",drifted:"applied, but the file changed since",pending:"not applied",unknown:"not read yet"};function K({status:a}){return"applied"===a?(0,d.jsx)(i.wiW,{className:"size-4 text-emerald-600 dark:text-emerald-400"}):"drifted"===a?(0,d.jsx)(i.e5t,{className:"size-3.5 text-amber-600 dark:text-amber-400"}):"unknown"===a?(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-muted-foreground/30"}):(0,d.jsx)(i.uPM,{className:"size-3.5 text-muted-foreground/40"})}function L({step:a,environments:b,targetId:c,status:e,isNewestApplied:f,expanded:g,busy:j,editable:k=!0,drift:l,selected:o,onSelect:p,onToggle:q,actions:r}){let[s,t]=(0,h.useState)(null),u="changes"!==s||l?s??(l?"changes":"apply"):"apply",v="revert"===u?"revert":"apply",[w,y]=(0,h.useState)(!1),C="revert"===v?a.revertSql??"":a.applySql,D=(0,B.qb)(a.transaction),F=(0,B.TA)(a.transaction),M=[];async function N(){await (0,z.mw)(C),y(!0),window.setTimeout(()=>y(!1),1500)}return"drifted"===e&&"changes"!==u&&M.push("This file changed after it was applied here, so it is no longer the migration that ran."),F&&M.push(F),(0,d.jsxs)("div",{className:"border-b last:border-b-0",children:[(0,d.jsxs)("div",{className:(0,x.cn)("flex h-10 items-center transition-colors hover:bg-muted/40",o&&"bg-muted/30",j&&"opacity-60"),children:[(0,d.jsx)("span",{className:"flex h-10 shrink-0 items-center pl-3",children:(0,d.jsx)(I,{checked:o,label:o?`Deselect ${a.version}`:`Select ${a.version}`,onToggle:p})}),(0,d.jsxs)("button",{type:"button","aria-expanded":g,"aria-label":g?`Hide SQL for ${a.version}`:`Show SQL for ${a.version}`,onClick:q,className:"flex h-8 min-w-0 flex-1 cursor-pointer items-center gap-2 rounded-md px-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring/60",children:[(0,d.jsx)(i.nNJ,{className:(0,x.cn)("size-3.5 shrink-0 text-muted-foreground/70 transition-transform",g&&"rotate-90")}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-xs text-muted-foreground",children:a.version}),(0,d.jsx)("span",{className:"min-w-0 truncate text-sm",children:a.name}),D&&(0,d.jsx)("span",{className:"shrink-0 rounded border border-amber-600/25 bg-amber-500/10 px-1.5 text-[10px] text-amber-700 dark:text-amber-400",children:D})]}),b.map(b=>{let e=b.connection.id===c;return(0,d.jsx)("span",{title:b.error?`${b.connection.name}: ${b.error}`:`${a.version} is ${J[b.status]} on ${b.connection.name}${b.entry?` — ${function(a){if(!a)return"";let b=new Date(a.appliedAt);return Number.isNaN(b.getTime())?a.appliedAt:b.toLocaleString()}(b.entry)}`:""}`,className:(0,x.cn)("flex h-10 shrink-0 items-center justify-center",G,e&&"bg-foreground/[0.04]"),children:(0,d.jsx)(K,{status:b.status})},b.connection.id)}),(0,d.jsxs)("div",{className:(0,x.cn)("flex shrink-0 items-center justify-end gap-1 pr-2 pl-1",H),children:["pending"===e&&(0,d.jsx)(m.$,{size:"xs",variant:"outline",disabled:j,onClick:r.onApplyThrough,children:"Apply"}),f&&a.revertSql&&(0,d.jsxs)(m.$,{size:"xs",variant:"ghost",disabled:j,onClick:r.onRevertThrough,children:[(0,d.jsx)(i.ij9,{"data-icon":"inline-start"}),"Revert"]}),(0,d.jsxs)(n.rI,{children:[(0,d.jsx)(n.ty,{render:(0,d.jsx)(m.$,{size:"icon-xs",variant:"ghost","aria-label":`Actions for ${a.version}`}),className:"cursor-pointer",children:(0,d.jsx)(i.YKd,{})}),(0,d.jsxs)(n.SQ,{align:"end",className:"min-w-56",children:[(0,d.jsx)(n._2,{disabled:j||"applied"===e,onClick:r.onApplyThrough,children:"Apply everything through here"}),(0,d.jsx)(n._2,{disabled:j||"applied"===e,onClick:r.onApplyOne,children:"Apply only this one"}),(0,d.jsx)(n._2,{disabled:j||"pending"===e||!a.revertSql,onClick:r.onRevertThrough,children:"Revert back through here"}),(0,d.jsx)(n.mB,{}),(0,d.jsxs)(n._2,{disabled:j||"applied"===e,onClick:r.onMarkApplied,children:[(0,d.jsx)(i.nXx,{}),"Mark as already applied"]}),(0,d.jsxs)(n._2,{disabled:j||"pending"===e,onClick:r.onMarkPending,children:[(0,d.jsx)(i.fJ4,{}),"Mark as not applied"]}),(0,d.jsx)(n.mB,{}),k&&(0,d.jsxs)(n._2,{onClick:r.onAttachRevert,children:[(0,d.jsx)(i.W4E,{}),a.revertSql?"Replace revert file…":"Add a revert file…"]}),(0,d.jsxs)(n._2,{onClick:()=>r.onOpenInEditor(C),children:[(0,d.jsx)(i.Uoo,{}),"Open ",v," SQL in editor"]}),(0,d.jsxs)(n._2,{onClick:()=>void N(),children:[(0,d.jsx)(i.hX7,{}),"Copy ",v," SQL"]}),k&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.mB,{}),(0,d.jsx)(n._2,{variant:"destructive",onClick:r.onRemove,children:"Remove from this set"})]})]})]})]})]}),g&&(0,d.jsxs)("div",{className:"border-t bg-muted/25",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5",children:[(0,d.jsx)(A.x,{label:`SQL for ${a.version}`,value:u,onChange:t,options:[...l?[{value:"changes",label:"Changes"}]:[],{value:"apply",label:"Apply"},{value:"revert",label:"Revert"}]}),"changes"===u&&l?(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-3 font-mono text-[11px]",children:[(0,d.jsxs)("span",{className:"shrink-0 text-red-600 dark:text-red-400",children:["− ran on ",l.connectionName]}),(0,d.jsxs)("span",{className:"truncate text-emerald-600 dark:text-emerald-400",children:["+ ",a.applyPath]})]}):(0,d.jsx)("span",{className:"min-w-0 truncate font-mono text-[11px] text-muted-foreground",children:"revert"===u?a.revertPath??"no revert file":a.applyPath}),"changes"!==u&&(0,d.jsxs)(m.$,{size:"xs",variant:"ghost",className:"ml-auto",onClick:()=>void N(),children:[w?(0,d.jsx)(i.wiW,{"data-icon":"inline-start"}):(0,d.jsx)(i.hX7,{"data-icon":"inline-start"}),w?"Copied":"Copy"]})]}),M.length>0&&(0,d.jsx)("ul",{className:"space-y-1 px-3 pb-2",children:M.map(a=>(0,d.jsxs)("li",{className:"flex gap-1.5 text-[11px] text-amber-700 dark:text-amber-400",children:[(0,d.jsx)(i.e5t,{className:"mt-px size-3 shrink-0"}),(0,d.jsx)("span",{children:a})]},a))}),"changes"===u&&l?l.error?(0,d.jsx)("p",{className:"px-3 pb-3 font-mono text-xs text-destructive",children:l.error}):void 0===l.appliedSql?(0,d.jsxs)("p",{className:"px-3 pb-3 text-xs text-muted-foreground",children:["Reading what ran on ",l.connectionName,"…"]}):null===l.appliedSql?(0,d.jsxs)("p",{className:"px-3 pb-3 text-xs text-muted-foreground",children:[l.connectionName," did not keep the SQL it ran, so there is nothing to compare against."]}):(0,d.jsx)(E,{before:l.appliedSql,after:a.applySql,className:"max-h-96 pb-2"}):C?(0,d.jsx)(z.os,{sql:C,className:"max-h-72 overflow-auto px-3 pb-3"}):(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 pb-3 text-xs text-muted-foreground",children:[(0,d.jsx)("span",{children:"No revert file, so this one cannot be undone from here."}),k&&(0,d.jsxs)(m.$,{size:"xs",variant:"outline",onClick:r.onAttachRevert,children:[(0,d.jsx)(i.W4E,{"data-icon":"inline-start"}),"Add one"]})]})]})]})}function M({environments:a,targetId:b,onSelect:c}){let e=a.find(a=>a.connection.id===b);return e?(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:"Running against"}),(0,d.jsxs)(n.rI,{children:[(0,d.jsxs)(n.ty,{disabled:a.length<2,className:"flex h-7 cursor-pointer items-center gap-1.5 rounded-lg border bg-background px-2 text-xs font-medium outline-none hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-default data-open:bg-muted/60",children:[(0,d.jsx)(y.F,{connection:e.connection}),(0,d.jsx)("span",{className:"max-w-32 truncate",children:e.connection.name})]}),(0,d.jsx)(n.SQ,{align:"start",className:"min-w-52",children:a.map(a=>(0,d.jsxs)(n._2,{onClick:()=>c(a.connection.id),className:a.connection.id===b?"font-medium":void 0,children:[(0,d.jsx)(y.F,{connection:a.connection}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:a.connection.name}),(0,d.jsxs)("span",{className:"shrink-0 tabular-nums text-muted-foreground",children:[a.summary.applied,"/",a.summary.total]})]},a.connection.id))})]})]}):null}function N({environments:a,targetId:b,caption:c,loading:e,selection:f,onSelect:g,onCompare:h}){return(0,d.jsxs)("div",{className:"flex h-11 shrink-0 items-center border-b bg-muted/20",children:[(0,d.jsx)("span",{className:"flex h-11 shrink-0 items-center pl-3",children:(0,d.jsx)(I,{checked:f.checked,label:f.checked?"Clear selection":"Select all",onToggle:()=>f.onToggle()})}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate px-2 text-xs text-muted-foreground",children:c}),a.map(a=>{let{connection:c,summary:f,ledger:h,error:i}=a,j=c.id===b;return(0,d.jsxs)("button",{type:"button",disabled:j,"aria-current":j?"true":void 0,title:j?`${c.name} is what Apply and Revert run against`:`Run against ${c.name} instead`,onClick:()=>g(c.id),className:(0,x.cn)("flex h-11 shrink-0 flex-col items-center justify-center gap-0.5 border-l text-[11px] outline-none",G,j?"cursor-default bg-foreground/[0.04] font-medium":"cursor-pointer text-muted-foreground hover:bg-muted/60 hover:text-foreground",e&&"opacity-60"),children:[(0,d.jsxs)("span",{className:"flex max-w-full items-center gap-1",children:[(0,d.jsx)(y.F,{connection:c,className:"size-1.5"}),(0,d.jsx)("span",{className:"truncate",children:c.name})]}),i?(0,d.jsx)("span",{className:"text-destructive",children:"unreachable"}):h?(0,d.jsxs)("span",{className:"tabular-nums text-muted-foreground/80",children:[f.applied,"/",f.total,f.drifted>0&&(0,d.jsx)("span",{className:"text-amber-600 dark:text-amber-400",children:" !"})]}):(0,d.jsx)("span",{className:"text-muted-foreground/70",children:"reading…"})]},c.id)}),(0,d.jsx)("div",{className:(0,x.cn)("flex shrink-0 items-center justify-end border-l pr-2 pl-1",H),children:a.length>1&&(0,d.jsx)(m.$,{size:"icon-xs",variant:"ghost",title:"Compare the two schemas","aria-label":"Compare schemas",onClick:()=>{let c=a.find(a=>a.connection.id!==b);c&&h(c.connection.id)},children:(0,d.jsx)(i.R4X,{})})})]})}var O=c(38393),P=c(88877),Q=c(90863);function R({schema:a,found:b,onOpenChange:c,onSave:e}){let[f,g]=(0,h.useState)(a),i=f.trim(),j=(0,s.hD)(i),k=b.filter(a=>a.schema!==i);function l(){j&&(e(i),c(!1))}return(0,d.jsx)(O.lG,{open:!0,onOpenChange:c,children:(0,d.jsxs)(O.Cf,{className:"sm:max-w-md",children:[(0,d.jsxs)(O.c7,{children:[(0,d.jsx)(O.L3,{children:"Ledger schema"}),(0,d.jsx)(O.rr,{children:"Where each database keeps its record of what has run. Created on the first apply."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)(Q.J,{htmlFor:"ledger-schema",children:"Schema"}),(0,d.jsx)(P.p,{id:"ledger-schema",value:f,spellCheck:!1,autoComplete:"off","aria-invalid":i.length>0&&!j,onChange:a=>g(a.target.value),onKeyDown:a=>"Enter"===a.key&&l()}),(0,d.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:j?`${i}.${s.R9}`:"\xa0"}),i.length>0&&!j&&(0,d.jsx)("p",{className:"text-xs text-destructive",children:"Letters, digits and underscores only, starting with a letter or underscore."})]}),k.length>0&&(0,d.jsxs)("p",{className:"rounded-md border border-amber-600/25 bg-amber-500/8 px-3 py-2 text-xs",children:[k.map(a=>`${a.name} keeps its ledger in ${a.schema}`).join("; "),". That one stays where it is."]}),(0,d.jsxs)(O.Es,{children:[i!==s.aC&&(0,d.jsx)(m.$,{variant:"ghost",onClick:()=>g(s.aC),children:"Reset"}),(0,d.jsx)(m.$,{variant:"outline",onClick:()=>c(!1),children:"Cancel"}),(0,d.jsx)(m.$,{disabled:!j,onClick:l,children:"Save"})]})]})})}var S=c(77963),T=c(76829),U=c(65292),V=c(29613),W=c(86871);function X({initial:a,file:b,onOpenChange:c,onSave:e}){let[f,g]=(0,h.useState)(a),[i,j]=(0,h.useState)(!1),[k,l]=(0,h.useState)(null),n=f.trim()!==a.trim();async function o(a){if(a?.preventDefault(),n&&!i){j(!0),l(null);try{await e(f.trim()),c(!1)}catch(a){l(a instanceof Error?a.message:String(a))}finally{j(!1)}}}return(0,d.jsx)(O.lG,{open:!0,onOpenChange:a=>!i&&c(a),children:(0,d.jsx)(O.Cf,{className:"sm:max-w-lg",showCloseButton:!1,children:(0,d.jsxs)("form",{onSubmit:a=>void o(a),className:"flex flex-col gap-4",children:[(0,d.jsx)(O.c7,{children:(0,d.jsxs)("div",{className:"flex items-baseline gap-3",children:[(0,d.jsx)(O.L3,{children:"Note"}),b&&(0,d.jsx)("span",{className:"ml-auto truncate font-mono text-[11px] text-muted-foreground",title:"Written into the migration's folder, to commit with the SQL",children:b})]})}),(0,d.jsx)(W.T,{autoFocus:!0,"aria-label":"Note",value:f,maxLength:s.XG,placeholder:"Apply 0001–0007, deploy the app, then apply 0008.",className:"max-h-[50vh] min-h-32",onChange:a=>g(a.target.value),onKeyDown:a=>{"Enter"===a.key&&(a.metaKey||a.ctrlKey)&&o()}}),k&&(0,d.jsx)("p",{className:"text-xs text-destructive",children:k}),(0,d.jsxs)(O.Es,{children:[(0,d.jsx)(m.$,{type:"button",variant:"ghost",disabled:i,onClick:()=>c(!1),children:"Cancel"}),(0,d.jsx)(m.$,{type:"submit",disabled:!n||i,children:i?"Saving…":"Save"})]})]})})})}var Y=c(78394),Z=c(30904);function $({setId:a}){let b=(0,g.useRouter)(),{connection:c,tables:e}=(0,j.k)(),l=(0,v.jV)(a=>a.addFiles),y=(0,v.jV)(a=>a.renameSet),z=(0,v.jV)(a=>a.setNote),A=(0,v.jV)(a=>a.removeSet),B=(0,v.jV)(a=>a.removeStep),C=(0,v.jV)(a=>a.record),D=(0,v.jV)(a=>a.ledgerSchema),E=(0,v.jV)(a=>a.setLedgerSchema),F=(0,v.Ss)(a),{root:G}=(0,v.ox)(c.id),H=(0,Z.y)((0,s.km)(a)?G:null),I=(0,s.km)(a)?H.data?.sets.find(b=>b.id===a)??null:F,J=!!I?.source,K=(0,t.gz)(c.id),O=(0,w.En)(a=>a.setDraft),P=(0,k.$C)(),[Q,W]=(0,h.useState)("migrations"),[ad,ae]=(0,h.useState)([]),[af,ag]=(0,h.useState)([]),ah=(0,h.useRef)(null),[ai,aj]=(0,h.useState)(null),[ak,al]=(0,h.useState)(null),[am,an]=(0,h.useState)(!1),[ao,ap]=(0,h.useState)(!1),[aq,ar]=(0,h.useState)(null),[as,at]=(0,h.useState)(null),[au,av]=(0,h.useState)(!1),[aw,ax]=(0,h.useState)(!1),[ay,az]=(0,h.useState)(!1),aA=(0,h.useRef)(null),aB=(0,h.useRef)(!1),aC=(0,h.useMemo)(()=>[c,...K],[c,K]),aD=aC.map(a=>a.url).join("|"),aE=(0,p.Y)(`ledgers:${D}:${aD}`,async a=>Object.fromEntries(await Promise.all(aC.map(async b=>{try{return[b.id,{ledger:await q.F.ledger(b.url,D,a),error:null}]}catch(c){if(a.aborted)throw c;return[b.id,{ledger:null,error:c instanceof Error?c.message:String(c)}]}})))),aF=aE.data?.[c.id]??null,aG=I?.name??"",aH=(0,h.useMemo)(()=>(0,r.Gf)(aF?.ledger,aG),[aF?.ledger,aG]),aI=(0,h.useMemo)(()=>aC.map(a=>{let b=aE.data?.[a.id]??null,c=(0,r.Gf)(b?.ledger,aG);return{connection:a,ledger:c,error:b?.error??null,summary:(0,r.eh)(I,c)}}),[aC,aE.data,I,aG]),aJ=(0,h.useMemo)(()=>{let a=new Set;for(let b of I?.steps??[])if(ad.includes(b.version))for(let c of aI)"drifted"===(0,r.FY)(b,c.ledger)&&a.add(c.connection.id);return aC.filter(b=>a.has(b.id))},[I,ad,aI,aC]),aK=(0,p.Y)(`stored:${D}:${aJ.map(a=>a.url).join("|")}`,async a=>Object.fromEntries(await Promise.all(aJ.map(async b=>{try{return[b.id,{ledger:await q.F.ledger(b.url,D,a,!0),error:null}]}catch(c){if(a.aborted)throw c;return[b.id,{ledger:null,error:c instanceof Error?c.message:String(c)}]}})))),aL=`/${encodeURIComponent(c.id)}/migrations`,aM=(0,v.jV)(a=>a.history),aN=(0,h.useMemo)(()=>(0,u.x)(aI.map(a=>({connection:a.connection,ledger:a.ledger})),aM).filter(a=>a.setName===aG),[aI,aM,aG]),aO=(0,r.eh)(I,aH),aP=(0,h.useMemo)(()=>(0,r.nb)(I,aH),[I,aH]),aQ=(0,r.kB)(I,aH),aR=(0,h.useCallback)(b=>{ar(l(a,b.files)),W("migrations")},[l,a]),aS=(0,U.$)(aR);function aT(a,b,c=!1){(0!==b.steps.length||b.blockedBy)&&(al(null),aj({...b,direction:a,recordOnly:c}))}function aU(a){return{steps:a,blockedBy:null}}async function aV(){if(!ai||!I)return;aB.current=!1,an(!0);let a=ai.steps.map(a=>({version:a.version,name:a.name,status:"waiting"}));al(a);let b=(b,c)=>{al(a=a.map((a,d)=>d===b?{...a,...c}:a))},d=b=>{al(a=a.map((a,c)=>c>=b&&"waiting"===a.status?{...a,status:"skipped"}:a))};for(let[a,e]of ai.steps.entries()){if(aB.current){d(a);break}let f="apply"===ai.direction?e.applySql:e.revertSql;if(!f&&!ai.recordOnly){b(a,{status:"failed",error:"No revert file for this migration."}),d(a+1);break}b(a,{status:"running"});try{let d=await q.F.migrate(c.url,{direction:ai.direction,version:e.version,name:e.name,checksum:e.checksum,setName:I.name,sql:f??"",revertSql:"apply"===ai.direction?e.revertSql:void 0,ledgerSchema:D,recordOnly:ai.recordOnly});b(a,{status:"ok",durationMs:d.durationMs}),C({setId:I.id,setName:I.name,connectionId:c.id,connectionName:c.name,direction:ai.direction,version:e.version,name:e.name,status:"ok",recorded:ai.recordOnly,durationMs:d.durationMs})}catch(g){let f=g instanceof Error?g.message:String(g);b(a,{status:"failed",error:f}),d(a+1),C({setId:I.id,setName:I.name,connectionId:c.id,connectionName:c.name,direction:ai.direction,version:e.version,name:e.name,status:"failed",durationMs:0,error:f});break}}an(!1),aE.reload(),aK.reload(),e.reload(),a.every(a=>"ok"===a.status)&&ag([])}function aW(a){O(c.id,a),b.push(`/${encodeURIComponent(c.id)}/query`)}function aX(a){P(a)}async function aY(a){I&&(I.source?(await q.F.note(I.source.root,I.source.path,a),H.reload()):z(I.id,a))}async function aZ(a){let b=a?.[0];at(null),b&&as&&I&&ar(l(I.id,[{path:`revert/${as}_${b.name}`,text:await b.text()}]))}if(!I){let b=(0,s.km)(a)&&H.loading;return(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,d.jsx)(_,{name:b?"Reading…":"Not found"}),(0,d.jsx)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 text-muted-foreground",children:b?(0,d.jsx)("p",{className:"text-sm",children:"Reading the folder…"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{className:"text-sm",children:H.error?H.error:(0,s.km)(a)?"That migration is not in the folder on the branch you have checked out.":"That migration is no longer here."}),(0,d.jsx)(f(),{href:aL,className:"text-foreground underline underline-offset-4",children:"All migrations"})]})})]})}let a$=new Set(af),a_=I.steps.filter(a=>a$.has(a.version)).length,a0=a_>0,a1=a0?(0,r.DM)(I,aH,a$):(0,r.gj)(I,aH),a2=a0?(0,r.n9)(I,aH,a$):(0,r.e)(I,aH),a3=am||aE.loading||H.loading;return(0,d.jsxs)("div",{className:"relative flex min-h-0 flex-1 flex-col",onDragOver:a=>{!J&&a.dataTransfer.types.includes("Files")&&(a.preventDefault(),ap(!0))},children:[(0,d.jsxs)(_,{name:I?.name??"",indexHref:aL,children:[I.source&&(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-1 text-[11px] text-muted-foreground",title:`Read from ${I.source.path}`,children:[(0,d.jsx)(i.WzY,{className:"size-3.5 shrink-0"}),(0,d.jsx)("span",{className:"max-w-48 truncate font-mono",children:I.source.path})]}),(0,d.jsx)(M,{environments:aI,targetId:c.id,onSelect:aX}),(0,d.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,d.jsx)(m.$,{size:"icon-sm",variant:"ghost",disabled:aE.loading||H.loading,"aria-label":"Refresh",title:J?"Re-read the files and every environment's ledger":"Re-read every environment's ledger",onClick:function(){aE.reload(),aK.reload(),J&&H.reload()},children:(0,d.jsx)(i.oS8,{className:(0,x.cn)((aE.loading||H.loading)&&"animate-spin")})}),!J&&(0,d.jsxs)(m.$,{size:"sm",variant:"ghost",onClick:()=>ap(!0),children:[(0,d.jsx)(i.FeY,{"data-icon":"inline-start"}),"Import"]}),(0,d.jsxs)(n.rI,{children:[(0,d.jsx)(n.ty,{render:(0,d.jsx)(m.$,{size:"icon-sm",variant:"ghost","aria-label":"More migration actions"}),className:"cursor-pointer",children:(0,d.jsx)(i.YKd,{})}),(0,d.jsxs)(n.SQ,{align:"end",className:"min-w-64",children:[(0,d.jsxs)(n._2,{disabled:a3||0===a1.steps.length,onClick:()=>aT("apply",aU(a1.steps),!0),children:[(0,d.jsx)(i.nXx,{}),"Mark ",a1.steps.length," as already applied"]}),(0,d.jsx)(n.mB,{}),(0,d.jsxs)(n._2,{disabled:a3||0===a2.steps.length,onClick:()=>aT("revert",a2),children:[(0,d.jsx)(i.ij9,{}),a0?`Revert ${a2.steps.length} selected on ${c.name}`:`Revert everything on ${c.name}`]}),(0,d.jsx)(n.mB,{}),(0,d.jsxs)(n._2,{onClick:()=>az(!0),children:[(0,d.jsx)(i.UA_,{}),I.note?"Edit note":"Add note"]}),!J&&(0,d.jsxs)(n._2,{onClick:()=>ax(!0),children:[(0,d.jsx)(i.NOV,{}),"Rename"]}),(0,d.jsxs)(n._2,{onClick:()=>av(!0),children:[(0,d.jsx)(i.ooN,{}),"Ledger table",(0,d.jsxs)("span",{className:"ml-auto pl-3 font-mono text-[11px] text-muted-foreground",children:[D,".",s.R9]})]}),!J&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.mB,{}),(0,d.jsx)(n._2,{variant:"destructive",onClick:function(){I&&(A(I.id),b.push(aL))},children:"Forget this migration"})]})]})]}),(0,d.jsxs)(m.$,{size:"sm",disabled:a3||0===a1.steps.length,onClick:()=>aT("apply",a1),children:[(0,d.jsx)(i.eGB,{"data-icon":"inline-start"}),0===a1.steps.length?a0?"Nothing selected to apply":"Up to date":`Apply ${a1.steps.length}${a0?" selected":""} to ${c.name}`]})]})]}),aq&&(0,d.jsx)(ab,{report:aq,onDismiss:()=>ar(null)}),aS.error&&(0,d.jsx)("p",{className:"border-b bg-destructive/5 px-4 py-1.5 text-xs text-destructive",children:aS.error}),"migrations"===Q&&I.note&&(0,d.jsx)(aa,{note:I.note,notePath:I.source?.notePath??null,onEdit:()=>az(!0)}),(0,d.jsxs)("div",{className:"relative flex min-h-0 flex-1 flex-col",children:["history"===Q?(0,d.jsx)(o.F,{className:"min-h-0 flex-1",children:(0,d.jsx)(S.H,{events:aN,connections:aC,loading:aE.loading})}):aF?.error?(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:aF.error}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(N,{environments:aI,targetId:c.id,caption:a0?`${a_} selected`:function(a,b){if(b&&0===a.total)return"Reading…";let c=`${a.total} migration${1===a.total?"":"s"}`;return a.foreign>0?`${c} \xb7 ${a.foreign} not in this folder`:c}(aO,aE.loading),loading:aE.loading,selection:{checked:0!==a_&&(a_===I.steps.length||"mixed"),onToggle:function(){if(!I)return;let a=I.steps.map(a=>a.version);ag(b=>b.some(b=>a.includes(b))?[]:a)}},onSelect:aX,onCompare:function(a){t.lz.getState().setCompareTarget(c.id,a),b.push(`/${encodeURIComponent(c.id)}/diff`)}}),(0,d.jsxs)(o.F,{className:(0,x.cn)("min-h-0 flex-1",aE.loading&&"opacity-70"),children:[(I?.steps.length??0)===0&&!J&&(0,d.jsx)("div",{className:"p-6",children:(0,d.jsx)(U.k,{onFiles:aR,compact:!0})}),I.skipped.length>0&&J&&(0,d.jsxs)("div",{className:"border-b bg-muted/20 px-4 py-2 text-xs text-muted-foreground",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)(i.e5t,{className:"size-3.5 shrink-0 text-amber-600 dark:text-amber-400"}),"Skipped ",I.skipped.length," file",1===I.skipped.length?"":"s"]}),(0,d.jsx)("ul",{className:"mt-1 space-y-0.5 pl-5 font-mono text-[11px]",children:I.skipped.map(a=>(0,d.jsx)("li",{children:a},a))})]}),(I?.steps??[]).map(a=>(0,d.jsx)(L,{step:a,targetId:c.id,status:(0,r.FY)(a,aH),environments:aI.map(b=>({connection:b.connection,status:(0,r.FY)(a,b.ledger),entry:(0,r.ay)(a,b.ledger),error:b.error})),isNewestApplied:aQ?.version===a.version,expanded:ad.includes(a.version),busy:a3,editable:!J,drift:function(a){let b=aI.filter(b=>"drifted"===(0,r.FY)(a,b.ledger)),d=b.find(a=>a.connection.id===c.id)??b[0];if(!d)return null;let e=aK.data?.[d.connection.id],f=e?.ledger?.entries.find(b=>b.setName===aG&&b.version===a.version);return{connectionName:d.connection.name,appliedSql:e?.ledger?f?.applySql??null:void 0,error:e?.error??null}}(a),selected:a$.has(a.version),onSelect:b=>(function(a,b){if(!I)return;let c=I.steps.map(a=>a.version),d=ah.current;ah.current=a,ag(e=>{let f=!e.includes(a),g=[a];if(b&&d&&d!==a&&c.includes(d)){let[b,e]=[c.indexOf(d),c.indexOf(a)].sort((a,b)=>a-b);g=c.slice(b,e+1)}let h=new Set(e);for(let a of g)f?h.add(a):h.delete(a);return c.filter(a=>h.has(a))})})(a.version,b),onToggle:()=>{var b;return b=a.version,void ae(a=>a.includes(b)?a.filter(a=>a!==b):[...a,b])},actions:{onApplyThrough:()=>aT("apply",(0,r.gj)(I,aH,a.version)),onApplyOne:()=>aT("apply",{steps:[a],blockedBy:null}),onRevertThrough:()=>aT("revert",(0,r.e)(I,aH,a.version)),onMarkApplied:()=>aT("apply",aU([a]),!0),onMarkPending:()=>aT("revert",aU([a]),!0),onAttachRevert:()=>{at(a.version),window.requestAnimationFrame(()=>aA.current?.click())},onRemove:()=>I&&B(I.id,a.version),onOpenInEditor:aW}},a.version)),aP.length>0&&(0,d.jsx)(ac,{entries:aP,connectionName:c.name})]})]}),ao&&!J&&(0,d.jsx)("div",{className:"absolute inset-0 z-20 flex items-center justify-center bg-background/85 p-6",onDragOver:a=>a.preventDefault(),onDragLeave:()=>ap(!1),onDrop:a=>{a.preventDefault(),ap(!1),aS.importFrom(a.dataTransfer)},children:(0,d.jsx)(U.k,{onFiles:aR,className:"w-full max-w-xl bg-background"})})]}),(0,d.jsx)(T.l,{pane:Q,onPaneChange:W,historyCount:aN.length,migrationsLabel:"Files",caption:function({connectionName:a,summary:b,initialized:c,loading:d,foundIn:e,configuredSchema:f}){if(d&&null===c)return"Reading ledgers…";let g=[];return!1===c||b.pending>0?g.push(`${b.pending} of ${b.total} pending on ${a}`):g.push(`${a} is up to date`),b.drifted>0&&g.push(`${b.drifted} changed since applied`),e&&e!==f&&g.push(`ledger in ${e}`),g.join(" \xb7 ")}({connectionName:c.name,summary:aO,initialized:aH?.initialized??null,loading:aE.loading,foundIn:aH?.initialized?aH.schema:null,configuredSchema:D})}),(0,d.jsx)("input",{ref:aA,type:"file",accept:".sql",className:"sr-only",onChange:a=>{aZ(a.target.files),a.target.value=""}}),(0,d.jsx)(V.K,{open:aw,title:"Rename migration",initial:I.name,submitLabel:"Rename",onOpenChange:ax,onSubmit:function(a){I&&y(I.id,a)}}),ay&&(0,d.jsx)(X,{initial:I.note??"",file:I.source?I.source.notePath?.split(/[\\/]/).at(-1)??"README.md":null,onOpenChange:az,onSave:aY}),au&&(0,d.jsx)(R,{schema:D,found:aI.filter(a=>a.ledger?.initialized).map(a=>({name:a.connection.name,schema:a.ledger?.schema??D})),onOpenChange:av,onSave:a=>{E(a),aE.reload()}}),ai&&(0,d.jsx)(Y.I,{open:!0,direction:ai.direction,connection:c,steps:ai.steps,blockedBy:ai.blockedBy,progress:ak,running:am,recordOnly:ai.recordOnly??!1,note:I.note,onRun:()=>void aV(),onStop:()=>{aB.current=!0},onClose:function(){am||(aj(null),al(null))}})]})}function _({name:a,indexHref:b,children:c}){let e=(0,d.jsx)(i.olY,{className:"size-4 shrink-0 text-muted-foreground"});return(0,d.jsxs)(l.X,{children:[b?(0,d.jsx)(f(),{href:b,title:"All migrations","aria-label":"All migrations",className:"flex size-6 shrink-0 items-center justify-center rounded-md outline-none hover:bg-muted/60 focus-visible:ring-2 focus-visible:ring-ring/60",children:e}):e,(0,d.jsx)("span",{className:"min-w-0 truncate font-medium",children:a}),c]})}function aa({note:a,notePath:b,onEdit:c}){return(0,d.jsxs)("button",{type:"button",title:b?`${b} \xb7 click to edit`:"Click to edit",onClick:c,className:"group flex w-full cursor-pointer items-start gap-2 border-b px-4 py-2.5 text-left text-xs outline-none hover:bg-muted/30 focus-visible:bg-muted/30",children:[(0,d.jsx)(i.UA_,{className:"mt-px size-3.5 shrink-0 text-muted-foreground"}),(0,d.jsx)("span",{className:"max-h-40 min-w-0 flex-1 overflow-y-auto whitespace-pre-wrap break-words",children:a}),(0,d.jsx)(i.NOV,{className:"mt-px size-3.5 shrink-0 text-muted-foreground opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"})]})}function ab({report:a,onDismiss:b}){let c=[];return a.added>0&&c.push(`added ${a.added}`),a.updated>0&&c.push(`updated ${a.updated}`),a.reverts>0&&c.push(`${a.reverts} revert file${1===a.reverts?"":"s"}`),(0,d.jsxs)("div",{className:"flex items-start gap-2 border-b bg-muted/30 px-4 py-1.5 text-xs",children:[(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[c.length>0?`Imported: ${c.join(", ")}`:"Nothing new in those files",a.skipped.length>0&&(0,d.jsxs)("span",{className:"text-muted-foreground",children:[" ","\xb7 skipped ",a.skipped.slice(0,2).join(", "),a.skipped.length>2&&` and ${a.skipped.length-2} more`]})]}),(0,d.jsx)(m.$,{size:"xs",variant:"ghost",onClick:b,children:"Dismiss"})]})}function ac({entries:a,connectionName:b}){return(0,d.jsxs)("div",{className:"border-t bg-muted/20",children:[(0,d.jsxs)("p",{className:"flex items-center gap-2 px-4 py-2 text-xs text-muted-foreground",children:[(0,d.jsx)(i.e5t,{className:"size-3.5 shrink-0 text-amber-600 dark:text-amber-400"}),"Applied on ",b,", not in this folder"]}),a.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2 px-4 py-1.5 text-xs opacity-70",children:[(0,d.jsx)(K,{status:"applied"}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-muted-foreground",children:a.version}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:a.name||"—"}),(0,d.jsx)("span",{className:"shrink-0 text-muted-foreground/70",children:new Date(a.appliedAt).toLocaleString()})]},a.version))]})}},86871:(a,b,c)=>{"use strict";c.d(b,{T:()=>f});var d=c(48249);c(67484);var e=c(14490);function f({className:a,...b}){return(0,d.jsx)("textarea",{"data-slot":"textarea",className:(0,e.cn)("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",a),...b})}},92258:(a,b,c)=>{Promise.resolve().then(c.bind(c,97182))},97182:(a,b,c)=>{"use strict";c.d(b,{MigrationDetail:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call MigrationDetail() from the server but MigrationDetail is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx","MigrationDetail")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[741,430,928,755,202,421,593,729,172],()=>b(b.s=61708));module.exports=c})();
1
+ (()=>{var a={};a.id=838,a.ids=[838],a.modules={3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10410:(a,b,c)=>{Promise.resolve().then(c.bind(c,83927))},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12229:(a,b,c)=>{"use strict";c.d(b,{En:()=>k,Pc:()=>j,jl:()=>i});var d=c(31417),e=c(300),f=c(14490),g=c(15445);let h="ytdb:queries";(0,g.q)("db-studio:queries",h);let i=144,j=800,k=(0,d.v)()((0,e.Zr)(a=>({drafts:{},editorHeight:224,history:[],setDraft:(b,c)=>a(a=>({drafts:{...a.drafts,[b]:c}})),setEditorHeight:b=>a({editorHeight:Math.min(j,Math.max(i,Math.round(b)))}),record:(b,c)=>a(a=>{let d=c.trim();if(!d)return a;let e=a.history.find(a=>a.connectionId===b&&a.sql===d),g={id:e?.id??(0,f.z)(),connectionId:b,sql:d,executedAt:Date.now()},h=0,i=0;return{history:[g,...a.history.filter(a=>a.id!==g.id)].filter(a=>!(h>=200)&&!(i+a.sql.length>1e6)&&(h+=1,i+=a.sql.length,!0))}}),remove:b=>a(a=>({history:a.history.filter(a=>a.id!==b)}))}),{name:h}))},13367:(a,b,c)=>{"use strict";c.d(b,{os:()=>t,iX:()=>u,mw:()=>s});var d=c(48249),e=c(67484),f=c(23171),g=c(25297),h=c(13656);let i=new Set(["add","all","alter","always","and","as","asc","authorization","between","by","cascade","case","cast","check","collate","column","concurrently","constraint","create","cross","current","default","deferrable","deferred","delete","desc","distinct","drop","else","end","except","exclude","exists","false","foreign","from","full","generated","grant","group","having","identity","if","ilike","immediate","in","include","index","inherits","inner","instead","intersect","into","is","join","key","lateral","left","like","limit","match","materialized","natural","no","not","null","nulls","of","offset","on","only","or","order","outer","over","partition","primary","references","replace","restrict","returning","right","select","server","set","stored","table","temp","temporary","then","time","to","trigger","true","union","unique","unlogged","update","using","values","view","when","where","window","with","without","zone"]);function j(a){let b=[],c=0;for(;c<a.length;){let d=a[c];if(!d)break;if(m(d)){let d=c;for(c+=1;c<a.length&&m(a[c]);)c+=1;b.push({kind:"text",value:a.slice(d,c)});continue}if("-"===d&&"-"===a[c+1]){let d=c;for(c+=2;c<a.length&&"\n"!==a[c];)c+=1;b.push({kind:"comment",value:a.slice(d,c)});continue}if("/"===d&&"*"===a[c+1]){let d=a.indexOf("*/",c+2),e=-1===d?a.length:d+2;b.push({kind:"comment",value:a.slice(c,e)}),c=e;continue}if("$"===d){let d=function(a,b){if("$"!==a[b])return null;let c=b+1;for(;c<a.length&&p(a[c]);)c+=1;return"$"!==a[c]?null:a.slice(b,c+1)}(a,c);if(d){let e=c+d.length,f=a.indexOf(d,e),g=-1===f?a.length:f+d.length;b.push({kind:"string",value:a.slice(c,g)}),c=g;continue}}if('"'===d){c=l(a,c,'"',"ident",b);continue}if("'"===d){c=l(a,c,"'","string",b);continue}if(n(d)||"."===d&&n(a[c+1])){let d=c;c=function(a,b){let c=b;for("."===a[c]&&(c+=1);c<a.length&&n(a[c]);)c+=1;if("."===a[c]&&n(a[c+1]))for(c+=1;c<a.length&&n(a[c]);)c+=1;if("e"===a[c]||"E"===a[c]){let b=c+1;if(("+"===a[b]||"-"===a[b])&&(b+=1),n(a[b]))for(c=b;c<a.length&&n(a[c]);)c+=1}return c}(a,c),b.push({kind:"number",value:a.slice(d,c)});continue}if(o(d)){let d=c;for(c+=1;c<a.length&&p(a[c]);)c+=1;let e=a.slice(d,c);b.push({kind:function(a,b,c){let d=b.toLowerCase();if(i.has(d))return"keyword";let e=c;for(;e<a.length&&(" "===a[e]||" "===a[e]);)e+=1;return"("===a[e]?"function":"ident"}(a,e,c),value:e});continue}b.push({kind:"text",value:d}),c+=1}return b}function k(a){let b=[[]];for(let c of a){let a=c.value.split("\n");for(let d=0;d<a.length;d+=1){d>0&&b.push([]);let e=a[d],f=b[b.length-1];e&&f&&f.push({kind:c.kind,value:e})}}return b}function l(a,b,c,d,e){let f=b+1;for(;f<a.length;){if(a[f]===c){if(a[f+1]===c){f+=2;continue}f+=1;break}f+=1}return e.push({kind:d,value:a.slice(b,f)}),f}function m(a){return" "===a||" "===a||"\n"===a||"\r"===a}function n(a){return void 0!==a&&a>="0"&&a<="9"}function o(a){return void 0!==a&&(a>="A"&&a<="Z"||a>="a"&&a<="z"||"_"===a)}function p(a){return o(a)||n(a)||"$"===a}var q=c(14490);function r({tokens:a}){return a.map((a,b)=>(0,d.jsx)("span",{className:function(a){switch(a){case"keyword":return"text-sky-700 dark:text-sky-400";case"function":return"text-violet-700 dark:text-fuchsia-400";case"ident":return"text-foreground";case"string":case"number":return"text-amber-700 dark:text-amber-300";case"comment":return"text-muted-foreground";case"text":return"text-foreground/80";default:return a}}(a.kind),children:a.value},b))}async function s(a){try{await navigator.clipboard.writeText(a);return}catch{let b=document.createElement("textarea");b.value=a,b.style.position="fixed",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}}function t({sql:a,className:b}){let c=(0,e.useMemo)(()=>k(j(a.trimEnd())),[a]);return(0,d.jsx)("pre",{className:(0,q.cn)("overflow-x-auto font-mono text-[12px] leading-5 whitespace-pre",b),children:(0,d.jsx)("code",{children:c.map((a,b)=>(0,d.jsx)("div",{className:"min-h-5",children:(0,d.jsx)(r,{tokens:a})},b))})})}function u({sql:a,error:b,loading:c,actions:i}){let[l,m]=(0,e.useState)(!1),n=(0,e.useMemo)(()=>a?k(j(a.trimEnd())):[],[a]);if(b)return(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:b});if(!a||c&&0===n.length)return(0,d.jsx)("div",{className:"flex flex-col gap-2 p-4",children:Array.from({length:16},(a,b)=>(0,d.jsx)(h.E,{className:"h-4 w-full"},b))});async function o(){a&&(await s(a),m(!0),window.setTimeout(()=>m(!1),1500))}let p=`${Math.max(String(n.length).length,2)+1}ch`;return(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col","data-sql-source":"",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2 px-3 py-1",children:[i,(0,d.jsxs)(g.$,{type:"button",variant:"ghost",size:"sm",onClick:()=>void o(),children:[l?(0,d.jsx)(f.wiW,{"data-icon":"inline-start"}):(0,d.jsx)(f.hX7,{"data-icon":"inline-start"}),l?"Copied":"Copy SQL"]})]}),(0,d.jsx)("div",{className:(0,q.cn)("min-h-0 flex-1 overflow-auto",c&&"opacity-60"),children:(0,d.jsx)("pre",{className:"min-w-max px-4 pb-4 font-mono text-[13px] leading-6",children:n.map((a,b)=>(0,d.jsxs)("div",{className:"flex min-h-6",children:[(0,d.jsx)("span",{className:"sticky left-0 shrink-0 bg-background pr-4 text-right text-muted-foreground/45 select-none",style:{width:p},children:b+1}),(0,d.jsx)("code",{className:"pr-8 whitespace-pre",children:(0,d.jsx)(r,{tokens:a})})]},b))})})]})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26926:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735),e=c(97182);async function f({params:a}){let{setId:b}=await a;return(0,d.jsx)(e.MigrationDetail,{setId:decodeURIComponent(b)})}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},61708:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>t,handler:()=>v,routeModule:()=>u});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,35780))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,1777))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),r={children:["",{children:["[connectionId]",{children:["migrations",{children:["[setId]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,26926))),"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/migrations/[setId]/page.tsx"]}]},{"global-error":[q,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[p,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},["_not-found","_global-error","api","favicon.ico","icon.svg"]]},{layout:[i,"/Users/theobourgeois/code/db-studio/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,s=(0,e.H)({tree:r,page:"/[connectionId]/migrations/[setId]/page",pathname:"/[connectionId]/migrations/[setId]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),t=s.__next_app__,u=s.routeModule,v=s.handler},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83927:(a,b,c)=>{"use strict";c.d(b,{MigrationDetail:()=>$});var d=c(48249),e=c(2116),f=c.n(e),g=c(19099),h=c(67484),i=c(23171),j=c(44231),k=c(60671),l=c(86229),m=c(25297),n=c(82244),o=c(53286),p=c(20886),q=c(21883),r=c(78931),s=c(72428),t=c(99598),u=c(453),v=c(66280),w=c(12229),x=c(14490),y=c(30770),z=c(13367),A=c(37654),B=c(67657);function C(a){let b=a.replace(/\r\n?/g,"\n").replace(/\s+$/,"");return b?b.split("\n"):[]}let D={same:" ",add:"+",remove:"-"};function E({before:a,after:b,className:c}){let e=(0,h.useMemo)(()=>(function(a,b=3){let c=[];a.forEach((d,e)=>{if("same"===d.kind)return;let f=Math.max(0,e-b),g=Math.min(a.length-1,e+b),h=c.at(-1);h&&f<=h[1]+1?h[1]=Math.max(h[1],g):c.push([f,g])});let d=[],e=[],f=0,g=0;for(let b of a)d.push(f),e.push(g),"add"!==b.kind&&(f+=1),"remove"!==b.kind&&(g+=1);return c.map(([b,c])=>{let f=a.slice(b,c+1),g=f.filter(a=>"add"!==a.kind).length,h=f.filter(a=>"remove"!==a.kind).length,i=d[b]+ +(0!==g),j=e[b]+ +(0!==h);return{header:`@@ -${i},${g} +${j},${h} @@`,lines:f}})})(function(a,b){let c=C(a),d=C(b),e=0;for(;e<c.length&&e<d.length&&c[e]===d[e];)e+=1;let f=0;for(;f<c.length-e&&f<d.length-e&&c[c.length-1-f]===d[d.length-1-f];)f+=1;let g=c.slice(e,c.length-f),h=d.slice(e,d.length-f),i=function(a,b){let c=a.length,d=b.length,e=c+d,f=e+1,g=new Int32Array(2*e+3),h=[],i=!1;for(let j=0;j<=e&&!i;j+=1){if((h.length+1)*g.length>2e7)return null;h.push(g.slice());for(let e=-j;e<=j;e+=2){let h=e===-j||e!==j&&g[f+e-1]<g[f+e+1]?g[f+e+1]:g[f+e-1]+1,k=h-e;for(;h<c&&k<d&&a[h]===b[k];)h+=1,k+=1;if(g[f+e]=h,h>=c&&k>=d){i=!0;break}}}let j=[],k=c,l=d;for(let c=h.length-1;c>=0;c-=1){let d=h[c],e=k-l,g=e===-c||e!==c&&d[f+e-1]<d[f+e+1]?e+1:e-1,i=d[f+g],m=i-g;for(;k>i&&l>m;)j.push({kind:"same",text:a[k-1]}),k-=1,l-=1;c>0&&(k===i?j.push({kind:"add",text:b[l-1]}):j.push({kind:"remove",text:a[k-1]})),k=i,l=m}return j.reverse()}(g,h)??[...g.map(a=>({kind:"remove",text:a})),...h.map(a=>({kind:"add",text:a}))],j=[...c.slice(0,e).map(a=>({kind:"same",text:a})),...i,...c.slice(c.length-f).map(a=>({kind:"same",text:a}))],k=0,l=0;return j.map(a=>"same"===a.kind?(k+=1,l+=1,{...a,oldNo:k,newNo:l}):"remove"===a.kind?(k+=1,{...a,oldNo:k,newNo:null}):(l+=1,{...a,oldNo:null,newNo:l}))}(a,b)),[a,b]);return 0===e.length?(0,d.jsx)("p",{className:(0,x.cn)("text-xs text-muted-foreground",c),children:"Only whitespace at the end of the file differs."}):(0,d.jsx)("div",{className:(0,x.cn)("overflow-auto font-mono text-[11px] leading-5",c),children:(0,d.jsx)("table",{className:"w-full border-collapse",children:e.map(a=>(0,d.jsxs)("tbody",{children:[(0,d.jsx)("tr",{children:(0,d.jsx)("td",{colSpan:3,className:"bg-muted/60 px-3 text-muted-foreground select-none",children:a.header})}),a.lines.map((a,b)=>(0,d.jsxs)("tr",{className:(0,x.cn)("add"===a.kind&&"bg-emerald-500/12","remove"===a.kind&&"bg-red-500/12"),children:[(0,d.jsx)(F,{value:a.oldNo}),(0,d.jsx)(F,{value:a.newNo}),(0,d.jsxs)("td",{className:"pr-3 whitespace-pre",children:[(0,d.jsx)("span",{className:(0,x.cn)("inline-block w-4 pl-1 select-none","add"===a.kind&&"text-emerald-600 dark:text-emerald-400","remove"===a.kind&&"text-red-600 dark:text-red-400"),children:D[a.kind]}),a.text]})]},b))]},a.header))})})}function F({value:a}){return(0,d.jsx)("td",{className:"w-10 min-w-10 pr-2 text-right text-muted-foreground/50 tabular-nums select-none",children:a??""})}let G="w-24",H="w-[104px]";function I({checked:a,label:b,onToggle:c}){return(0,d.jsx)("button",{type:"button",role:"checkbox","aria-checked":a,"aria-label":b,title:b,onMouseDown:a=>a.shiftKey&&a.preventDefault(),onClick:a=>c(a.shiftKey),className:(0,x.cn)("flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[5px] border outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring/60",a?"border-foreground bg-foreground text-background":"border-input hover:border-foreground/50"),children:"mixed"===a?(0,d.jsx)(i.uPM,{className:"size-3"}):a?(0,d.jsx)(i.wiW,{className:"size-3"}):null})}let J={applied:"applied",drifted:"applied, but the file changed since",pending:"not applied",unknown:"not read yet"};function K({status:a}){return"applied"===a?(0,d.jsx)(i.wiW,{className:"size-4 text-emerald-600 dark:text-emerald-400"}):"drifted"===a?(0,d.jsx)(i.e5t,{className:"size-3.5 text-amber-600 dark:text-amber-400"}):"unknown"===a?(0,d.jsx)("span",{className:"size-1.5 rounded-full bg-muted-foreground/30"}):(0,d.jsx)(i.uPM,{className:"size-3.5 text-muted-foreground/40"})}function L({step:a,environments:b,targetId:c,status:e,isNewestApplied:f,expanded:g,busy:j,editable:k=!0,drift:l,selected:o,onSelect:p,onToggle:q,actions:r}){let[s,t]=(0,h.useState)(null),u="changes"!==s||l?s??(l?"changes":"apply"):"apply",v="revert"===u?"revert":"apply",[w,y]=(0,h.useState)(!1),C="revert"===v?a.revertSql??"":a.applySql,D=(0,B.qb)(a.transaction),F=(0,B.TA)(a.transaction),M=[];async function N(){await (0,z.mw)(C),y(!0),window.setTimeout(()=>y(!1),1500)}return"drifted"===e&&"changes"!==u&&M.push("This file changed after it was applied here, so it is no longer the migration that ran."),F&&M.push(F),(0,d.jsxs)("div",{className:"border-b last:border-b-0",children:[(0,d.jsxs)("div",{className:(0,x.cn)("flex h-10 items-center transition-colors hover:bg-muted/40",o&&"bg-muted/30",j&&"opacity-60"),children:[(0,d.jsx)("span",{className:"flex h-10 shrink-0 items-center pl-3",children:(0,d.jsx)(I,{checked:o,label:o?`Deselect ${a.version}`:`Select ${a.version}`,onToggle:p})}),(0,d.jsxs)("button",{type:"button","aria-expanded":g,"aria-label":g?`Hide SQL for ${a.version}`:`Show SQL for ${a.version}`,onClick:q,className:"flex h-8 min-w-0 flex-1 cursor-pointer items-center gap-2 rounded-md px-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring/60",children:[(0,d.jsx)(i.nNJ,{className:(0,x.cn)("size-3.5 shrink-0 text-muted-foreground/70 transition-transform",g&&"rotate-90")}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-xs text-muted-foreground",children:a.version}),(0,d.jsx)("span",{className:"min-w-0 truncate text-sm",children:a.name}),D&&(0,d.jsx)("span",{className:"shrink-0 rounded border border-amber-600/25 bg-amber-500/10 px-1.5 text-[10px] text-amber-700 dark:text-amber-400",children:D})]}),b.map(b=>{let e=b.connection.id===c;return(0,d.jsx)("span",{title:b.error?`${b.connection.name}: ${b.error}`:`${a.version} is ${J[b.status]} on ${b.connection.name}${b.entry?` — ${function(a){if(!a)return"";let b=new Date(a.appliedAt);return Number.isNaN(b.getTime())?a.appliedAt:b.toLocaleString()}(b.entry)}`:""}`,className:(0,x.cn)("flex h-10 shrink-0 items-center justify-center",G,e&&"bg-foreground/[0.04]"),children:(0,d.jsx)(K,{status:b.status})},b.connection.id)}),(0,d.jsxs)("div",{className:(0,x.cn)("flex shrink-0 items-center justify-end gap-1 pr-2 pl-1",H),children:["pending"===e&&(0,d.jsx)(m.$,{size:"xs",variant:"outline",disabled:j,onClick:r.onApplyThrough,children:"Apply"}),f&&a.revertSql&&(0,d.jsxs)(m.$,{size:"xs",variant:"ghost",disabled:j,onClick:r.onRevertThrough,children:[(0,d.jsx)(i.ij9,{"data-icon":"inline-start"}),"Revert"]}),(0,d.jsxs)(n.rI,{children:[(0,d.jsx)(n.ty,{render:(0,d.jsx)(m.$,{size:"icon-xs",variant:"ghost","aria-label":`Actions for ${a.version}`}),className:"cursor-pointer",children:(0,d.jsx)(i.YKd,{})}),(0,d.jsxs)(n.SQ,{align:"end",className:"min-w-56",children:[(0,d.jsx)(n._2,{disabled:j||"applied"===e,onClick:r.onApplyThrough,children:"Apply everything through here"}),(0,d.jsx)(n._2,{disabled:j||"applied"===e,onClick:r.onApplyOne,children:"Apply only this one"}),(0,d.jsx)(n._2,{disabled:j||"pending"===e||!a.revertSql,onClick:r.onRevertThrough,children:"Revert back through here"}),(0,d.jsx)(n.mB,{}),(0,d.jsxs)(n._2,{disabled:j||"applied"===e,onClick:r.onMarkApplied,children:[(0,d.jsx)(i.nXx,{}),"Mark as already applied"]}),(0,d.jsxs)(n._2,{disabled:j||"pending"===e,onClick:r.onMarkPending,children:[(0,d.jsx)(i.fJ4,{}),"Mark as not applied"]}),(0,d.jsx)(n.mB,{}),k&&(0,d.jsxs)(n._2,{onClick:r.onAttachRevert,children:[(0,d.jsx)(i.W4E,{}),a.revertSql?"Replace revert file…":"Add a revert file…"]}),(0,d.jsxs)(n._2,{onClick:()=>r.onOpenInEditor(C),children:[(0,d.jsx)(i.Uoo,{}),"Open ",v," SQL in editor"]}),(0,d.jsxs)(n._2,{onClick:()=>void N(),children:[(0,d.jsx)(i.hX7,{}),"Copy ",v," SQL"]}),k&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.mB,{}),(0,d.jsx)(n._2,{variant:"destructive",onClick:r.onRemove,children:"Remove from this set"})]})]})]})]})]}),g&&(0,d.jsxs)("div",{className:"border-t bg-muted/25",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5",children:[(0,d.jsx)(A.x,{label:`SQL for ${a.version}`,value:u,onChange:t,options:[...l?[{value:"changes",label:"Changes"}]:[],{value:"apply",label:"Apply"},{value:"revert",label:"Revert"}]}),"changes"===u&&l?(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-3 font-mono text-[11px]",children:[(0,d.jsxs)("span",{className:"shrink-0 text-red-600 dark:text-red-400",children:["− ran on ",l.connectionName]}),(0,d.jsxs)("span",{className:"truncate text-emerald-600 dark:text-emerald-400",children:["+ ",a.applyPath]})]}):(0,d.jsx)("span",{className:"min-w-0 truncate font-mono text-[11px] text-muted-foreground",children:"revert"===u?a.revertPath??"no revert file":a.applyPath}),"changes"!==u&&(0,d.jsxs)(m.$,{size:"xs",variant:"ghost",className:"ml-auto",onClick:()=>void N(),children:[w?(0,d.jsx)(i.wiW,{"data-icon":"inline-start"}):(0,d.jsx)(i.hX7,{"data-icon":"inline-start"}),w?"Copied":"Copy"]})]}),M.length>0&&(0,d.jsx)("ul",{className:"space-y-1 px-3 pb-2",children:M.map(a=>(0,d.jsxs)("li",{className:"flex gap-1.5 text-[11px] text-amber-700 dark:text-amber-400",children:[(0,d.jsx)(i.e5t,{className:"mt-px size-3 shrink-0"}),(0,d.jsx)("span",{children:a})]},a))}),"changes"===u&&l?l.error?(0,d.jsx)("p",{className:"px-3 pb-3 font-mono text-xs text-destructive",children:l.error}):void 0===l.appliedSql?(0,d.jsxs)("p",{className:"px-3 pb-3 text-xs text-muted-foreground",children:["Reading what ran on ",l.connectionName,"…"]}):null===l.appliedSql?(0,d.jsxs)("p",{className:"px-3 pb-3 text-xs text-muted-foreground",children:[l.connectionName," did not keep the SQL it ran, so there is nothing to compare against."]}):(0,d.jsx)(E,{before:l.appliedSql,after:a.applySql,className:"max-h-96 pb-2"}):C?(0,d.jsx)(z.os,{sql:C,className:"max-h-72 overflow-auto px-3 pb-3"}):(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 pb-3 text-xs text-muted-foreground",children:[(0,d.jsx)("span",{children:"No revert file, so this one cannot be undone from here."}),k&&(0,d.jsxs)(m.$,{size:"xs",variant:"outline",onClick:r.onAttachRevert,children:[(0,d.jsx)(i.W4E,{"data-icon":"inline-start"}),"Add one"]})]})]})]})}function M({environments:a,targetId:b,onSelect:c}){let e=a.find(a=>a.connection.id===b);return e?(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:"Running against"}),(0,d.jsxs)(n.rI,{children:[(0,d.jsxs)(n.ty,{disabled:a.length<2,className:"flex h-7 cursor-pointer items-center gap-1.5 rounded-lg border bg-background px-2 text-xs font-medium outline-none hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-default data-open:bg-muted/60",children:[(0,d.jsx)(y.F,{connection:e.connection}),(0,d.jsx)("span",{className:"max-w-32 truncate",children:e.connection.name})]}),(0,d.jsx)(n.SQ,{align:"start",className:"min-w-52",children:a.map(a=>(0,d.jsxs)(n._2,{onClick:()=>c(a.connection.id),className:a.connection.id===b?"font-medium":void 0,children:[(0,d.jsx)(y.F,{connection:a.connection}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:a.connection.name}),(0,d.jsxs)("span",{className:"shrink-0 tabular-nums text-muted-foreground",children:[a.summary.applied,"/",a.summary.total]})]},a.connection.id))})]})]}):null}function N({environments:a,targetId:b,caption:c,loading:e,selection:f,onSelect:g,onCompare:h}){return(0,d.jsxs)("div",{className:"flex h-11 shrink-0 items-center border-b bg-muted/20",children:[(0,d.jsx)("span",{className:"flex h-11 shrink-0 items-center pl-3",children:(0,d.jsx)(I,{checked:f.checked,label:f.checked?"Clear selection":"Select all",onToggle:()=>f.onToggle()})}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate px-2 text-xs text-muted-foreground",children:c}),a.map(a=>{let{connection:c,summary:f,ledger:h,error:i}=a,j=c.id===b;return(0,d.jsxs)("button",{type:"button",disabled:j,"aria-current":j?"true":void 0,title:j?`${c.name} is what Apply and Revert run against`:`Run against ${c.name} instead`,onClick:()=>g(c.id),className:(0,x.cn)("flex h-11 shrink-0 flex-col items-center justify-center gap-0.5 border-l text-[11px] outline-none",G,j?"cursor-default bg-foreground/[0.04] font-medium":"cursor-pointer text-muted-foreground hover:bg-muted/60 hover:text-foreground",e&&"opacity-60"),children:[(0,d.jsxs)("span",{className:"flex max-w-full items-center gap-1",children:[(0,d.jsx)(y.F,{connection:c,className:"size-1.5"}),(0,d.jsx)("span",{className:"truncate",children:c.name})]}),i?(0,d.jsx)("span",{className:"text-destructive",children:"unreachable"}):h?(0,d.jsxs)("span",{className:"tabular-nums text-muted-foreground/80",children:[f.applied,"/",f.total,f.drifted>0&&(0,d.jsx)("span",{className:"text-amber-600 dark:text-amber-400",children:" !"})]}):(0,d.jsx)("span",{className:"text-muted-foreground/70",children:"reading…"})]},c.id)}),(0,d.jsx)("div",{className:(0,x.cn)("flex shrink-0 items-center justify-end border-l pr-2 pl-1",H),children:a.length>1&&(0,d.jsx)(m.$,{size:"icon-xs",variant:"ghost",title:"Compare the two schemas","aria-label":"Compare schemas",onClick:()=>{let c=a.find(a=>a.connection.id!==b);c&&h(c.connection.id)},children:(0,d.jsx)(i.R4X,{})})})]})}var O=c(38393),P=c(88877),Q=c(90863);function R({schema:a,found:b,onOpenChange:c,onSave:e}){let[f,g]=(0,h.useState)(a),i=f.trim(),j=(0,s.hD)(i),k=b.filter(a=>a.schema!==i);function l(){j&&(e(i),c(!1))}return(0,d.jsx)(O.lG,{open:!0,onOpenChange:c,children:(0,d.jsxs)(O.Cf,{className:"sm:max-w-md",children:[(0,d.jsxs)(O.c7,{children:[(0,d.jsx)(O.L3,{children:"Ledger schema"}),(0,d.jsx)(O.rr,{children:"Where each database keeps its record of what has run. Created on the first apply."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)(Q.J,{htmlFor:"ledger-schema",children:"Schema"}),(0,d.jsx)(P.p,{id:"ledger-schema",value:f,spellCheck:!1,autoComplete:"off","aria-invalid":i.length>0&&!j,onChange:a=>g(a.target.value),onKeyDown:a=>"Enter"===a.key&&l()}),(0,d.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:j?`${i}.${s.R9}`:"\xa0"}),i.length>0&&!j&&(0,d.jsx)("p",{className:"text-xs text-destructive",children:"Letters, digits and underscores only, starting with a letter or underscore."})]}),k.length>0&&(0,d.jsxs)("p",{className:"rounded-md border border-amber-600/25 bg-amber-500/8 px-3 py-2 text-xs",children:[k.map(a=>`${a.name} keeps its ledger in ${a.schema}`).join("; "),". That one stays where it is."]}),(0,d.jsxs)(O.Es,{children:[i!==s.aC&&(0,d.jsx)(m.$,{variant:"ghost",onClick:()=>g(s.aC),children:"Reset"}),(0,d.jsx)(m.$,{variant:"outline",onClick:()=>c(!1),children:"Cancel"}),(0,d.jsx)(m.$,{disabled:!j,onClick:l,children:"Save"})]})]})})}var S=c(77963),T=c(76829),U=c(65292),V=c(29613),W=c(86871);function X({initial:a,file:b,onOpenChange:c,onSave:e}){let[f,g]=(0,h.useState)(a),[i,j]=(0,h.useState)(!1),[k,l]=(0,h.useState)(null),n=f.trim()!==a.trim();async function o(a){if(a?.preventDefault(),n&&!i){j(!0),l(null);try{await e(f.trim()),c(!1)}catch(a){l(a instanceof Error?a.message:String(a))}finally{j(!1)}}}return(0,d.jsx)(O.lG,{open:!0,onOpenChange:a=>!i&&c(a),children:(0,d.jsx)(O.Cf,{className:"sm:max-w-lg",showCloseButton:!1,children:(0,d.jsxs)("form",{onSubmit:a=>void o(a),className:"flex flex-col gap-4",children:[(0,d.jsx)(O.c7,{children:(0,d.jsxs)("div",{className:"flex items-baseline gap-3",children:[(0,d.jsx)(O.L3,{children:"Note"}),b&&(0,d.jsx)("span",{className:"ml-auto truncate font-mono text-[11px] text-muted-foreground",title:"Written into the migration's folder, to commit with the SQL",children:b})]})}),(0,d.jsx)(W.T,{autoFocus:!0,"aria-label":"Note",value:f,maxLength:s.XG,placeholder:"Apply 0001–0007, deploy the app, then apply 0008.",className:"max-h-[50vh] min-h-32",onChange:a=>g(a.target.value),onKeyDown:a=>{"Enter"===a.key&&(a.metaKey||a.ctrlKey)&&o()}}),k&&(0,d.jsx)("p",{className:"text-xs text-destructive",children:k}),(0,d.jsxs)(O.Es,{children:[(0,d.jsx)(m.$,{type:"button",variant:"ghost",disabled:i,onClick:()=>c(!1),children:"Cancel"}),(0,d.jsx)(m.$,{type:"submit",disabled:!n||i,children:i?"Saving…":"Save"})]})]})})})}var Y=c(78394),Z=c(30904);function $({setId:a}){let b=(0,g.useRouter)(),{connection:c,tables:e}=(0,j.k)(),l=(0,v.jV)(a=>a.addFiles),y=(0,v.jV)(a=>a.renameSet),z=(0,v.jV)(a=>a.setNote),A=(0,v.jV)(a=>a.removeSet),B=(0,v.jV)(a=>a.removeStep),C=(0,v.jV)(a=>a.record),D=(0,v.jV)(a=>a.ledgerSchema),E=(0,v.jV)(a=>a.setLedgerSchema),F=(0,v.Ss)(a),{root:G,checkout:H}=(0,v.ox)(c.id),I=(0,Z.y)((0,s.km)(a)?G:null,H),J=(0,s.km)(a)?I.data?.sets.find(b=>b.id===a)??null:F,K=!!J?.source,O=(0,t.gz)(c.id),P=(0,w.En)(a=>a.setDraft),Q=(0,k.$C)(),[W,ad]=(0,h.useState)("migrations"),[ae,af]=(0,h.useState)([]),[ag,ah]=(0,h.useState)([]),ai=(0,h.useRef)(null),[aj,ak]=(0,h.useState)(null),[al,am]=(0,h.useState)(null),[an,ao]=(0,h.useState)(!1),[ap,aq]=(0,h.useState)(!1),[ar,as]=(0,h.useState)(null),[at,au]=(0,h.useState)(null),[av,aw]=(0,h.useState)(!1),[ax,ay]=(0,h.useState)(!1),[az,aA]=(0,h.useState)(!1),aB=(0,h.useRef)(null),aC=(0,h.useRef)(!1),aD=(0,h.useMemo)(()=>[c,...O],[c,O]),aE=aD.map(a=>a.url).join("|"),aF=(0,p.Y)(`ledgers:${D}:${aE}`,async a=>Object.fromEntries(await Promise.all(aD.map(async b=>{try{return[b.id,{ledger:await q.F.ledger(b.url,D,a),error:null}]}catch(c){if(a.aborted)throw c;return[b.id,{ledger:null,error:c instanceof Error?c.message:String(c)}]}})))),aG=aF.data?.[c.id]??null,aH=J?.name??"",aI=(0,h.useMemo)(()=>(0,r.Gf)(aG?.ledger,aH),[aG?.ledger,aH]),aJ=(0,h.useMemo)(()=>aD.map(a=>{let b=aF.data?.[a.id]??null,c=(0,r.Gf)(b?.ledger,aH);return{connection:a,ledger:c,error:b?.error??null,summary:(0,r.eh)(J,c)}}),[aD,aF.data,J,aH]),aK=(0,h.useMemo)(()=>{let a=new Set;for(let b of J?.steps??[])if(ae.includes(b.version))for(let c of aJ)"drifted"===(0,r.FY)(b,c.ledger)&&a.add(c.connection.id);return aD.filter(b=>a.has(b.id))},[J,ae,aJ,aD]),aL=(0,p.Y)(`stored:${D}:${aK.map(a=>a.url).join("|")}`,async a=>Object.fromEntries(await Promise.all(aK.map(async b=>{try{return[b.id,{ledger:await q.F.ledger(b.url,D,a,!0),error:null}]}catch(c){if(a.aborted)throw c;return[b.id,{ledger:null,error:c instanceof Error?c.message:String(c)}]}})))),aM=`/${encodeURIComponent(c.id)}/migrations`,aN=(0,v.jV)(a=>a.history),aO=(0,h.useMemo)(()=>(0,u.x)(aJ.map(a=>({connection:a.connection,ledger:a.ledger})),aN).filter(a=>a.setName===aH),[aJ,aN,aH]),aP=(0,r.eh)(J,aI),aQ=(0,h.useMemo)(()=>(0,r.nb)(J,aI),[J,aI]),aR=(0,r.kB)(J,aI),aS=(0,h.useCallback)(b=>{as(l(a,b.files)),ad("migrations")},[l,a]),aT=(0,U.$)(aS);function aU(a,b,c=!1){(0!==b.steps.length||b.blockedBy)&&(am(null),ak({...b,direction:a,recordOnly:c}))}function aV(a){return{steps:a,blockedBy:null}}async function aW(){if(!aj||!J)return;aC.current=!1,ao(!0);let a=aj.steps.map(a=>({version:a.version,name:a.name,status:"waiting"}));am(a);let b=(b,c)=>{am(a=a.map((a,d)=>d===b?{...a,...c}:a))},d=b=>{am(a=a.map((a,c)=>c>=b&&"waiting"===a.status?{...a,status:"skipped"}:a))};for(let[a,e]of aj.steps.entries()){if(aC.current){d(a);break}let f="apply"===aj.direction?e.applySql:e.revertSql;if(!f&&!aj.recordOnly){b(a,{status:"failed",error:"No revert file for this migration."}),d(a+1);break}b(a,{status:"running"});try{let d=await q.F.migrate(c.url,{direction:aj.direction,version:e.version,name:e.name,checksum:e.checksum,setName:J.name,sql:f??"",revertSql:"apply"===aj.direction?e.revertSql:void 0,ledgerSchema:D,recordOnly:aj.recordOnly});b(a,{status:"ok",durationMs:d.durationMs}),C({setId:J.id,setName:J.name,connectionId:c.id,connectionName:c.name,direction:aj.direction,version:e.version,name:e.name,status:"ok",recorded:aj.recordOnly,durationMs:d.durationMs})}catch(g){let f=g instanceof Error?g.message:String(g);b(a,{status:"failed",error:f}),d(a+1),C({setId:J.id,setName:J.name,connectionId:c.id,connectionName:c.name,direction:aj.direction,version:e.version,name:e.name,status:"failed",durationMs:0,error:f});break}}ao(!1),aF.reload(),aL.reload(),e.reload(),a.every(a=>"ok"===a.status)&&ah([])}function aX(a){P(c.id,a),b.push(`/${encodeURIComponent(c.id)}/query`)}function aY(a){Q(a)}async function aZ(a){J&&(J.source?(await q.F.note(J.source.root,J.source.path,a),I.reload()):z(J.id,a))}async function a$(a){let b=a?.[0];au(null),b&&at&&J&&as(l(J.id,[{path:`revert/${at}_${b.name}`,text:await b.text()}]))}if(!J){let b=(0,s.km)(a)&&I.loading;return(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col",children:[(0,d.jsx)(_,{name:b?"Reading…":"Not found"}),(0,d.jsx)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 text-muted-foreground",children:b?(0,d.jsx)("p",{className:"text-sm",children:"Reading the folder…"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{className:"text-sm",children:I.error?I.error:(0,s.km)(a)?"That migration is not in the folder on the branch you have checked out.":"That migration is no longer here."}),(0,d.jsx)(f(),{href:aM,className:"text-foreground underline underline-offset-4",children:"All migrations"})]})})]})}let a_=new Set(ag),a0=J.steps.filter(a=>a_.has(a.version)).length,a1=a0>0,a2=a1?(0,r.DM)(J,aI,a_):(0,r.gj)(J,aI),a3=a1?(0,r.n9)(J,aI,a_):(0,r.e)(J,aI),a4=an||aF.loading||I.loading;return(0,d.jsxs)("div",{className:"relative flex min-h-0 flex-1 flex-col",onDragOver:a=>{!K&&a.dataTransfer.types.includes("Files")&&(a.preventDefault(),aq(!0))},children:[(0,d.jsxs)(_,{name:J?.name??"",indexHref:aM,children:[J.source&&(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-1 text-[11px] text-muted-foreground",title:`Read from ${J.source.path}`,children:[(0,d.jsx)(i.WzY,{className:"size-3.5 shrink-0"}),(0,d.jsx)("span",{className:"max-w-48 truncate font-mono",children:J.source.path}),I.data?.git&&(0,d.jsxs)("span",{className:"shrink-0 rounded border px-1.5 font-mono text-[10px]",children:[I.data.git.branch,I.data.git.dirty&&"*"]})]}),(0,d.jsx)(M,{environments:aJ,targetId:c.id,onSelect:aY}),(0,d.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,d.jsx)(m.$,{size:"icon-sm",variant:"ghost",disabled:aF.loading||I.loading,"aria-label":"Refresh",title:K?"Re-read the files and every environment's ledger":"Re-read every environment's ledger",onClick:function(){aF.reload(),aL.reload(),K&&I.reload()},children:(0,d.jsx)(i.oS8,{className:(0,x.cn)((aF.loading||I.loading)&&"animate-spin")})}),!K&&(0,d.jsxs)(m.$,{size:"sm",variant:"ghost",onClick:()=>aq(!0),children:[(0,d.jsx)(i.FeY,{"data-icon":"inline-start"}),"Import"]}),(0,d.jsxs)(n.rI,{children:[(0,d.jsx)(n.ty,{render:(0,d.jsx)(m.$,{size:"icon-sm",variant:"ghost","aria-label":"More migration actions"}),className:"cursor-pointer",children:(0,d.jsx)(i.YKd,{})}),(0,d.jsxs)(n.SQ,{align:"end",className:"min-w-64",children:[(0,d.jsxs)(n._2,{disabled:a4||0===a2.steps.length,onClick:()=>aU("apply",aV(a2.steps),!0),children:[(0,d.jsx)(i.nXx,{}),"Mark ",a2.steps.length," as already applied"]}),(0,d.jsx)(n.mB,{}),(0,d.jsxs)(n._2,{disabled:a4||0===a3.steps.length,onClick:()=>aU("revert",a3),children:[(0,d.jsx)(i.ij9,{}),a1?`Revert ${a3.steps.length} selected on ${c.name}`:`Revert everything on ${c.name}`]}),(0,d.jsx)(n.mB,{}),(0,d.jsxs)(n._2,{onClick:()=>aA(!0),children:[(0,d.jsx)(i.UA_,{}),J.note?"Edit note":"Add note"]}),!K&&(0,d.jsxs)(n._2,{onClick:()=>ay(!0),children:[(0,d.jsx)(i.NOV,{}),"Rename"]}),(0,d.jsxs)(n._2,{onClick:()=>aw(!0),children:[(0,d.jsx)(i.ooN,{}),"Ledger table",(0,d.jsxs)("span",{className:"ml-auto pl-3 font-mono text-[11px] text-muted-foreground",children:[D,".",s.R9]})]}),!K&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.mB,{}),(0,d.jsx)(n._2,{variant:"destructive",onClick:function(){J&&(A(J.id),b.push(aM))},children:"Forget this migration"})]})]})]}),(0,d.jsxs)(m.$,{size:"sm",disabled:a4||0===a2.steps.length,onClick:()=>aU("apply",a2),children:[(0,d.jsx)(i.eGB,{"data-icon":"inline-start"}),0===a2.steps.length?a1?"Nothing selected to apply":"Up to date":`Apply ${a2.steps.length}${a1?" selected":""} to ${c.name}`]})]})]}),ar&&(0,d.jsx)(ab,{report:ar,onDismiss:()=>as(null)}),aT.error&&(0,d.jsx)("p",{className:"border-b bg-destructive/5 px-4 py-1.5 text-xs text-destructive",children:aT.error}),"migrations"===W&&J.note&&(0,d.jsx)(aa,{note:J.note,notePath:J.source?.notePath??null,onEdit:()=>aA(!0)}),(0,d.jsxs)("div",{className:"relative flex min-h-0 flex-1 flex-col",children:["history"===W?(0,d.jsx)(o.F,{className:"min-h-0 flex-1",children:(0,d.jsx)(S.H,{events:aO,connections:aD,loading:aF.loading})}):aG?.error?(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:aG.error}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(N,{environments:aJ,targetId:c.id,caption:a1?`${a0} selected`:function(a,b){if(b&&0===a.total)return"Reading…";let c=`${a.total} migration${1===a.total?"":"s"}`;return a.foreign>0?`${c} \xb7 ${a.foreign} not in this folder`:c}(aP,aF.loading),loading:aF.loading,selection:{checked:0!==a0&&(a0===J.steps.length||"mixed"),onToggle:function(){if(!J)return;let a=J.steps.map(a=>a.version);ah(b=>b.some(b=>a.includes(b))?[]:a)}},onSelect:aY,onCompare:function(a){t.lz.getState().setCompareTarget(c.id,a),b.push(`/${encodeURIComponent(c.id)}/diff`)}}),(0,d.jsxs)(o.F,{className:(0,x.cn)("min-h-0 flex-1",aF.loading&&"opacity-70"),children:[(J?.steps.length??0)===0&&!K&&(0,d.jsx)("div",{className:"p-6",children:(0,d.jsx)(U.k,{onFiles:aS,compact:!0})}),J.skipped.length>0&&K&&(0,d.jsxs)("div",{className:"border-b bg-muted/20 px-4 py-2 text-xs text-muted-foreground",children:[(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)(i.e5t,{className:"size-3.5 shrink-0 text-amber-600 dark:text-amber-400"}),"Skipped ",J.skipped.length," file",1===J.skipped.length?"":"s"]}),(0,d.jsx)("ul",{className:"mt-1 space-y-0.5 pl-5 font-mono text-[11px]",children:J.skipped.map(a=>(0,d.jsx)("li",{children:a},a))})]}),(J?.steps??[]).map(a=>(0,d.jsx)(L,{step:a,targetId:c.id,status:(0,r.FY)(a,aI),environments:aJ.map(b=>({connection:b.connection,status:(0,r.FY)(a,b.ledger),entry:(0,r.ay)(a,b.ledger),error:b.error})),isNewestApplied:aR?.version===a.version,expanded:ae.includes(a.version),busy:a4,editable:!K,drift:function(a){let b=aJ.filter(b=>"drifted"===(0,r.FY)(a,b.ledger)),d=b.find(a=>a.connection.id===c.id)??b[0];if(!d)return null;let e=aL.data?.[d.connection.id],f=e?.ledger?.entries.find(b=>b.setName===aH&&b.version===a.version);return{connectionName:d.connection.name,appliedSql:e?.ledger?f?.applySql??null:void 0,error:e?.error??null}}(a),selected:a_.has(a.version),onSelect:b=>(function(a,b){if(!J)return;let c=J.steps.map(a=>a.version),d=ai.current;ai.current=a,ah(e=>{let f=!e.includes(a),g=[a];if(b&&d&&d!==a&&c.includes(d)){let[b,e]=[c.indexOf(d),c.indexOf(a)].sort((a,b)=>a-b);g=c.slice(b,e+1)}let h=new Set(e);for(let a of g)f?h.add(a):h.delete(a);return c.filter(a=>h.has(a))})})(a.version,b),onToggle:()=>{var b;return b=a.version,void af(a=>a.includes(b)?a.filter(a=>a!==b):[...a,b])},actions:{onApplyThrough:()=>aU("apply",(0,r.gj)(J,aI,a.version)),onApplyOne:()=>aU("apply",{steps:[a],blockedBy:null}),onRevertThrough:()=>aU("revert",(0,r.e)(J,aI,a.version)),onMarkApplied:()=>aU("apply",aV([a]),!0),onMarkPending:()=>aU("revert",aV([a]),!0),onAttachRevert:()=>{au(a.version),window.requestAnimationFrame(()=>aB.current?.click())},onRemove:()=>J&&B(J.id,a.version),onOpenInEditor:aX}},a.version)),aQ.length>0&&(0,d.jsx)(ac,{entries:aQ,connectionName:c.name})]})]}),ap&&!K&&(0,d.jsx)("div",{className:"absolute inset-0 z-20 flex items-center justify-center bg-background/85 p-6",onDragOver:a=>a.preventDefault(),onDragLeave:()=>aq(!1),onDrop:a=>{a.preventDefault(),aq(!1),aT.importFrom(a.dataTransfer)},children:(0,d.jsx)(U.k,{onFiles:aS,className:"w-full max-w-xl bg-background"})})]}),(0,d.jsx)(T.l,{pane:W,onPaneChange:ad,historyCount:aO.length,migrationsLabel:"Files",caption:function({connectionName:a,summary:b,initialized:c,loading:d,foundIn:e,configuredSchema:f}){if(d&&null===c)return"Reading ledgers…";let g=[];return!1===c||b.pending>0?g.push(`${b.pending} of ${b.total} pending on ${a}`):g.push(`${a} is up to date`),b.drifted>0&&g.push(`${b.drifted} changed since applied`),e&&e!==f&&g.push(`ledger in ${e}`),g.join(" \xb7 ")}({connectionName:c.name,summary:aP,initialized:aI?.initialized??null,loading:aF.loading,foundIn:aI?.initialized?aI.schema:null,configuredSchema:D})}),(0,d.jsx)("input",{ref:aB,type:"file",accept:".sql",className:"sr-only",onChange:a=>{a$(a.target.files),a.target.value=""}}),(0,d.jsx)(V.K,{open:ax,title:"Rename migration",initial:J.name,submitLabel:"Rename",onOpenChange:ay,onSubmit:function(a){J&&y(J.id,a)}}),az&&(0,d.jsx)(X,{initial:J.note??"",file:J.source?J.source.notePath?.split(/[\\/]/).at(-1)??"README.md":null,onOpenChange:aA,onSave:aZ}),av&&(0,d.jsx)(R,{schema:D,found:aJ.filter(a=>a.ledger?.initialized).map(a=>({name:a.connection.name,schema:a.ledger?.schema??D})),onOpenChange:aw,onSave:a=>{E(a),aF.reload()}}),aj&&(0,d.jsx)(Y.I,{open:!0,direction:aj.direction,connection:c,steps:aj.steps,blockedBy:aj.blockedBy,progress:al,running:an,recordOnly:aj.recordOnly??!1,note:J.note,onRun:()=>void aW(),onStop:()=>{aC.current=!0},onClose:function(){an||(ak(null),am(null))}})]})}function _({name:a,indexHref:b,children:c}){let e=(0,d.jsx)(i.olY,{className:"size-4 shrink-0 text-muted-foreground"});return(0,d.jsxs)(l.X,{children:[b?(0,d.jsx)(f(),{href:b,title:"All migrations","aria-label":"All migrations",className:"flex size-6 shrink-0 items-center justify-center rounded-md outline-none hover:bg-muted/60 focus-visible:ring-2 focus-visible:ring-ring/60",children:e}):e,(0,d.jsx)("span",{className:"min-w-0 truncate font-medium",children:a}),c]})}function aa({note:a,notePath:b,onEdit:c}){return(0,d.jsxs)("button",{type:"button",title:b?`${b} \xb7 click to edit`:"Click to edit",onClick:c,className:"group flex w-full cursor-pointer items-start gap-2 border-b px-4 py-2.5 text-left text-xs outline-none hover:bg-muted/30 focus-visible:bg-muted/30",children:[(0,d.jsx)(i.UA_,{className:"mt-px size-3.5 shrink-0 text-muted-foreground"}),(0,d.jsx)("span",{className:"max-h-40 min-w-0 flex-1 overflow-y-auto whitespace-pre-wrap break-words",children:a}),(0,d.jsx)(i.NOV,{className:"mt-px size-3.5 shrink-0 text-muted-foreground opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"})]})}function ab({report:a,onDismiss:b}){let c=[];return a.added>0&&c.push(`added ${a.added}`),a.updated>0&&c.push(`updated ${a.updated}`),a.reverts>0&&c.push(`${a.reverts} revert file${1===a.reverts?"":"s"}`),(0,d.jsxs)("div",{className:"flex items-start gap-2 border-b bg-muted/30 px-4 py-1.5 text-xs",children:[(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[c.length>0?`Imported: ${c.join(", ")}`:"Nothing new in those files",a.skipped.length>0&&(0,d.jsxs)("span",{className:"text-muted-foreground",children:[" ","\xb7 skipped ",a.skipped.slice(0,2).join(", "),a.skipped.length>2&&` and ${a.skipped.length-2} more`]})]}),(0,d.jsx)(m.$,{size:"xs",variant:"ghost",onClick:b,children:"Dismiss"})]})}function ac({entries:a,connectionName:b}){return(0,d.jsxs)("div",{className:"border-t bg-muted/20",children:[(0,d.jsxs)("p",{className:"flex items-center gap-2 px-4 py-2 text-xs text-muted-foreground",children:[(0,d.jsx)(i.e5t,{className:"size-3.5 shrink-0 text-amber-600 dark:text-amber-400"}),"Applied on ",b,", not in this folder"]}),a.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2 px-4 py-1.5 text-xs opacity-70",children:[(0,d.jsx)(K,{status:"applied"}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-muted-foreground",children:a.version}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:a.name||"—"}),(0,d.jsx)("span",{className:"shrink-0 text-muted-foreground/70",children:new Date(a.appliedAt).toLocaleString()})]},a.version))]})}},86871:(a,b,c)=>{"use strict";c.d(b,{T:()=>f});var d=c(48249);c(67484);var e=c(14490);function f({className:a,...b}){return(0,d.jsx)("textarea",{"data-slot":"textarea",className:(0,e.cn)("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",a),...b})}},92258:(a,b,c)=>{Promise.resolve().then(c.bind(c,97182))},97182:(a,b,c)=>{"use strict";c.d(b,{MigrationDetail:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call MigrationDetail() from the server but MigrationDetail is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx","MigrationDetail")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[741,430,928,755,202,421,593,729,172],()=>b(b.s=61708));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/migrations/[setId]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"83927","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"90563","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","8974","static/chunks/app/page-46e11b50fbcec559.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","7123","static/chunks/app/%5BconnectionId%5D/layout-2920542266b3ced9.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":66096,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":10037,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","3732","static/chunks/3732-422f344679f5d126.js","5838","static/chunks/app/%5BconnectionId%5D/migrations/%5BsetId%5D/page-1886726af1052176.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-2831a02797d69073.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","3732","static/chunks/3732-422f344679f5d126.js","9820","static/chunks/app/%5BconnectionId%5D/migrations/page-33e44680d62cbc05.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-df1d6620d85e3e15.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/87a80461c6ff2903.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/migrations/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/migrations/[setId]/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/migrations/[setId]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"83927","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"90563","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","8974","static/chunks/app/page-46e11b50fbcec559.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","6782","static/chunks/6782-c8b44f7f0d19d8e4.js","7123","static/chunks/app/%5BconnectionId%5D/layout-2920542266b3ced9.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":66096,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":10037,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","3732","static/chunks/3732-535d9f485cf90098.js","5838","static/chunks/app/%5BconnectionId%5D/migrations/%5BsetId%5D/page-18158f23ccdab4cf.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":["4506","static/chunks/f97e080b-e536bdbfe64c5a7e.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","4730","static/chunks/4730-edc8f5e7a930e67c.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8322","static/chunks/8322-ed3deecf058cc11c.js","6090","static/chunks/6090-3a613287bf7c9e90.js","7709","static/chunks/7709-0c22d3fda039f7d3.js","3732","static/chunks/3732-535d9f485cf90098.js","9820","static/chunks/app/%5BconnectionId%5D/migrations/page-2ed07ba3810d1ee6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-22bcfd48d84d7598.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/87a80461c6ff2903.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/migrations/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/migrations/[setId]/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"10037":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"66096":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};